From 869b795e6478c34e6593b5f6ace2fe265973ebbd Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 1 Oct 2015 22:37:21 +0300 Subject: Change ValoIcons to ThemeIcons and moved to base (#18472) Change-Id: I7122252e9b238fdca0383d0698623fe5a9e3f262 --- WebContent/VAADIN/themes/base/fonts/fonts.scss | 7 ++- .../themes/base/fonts/themeicons-webfont.eot | Bin 0 -> 12734 bytes .../themes/base/fonts/themeicons-webfont.svg | 50 +++++++++++++++++++++ .../themes/base/fonts/themeicons-webfont.ttf | Bin 0 -> 12612 bytes .../themes/base/fonts/themeicons-webfont.woff | Bin 0 -> 7868 bytes WebContent/VAADIN/themes/base/grid/grid.scss | 4 +- 6 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 WebContent/VAADIN/themes/base/fonts/themeicons-webfont.eot create mode 100644 WebContent/VAADIN/themes/base/fonts/themeicons-webfont.svg create mode 100644 WebContent/VAADIN/themes/base/fonts/themeicons-webfont.ttf create mode 100644 WebContent/VAADIN/themes/base/fonts/themeicons-webfont.woff (limited to 'WebContent/VAADIN/themes/base') diff --git a/WebContent/VAADIN/themes/base/fonts/fonts.scss b/WebContent/VAADIN/themes/base/fonts/fonts.scss index 608fe7c280..1f5c0cf6a2 100644 --- a/WebContent/VAADIN/themes/base/fonts/fonts.scss +++ b/WebContent/VAADIN/themes/base/fonts/fonts.scss @@ -1,9 +1,14 @@ +$v-font-awesome: true !default; // Set to false to exclude Font Awesome + @mixin fonts { @include fonticons; + @include v-font(ThemeIcons, themeicons-webfont); } @mixin fonticons { - @include v-font(FontAwesome, fontawesome-webfont); + @if $v-font-awesome { + @include v-font(FontAwesome, fontawesome-webfont); + } } @mixin v-font($font-family, $file-name) { diff --git a/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.eot b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.eot new file mode 100644 index 0000000000..9cc04785e2 Binary files /dev/null and b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.eot differ diff --git a/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.svg b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.svg new file mode 100644 index 0000000000..59685c3b3a --- /dev/null +++ b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.ttf b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.ttf new file mode 100644 index 0000000000..1b7dd4a6ad Binary files /dev/null and b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.ttf differ diff --git a/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.woff b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.woff new file mode 100644 index 0000000000..7d055f6dd0 Binary files /dev/null and b/WebContent/VAADIN/themes/base/fonts/themeicons-webfont.woff differ diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 341f486d26..a176114fb6 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -121,7 +121,7 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co &:after { content: "\f0c9"; display: block; - font-family: FontAwesome, sans-serif; + font-family: ThemeIcons, sans-serif; font-size: $v-grid-header-font-size; } } @@ -247,7 +247,7 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co padding-right: round($v-grid-header-font-size * 1.2) + $v-grid-cell-padding-horizontal; &:after { - font-family: FontAwesome, sans-serif; + font-family: ThemeIcons, sans-serif; content: "\f0de" " " attr(sort-order); position: absolute; right: $v-grid-cell-padding-horizontal; -- cgit v1.2.3