diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/fonts/vaadin-icons/_vaadin-icons.scss | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/fonts/vaadin-icons/_vaadin-icons.scss b/themes/src/main/themes/VAADIN/themes/valo/fonts/vaadin-icons/_vaadin-icons.scss index 88dbebb8cc..3b66d5990b 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/fonts/vaadin-icons/_vaadin-icons.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/fonts/vaadin-icons/_vaadin-icons.scss @@ -1,20 +1,20 @@ -$vaadin-icons-pathPrefix: null; +@mixin vaadin-icons { -@if $v-relative-paths == false { - $vaadin-icons-pathPrefix: "../valo/fonts/vaadin-icons/"; -} + $vaadin-icons-pathPrefix: null; -@font-face { - font-family: 'Vaadin-Icons'; - src: url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.eot'); - src: url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.eot?#iefix') format('embedded-opentype'), - url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.woff') format('woff'), - url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.ttf') format('truetype'), - url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.svg#icomoon') format('svg'); -} -.Vaadin-Icons { - font-family: 'Vaadin-Icons'; -} + @if $v-relative-paths == false { + $vaadin-icons-pathPrefix: "../valo/fonts/vaadin-icons/"; + } -@mixin vaadin-icons { + @font-face { + font-family: 'Vaadin-Icons'; + src: url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.eot'); + src: url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.eot?#iefix') format('embedded-opentype'), + url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.woff') format('woff'), + url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.ttf') format('truetype'), + url('#{$vaadin-icons-pathPrefix}Vaadin-Icons.svg#icomoon') format('svg'); + } + .Vaadin-Icons { + font-family: 'Vaadin-Icons'; + } } |