summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_textfield.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-06-10 22:53:58 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-06-16 08:18:34 +0000
commita7db50506a48e36ae5e3f5afdf4b6c5fd71d8745 (patch)
tree918fca79d7b00de2d7cadaca8d42c1a366d2d040 /WebContent/VAADIN/themes/valo/components/_textfield.scss
parent4c58616542827ccfbe7bfeb473ba472183acb97b (diff)
downloadvaadin-framework-a7db50506a48e36ae5e3f5afdf4b6c5fd71d8745.tar.gz
vaadin-framework-a7db50506a48e36ae5e3f5afdf4b6c5fd71d8745.zip
Multiple fixes to Valo theme
- Added initial Sass API for Accordion and TabSheet (previously only one mixin) - Renamed ‘darker-of’ function to ‘darkest-color’, which now supports more than two colors - Refactored notifications to use the new position classes as well as the new animation-in/out functionality - Refactored overlay styles to use animation-in/out functionality - Fixed all unwanted white-space and scrollbar issues in all browsers (font-size:0 or line-height:0 no longer necessary), and fixes vertical centering in horizontal layout (#13671) - Fixed borderless menubar clicking bug (Firefox and Opera) - Fixed table column selector, which no longer produces scrollbars if placed directly inside a scrollable area in full size - Fixed table outline overflow in Opera (now using box-shadow instead in all other browsers except IE8) - Added toolbar support for windows (header and footer) - Moved optional notification styles to common-stylenames.scss -Various other small tweaks Change-Id: I42343199be12f6d909b9584b7dce3e258846da81
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_textfield.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_textfield.scss10
1 files changed, 1 insertions, 9 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_textfield.scss b/WebContent/VAADIN/themes/valo/components/_textfield.scss
index f28fee0d1c..4a63004b3c 100644
--- a/WebContent/VAADIN/themes/valo/components/_textfield.scss
+++ b/WebContent/VAADIN/themes/valo/components/_textfield.scss
@@ -49,20 +49,12 @@ $v-textfield-disabled-opacity: $v-disabled-opacity !default;
@if $border-radius {
$padding-width: $padding-width + ceil($border-radius/3);
}
-
$padding-height: round($unit-size/9);
-
padding: $padding-height $padding-width;
-
- // Go ask Mozilla why text alignment in text inputs is so wonky
- .v-ff & {
- // padding-top: $padding-height - 2px;
- // padding-bottom: 0;
- }
}
@if $background-color and $border {
- border: valo-border($border, darker-of($background-color, $v-app-background-color));
+ border: valo-border($border, darkest-color($background-color, $v-app-background-color));
}
@if $gradient == none {