Add WMO4680 & Yahoo (#18) weather condition codes

pull/53/head
Christoph Kisfeld 9 years ago
parent 93f5c9ea5d
commit e43fcdf2b6

@ -740,21 +740,27 @@
.wi-moon-waning-crescent-6:before {
content: "\f0b0";
}
.wi-wmo4680-0:before,
.wi-wmo4680-00:before {
content: ' ';
}
.wi-wmo4680-1:before,
.wi-wmo4680-01:before {
content: "\f013";
}
.wi-wmo4680-2:before,
.wi-wmo4680-02:before {
content: ' ';
}
.wi-wmo4680-3:before,
.wi-wmo4680-03:before {
content: "\f013";
}
.wi-wmo4680-4:before,
.wi-wmo4680-04:before {
content: "\f014";
}
.wi-wmo4680-5:before,
.wi-wmo4680-05:before {
content: "\f014";
}
@ -774,7 +780,7 @@
content: "\f014";
}
.wi-wmo4680-21:before {
content: "\f014";
content: "\f017";
}
.wi-wmo4680-22:before {
content: "\f017";
@ -786,7 +792,7 @@
content: "\f01b";
}
.wi-wmo4680-25:before {
content: "\f017";
content: "\f015";
}
.wi-wmo4680-26:before {
content: "\f01e";
@ -819,16 +825,16 @@
content: "\f014";
}
.wi-wmo4680-40:before {
content: "\f019";
content: "\f017";
}
.wi-wmo4680-41:before {
content: "\f019";
content: "\f01c";
}
.wi-wmo4680-42:before {
content: "\f019";
}
.wi-wmo4680-43:before {
content: "\f019";
content: "\f01c";
}
.wi-wmo4680-44:before {
content: "\f019";
@ -849,7 +855,7 @@
content: "\f01c";
}
.wi-wmo4680-51:before {
content: "\f019";
content: "\f01c";
}
.wi-wmo4680-52:before {
content: "\f019";
@ -876,7 +882,7 @@
content: "\f01c";
}
.wi-wmo4680-61:before {
content: "\f019";
content: "\f01c";
}
.wi-wmo4680-62:before {
content: "\f019";
@ -930,7 +936,7 @@
content: "\f019";
}
.wi-wmo4680-81:before {
content: "\f019";
content: "\f01c";
}
.wi-wmo4680-82:before {
content: "\f019";
@ -939,7 +945,7 @@
content: "\f019";
}
.wi-wmo4680-84:before {
content: "\f019";
content: "\f01d";
}
.wi-wmo4680-85:before {
content: "\f017";
@ -977,3 +983,150 @@
.wi-wmo4680-99:before {
content: "\f056";
}
.wi-yahoo-0 {
content: "\f056";
}
.wi-yahoo-1 {
content: "\f00e";
}
.wi-yahoo-2 {
content: "\f073";
}
.wi-yahoo-3 {
content: "\f01e";
}
.wi-yahoo-4 {
content: "\f01e";
}
.wi-yahoo-5 {
content: "\f017";
}
.wi-yahoo-6 {
content: "\f017";
}
.wi-yahoo-7 {
content: "\f017";
}
.wi-yahoo-8 {
content: "\f015";
}
.wi-yahoo-9 {
content: "\f01a";
}
.wi-yahoo-10 {
content: "\f015";
}
.wi-yahoo-11 {
content: "\f01a";
}
.wi-yahoo-12 {
content: "\f01a";
}
.wi-yahoo-13 {
content: "\f01b";
}
.wi-yahoo-14 {
content: "\f00a";
}
.wi-yahoo-15 {
content: "\f064";
}
.wi-yahoo-16 {
content: "\f01b";
}
.wi-yahoo-17 {
content: "\f015";
}
.wi-yahoo-18 {
content: "\f017";
}
.wi-yahoo-19 {
content: "\f063";
}
.wi-yahoo-20 {
content: "\f014";
}
.wi-yahoo-21 {
content: "\f021";
}
.wi-yahoo-22 {
content: "\f062";
}
.wi-yahoo-23 {
content: "\f050";
}
.wi-yahoo-24 {
content: "\f050";
}
.wi-yahoo-25 {
content: "\f076";
}
.wi-yahoo-26 {
content: "\f013";
}
.wi-yahoo-27 {
content: "\f031";
}
.wi-yahoo-28 {
content: "\f002";
}
.wi-yahoo-29 {
content: "\f031";
}
.wi-yahoo-30 {
content: "\f002";
}
.wi-yahoo-31 {
content: "\f02e";
}
.wi-yahoo-32 {
content: "\f00d";
}
.wi-yahoo-33 {
content: "\f083";
}
.wi-yahoo-34 {
content: "\f00c";
}
.wi-yahoo-35 {
content: "\f017";
}
.wi-yahoo-36 {
content: "\f072";
}
.wi-yahoo-37 {
content: "\f00e";
}
.wi-yahoo-38 {
content: "\f00e";
}
.wi-yahoo-39 {
content: "\f00e";
}
.wi-yahoo-40 {
content: "\f01a";
}
.wi-yahoo-41 {
content: "\f064";
}
.wi-yahoo-42 {
content: "\f01b";
}
.wi-yahoo-43 {
content: "\f064";
}
.wi-yahoo-44 {
content: "\f00c";
}
.wi-yahoo-45 {
content: "\f00e";
}
.wi-yahoo-46 {
content: "\f01b";
}
.wi-yahoo-47 {
content: "\f00e";
}
.wi-yahoo-3200 {
content: "\f077";
}

File diff suppressed because one or more lines are too long

@ -4,11 +4,17 @@
// WMO PUBLICATION NO. 306 - MANUAL ON CODES - Volume 1.1, Part A, Alphanumeric Codes, pp.360-362
// http://www.wmo.int/pages/prog/www/WMOCodes/WMO306_vI1/VolumeI.1.html
.@{weather-icons-prefix}-wmo4680-0:before,
.@{weather-icons-prefix}-wmo4680-00:before { content: ' ' ; }
.@{weather-icons-prefix}-wmo4680-1:before,
.@{weather-icons-prefix}-wmo4680-01:before { content: @cloudy ; }
.@{weather-icons-prefix}-wmo4680-2:before,
.@{weather-icons-prefix}-wmo4680-02:before { content: ' ' ; }
.@{weather-icons-prefix}-wmo4680-3:before,
.@{weather-icons-prefix}-wmo4680-03:before { content: @cloudy ; }
.@{weather-icons-prefix}-wmo4680-4:before,
.@{weather-icons-prefix}-wmo4680-04:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-5:before,
.@{weather-icons-prefix}-wmo4680-05:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-10:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-11:before { content: @fog ; }
@ -16,11 +22,11 @@
.@{weather-icons-prefix}-wmo4680-18:before { content: @strong-wind ; }
.@{weather-icons-prefix}-wmo4680-20:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-21:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-21:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-22:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-23:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-24:before { content: @snow ; }
.@{weather-icons-prefix}-wmo4680-25:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-25:before { content: @hail ; }
.@{weather-icons-prefix}-wmo4680-26:before { content: @thunderstorm ; }
.@{weather-icons-prefix}-wmo4680-27:before { content: @dust ; }
@ -34,10 +40,10 @@
.@{weather-icons-prefix}-wmo4680-34:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-35:before { content: @fog ; }
.@{weather-icons-prefix}-wmo4680-40:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-41:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-40:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-41:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-42:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-43:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-43:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-44:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-45:before { content: @hail ; }
.@{weather-icons-prefix}-wmo4680-46:before { content: @hail ; }
@ -45,7 +51,7 @@
.@{weather-icons-prefix}-wmo4680-48:before { content: @snow ; }
.@{weather-icons-prefix}-wmo4680-50:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-51:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-51:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-52:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-53:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-54:before { content: @snowflake-cold ; }
@ -55,7 +61,7 @@
.@{weather-icons-prefix}-wmo4680-58:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-60:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-61:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-61:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-62:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-63:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-64:before { content: @hail ; }
@ -75,10 +81,10 @@
.@{weather-icons-prefix}-wmo4680-78:before { content: @snowflake-cold ; }
.@{weather-icons-prefix}-wmo4680-80:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-81:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-81:before { content: @sprinkle ; }
.@{weather-icons-prefix}-wmo4680-82:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-83:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-84:before { content: @rain ; }
.@{weather-icons-prefix}-wmo4680-84:before { content: @storm-showers ; }
.@{weather-icons-prefix}-wmo4680-85:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-86:before { content: @rain-mix ; }
.@{weather-icons-prefix}-wmo4680-87:before { content: @rain-mix ; }

@ -0,0 +1,55 @@
// Codes according to Yahoo Weather
// Reference:
// Yahoo Weather RSS Feed documentation
// https://developer.yahoo.com/weather/documentation.html#codes
.@{weather-icons-prefix}-yahoo-0 { content: @tornado; };
.@{weather-icons-prefix}-yahoo-1 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-2 { content: @hurricane; };
.@{weather-icons-prefix}-yahoo-3 { content: @thunderstorm; };
.@{weather-icons-prefix}-yahoo-4 { content: @thunderstorm; };
.@{weather-icons-prefix}-yahoo-5 { content: @rain-mix; };
.@{weather-icons-prefix}-yahoo-6 { content: @rain-mix; };
.@{weather-icons-prefix}-yahoo-7 { content: @rain-mix; };
.@{weather-icons-prefix}-yahoo-8 { content: @hail; };
.@{weather-icons-prefix}-yahoo-9 { content: @showers; };
.@{weather-icons-prefix}-yahoo-10 { content: @hail; };
.@{weather-icons-prefix}-yahoo-11 { content: @showers; };
.@{weather-icons-prefix}-yahoo-12 { content: @showers; };
.@{weather-icons-prefix}-yahoo-13 { content: @snow; };
.@{weather-icons-prefix}-yahoo-14 { content: @day-snow; };
.@{weather-icons-prefix}-yahoo-15 { content: @snow-wind; };
.@{weather-icons-prefix}-yahoo-16 { content: @snow; };
.@{weather-icons-prefix}-yahoo-17 { content: @hail; };
.@{weather-icons-prefix}-yahoo-18 { content: @rain-mix; };
.@{weather-icons-prefix}-yahoo-19 { content: @dust; };
.@{weather-icons-prefix}-yahoo-20 { content: @fog; };
.@{weather-icons-prefix}-yahoo-21 { content: @windy; };
.@{weather-icons-prefix}-yahoo-22 { content: @smoke; };
.@{weather-icons-prefix}-yahoo-23 { content: @strong-wind; };
.@{weather-icons-prefix}-yahoo-24 { content: @strong-wind; };
.@{weather-icons-prefix}-yahoo-25 { content: @snowflake-cold; };
.@{weather-icons-prefix}-yahoo-26 { content: @cloudy; };
.@{weather-icons-prefix}-yahoo-27 { content: @night-cloudy; };
.@{weather-icons-prefix}-yahoo-28 { content: @day-cloudy; };
.@{weather-icons-prefix}-yahoo-29 { content: @night-cloudy; };
.@{weather-icons-prefix}-yahoo-30 { content: @day-cloudy; };
.@{weather-icons-prefix}-yahoo-31 { content: @night-clear; };
.@{weather-icons-prefix}-yahoo-32 { content: @day-sunny; };
.@{weather-icons-prefix}-yahoo-33 { content: @night-partly-cloudy; };
.@{weather-icons-prefix}-yahoo-34 { content: @day-sunny-overcast; };
.@{weather-icons-prefix}-yahoo-35 { content: @rain-mix; };
.@{weather-icons-prefix}-yahoo-36 { content: @hot; };
.@{weather-icons-prefix}-yahoo-37 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-38 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-39 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-40 { content: @showers; };
.@{weather-icons-prefix}-yahoo-41 { content: @snow-wind; };
.@{weather-icons-prefix}-yahoo-42 { content: @snow; };
.@{weather-icons-prefix}-yahoo-43 { content: @snow-wind; };
.@{weather-icons-prefix}-yahoo-44 { content: @day-sunny-overcast; };
.@{weather-icons-prefix}-yahoo-45 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-46 { content: @snow; };
.@{weather-icons-prefix}-yahoo-47 { content: @day-storm-showers; };
.@{weather-icons-prefix}-yahoo-3200 { content: @stars; };

@ -29,6 +29,7 @@
@import "variables.less";
@import "icon-classes.less";
@import "icon-classes-wmo4680.less";
@import "icon-classes-yahoo.less";
// Include anything you need to make the Weather Icons styled here //

@ -28,6 +28,8 @@
@import "variables.less";
@import "icon-classes.less";
@import "icon-classes-wmo4680.less";
@import "icon-classes-yahoo.less";
// Include anything you need to make the Weather Icons styled here //

Loading…
Cancel
Save