1
+ @require 'base'
2
+
1
3
.react-selectize.bootstrap3
2
4
color black
3
5
background-color white
4
6
font-family Helvetica Neue , Helvetica , Arial , sans-serif
5
- user-select none
6
- position relative
7
7
8
8
& :not (.tethered )
9
9
width 300px
10
10
11
- & .disabled
12
- pointer-events none
13
-
14
11
& .open .react-selectize-control
15
12
border 1px solid #66 af e9
16
13
box-shadow inset 0 1px 1px rgba (0 , 0 , 0 , 0.075 ), 0 0 8px rgba (102 , 175 , 233 , 0.6 )
19
16
border 1px solid
20
17
border-color #d9 d9 d9 #cc cc cc #b3 b3 b3
21
18
border-radius 4px
22
- cursor pointer
23
19
font-size 1em
24
- display flex
25
- align-items flex-start
26
- position relative
27
20
28
21
// this controls the height of the select
29
22
> div
30
23
min-height 30px
31
24
32
25
.react-selectize-placeholder
33
26
color #a a a
34
- display flex
35
- align-items center
36
- overflow hidden
37
27
text-indent 8px
38
- text-overflow ellipsis
39
- white-space nowrap
40
- position absolute
41
28
42
29
.react-selectize-selected-values
43
- display flex
44
- flex-grow 1
45
- flex-wrap wrap
46
30
padding-left 5px
47
31
48
- .resizable-input
49
- background none
50
- border none
51
- outline none
52
- font-size 1em
53
- margin 2px
54
- padding 4px 0px
55
- vertical-align middle
56
- width 0px
57
-
58
- .value-wrapper
59
- display flex
60
- align-items center
61
-
62
- .react-selectize-arrow-container , .react-selectize-reset-container
63
- flex-grow 0
64
- flex-shrink 0
65
- display flex
66
- align-items center
67
- justify-content center
68
-
69
- .react-selectize-arrow-container
70
- width 32px
71
-
72
- .react-selectize-reset-container
73
- width 16px
74
-
75
32
.react-selectize-reset-container :hover .react-selectize-reset path
76
33
stroke #c0 39 2b
77
34
78
- .react-selectize-arrow path
79
- fill #9 9 9
80
-
81
35
.react-selectize-reset path
82
- transition all 0.5s 0s ease
83
- stroke #9 9 9
84
- stroke-linecap square
85
- stroke-linejoin mitter
86
- stroke-width 1px
87
-
36
+ transition stroke 0.5s 0s ease
88
37
89
38
// DROPDOWN MENU (in document.body when @props.tether is true)
90
39
.react-selectize.dropdown-menu-container.bootstrap3
91
40
font-family Helvetica Neue , Helvetica , Arial , sans-serif
92
- position absolute
93
41
width 300px
94
42
43
+ & .flipped
44
+ margin-bottom 5px
45
+
46
+ & :not (.flipped )
47
+ margin-top 5px
48
+
95
49
.dropdown-menu
96
50
97
- & .slide -enter-active , & .slide -leave-active
51
+ & .custom -enter-active , & .custom -leave-active
98
52
transition opacity 0.2s 0s ease
99
53
100
- & .slide -enter
54
+ & .custom -enter
101
55
opacity 0
102
56
103
- & .slide -enter-active
57
+ & .custom -enter-active
104
58
opacity 1
105
59
106
- & .slide -leave
60
+ & .custom -leave
107
61
opacity 1
108
62
109
- & .slide -leave-active
63
+ & .custom -leave-active
110
64
opacity 0
111
65
112
66
.react-selectize.dropdown-menu.bootstrap3
117
71
box-shadow 0 6px 12px rgba (0 , 0 , 0 , 0.175 )
118
72
font-family Helvetica Neue , Helvetica , Arial , sans-serif
119
73
max-height 200px
120
- overflow auto
121
- position absolute
122
- z-index 10
123
74
124
75
& .tethered
125
76
min-width 300px
140
91
& .red
141
92
color red !important
142
93
143
- .groups.as-columns
144
- display flex
145
-
146
- > div
147
- flex 1
148
-
149
94
.simple-group-title
150
95
background-color #fa fa fa
151
96
padding 8px 8px
200
145
span
201
146
cursor default
202
147
display inline-block
203
- vertical-align top
204
-
148
+ vertical-align top
0 commit comments