summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_textarea.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-08-15 12:32:34 +0300
committerArtur Signell <artur@vaadin.com>2014-08-15 10:51:58 +0000
commite95965a10bb6070096ee239ba22cc0e038874bde (patch)
tree4d2d25163cab40ede60d9c1b07720fa1d0ecfb59 /WebContent/VAADIN/themes/valo/components/_textarea.scss
parent56195677e92cb6ad9ac6e0e5ef2aae2a403d3fc0 (diff)
downloadvaadin-framework-e95965a10bb6070096ee239ba22cc0e038874bde.tar.gz
vaadin-framework-e95965a10bb6070096ee239ba22cc0e038874bde.zip
Add two new size variants for Valo, tiny and huge
Available as additional style names for buttons, text fields/text areas, combo boxes, date fields and labels. Change-Id: I12f36935a690f5bf3f12333f5bd4ac986d4efd1f
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_textarea.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_textarea.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_textarea.scss b/WebContent/VAADIN/themes/valo/components/_textarea.scss
index 4c5d99b8e2..5e524bfb9e 100644
--- a/WebContent/VAADIN/themes/valo/components/_textarea.scss
+++ b/WebContent/VAADIN/themes/valo/components/_textarea.scss
@@ -19,6 +19,11 @@
@include valo-textfield-borderless-style;
}
+ .#{$primary-stylename}-tiny {
+ @include valo-textarea-style($unit-size: $v-unit-size--tiny, $states: normal, $background-color: null, $border: null, $bevel: null, $shadow: null);
+ font-size: $v-font-size--tiny;
+ }
+
.#{$primary-stylename}-small {
@include valo-textarea-style($unit-size: $v-unit-size--small, $states: normal, $background-color: null, $border: null, $bevel: null, $shadow: null);
font-size: $v-font-size--small;
@@ -29,6 +34,11 @@
font-size: $v-font-size--large;
}
+ .#{$primary-stylename}-huge {
+ @include valo-textarea-style($unit-size: $v-unit-size--huge, $states: normal, $background-color: null, $border: null, $bevel: null, $shadow: null);
+ font-size: $v-font-size--huge;
+ }
+
.#{$primary-stylename}-align-right {
text-align: right;
}