From f50ad371bce71ecd235d0b26d19dbf6c3a4d157f Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Fri, 11 Apr 2014 17:17:07 +0300 Subject: Initial commit of Valo (from original repo at 60e2fa9ea119d24bb2421d3671a8cb87d6754e8b --- .../valo/fonts/open-sans/OpenSans-Bold-webfont.eot | Bin 0 -> 19544 bytes .../valo/fonts/open-sans/OpenSans-Bold-webfont.ttf | Bin 0 -> 38452 bytes .../fonts/open-sans/OpenSans-Bold-webfont.woff | Bin 0 -> 22432 bytes .../open-sans/OpenSans-BoldItalic-webfont.eot | Bin 0 -> 20133 bytes .../open-sans/OpenSans-BoldItalic-webfont.ttf | Bin 0 -> 39076 bytes .../open-sans/OpenSans-BoldItalic-webfont.woff | Bin 0 -> 23048 bytes .../fonts/open-sans/OpenSans-ExtraBold-webfont.eot | Bin 0 -> 20855 bytes .../fonts/open-sans/OpenSans-ExtraBold-webfont.ttf | Bin 0 -> 42024 bytes .../open-sans/OpenSans-ExtraBold-webfont.woff | Bin 0 -> 23764 bytes .../open-sans/OpenSans-ExtraBoldItalic-webfont.eot | Bin 0 -> 21576 bytes .../open-sans/OpenSans-ExtraBoldItalic-webfont.ttf | Bin 0 -> 43420 bytes .../OpenSans-ExtraBoldItalic-webfont.woff | Bin 0 -> 24568 bytes .../fonts/open-sans/OpenSans-Italic-webfont.eot | Bin 0 -> 20265 bytes .../fonts/open-sans/OpenSans-Italic-webfont.ttf | Bin 0 -> 38412 bytes .../fonts/open-sans/OpenSans-Italic-webfont.woff | Bin 0 -> 23188 bytes .../fonts/open-sans/OpenSans-Light-webfont.eot | Bin 0 -> 19514 bytes .../fonts/open-sans/OpenSans-Light-webfont.ttf | Bin 0 -> 37336 bytes .../fonts/open-sans/OpenSans-Light-webfont.woff | Bin 0 -> 22248 bytes .../open-sans/OpenSans-LightItalic-webfont.eot | Bin 0 -> 20535 bytes .../open-sans/OpenSans-LightItalic-webfont.ttf | Bin 0 -> 39956 bytes .../open-sans/OpenSans-LightItalic-webfont.woff | Bin 0 -> 23400 bytes .../fonts/open-sans/OpenSans-Regular-webfont.eot | Bin 0 -> 19836 bytes .../fonts/open-sans/OpenSans-Regular-webfont.ttf | Bin 0 -> 38232 bytes .../fonts/open-sans/OpenSans-Regular-webfont.woff | Bin 0 -> 22660 bytes .../fonts/open-sans/OpenSans-Semibold-webfont.eot | Bin 0 -> 20028 bytes .../fonts/open-sans/OpenSans-Semibold-webfont.ttf | Bin 0 -> 39476 bytes .../fonts/open-sans/OpenSans-Semibold-webfont.woff | Bin 0 -> 22908 bytes .../open-sans/OpenSans-SemiboldItalic-webfont.eot | Bin 0 -> 20962 bytes .../open-sans/OpenSans-SemiboldItalic-webfont.ttf | Bin 0 -> 40252 bytes .../open-sans/OpenSans-SemiboldItalic-webfont.woff | Bin 0 -> 23764 bytes .../themes/valo/fonts/open-sans/_open-sans.scss | 155 +++++++++++++++++++++ 31 files changed, 155 insertions(+) create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff create mode 100644 WebContent/VAADIN/themes/valo/fonts/open-sans/_open-sans.scss (limited to 'WebContent/VAADIN/themes/valo/fonts/open-sans') diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.eot new file mode 100644 index 0000000000..5d20d91633 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.ttf new file mode 100644 index 0000000000..2109c958e3 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.woff new file mode 100644 index 0000000000..1205787b0e Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Bold-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.eot new file mode 100644 index 0000000000..1f639a15ff Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf new file mode 100644 index 0000000000..242d6b25c3 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.woff new file mode 100644 index 0000000000..ed760c0628 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-BoldItalic-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.eot new file mode 100644 index 0000000000..1e29ad5954 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf new file mode 100644 index 0000000000..6b9118ee35 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.woff new file mode 100644 index 0000000000..a7b99d2552 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBold-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot new file mode 100644 index 0000000000..77184af422 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf new file mode 100644 index 0000000000..26a07e9392 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff new file mode 100644 index 0000000000..45395d1bbe Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.eot new file mode 100644 index 0000000000..0c8a0ae06e Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.ttf new file mode 100644 index 0000000000..12d25d9a73 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.woff new file mode 100644 index 0000000000..ff652e6435 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Italic-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.eot new file mode 100644 index 0000000000..14868406aa Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.ttf new file mode 100644 index 0000000000..63af664cde Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.woff new file mode 100644 index 0000000000..e786074813 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.eot new file mode 100644 index 0000000000..8f445929ff Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.ttf new file mode 100644 index 0000000000..01dda2858a Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.woff new file mode 100644 index 0000000000..43e8b9e6cc Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-LightItalic-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.eot new file mode 100644 index 0000000000..6bbc3cf58c Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.ttf new file mode 100644 index 0000000000..c537f8382a Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.woff new file mode 100644 index 0000000000..e231183dce Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.eot new file mode 100644 index 0000000000..d8375dd0ab Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.ttf new file mode 100644 index 0000000000..b3290843a7 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.woff new file mode 100644 index 0000000000..28d6adee03 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-Semibold-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot new file mode 100644 index 0000000000..0ab1db22e6 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf new file mode 100644 index 0000000000..d2d6318f66 Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff new file mode 100644 index 0000000000..d4dfca402e Binary files /dev/null and b/WebContent/VAADIN/themes/valo/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff differ diff --git a/WebContent/VAADIN/themes/valo/fonts/open-sans/_open-sans.scss b/WebContent/VAADIN/themes/valo/fonts/open-sans/_open-sans.scss new file mode 100644 index 0000000000..ca5851a99d --- /dev/null +++ b/WebContent/VAADIN/themes/valo/fonts/open-sans/_open-sans.scss @@ -0,0 +1,155 @@ +$open-sans-pathPrefix: null; + +@if $v-relative-paths == false { + $open-sans-pathPrefix: "../valo/fonts/open-sans/"; +} + +@mixin font-open-sans-book ($italic: true) { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-Regular-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-Regular-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-Regular-webfont.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-Italic-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-Italic-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-Italic-webfont.ttf') format('truetype'); + font-weight: 400; + font-style: italic; + } + } +} + + + + +@mixin font-open-sans-light ($italic: true) { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-Light-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-Light-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-Light-webfont.ttf') format('truetype'); + font-weight: 300; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-LightItalic-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-LightItalic-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-LightItalic-webfont.ttf') format('truetype'); + font-weight: 300; + font-style: italic; + } + } +} + + + + + +@mixin font-open-sans-semibold ($italic: true) { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-Semibold-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-Semibold-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-Semibold-webfont.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-SemiboldItalic-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-SemiboldItalic-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-SemiboldItalic-webfont.ttf') format('truetype'); + font-weight: 600; + font-style: italic; + } + } +} + + + +@mixin font-open-sans-bold ($italic: true) { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-Bold-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-Bold-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-Bold-webfont.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-BoldItalic-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-BoldItalic-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-BoldItalic-webfont.ttf') format('truetype'); + font-weight: 700; + font-style: italic; + } + } +} + + + + + +@mixin font-open-sans-extrabold ($italic) { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-ExtraBold-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-ExtraBold-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-ExtraBold-webfont.ttf') format('truetype'); + font-weight: 900; + font-style: normal; + } + @if $italic { + @font-face { + font-family: 'Open Sans'; + src: url('#{$open-sans-pathPrefix}OpenSans-ExtraBoldItalic-webfont.eot'); + src: url('#{$open-sans-pathPrefix}OpenSans-ExtraBoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('#{$open-sans-pathPrefix}OpenSans-ExtraBoldItalic-webfont.woff') format('woff'), + url('#{$open-sans-pathPrefix}OpenSans-ExtraBoldItalic-webfont.ttf') format('truetype'); + font-weight: 900; + font-style: italic; + } + } +} + + + + + +@mixin font-open-sans ($italic: false, $light: false, $regular: true, $medium: false, $bold: false, $black: false) { + @if $light { + @include font-open-sans-light($italic); + } + @if $regular { + @include font-open-sans-book($italic); + } + @if $medium { + @include font-open-sans-semibold($italic); + } + @if $bold { + @include font-open-sans-bold($italic); + } + @if $black { + @include font-open-sans-extrabold($italic); + } +} \ No newline at end of file -- cgit v1.2.3