From 07becf5c84979202e39a2b5eda60696eec30bd1f Mon Sep 17 00:00:00 2001 From: Erik Flowers Date: Sat, 31 May 2014 14:00:28 -0700 Subject: [PATCH] It's good to remember to add the Less files to the repo... --- weather-icons/icon-classes.less | 258 +++++++++++++++++-------------- weather-icons/variables.less | 231 +++++++++++++++------------ weather-icons/weather-icons.less | 15 +- 3 files changed, 286 insertions(+), 218 deletions(-) diff --git a/weather-icons/icon-classes.less b/weather-icons/icon-classes.less index cc2c7a6..8aab3e9 100644 --- a/weather-icons/icon-classes.less +++ b/weather-icons/icon-classes.less @@ -1,127 +1,153 @@ @font-face { - font-family: 'weather'; - src: url('@{WeatherIconPath}/weathericons-regular-webfont.eot'); - src: url('@{WeatherIconPath}/weathericons-regular-webfont.eot?#iefix') format('embedded-opentype'), - url('@{WeatherIconPath}/weathericons-regular-webfont.woff') format('woff'), - url('@{WeatherIconPath}/weathericons-regular-webfont.ttf') format('truetype'), - url('@{WeatherIconPath}/weathericons-regular-webfont.svg#weathericons-regular-webfontRg') format('svg'); + 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; } -[class^="wi-"], -[class*=" wi-"] { - font-family: weather; - font-weight: normal; - font-style: normal; - text-decoration: inherit; - text-transform: none; - -webkit-font-smoothing: antialiased; - *margin-right: .3em; -} -[class^="wi-"]:before, -[class*=" wi-"]:before { - text-decoration: inherit; +.@{weather-icons-prefix} { display: inline-block; - speak: none; + font-family: '@{weather-icons-font-family}'; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } // Day -.wi-day-cloudy-gusts:before { content: @day-cloudy-gusts ; } // day cloudy strong winds -.wi-day-cloudy-windy:before { content: @day-cloudy-windy ; } // day cloudy windy -.wi-day-cloudy:before { content: @day-cloudy ; } // day cloudy -.wi-day-fog:before { content: @day-fog ; } // day fog -.wi-day-hail:before { content: @day-hail ; } // day hail -.wi-day-lightning:before { content: @day-lightning ; } // day lightning -.wi-day-rain-mix:before { content: @day-rain-mix ; } // day rain mix -.wi-day-rain-wind:before { content: @day-rain-wind ; } // day rain wind -.wi-day-rain:before { content: @day-rain ; } // day rain -.wi-day-showers:before { content: @day-showers ; } // day showers -.wi-day-snow:before { content: @day-snow ; } // day snow -.wi-day-sprinkle:before { content: @day-sprinkle ; } // day sprinkle -.wi-day-sunny-overcast:before { content: @day-sunny-overcast ; } // day sunny overcast -.wi-day-sunny:before { content: @day-sunny ; } // day sunny -.wi-day-storm-showers:before { content: @day-storm-showers ; } // day thunderstorm showers -.wi-day-thunderstorm:before { content: @day-thunderstorm ; } // day thunderstorm -// Neutral- -.wi-cloudy-gusts:before { content: @cloudy-gusts ; } // neutral cloudy strong winds -.wi-cloudy-windy:before { content: @cloudy-windy ; } // neutral cloudy windy -.wi-cloudy:before { content: @cloudy ; } // neutral cloudy -.wi-fog:before { content: @fog ; } // neutral fog -.wi-hail:before { content: @hail ; } // neutral hail -.wi-lightning:before { content: @lightning ; } // neutral lightning -.wi-rain-mix:before { content: @rain-mix ; } // neutral rain mix -.wi-rain-wind:before { content: @rain-wind ; } // neutral rain wind -.wi-rain:before { content: @rain ; } // neutral rain -.wi-showers:before { content: @showers ; } // neutral showers -.wi-snow:before { content: @snow ; } // neutral snow -.wi-sprinkle:before { content: @sprinkle ; } // neutral sprinkle -.wi-storm-showers:before { content: @storm-showers ; } // neutral thunderstorm showers -.wi-thunderstorm:before { content: @thunderstorm ; } // neutral thunderst -.wi-windy:before { content: @windy ; } // windy -// Night -.wi-night-alt-cloudy-gusts:before { content: @night-alt-cloudy-gusts ; } // night alt cloudy strong winds -.wi-night-alt-cloudy-windy:before { content: @night-alt-cloudy-windy ; } // night alt cloudy windy -.wi-night-alt-hail:before { content: @night-alt-hail ; } // night alt hail -.wi-night-alt-lightning:before { content: @night-alt-lightning ; } // night alt lightning -.wi-night-alt-rain-mix:before { content: @night-alt-rain-mix ; } // night alt rain mix -.wi-night-alt-rain-wind:before { content: @night-alt-rain-wind ; } // night alt rain wind -.wi-night-alt-rain:before { content: @night-alt-rain ; } // night alt rain -.wi-night-alt-showers:before { content: @night-alt-showers ; } // night alt showers -.wi-night-alt-snow:before { content: @night-alt-snow ; } // night alt snow -.wi-night-alt-sprinkle:before { content: @night-alt-sprinkle ; } // night alt sprinkle -.wi-night-alt-storm-showers:before { content: @night-alt-storm-showers ; } // night alt thunderstorm showers -.wi-night-alt-thunderstorm:before { content: @night-alt-thunderstorm ; } // night alt thunderstorm -.wi-night-clear:before { content: @night-clear ; } // night clear -.wi-night-cloudy-gusts:before { content: @night-cloudy-gusts ; } // night cloudy strong winds -.wi-night-cloudy-windy:before { content: @night-cloudy-windy ; } // night cloudy windy -.wi-night-cloudy:before { content: @night-cloudy ; } // night cloudy -.wi-night-hail:before { content: @night-hail ; } // night hail -.wi-night-lightning:before { content: @night-lightning ; } // night lightning -.wi-night-rain-mix:before { content: @night-rain-mix ; } // night rain mix -.wi-night-rain-wind:before { content: @night-rain-wind ; } // night rain wind -.wi-night-rain:before { content: @night-rain ; } // night rain -.wi-night-showers:before { content: @night-showers ; } // night showers -.wi-night-snow:before { content: @night-snow ; } // night snow -.wi-night-sprinkle:before { content: @night-sprinkle ; } // night sprinkle -.wi-night-storm-showers:before { content: @night-storm-showers ; } // night thunderstorm showers -.wi-night-thunderstorm:before { content: @night-thunderstorm ; } // night thunderst -// Misc -.wi-celcius:before { content: @celcius ; } // celsius -.wi-cloud-down:before { content: @cloud-down ; } // cloud down -.wi-cloud-refresh:before { content: @cloud-refresh ; } // cloud refresh -.wi-cloud-up:before { content: @cloud-up ; } // cloud up -.wi-cloud:before { content: @cloud ; } // cloud -.wi-degrees:before { content: @degrees ; } // degrees -.wi-down-left:before { content: @down-left ; } // down left -.wi-down:before { content: @down ; } // down -.wi-fahrenheit:before { content: @fahrenheit ; } // fahrenheit -.wi-horizon-alt:before { content: @horizon-alt ; } // horizon alt -.wi-horizon:before { content: @horizon ; } // horizon -.wi-left:before { content: @left ; } // left -.wi-lightning:before { content: @lightning ; } // lightning -.wi-night-fog:before { content: @night-fog ; } // night fog -.wi-refresh-alt:before { content: @refresh-alt ; } // refresh alt -.wi-refresh:before { content: @refresh ; } // refresh -.wi-right:before { content: @right ; } // right -.wi-sprinkles:before { content: @sprinkles ; } // sprinkles -.wi-strong-wind:before { content: @strong-wind ; } // strong wind -.wi-sunrise:before { content: @sunrise ; } // sunrise -.wi-sunset:before { content: @sunset ; } // sunset -.wi-thermometer-exterior:before { content: @thermometer-exterior ; } // thermometer exterior -.wi-thermometer-internal:before { content: @thermometer-internal ; } // thermometer internal -.wi-thermometer:before { content: @thermometer ; } // thermometer -.wi-tornado:before { content: @tornado ; } // tornado -.wi-up-right:before { content: @up-right ; } // up right -.wi-up:before { content: @up ; } // up -.wi-wind-east:before { content: @wind-east ; } // wind east -.wi-wind-north-east:before { content: @wind-north-east ; } // wind north east -.wi-wind-north-west:before { content: @wind-north-west ; } // wind north west -.wi-wind-north:before { content: @wind-north ; } // wind north -.wi-wind-south-east:before { content: @wind-south-east ; } // wind south east -.wi-wind-south-west:before { content: @wind-south-west ; } // wind south west -.wi-wind-south:before { content: @wind-south ; } // wind south -.wi-wind-west:before { content: @wind-west ; } // wind west - +.@{weather-icons-prefix}-day-cloudy-gusts:before { content: @day-cloudy-gusts ; } +.@{weather-icons-prefix}-day-cloudy-windy:before { content: @day-cloudy-windy ; } +.@{weather-icons-prefix}-day-cloudy:before { content: @day-cloudy ; } +.@{weather-icons-prefix}-day-fog:before { content: @day-fog ; } +.@{weather-icons-prefix}-day-hail:before { content: @day-hail ; } +.@{weather-icons-prefix}-day-lightning:before { content: @day-lightning ; } +.@{weather-icons-prefix}-day-rain-mix:before { content: @day-rain-mix ; } +.@{weather-icons-prefix}-day-rain-wind:before { content: @day-rain-wind ; } +.@{weather-icons-prefix}-day-rain:before { content: @day-rain ; } +.@{weather-icons-prefix}-day-showers:before { content: @day-showers ; } +.@{weather-icons-prefix}-day-snow:before { content: @day-snow ; } +.@{weather-icons-prefix}-day-sprinkle:before { content: @day-sprinkle ; } +.@{weather-icons-prefix}-day-sunny-overcast:before { content: @day-sunny-overcast ; } +.@{weather-icons-prefix}-day-sunny:before { content: @day-sunny ; } +.@{weather-icons-prefix}-day-storm-showers:before { content: @day-storm-showers ; } +.@{weather-icons-prefix}-day-thunderstorm:before { content: @day-thunderstorm ; } +// Neutral- +.@{weather-icons-prefix}-cloudy-gusts:before { content: @cloudy-gusts ; } +.@{weather-icons-prefix}-cloudy-windy:before { content: @cloudy-windy ; } +.@{weather-icons-prefix}-cloudy:before { content: @cloudy ; } +.@{weather-icons-prefix}-fog:before { content: @fog ; } +.@{weather-icons-prefix}-hail:before { content: @hail ; } +.@{weather-icons-prefix}-lightning:before { content: @lightning ; } +.@{weather-icons-prefix}-rain-mix:before { content: @rain-mix ; } +.@{weather-icons-prefix}-rain-wind:before { content: @rain-wind ; } +.@{weather-icons-prefix}-rain:before { content: @rain ; } +.@{weather-icons-prefix}-showers:before { content: @showers ; } +.@{weather-icons-prefix}-snow:before { content: @snow ; } +.@{weather-icons-prefix}-sprinkle:before { content: @sprinkle ; } +.@{weather-icons-prefix}-storm-showers:before { content: @storm-showers ; } +.@{weather-icons-prefix}-thunderstorm:before { content: @thunderstorm ; } +.@{weather-icons-prefix}-windy:before { content: @windy ; } +// Night +.@{weather-icons-prefix}-night-alt-cloudy-gusts:before { content: @night-alt-cloudy-gusts ; } +.@{weather-icons-prefix}-night-alt-cloudy-windy:before { content: @night-alt-cloudy-windy ; } +.@{weather-icons-prefix}-night-alt-hail:before { content: @night-alt-hail ; } +.@{weather-icons-prefix}-night-alt-lightning:before { content: @night-alt-lightning ; } +.@{weather-icons-prefix}-night-alt-rain-mix:before { content: @night-alt-rain-mix ; } +.@{weather-icons-prefix}-night-alt-rain-wind:before { content: @night-alt-rain-wind ; } +.@{weather-icons-prefix}-night-alt-rain:before { content: @night-alt-rain ; } +.@{weather-icons-prefix}-night-alt-showers:before { content: @night-alt-showers ; } +.@{weather-icons-prefix}-night-alt-snow:before { content: @night-alt-snow ; } +.@{weather-icons-prefix}-night-alt-sprinkle:before { content: @night-alt-sprinkle ; } +.@{weather-icons-prefix}-night-alt-storm-showers:before { content: @night-alt-storm-showers ; } +.@{weather-icons-prefix}-night-alt-thunderstorm:before { content: @night-alt-thunderstorm ; } +.@{weather-icons-prefix}-night-clear:before { content: @night-clear ; } +.@{weather-icons-prefix}-night-cloudy-gusts:before { content: @night-cloudy-gusts ; } +.@{weather-icons-prefix}-night-cloudy-windy:before { content: @night-cloudy-windy ; } +.@{weather-icons-prefix}-night-cloudy:before { content: @night-cloudy ; } +.@{weather-icons-prefix}-night-hail:before { content: @night-hail ; } +.@{weather-icons-prefix}-night-lightning:before { content: @night-lightning ; } +.@{weather-icons-prefix}-night-rain-mix:before { content: @night-rain-mix ; } +.@{weather-icons-prefix}-night-rain-wind:before { content: @night-rain-wind ; } +.@{weather-icons-prefix}-night-rain:before { content: @night-rain ; } +.@{weather-icons-prefix}-night-showers:before { content: @night-showers ; } +.@{weather-icons-prefix}-night-snow:before { content: @night-snow ; } +.@{weather-icons-prefix}-night-sprinkle:before { content: @night-sprinkle ; } +.@{weather-icons-prefix}-night-storm-showers:before { content: @night-storm-showers ; } +.@{weather-icons-prefix}-night-thunderstorm:before { content: @night-thunderstorm ; } +// Misc +.@{weather-icons-prefix}-celsius:before { content: @celsius ; } +.@{weather-icons-prefix}-cloud-down:before { content: @cloud-down ; } +.@{weather-icons-prefix}-cloud-refresh:before { content: @cloud-refresh ; } +.@{weather-icons-prefix}-cloud-up:before { content: @cloud-up ; } +.@{weather-icons-prefix}-cloud:before { content: @cloud ; } +.@{weather-icons-prefix}-degrees:before { content: @degrees ; } +.@{weather-icons-prefix}-down-left:before { content: @down-left ; } +.@{weather-icons-prefix}-down:before { content: @down ; } +.@{weather-icons-prefix}-fahrenheit:before { content: @fahrenheit ; } +.@{weather-icons-prefix}-horizon-alt:before { content: @horizon-alt ; } +.@{weather-icons-prefix}-horizon:before { content: @horizon ; } +.@{weather-icons-prefix}-left:before { content: @left ; } +.@{weather-icons-prefix}-lightning:before { content: @lightning ; } +.@{weather-icons-prefix}-night-fog:before { content: @night-fog ; } +.@{weather-icons-prefix}-refresh-alt:before { content: @refresh-alt ; } +.@{weather-icons-prefix}-refresh:before { content: @refresh ; } +.@{weather-icons-prefix}-right:before { content: @right ; } +.@{weather-icons-prefix}-sprinkles:before { content: @sprinkles ; } +.@{weather-icons-prefix}-strong-wind:before { content: @strong-wind ; } +.@{weather-icons-prefix}-sunrise:before { content: @sunrise ; } +.@{weather-icons-prefix}-sunset:before { content: @sunset ; } +.@{weather-icons-prefix}-thermometer-exterior:before { content: @thermometer-exterior ; } +.@{weather-icons-prefix}-thermometer-internal:before { content: @thermometer-internal ; } +.@{weather-icons-prefix}-thermometer:before { content: @thermometer ; } +.@{weather-icons-prefix}-tornado:before { content: @tornado ; } +.@{weather-icons-prefix}-up-right:before { content: @up-right ; } +.@{weather-icons-prefix}-up:before { content: @up ; } +.@{weather-icons-prefix}-wind-west:before { content: @wind-west ; } +.@{weather-icons-prefix}-wind-south-west:before { content: @wind-south-west ; } +.@{weather-icons-prefix}-wind-south-east:before { content: @wind-south-east ; } +.@{weather-icons-prefix}-wind-south:before { content: @wind-south ; } +.@{weather-icons-prefix}-wind-north-west:before { content: @wind-north-west ; } +.@{weather-icons-prefix}-wind-north-east:before { content: @wind-north-east ; } +.@{weather-icons-prefix}-wind-north:before { content: @wind-north ; } +.@{weather-icons-prefix}-wind-east:before { content: @wind-east ; } +// New v1.1 +.@{weather-icons-prefix}-smoke:before { content: @smoke ; } +.@{weather-icons-prefix}-dust:before { content: @dust ; } +.@{weather-icons-prefix}-snow-wind:before { content: @snow-wind ; } +.@{weather-icons-prefix}-day-snow-wind:before { content: @day-snow-wind ; } +.@{weather-icons-prefix}-night-snow-wind:before { content: @night-snow-wind ; } +.@{weather-icons-prefix}-night-alt-snow-wind:before { content: @night-alt-snow-wind ; } +.@{weather-icons-prefix}-day-sleet-storm:before { content: @day-sleet-storm ; } +.@{weather-icons-prefix}-night-sleet-storm:before { content: @night-sleet-storm ; } +.@{weather-icons-prefix}-night-alt-sleet-storm:before { content: @night-alt-sleet-storm ; } +.@{weather-icons-prefix}-day-snow-thunderstorm:before { content: @day-snow-thunderstorm ; } +.@{weather-icons-prefix}-night-snow-thunderstorm:before { content: @night-snow-thunderstorm ; } +.@{weather-icons-prefix}-night-alt-snow-thunderstorm:before { content: @night-alt-snow-thunderstorm ; } +.@{weather-icons-prefix}-solar-eclipse:before { content: @solar-eclipse ; } +.@{weather-icons-prefix}-lunar-eclipse:before { content: @lunar-eclipse ; } +.@{weather-icons-prefix}-meteor:before { content: @meteor ; } +.@{weather-icons-prefix}-hot:before { content: @hot ; } +.@{weather-icons-prefix}-hurricane:before { content: @hurricane ; } +.@{weather-icons-prefix}-smog:before { content: @smog ; } +.@{weather-icons-prefix}-alien:before { content: @alien ; } +.@{weather-icons-prefix}-snowflake-cold:before { content: @snowflake-cold ; } +.@{weather-icons-prefix}-stars:before { content: @stars ; } +// Moon phases, v1.1 +.@{weather-icons-prefix}-moon-full:before { content: @moon-full ; } +.@{weather-icons-prefix}-moon-waxing-gibbous:before { content: @moon-waxing-gibbous ; } +.@{weather-icons-prefix}-moon-waxing-quarter:before { content: @moon-waxing-quarter ; } +.@{weather-icons-prefix}-moon-waxing-crescent:before { content: @moon-waxing-crescent ; } +.@{weather-icons-prefix}-moon-young:before { content: @moon-young ; } +.@{weather-icons-prefix}-moon-new:before { content: @moon-new ; } +.@{weather-icons-prefix}-moon-old:before { content: @moon-old ; } +.@{weather-icons-prefix}-moon-waning-crescent:before { content: @moon-waning-crescent ; } +.@{weather-icons-prefix}-moon-waning-quarter:before { content: @moon-waning-quarter ; } +.@{weather-icons-prefix}-moon-waning-gibbous:before { content: @moon-waning-gibbous ; } +.@{weather-icons-prefix}-night-partly-cloudy:before { content: @night-partly-cloudy ; } diff --git a/weather-icons/variables.less b/weather-icons/variables.less index 3c60910..6180659 100644 --- a/weather-icons/variables.less +++ b/weather-icons/variables.less @@ -1,96 +1,137 @@ -// Variables -@WeatherIconPath: "../font"; -@WeatherIconVersion: "1.0.0"; +// Base Variables +@weather-icons-path: "../fonts"; +@WeatherIconVersion: "1.1.0"; +@weather-icons-prefix: wi; +@weather-icons-font-family: weathericons; -@day-cloudy-gusts: "\f000"; // day cloudy gusts -@day-cloudy-windy: "\f001"; // day cloudy windy -@day-cloudy: "\f002"; // day cloudy -@day-fog: "\f003"; // day fog -@day-hail: "\f004"; // day hail -@day-lightning: "\f005"; // day lightning -@day-rain-mix: "\f006"; // day rain mix -@day-rain-wind: "\f007"; // day rain wind -@day-rain: "\f008"; // day rain -@day-showers: "\f009"; // day showers -@day-snow: "\f00a"; // day snow -@day-sprinkle: "\f00b"; // day sprinkle -@day-sunny-overcast: "\f00c"; // day sunny overcast -@day-sunny: "\f00d"; // day sunny -@day-storm-showers: "\f00e"; // day storm showers -@day-thunderstorm: "\f010"; // day thunderstorm -@cloudy-gusts: "\f011"; // neutral cloudy gusts -@cloudy-windy: "\f012"; // neutral cloudy windy -@cloudy: "\f013"; // neutral cloudy -@fog: "\f014"; // neutral fog -@hail: "\f015"; // neutral hail -@lightning: "\f016"; // neutral lightning -@rain-mix: "\f017"; // neutral rain mix -@rain-wind: "\f018"; // neutral rain wind -@rain: "\f019"; // neutral rain -@showers: "\f01a"; // neutral showers -@snow: "\f01b"; // neutral snow -@sprinkle: "\f01c"; // neutral sprinkle -@storm-showers: "\f01d"; // neutral storm showers -@thunderstorm: "\f01e"; // neutral thunderstorm -@windy: "\f021"; // windy -@night-alt-cloudy-gusts: "\f022"; // night alt cloudy gusts -@night-alt-cloudy-windy: "\f023"; // night alt cloudy windy -@night-alt-hail: "\f024"; // night alt hail -@night-alt-lightning: "\f025"; // night alt lightning -@night-alt-rain-mix: "\f026"; // night alt rain mix -@night-alt-rain-wind: "\f027"; // night alt rain wind -@night-alt-rain: "\f028"; // night alt rain -@night-alt-showers: "\f029"; // night alt showers -@night-alt-snow: "\f02a"; // night alt snow -@night-alt-sprinkle: "\f02b"; // night alt sprinkle -@night-alt-storm-showers: "\f02c"; // night alt storm showers -@night-alt-thunderstorm: "\f02d"; // night alt thunderstorm -@night-clear: "\f02e"; // night clear -@night-cloudy-gusts: "\f02f"; // night cloudy gusts -@night-cloudy-windy: "\f030"; // night cloudy windy -@night-cloudy: "\f031"; // night cloudy -@night-hail: "\f032"; // night hail -@night-lightning: "\f033"; // night lightning -@night-rain-mix: "\f034"; // night rain mix -@night-rain-wind: "\f035"; // night rain wind -@night-rain: "\f036"; // night rain -@night-showers: "\f037"; // night showers -@night-snow: "\f038"; // night snow -@night-sprinkle: "\f039"; // night sprinkle -@night-storm-showers: "\f03a"; // night storm showers -@night-thunderstorm: "\f03b"; // night thunderstorm -@celcius: "\f03c"; // celsius -@cloud-down: "\f03d"; // cloud down -@cloud-refresh: "\f03e"; // cloud refresh -@cloud-up: "\f040"; // cloud up -@cloud: "\f041"; // cloud -@degrees: "\f042"; // degrees -@down-left: "\f043"; // down left -@down: "\f044"; // down -@fahrenheit: "\f045"; // fahrenheit -@horizon-alt: "\f046"; // horizon alt -@horizon: "\f047"; // horizon -@left: "\f048"; // left -@_reserved_: "\f049"; // _reserved_ -@night-fog: "\f04a"; // night fog -@refresh-alt: "\f04b"; // refresh alt -@refresh: "\f04c"; // refresh -@right: "\f04d"; // right -@sprinkles: "\f04e"; // sprinkles -@strong-wind: "\f050"; // strong wind -@sunrise: "\f051"; // sunrise -@sunset: "\f052"; // sunset -@thermometer-exterior: "\f053"; // thermometer exterior -@thermometer-internal: "\f054"; // thermometer internal -@thermometer: "\f055"; // thermometer -@tornado: "\f056"; // tornado -@up-right: "\f057"; // up right -@up: "\f058"; // up -@wind-east: "\f059"; // wind east -@wind-north-east: "\f05a"; // wind north east -@wind-north-west: "\f05b"; // wind north west -@wind-north: "\f05c"; // wind north -@wind-south-east: "\f05d"; // wind south east -@wind-south-west: "\f05e"; // wind south west -@wind-south: "\f060"; // wind south -@wind-west: "\f061"; // wind west \ No newline at end of file +// Glyph Names +@day-cloudy-gusts: "\f000"; +@day-cloudy-windy: "\f001"; +@day-cloudy: "\f002"; +@day-fog: "\f003"; +@day-hail: "\f004"; +@day-lightning: "\f005"; +@day-rain-mix: "\f006"; +@day-rain-wind: "\f007"; +@day-rain: "\f008"; +@day-showers: "\f009"; +@day-snow: "\f00a"; +@day-sprinkle: "\f00b"; +@day-sunny-overcast: "\f00c"; +@day-sunny: "\f00d"; +@day-storm-showers: "\f00e"; +@day-thunderstorm: "\f010"; +@cloudy-gusts: "\f011"; +@cloudy-windy: "\f012"; +@cloudy: "\f013"; +@fog: "\f014"; +@hail: "\f015"; +@lightning: "\f016"; +@rain-mix: "\f017"; +@rain-wind: "\f018"; +@rain: "\f019"; +@showers: "\f01a"; +@snow: "\f01b"; +@sprinkle: "\f01c"; +@storm-showers: "\f01d"; +@thunderstorm: "\f01e"; +@windy: "\f021"; +@night-alt-cloudy-gusts: "\f022"; +@night-alt-cloudy-windy: "\f023"; +@night-alt-hail: "\f024"; +@night-alt-lightning: "\f025"; +@night-alt-rain-mix: "\f026"; +@night-alt-rain-wind: "\f027"; +@night-alt-rain: "\f028"; +@night-alt-showers: "\f029"; +@night-alt-snow: "\f02a"; +@night-alt-sprinkle: "\f02b"; +@night-alt-storm-showers: "\f02c"; +@night-alt-thunderstorm: "\f02d"; +@night-clear: "\f02e"; +@night-cloudy-gusts: "\f02f"; +@night-cloudy-windy: "\f030"; +@night-cloudy: "\f031"; +@night-hail: "\f032"; +@night-lightning: "\f033"; +@night-rain-mix: "\f034"; +@night-rain-wind: "\f035"; +@night-rain: "\f036"; +@night-showers: "\f037"; +@night-snow: "\f038"; +@night-sprinkle: "\f039"; +@night-storm-showers: "\f03a"; +@night-thunderstorm: "\f03b"; +@celsius: "\f03c"; +@cloud-down: "\f03d"; +@cloud-refresh: "\f03e"; +@cloud-up: "\f040"; +@cloud: "\f041"; +@degrees: "\f042"; +@down-left: "\f043"; +@down: "\f044"; +@fahrenheit: "\f045"; +@horizon-alt: "\f046"; +@horizon: "\f047"; +@left: "\f048"; +@_reserved_: "\f049"; +@night-fog: "\f04a"; +@refresh-alt: "\f04b"; +@refresh: "\f04c"; +@right: "\f04d"; +@sprinkles: "\f04e"; +@strong-wind: "\f050"; +@sunrise: "\f051"; +@sunset: "\f052"; +@thermometer-exterior: "\f053"; +@thermometer-internal: "\f054"; +@thermometer: "\f055"; +@tornado: "\f056"; +@up-right: "\f057"; +@up: "\f058"; +@wind-west: "\f059"; +@wind-south-west: "\f05a"; +@wind-south-east: "\f05b"; +@wind-south: "\f05c"; +@wind-north-west: "\f05d"; +@wind-north-east: "\f05e"; +@wind-north: "\f060"; +@wind-east: "\f061"; + +// New v1.2 +@smoke: "\f062"; +@dust: "\f063"; +@snow-wind: "\f064"; +@day-snow-wind: "\f065"; +@night-snow-wind: "\f066"; +@night-alt-snow-wind: "\f067"; +@day-sleet-storm: "\f068"; +@night-sleet-storm: "\f069"; +@night-alt-sleet-storm: "\f06a"; +@day-snow-thunderstorm: "\f06b"; +@night-snow-thunderstorm: "\f06c"; +@night-alt-snow-thunderstorm: "\f06d"; +@solar-eclipse: "\f06e"; +@lunar-eclipse: "\f070"; +@meteor: "\f071"; +@hot: "\f072"; +@hurricane: "\f073"; +@smog: "\f074"; +@alien: "\f075"; +@snowflake-cold: "\f076"; +@stars: "\f077"; + +// Moon Phases +@moon-full: "\f078"; +@moon-waxing-gibbous: "\f079"; +@moon-waxing-quarter: "\f07a"; +@moon-waxing-crescent: "\f07b"; +@moon-young: "\f07c"; +@moon-new: "\f07d"; +@moon-old: "\f07e"; +@moon-waning-crescent: "\f080"; +@moon-waning-quarter: "\f081"; +@moon-waning-gibbous: "\f082"; + +// More new v1.2 +@night-partly-cloudy: "\f083"; \ No newline at end of file diff --git a/weather-icons/weather-icons.less b/weather-icons/weather-icons.less index 635f951..70c097e 100644 --- a/weather-icons/weather-icons.less +++ b/weather-icons/weather-icons.less @@ -1,8 +1,8 @@ /*! - * Weather Icons Beta 1 + * Weather Icons 1.1 * Weather themed icons for Bootstrap * ------------------------------------------------------------------------------ - * Maintained at http://erikflowers.github.io/weather-icons +* Maintained at http://erikflowers.github.io/weather-icons * http://twitter.com/Erik_UX * * License @@ -17,18 +17,19 @@ * "Font Awesome by Dave Gandy - http://fontawesome.io" * * Weather Icons Bootstrap Package Author - Erik Flowers - erik@helloerik.com - * Weather Icons gives full credit for inspiration to Font Awesome and makes no - * claim to invention, intellectual property, or ownership of methodology. - * - * Support Open Source! - * * ------------------------------------------------------------------------------ * Email: erik@helloerik.com * Twitter: http://twitter.com/Erik_UX */ + + + @import "variables.less"; @import "icon-classes.less"; // Include anything you need to make the Weather Icons styled here // + + +