diff options
author | Marc Englund <marc@vaadin.com> | 2012-09-28 17:05:09 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-09-28 17:05:09 +0300 |
commit | d68d89de07ff79ec8629e3aa8c8310f1aa4a237d (patch) | |
tree | ba7f2dac03d0639a9f791503534479790d7713d5 /WebContent/VAADIN/themes/base/caption/caption.scss | |
parent | a499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79 (diff) | |
download | vaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.tar.gz vaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.zip |
Sass restructure: base theme with renameable components
Diffstat (limited to 'WebContent/VAADIN/themes/base/caption/caption.scss')
-rw-r--r-- | WebContent/VAADIN/themes/base/caption/caption.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/base/caption/caption.scss b/WebContent/VAADIN/themes/base/caption/caption.scss index c6fd124ad6..d08f682adb 100644 --- a/WebContent/VAADIN/themes/base/caption/caption.scss +++ b/WebContent/VAADIN/themes/base/caption/caption.scss @@ -1,26 +1,26 @@ -@mixin base-caption { +@mixin base-caption($name : v-caption) { -.v-captionwrapper { +.#{$name}wrapper { text-align: left; /* Force default alignment */ } -.v-caption { +.#{$name} { overflow: hidden; white-space: nowrap; } .v-errorindicator { display: inline-block; } -.v-caption .v-icon { +.#{$name} .v-icon { display: inline-block; padding-right: 2px; vertical-align: middle; } -.v-caption .v-captiontext { +.#{$name} .#{$name}text { display: inline-block; overflow: hidden; vertical-align: middle; } -.v-caption .v-required-field-indicator { +.#{$name} .v-required-field-indicator { display: inline-block; } |