diff options
author | Artur Signell <artur@vaadin.com> | 2014-08-04 14:20:25 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-04 15:20:10 +0300 |
commit | aa25700c8aa2ae974e1c9e3ce3230335d8309814 (patch) | |
tree | 863c5aae5e8df3d1f3d91b2627490c56caed9ce6 /WebContent/VAADIN/themes/tests-valo-flat | |
parent | 49c0182999d6d4876291563e11fa64cfbd27d32f (diff) | |
download | vaadin-framework-aa25700c8aa2ae974e1c9e3ce3230335d8309814.tar.gz vaadin-framework-aa25700c8aa2ae974e1c9e3ce3230335d8309814.zip |
Split test theme into separate themes and added theme selector
Change-Id: I076a05a393ae85bb68983eaa2756d36a0e92014e
Diffstat (limited to 'WebContent/VAADIN/themes/tests-valo-flat')
-rw-r--r-- | WebContent/VAADIN/themes/tests-valo-flat/_variables.scss | 43 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/tests-valo-flat/styles.scss | 6 |
2 files changed, 49 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss b/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss new file mode 100644 index 0000000000..5d2b8abbb7 --- /dev/null +++ b/WebContent/VAADIN/themes/tests-valo-flat/_variables.scss @@ -0,0 +1,43 @@ +$v-app-loading-text: "Flat Valo"; + +$v-font-family: "Roboto", sans-serif; +$v-font-weight: 400; +$v-font-weight--header: 400; +$v-background-color: #fff; +$v-focus-color: rgb(150,190,90); +$v-luminance-threshold: 180; +$v-border: 2px solid v-shade; +$v-border-radius: 6px; +$v-bevel: false; +$v-gradient: false; +$v-shadow: false; +$v-textfield-bevel: false; +$v-textfield-shadow: false; +$v-link-text-decoration: false; +$v-selection-overlay-padding-horizontal: 0; +$v-selection-overlay-padding-vertical: 6px; +$v-selection-item-height: 30px; +$v-selection-item-border-radius: 0; + + +@import "../valo/valo"; + + +.valo-test { + .v-button-primary.v-button-primary { + background: #fff; + border-color: $v-focus-color; + color: $v-focus-color; + } + + .v-button-danger.v-button-danger { + background: #fff; + border-color: $v-error-indicator-color; + color: $v-error-indicator-color; + } + + .v-slider-base:before, + .v-slider-base:after { + border: none !important; + } +} diff --git a/WebContent/VAADIN/themes/tests-valo-flat/styles.scss b/WebContent/VAADIN/themes/tests-valo-flat/styles.scss new file mode 100644 index 0000000000..7b981de04a --- /dev/null +++ b/WebContent/VAADIN/themes/tests-valo-flat/styles.scss @@ -0,0 +1,6 @@ +@import "variables"; +@import "../tests-valo/valotest"; + +.tests-valo-flat { + @include valotest; +} |