@@ -2,10 +2,13 @@ $selectric-main-color: #DDD !default;
2
2
$selectric-secondary-color : #BBB !default ; // Color used in button
3
3
$selectric-text-color : #444 !default ; // Color used in label
4
4
$selectric-bg-color : #F8F8F8 !default ; // Background color
5
+ $selectric-btn-bg-color : #F8f8f8 !default ; // Button background color
5
6
$selectric-height : 40px !default ; // Outer height
6
7
$selectric-spacing : 10px !default ; // Label left padding
7
8
$selectric-border-width : 1px !default ; // Outer border width
9
+ $selectric-border-radius : 0px !default ; // Border radius
8
10
$selectric-inner-height : $selectric-height - ($selectric-border-width * 2 ) !default ; // Inner height
11
+ $selectric-font-size : 12px !default ; // Font size
9
12
10
13
.selectric-wrapper {
11
14
position : relative ;
@@ -18,16 +21,18 @@ $selectric-inner-height: $selectric-height - ($selectric-border-width * 2) !d
18
21
19
22
.selectric {
20
23
border : $selectric-border-width solid $selectric-main-color ;
24
+ border-radius : $selectric-border-radius ;
21
25
background : $selectric-bg-color ;
22
26
position : relative ;
27
+ overflow : hidden ;
23
28
24
29
.label {
25
30
display : block ;
26
31
white-space : nowrap ;
27
32
overflow : hidden ;
28
33
text-overflow : ellipsis ;
29
34
margin : 0 $selectric-inner-height 0 $selectric-spacing ;
30
- font-size : 12 px ;
35
+ font-size : $selectric-font-size ;
31
36
line-height : $selectric-inner-height ;
32
37
color : $selectric-text-color ;
33
38
height : $selectric-inner-height ;
@@ -41,6 +46,7 @@ $selectric-inner-height: $selectric-height - ($selectric-border-width * 2) !d
41
46
top : 0 ;
42
47
width : $selectric-inner-height ;
43
48
height : $selectric-inner-height ;
49
+ background-color : $selectric-btn-bg-color ;
44
50
color : $selectric-secondary-color ;
45
51
text-align : center ;
46
52
font : 0 / 0 a;
@@ -177,7 +183,7 @@ $selectric-inner-height: $selectric-height - ($selectric-border-width * 2) !d
177
183
list-style : none ;
178
184
padding : 0 ;
179
185
margin : 0 ;
180
- font-size : 12 px ;
186
+ font-size : $selectric-font-size ;
181
187
line-height : 20px ;
182
188
min-height : 20px ;
183
189
}
0 commit comments