For Yahoo! Weather API added .wi-condition-<condition-code> to icons and appropriate lookups. See https://developer.yahoo.com/weather/#codes for details of the codes.

pull/18/head
aphillipo 10 years ago
parent 22745c0081
commit a16e8b15cc

@ -0,0 +1,189 @@
/*!
* Weather Icons for Yahoo Weather API.
* Weather themed icons for Bootstrap, using Yahoo Condition Codes:
*
* https://developer.yahoo.com/weather/#codes
*
* ------------------------------------------------------------------------------
* Maintained at http://erikflowers.github.io/weather-icons
* http://twitter.com/Erik_UX
*
* License
* ------------------------------------------------------------------------------
* - Fpmt licensed under SIL OFL 1.1 -
* http://scripts.sil.org/OFL
* - CSS and LESS are licensed under MIT License -
* http://opensource.org/licenses/mit-license.html
* - Documentation licensed under CC BY 3.0 -
* http://creativecommons.org/licenses/by/3.0/
* - Inspired by and works great as a companion with Font Aweosme
* "Font Awesome by Dave Gandy - http://fontawesome.io"
*
* Weather Icons Bootstrap Package Author - Erik Flowers - erik@helloerik.com
* ------------------------------------------------------------------------------
* Email: erik@helloerik.com
* Twitter: http://twitter.com/Erik_UX
*/
@font-face {
font-family: 'weathericons';
src: url('../fonts/weathericons-regular-webfont.eot');
src: url('../fonts/weathericons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/weathericons-regular-webfont.woff') format('woff'), url('../fonts/weathericons-regular-webfont.ttf') format('truetype'), url('../fonts/weathericons-regular-webfont.svg#weathericons-regular-webfontRg') format('svg');
font-weight: normal;
font-style: normal;
}
.wi {
display: inline-block;
font-family: 'weathericons';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wi-condition-0 {
content: "\f056";
}
.wi-condition-1 {
content: "\f00e";
}
.wi-condition-2 {
content: "\f073";
}
.wi-condition-3 {
content: "\f01e";
}
.wi-condition-4 {
content: "\f01e";
}
.wi-condition-5 {
content: "\f017";
}
.wi-condition-6 {
content: "\f017";
}
.wi-condition-7 {
content: "\f017";
}
.wi-condition-8 {
content: "\f015";
}
.wi-condition-9 {
content: "\f01a";
}
.wi-condition-10 {
content: "\f015";
}
.wi-condition-11 {
content: "\f01a";
}
.wi-condition-12 {
content: "\f01a";
}
.wi-condition-13 {
content: "\f01b";
}
.wi-condition-14 {
content: "\f00a";
}
.wi-condition-15 {
content: "\f064";
}
.wi-condition-16 {
content: "\f01b";
}
.wi-condition-17 {
content: "\f015";
}
.wi-condition-18 {
content: "\f017";
}
.wi-condition-19 {
content: "\f063";
}
.wi-condition-20 {
content: "\f014";
}
.wi-condition-21 {
content: "\f021";
}
.wi-condition-22 {
content: "\f062";
}
.wi-condition-23 {
content: "\f050";
}
.wi-condition-24 {
content: "\f050";
}
.wi-condition-25 {
content: "\f076";
}
.wi-condition-26 {
content: "\f013";
}
.wi-condition-27 {
content: "\f031";
}
.wi-condition-28 {
content: "\f002";
}
.wi-condition-29 {
content: "\f031";
}
.wi-condition-30 {
content: "\f002";
}
.wi-condition-31 {
content: "\f02e";
}
.wi-condition-32 {
content: "\f00d";
}
.wi-condition-33 {
content: "\f083";
}
.wi-condition-34 {
content: "\f00c";
}
.wi-condition-35 {
content: "\f017";
}
.wi-condition-36 {
content: "\f072";
}
.wi-condition-37 {
content: "\f00e";
}
.wi-condition-38 {
content: "\f00e";
}
.wi-condition-39 {
content: "\f00e";
}
.wi-condition-40 {
content: "\f01a";
}
.wi-condition-41 {
content: "\f064";
}
.wi-condition-42 {
content: "\f01b";
}
.wi-condition-43 {
content: "\f064";
}
.wi-condition-44 {
content: "\f00c";
}
.wi-condition-45 {
content: "\f00e";
}
.wi-condition-46 {
content: "\f01b";
}
.wi-condition-47 {
content: "\f00e";
}
.wi-condition-3200 {
content: "\f077";
}

@ -0,0 +1,99 @@
/*!
* Weather Icons for Yahoo Weather API.
* Weather themed icons for Bootstrap, using Yahoo Condition Codes:
*
* https://developer.yahoo.com/weather/#codes
*
* ------------------------------------------------------------------------------
* Maintained at http://erikflowers.github.io/weather-icons
* http://twitter.com/Erik_UX
*
* License
* ------------------------------------------------------------------------------
* - Fpmt licensed under SIL OFL 1.1 -
* http://scripts.sil.org/OFL
* - CSS and LESS are licensed under MIT License -
* http://opensource.org/licenses/mit-license.html
* - Documentation licensed under CC BY 3.0 -
* http://creativecommons.org/licenses/by/3.0/
* - Inspired by and works great as a companion with Font Aweosme
* "Font Awesome by Dave Gandy - http://fontawesome.io"
*
* Weather Icons Bootstrap Package Author - Erik Flowers - erik@helloerik.com
* ------------------------------------------------------------------------------
* Email: erik@helloerik.com
* Twitter: http://twitter.com/Erik_UX
*/
@import "variables.less";
@font-face {
font-family: '@{weather-icons-font-family}';
src: url('@{weather-icons-path}/@{weather-icons-font-family}-regular-webfont.eot');
src: url('@{weather-icons-path}/@{weather-icons-font-family}-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('@{weather-icons-path}/@{weather-icons-font-family}-regular-webfont.woff') format('woff'),
url('@{weather-icons-path}/@{weather-icons-font-family}-regular-webfont.ttf') format('truetype'),
url('@{weather-icons-path}/@{weather-icons-font-family}-regular-webfont.svg#weathericons-regular-webfontRg') format('svg');
font-weight: normal;
font-style: normal;
}
.@{weather-icons-prefix} {
display: inline-block;
font-family: '@{weather-icons-font-family}';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.@{weather-icons-prefix}-condition-0 { content: @tornado; };
.@{weather-icons-prefix}-condition-1 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-2 { content: @hurricane; };
.@{weather-icons-prefix}-condition-3 { content: @thunderstorm; };
.@{weather-icons-prefix}-condition-4 { content: @thunderstorm; };
.@{weather-icons-prefix}-condition-5 { content: @rain-mix; };
.@{weather-icons-prefix}-condition-6 { content: @rain-mix; };
.@{weather-icons-prefix}-condition-7 { content: @rain-mix; };
.@{weather-icons-prefix}-condition-8 { content: @hail; };
.@{weather-icons-prefix}-condition-9 { content: @showers; };
.@{weather-icons-prefix}-condition-10 { content: @hail; };
.@{weather-icons-prefix}-condition-11 { content: @showers; };
.@{weather-icons-prefix}-condition-12 { content: @showers; };
.@{weather-icons-prefix}-condition-13 { content: @snow; };
.@{weather-icons-prefix}-condition-14 { content: @day-snow; };
.@{weather-icons-prefix}-condition-15 { content: @snow-wind; };
.@{weather-icons-prefix}-condition-16 { content: @snow; };
.@{weather-icons-prefix}-condition-17 { content: @hail; };
.@{weather-icons-prefix}-condition-18 { content: @rain-mix; };
.@{weather-icons-prefix}-condition-19 { content: @dust; };
.@{weather-icons-prefix}-condition-20 { content: @fog; };
.@{weather-icons-prefix}-condition-21 { content: @windy; };
.@{weather-icons-prefix}-condition-22 { content: @smoke; };
.@{weather-icons-prefix}-condition-23 { content: @strong-wind; };
.@{weather-icons-prefix}-condition-24 { content: @strong-wind; };
.@{weather-icons-prefix}-condition-25 { content: @snowflake-cold; };
.@{weather-icons-prefix}-condition-26 { content: @cloudy; };
.@{weather-icons-prefix}-condition-27 { content: @night-cloudy; };
.@{weather-icons-prefix}-condition-28 { content: @day-cloudy; };
.@{weather-icons-prefix}-condition-29 { content: @night-cloudy; };
.@{weather-icons-prefix}-condition-30 { content: @day-cloudy; };
.@{weather-icons-prefix}-condition-31 { content: @night-clear; };
.@{weather-icons-prefix}-condition-32 { content: @day-sunny; };
.@{weather-icons-prefix}-condition-33 { content: @night-partly-cloudy; };
.@{weather-icons-prefix}-condition-34 { content: @day-sunny-overcast; };
.@{weather-icons-prefix}-condition-35 { content: @rain-mix; };
.@{weather-icons-prefix}-condition-36 { content: @hot; };
.@{weather-icons-prefix}-condition-37 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-38 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-39 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-40 { content: @showers; };
.@{weather-icons-prefix}-condition-41 { content: @snow-wind; };
.@{weather-icons-prefix}-condition-42 { content: @snow; };
.@{weather-icons-prefix}-condition-43 { content: @snow-wind; };
.@{weather-icons-prefix}-condition-44 { content: @day-sunny-overcast; };
.@{weather-icons-prefix}-condition-45 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-46 { content: @snow; };
.@{weather-icons-prefix}-condition-47 { content: @day-storm-showers; };
.@{weather-icons-prefix}-condition-3200 { content: @stars; };
Loading…
Cancel
Save