summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/button/checkbox.scss
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-09-28 17:41:35 +0300
committerMarc Englund <marc@vaadin.com>2012-09-28 17:41:35 +0300
commitd2d5bace48009de6e2ad46a9c73ce367eecd9bf1 (patch)
treeb5bced7e1563ab205a014506f904fe827a705698 /WebContent/VAADIN/themes/base/button/checkbox.scss
parent79d99a9fe652769386d70d406c376e65129611a5 (diff)
downloadvaadin-framework-d2d5bace48009de6e2ad46a9c73ce367eecd9bf1.tar.gz
vaadin-framework-d2d5bace48009de6e2ad46a9c73ce367eecd9bf1.zip
Sass restructure: split button into nativebutton and checkbox
Diffstat (limited to 'WebContent/VAADIN/themes/base/button/checkbox.scss')
-rw-r--r--WebContent/VAADIN/themes/base/button/checkbox.scss37
1 files changed, 37 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/button/checkbox.scss b/WebContent/VAADIN/themes/base/button/checkbox.scss
new file mode 100644
index 0000000000..9222e76975
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/button/checkbox.scss
@@ -0,0 +1,37 @@
+@mixin base-checkbox($name : v-checkbox) {
+
+ .#{$name} {
+ display: block;
+ }
+
+.#{$name},
+.#{$name} label,
+.#{$name} input,
+.#{$name} .v-icon {
+ vertical-align: middle;
+ white-space: nowrap;
+}
+
+.#{$name} .v-icon {
+ margin: 0 2px;
+}
+.#{$name} .v-errorindicator {
+ float: none;
+ display: inline;
+ display: inline-block;
+ zoom: 1;
+}
+
+
+/* Disabled by default
+.#{$name}-error {
+ background: #ffe0e0;
+}
+*/
+/* Disabled by default
+.#{$name}-required {
+ background: #ffe0e0;
+}
+*/
+
+}