summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-07 23:37:04 +0200
committerArtur Signell <artur@vaadin.com>2013-01-07 23:52:12 +0200
commit991dcf9fa63273e15b38abaca5f4ac792ca94b7e (patch)
tree5877fdfdd4ab53b9f9d018c61be890cbd65abbad /WebContent/VAADIN/themes/reindeer
parent68406d87bb4dfb90d460ac02ef6412493f76eba7 (diff)
downloadvaadin-framework-991dcf9fa63273e15b38abaca5f4ac792ca94b7e.tar.gz
vaadin-framework-991dcf9fa63273e15b38abaca5f4ac792ca94b7e.zip
Fixed ComboBox width problems in all themes (#10484)
Change-Id: Ia8181cd9c9d6a9183083408c55f9c3f28c72fb29
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
-rw-r--r--WebContent/VAADIN/themes/reindeer/select/select.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/select/select.scss b/WebContent/VAADIN/themes/reindeer/select/select.scss
index 1cfd944967..a15ba4ab87 100644
--- a/WebContent/VAADIN/themes/reindeer/select/select.scss
+++ b/WebContent/VAADIN/themes/reindeer/select/select.scss
@@ -1,11 +1,14 @@
@mixin reindeer-select($primaryStyleName : v-filterselect) {
+$select-button-width : 25px;
+$select-button-negative-width : -25px;
+
.#{$primaryStyleName} {
height: 24px;
background-repeat: no-repeat;
background-image: url(img/left.png); /** sprite-ref: verticals; sprite-margin-bottom: 1px */
padding-left: 2px;
- padding-right: 25px; /* Space for the button */
+ padding-right: $select-button-width; /* Space for the button */
}
&.v-app .#{$primaryStyleName}-input,
.v-window .#{$primaryStyleName}-input,
@@ -38,12 +41,12 @@
}
.#{$primaryStyleName}-button {
overflow: hidden;
- width: 25px;
+ width: $select-button-width;
height: 24px;
background-position: 0 0;
background-image: url(img/right.png); /** sprite-ref: verticals ; sprite-margin-bottom: 1px */
cursor: default;
- margin-right: -25px;
+ margin-right: $select-button-negative-width;
}
.#{$primaryStyleName}-button:hover {
background-image: url(img/right-hover.png); /** sprite-ref: verticals */