Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/css/icons/weather-icons/sass/weather-icons-core.scss is written in an unsupported language. File is not indexed.

0001 // Base Variables
0002 $wi-path:                        "../font" !default;
0003 $wi-version:                     "2.0" !default;
0004 $wi-css-prefix:                  wi !default;
0005 $wi-font-family:                 weathericons !default;
0006 
0007 @font-face {
0008     font-family: '#{$wi-font-family}';
0009     src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot');
0010     src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot?#iefix') format('embedded-opentype'),
0011          url('#{$wi-path}/#{$wi-font-family}-regular-webfont.woff2') format('woff2'),
0012          url('#{$wi-path}/#{$wi-font-family}-regular-webfont.woff') format('woff'),
0013          url('#{$wi-path}/#{$wi-font-family}-regular-webfont.ttf') format('truetype'),
0014          url('#{$wi-path}/#{$wi-font-family}-regular-webfont.svg#weather_iconsregular') format('svg');
0015     font-weight: normal;
0016     font-style: normal;
0017 }
0018 
0019 .#{$wi-css-prefix} {
0020   display: inline-block;
0021   font-family: '#{$wi-font-family}';
0022   font-style: normal;
0023   font-weight: normal;
0024   line-height: 1;
0025   -webkit-font-smoothing: antialiased;
0026   -moz-osx-font-smoothing: grayscale;
0027 }
0028 
0029 .#{$wi-css-prefix}-fw {
0030   width: 1.4em;
0031   text-align: center;
0032 }
0033 
0034 @mixin wi-icon-rotate($degrees, $rotation) {
0035   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
0036   -webkit-transform: rotate($degrees);
0037       -ms-transform: rotate($degrees);
0038           transform: rotate($degrees);
0039 }
0040 
0041 @mixin wi-icon-flip($horiz, $vert, $rotation) {
0042   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
0043   -webkit-transform: scale($horiz, $vert);
0044       -ms-transform: scale($horiz, $vert);
0045           transform: scale($horiz, $vert);
0046 }
0047 
0048 .#{$wi-css-prefix}-rotate-90  { @include wi-icon-rotate(90deg, 1);  }
0049 .#{$wi-css-prefix}-rotate-180 { @include wi-icon-rotate(180deg, 2); }
0050 .#{$wi-css-prefix}-rotate-270 { @include wi-icon-rotate(270deg, 3); }
0051 
0052 .#{$wi-css-prefix}-flip-horizontal { @include wi-icon-flip(-1, 1, 0); }
0053 .#{$wi-css-prefix}-flip-vertical   { @include wi-icon-flip(1, -1, 2); }