diff options
Diffstat (limited to 'WebContent/VAADIN/themes/valo/fonts/roboto')
55 files changed, 155 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.eot Binary files differnew file mode 100755 index 0000000000..fa326d1d12 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.ttf Binary files differnew file mode 100755 index 0000000000..3c3b2b8ae6 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.woff Binary files differnew file mode 100755 index 0000000000..0229086571 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Black-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..a2aebfb7da --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..2020dcbc9c --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..1875c0b950 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BlackItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.eot Binary files differnew file mode 100755 index 0000000000..b73776ee3b --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.ttf Binary files differnew file mode 100755 index 0000000000..1da72769a8 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.woff Binary files differnew file mode 100755 index 0000000000..0c6994871e --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Bold-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..b803ec1687 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..78bab05c8c --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..99de61af52 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-BoldItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.eot Binary files differnew file mode 100755 index 0000000000..b708f047ff --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..ae258e8416 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.woff Binary files differnew file mode 100755 index 0000000000..dd74244382 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Italic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.eot Binary files differnew file mode 100755 index 0000000000..072cdc480c --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.ttf Binary files differnew file mode 100755 index 0000000000..3b2fea0ace --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.woff Binary files differnew file mode 100755 index 0000000000..cc534a3815 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Light-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..77396a1ff9 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..b9b38118a3 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..3071ff4f23 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-LightItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.eot Binary files differnew file mode 100755 index 0000000000..f9ad99566d --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.ttf Binary files differnew file mode 100755 index 0000000000..8aa64d8232 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.woff Binary files differnew file mode 100755 index 0000000000..cd810ef929 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Medium-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..a03fe4b248 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..6439927f16 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..69a1458011 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-MediumItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.eot Binary files differnew file mode 100755 index 0000000000..9b5e8e4138 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.ttf Binary files differnew file mode 100755 index 0000000000..44dd78d5e1 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.woff Binary files differnew file mode 100755 index 0000000000..bfa05d53f4 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Regular-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.eot Binary files differnew file mode 100755 index 0000000000..2284a3b3ef --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.ttf Binary files differnew file mode 100755 index 0000000000..18919f7a96 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.woff Binary files differnew file mode 100755 index 0000000000..f10b831e85 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-Thin-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..e6291f2657 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..a4e7ae08e0 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..9ef17a8681 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/Roboto-ThinItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.eot Binary files differnew file mode 100755 index 0000000000..bbc67d825b --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.ttf Binary files differnew file mode 100755 index 0000000000..87256d3a34 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.woff Binary files differnew file mode 100755 index 0000000000..235c963d69 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Bold-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..5a95d1a144 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..059feb39c5 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..df69b95291 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-BoldItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.eot Binary files differnew file mode 100755 index 0000000000..985364ffed --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..d804301e70 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.woff Binary files differnew file mode 100755 index 0000000000..67804e1e4d --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Italic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.eot Binary files differnew file mode 100755 index 0000000000..d492665160 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.ttf Binary files differnew file mode 100755 index 0000000000..321c450f22 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.woff Binary files differnew file mode 100755 index 0000000000..c414478ca5 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Light-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.eot Binary files differnew file mode 100755 index 0000000000..c169648374 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.ttf Binary files differnew file mode 100755 index 0000000000..905604d021 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.woff Binary files differnew file mode 100755 index 0000000000..5536e16c5d --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-LightItalic-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.eot Binary files differnew file mode 100755 index 0000000000..5710fe6ead --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.eot diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.ttf Binary files differnew file mode 100755 index 0000000000..be9f6f8ab9 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.ttf diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.woff Binary files differnew file mode 100755 index 0000000000..ec28f95c87 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/RobotoCondensed-Regular-webfont.woff diff --git a/WebContent/VAADIN/themes/valo/fonts/roboto/_roboto.scss b/WebContent/VAADIN/themes/valo/fonts/roboto/_roboto.scss new file mode 100644 index 0000000000..ddc6b4f5a7 --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/roboto/_roboto.scss @@ -0,0 +1,155 @@ +$roboto-pathPrefix: null; + +@if $v-relative-paths == false { + $roboto-pathPrefix: "../valo/fonts/roboto/"; +} + +@mixin font-roboto-regular ($italic: true) { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Regular-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Regular-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Regular-webfont.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Italic-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Italic-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Italic-webfont.ttf') format('truetype'); + font-weight: 400; + font-style: italic; + } + } +} + + + + +@mixin font-roboto-thin ($italic: true) { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Thin-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Thin-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Thin-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Thin-webfont.ttf') format('truetype'); + font-weight: 300; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-ThinItalic-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-ThinItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-ThinItalic-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-ThinItalic-webfont.ttf') format('truetype'); + font-weight: 300; + font-style: italic; + } + } +} + + + + + +@mixin font-roboto-medium ($italic: true) { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Medium-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Medium-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Medium-webfont.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-MediumItalic-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-MediumItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-MediumItalic-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-MediumItalic-webfont.ttf') format('truetype'); + font-weight: 600; + font-style: italic; + } + } +} + + + +@mixin font-roboto-bold ($italic: true) { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Bold-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Bold-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Bold-webfont.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-BoldItalic-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-BoldItalic-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-BoldItalic-webfont.ttf') format('truetype'); + font-weight: 700; + font-style: italic; + } + } +} + + + + + +@mixin font-roboto-black ($italic) { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-Black-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-Black-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-Black-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-Black-webfont.ttf') format('truetype'); + font-weight: 900; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Roboto'; + src: url('#{$roboto-pathPrefix}Roboto-BlackItalic-webfont.eot'); + src: url('#{$roboto-pathPrefix}Roboto-BlackItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$roboto-pathPrefix}Roboto-BlackItalic-webfont.woff') format('woff'), + url('#{$roboto-pathPrefix}Roboto-BlackItalic-webfont.ttf') format('truetype'); + font-weight: 900; + font-style: italic; + } + } +} + + + + + +@mixin font-roboto ($italic: false, $light: false, $regular: true, $medium: false, $bold: false, $black: false) { + @if $light { + @include font-roboto-thin($italic); + } + @if $regular { + @include font-roboto-regular($italic); + } + @if $medium { + @include font-roboto-medium($italic); + } + @if $bold { + @include font-roboto-bold($italic); + } + @if $black { + @include font-roboto-black($italic); + } +}
\ No newline at end of file |