office-ui-fabric-js-rails 1.3.0.0 → 1.4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/office-ui-fabric-js-rails/version.rb +2 -2
- data/package.json +2 -2
- data/vendor/assets/css/fabric.components.css +18 -6
- data/vendor/assets/css/fabric.components.min.css +2 -2
- data/vendor/assets/css/fabric.components.rtl.css +18 -6
- data/vendor/assets/css/fabric.components.rtl.min.css +2 -2
- data/vendor/assets/js/fabric.js +32 -41
- data/vendor/assets/js/fabric.min.js +4 -4
- data/vendor/assets/scss/components/Breadcrumb.scss +174 -174
- data/vendor/assets/scss/components/Button.scss +300 -286
- data/vendor/assets/scss/components/Callout.scss +157 -157
- data/vendor/assets/scss/components/CheckBox.scss +172 -172
- data/vendor/assets/scss/components/ChoiceFieldGroup.scss +14 -13
- data/vendor/assets/scss/components/CommandBar.scss +138 -138
- data/vendor/assets/scss/components/CommandButton.scss +293 -293
- data/vendor/assets/scss/components/ContextualHost.scss +142 -142
- data/vendor/assets/scss/components/ContextualMenu.scss +208 -208
- data/vendor/assets/scss/components/DatePicker.scss +527 -527
- data/vendor/assets/scss/components/DetailsList.scss +337 -337
- data/vendor/assets/scss/components/Dialog.scss +118 -118
- data/vendor/assets/scss/components/DialogHost.scss +12 -12
- data/vendor/assets/scss/components/Dropdown.scss +251 -251
- data/vendor/assets/scss/components/FacePile.scss +104 -104
- data/vendor/assets/scss/components/Label.scss +37 -37
- data/vendor/assets/scss/components/Link.scss +31 -31
- data/vendor/assets/scss/components/List.scss +16 -16
- data/vendor/assets/scss/components/ListItem.scss +237 -237
- data/vendor/assets/scss/components/MessageBanner.scss +128 -128
- data/vendor/assets/scss/components/MessageBar.scss +87 -87
- data/vendor/assets/scss/components/OrgChart.scss +46 -46
- data/vendor/assets/scss/components/Overlay.scss +34 -34
- data/vendor/assets/scss/components/Panel.scss +155 -155
- data/vendor/assets/scss/components/PanelHost.scss +15 -15
- data/vendor/assets/scss/components/PeoplePicker.scss +449 -449
- data/vendor/assets/scss/components/Persona.scss +731 -731
- data/vendor/assets/scss/components/PersonaCard.scss +208 -208
- data/vendor/assets/scss/components/Pivot.scss +201 -201
- data/vendor/assets/scss/components/ProgressIndicator.scss +64 -64
- data/vendor/assets/scss/components/RadioButton.scss +194 -194
- data/vendor/assets/scss/components/SearchBox.scss +368 -369
- data/vendor/assets/scss/components/Spinner.scss +48 -48
- data/vendor/assets/scss/components/Table.scss +123 -123
- data/vendor/assets/scss/components/TextField.scss +232 -232
- data/vendor/assets/scss/components/Toggle.scss +249 -249
- metadata +2 -2
@@ -1,372 +1,371 @@
|
|
1
1
|
/**
|
2
|
-
* Office UI Fabric JS 1.
|
2
|
+
* Office UI Fabric JS 1.4.0
|
3
3
|
* The JavaScript front-end framework for building experiences for Office 365.
|
4
4
|
**/
|
5
|
-
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
6
|
-
|
7
|
-
//
|
8
|
-
// Office UI Fabric
|
9
|
-
// --------------------------------------------------
|
10
|
-
// Search box styles
|
11
|
-
|
12
|
-
$SearchBox-width: 208px;
|
13
|
-
$SearchBox-field-padding-left: 45px;
|
14
|
-
$SearchBox-height: 36px;
|
15
|
-
$SearchBox-commandbarHeight: 40px;
|
16
|
-
$SearchBox-commandbar-md-height: 44px;
|
17
|
-
$disabled-color: #F4F4F4;
|
18
|
-
$SearchBox-command-color: #F4F4F4;
|
19
|
-
|
20
|
-
.ms-SearchBox {
|
21
|
-
@include ms-baseFont;
|
22
|
-
@include ms-u-normalize;
|
23
|
-
height: $SearchBox-height;
|
24
|
-
color: $ms-color-neutralPrimary;
|
25
|
-
font-size: $ms-font-size-m;
|
26
|
-
font-weight: $ms-font-weight-regular;
|
27
|
-
position: relative;
|
28
|
-
margin-bottom: 10px;
|
29
|
-
display: inline-block;
|
30
|
-
overflow: hidden;
|
31
|
-
background-color: $ms-color-white;
|
32
|
-
|
33
|
-
// State: Active searchbox
|
34
|
-
&.is-active {
|
35
|
-
z-index: $ms-zIndex-front;
|
36
|
-
|
37
|
-
.ms-SearchBox-label {
|
38
|
-
display: none;
|
39
|
-
}
|
40
|
-
|
41
|
-
.ms-SearchBox-clear {
|
42
|
-
display: block;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
&:hover {
|
47
|
-
background-color: $ms-color-themeLighter;
|
48
|
-
|
49
|
-
.ms-SearchBox-label {
|
50
|
-
color: $ms-color-black;
|
51
|
-
|
52
|
-
.ms-Icon {
|
53
|
-
color: $ms-color-neutralPrimary;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
// State: Disabled searchbox
|
59
|
-
&.is-disabled {
|
60
|
-
background-color: $disabled-color;
|
61
|
-
pointer-events: none;
|
62
|
-
|
63
|
-
.ms-SearchBox-label {
|
64
|
-
@include ms-Label-is-disabled;
|
65
|
-
}
|
66
|
-
|
67
|
-
.ms-SearchBox-icon {
|
68
|
-
color: $ms-color-neutralTertiary;
|
69
|
-
}
|
70
|
-
|
71
|
-
.ms-SearchBox-field {
|
72
|
-
color: $ms-color-neutralTertiary;
|
73
|
-
background-color: transparent;
|
74
|
-
border-color: $ms-color-neutralLighter;
|
75
|
-
cursor: default;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
.ms-SearchBox-clear {
|
81
|
-
display: none;
|
82
|
-
position: absolute;
|
83
|
-
top: 0;
|
84
|
-
right: 0;
|
85
|
-
z-index: $ms-zIndex-front;
|
86
|
-
|
87
|
-
.ms-CommandButton-button {
|
88
|
-
background-color: $ms-color-themePrimary;
|
89
|
-
color: $ms-color-white;
|
90
|
-
height: $SearchBox-height;
|
91
|
-
}
|
92
|
-
|
93
|
-
.ms-CommandButton-icon {
|
94
|
-
color: $ms-color-white;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
.ms-SearchBox-icon {
|
99
|
-
position: relative;
|
100
|
-
top: 50%;
|
101
|
-
transform: translateY(-50%);
|
102
|
-
display: inline-block;
|
103
|
-
font-size: 16px;
|
104
|
-
width: 16px;
|
105
|
-
margin-left: 12px;
|
106
|
-
margin-right: 6px;
|
107
|
-
color: $ms-color-themePrimary;
|
108
|
-
vertical-align: top;
|
109
|
-
}
|
110
|
-
|
111
|
-
.ms-SearchBox-field {
|
112
|
-
position: relative;
|
113
|
-
@include ms-u-normalize;
|
114
|
-
border: 1px solid $ms-color-themeTertiary;
|
115
|
-
outline: transparent 1px solid;
|
116
|
-
font-weight: $ms-font-weight-semilight;
|
117
|
-
font-size: $ms-font-size-m;
|
118
|
-
color: $ms-color-black;
|
119
|
-
height: $SearchBox-height;
|
120
|
-
padding: 6px 3px 7px $SearchBox-field-padding-left;
|
121
|
-
width: $SearchBox-width;
|
122
|
-
background-color: transparent;
|
123
|
-
z-index: $ms-zIndex-middle;
|
124
|
-
transition: padding-left $ms-duration1;
|
125
|
-
|
126
|
-
&:focus {
|
127
|
-
padding: 6px 32px 7px 10px;
|
128
|
-
border-color: $ms-color-themePrimary;
|
129
|
-
background-color: $ms-color-themeLighter;
|
130
|
-
}
|
131
|
-
|
132
|
-
&::-ms-clear {
|
133
|
-
display: none;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.ms-SearchBox-label {
|
138
|
-
position: absolute;
|
139
|
-
top: 0;
|
140
|
-
left: 0;
|
141
|
-
height: $SearchBox-height;
|
142
|
-
line-height: $SearchBox-height;
|
143
|
-
color: $ms-color-neutralSecondary;
|
144
|
-
}
|
145
|
-
|
146
|
-
//== Modifier: CommandBar Search
|
147
|
-
//
|
148
|
-
.ms-SearchBox.ms-SearchBox--commandBar {
|
149
|
-
@include ms-bgColor-white;
|
150
|
-
width: $SearchBox-width;
|
151
|
-
height: $SearchBox-commandbarHeight;
|
152
|
-
|
153
|
-
.ms-SearchBox-field,
|
154
|
-
.ms-SearchBox-label {
|
155
|
-
height: $SearchBox-commandbarHeight;
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
.ms-SearchBox-
|
170
|
-
.ms-SearchBox-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
.ms-SearchBox-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
.ms-SearchBox-
|
308
|
-
.ms-SearchBox-
|
309
|
-
.ms-SearchBox-
|
310
|
-
|
311
|
-
height: $SearchBox-commandbar-md-height;
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
.ms-SearchBox-
|
316
|
-
.ms-SearchBox-
|
317
|
-
.ms-SearchBox-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
.ms-SearchBox-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
}
|
5
|
+
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
6
|
+
|
7
|
+
//
|
8
|
+
// Office UI Fabric
|
9
|
+
// --------------------------------------------------
|
10
|
+
// Search box styles
|
11
|
+
|
12
|
+
$SearchBox-width: 208px;
|
13
|
+
$SearchBox-field-padding-left: 45px;
|
14
|
+
$SearchBox-height: 36px;
|
15
|
+
$SearchBox-commandbarHeight: 40px;
|
16
|
+
$SearchBox-commandbar-md-height: 44px;
|
17
|
+
$disabled-color: #F4F4F4;
|
18
|
+
$SearchBox-command-color: #F4F4F4;
|
19
|
+
|
20
|
+
.ms-SearchBox {
|
21
|
+
@include ms-baseFont;
|
22
|
+
@include ms-u-normalize;
|
23
|
+
height: $SearchBox-height;
|
24
|
+
color: $ms-color-neutralPrimary;
|
25
|
+
font-size: $ms-font-size-m;
|
26
|
+
font-weight: $ms-font-weight-regular;
|
27
|
+
position: relative;
|
28
|
+
margin-bottom: 10px;
|
29
|
+
display: inline-block;
|
30
|
+
overflow: hidden;
|
31
|
+
background-color: $ms-color-white;
|
32
|
+
|
33
|
+
// State: Active searchbox
|
34
|
+
&.is-active {
|
35
|
+
z-index: $ms-zIndex-front;
|
36
|
+
|
37
|
+
.ms-SearchBox-label {
|
38
|
+
display: none;
|
39
|
+
}
|
40
|
+
|
41
|
+
.ms-SearchBox-clear {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
&:hover {
|
47
|
+
background-color: $ms-color-themeLighter;
|
48
|
+
|
49
|
+
.ms-SearchBox-label {
|
50
|
+
color: $ms-color-black;
|
51
|
+
|
52
|
+
.ms-Icon {
|
53
|
+
color: $ms-color-neutralPrimary;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
// State: Disabled searchbox
|
59
|
+
&.is-disabled {
|
60
|
+
background-color: $disabled-color;
|
61
|
+
pointer-events: none;
|
62
|
+
|
63
|
+
.ms-SearchBox-label {
|
64
|
+
@include ms-Label-is-disabled;
|
65
|
+
}
|
66
|
+
|
67
|
+
.ms-SearchBox-icon {
|
68
|
+
color: $ms-color-neutralTertiary;
|
69
|
+
}
|
70
|
+
|
71
|
+
.ms-SearchBox-field {
|
72
|
+
color: $ms-color-neutralTertiary;
|
73
|
+
background-color: transparent;
|
74
|
+
border-color: $ms-color-neutralLighter;
|
75
|
+
cursor: default;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.ms-SearchBox-clear {
|
81
|
+
display: none;
|
82
|
+
position: absolute;
|
83
|
+
top: 0;
|
84
|
+
right: 0;
|
85
|
+
z-index: $ms-zIndex-front;
|
86
|
+
|
87
|
+
.ms-CommandButton-button {
|
88
|
+
background-color: $ms-color-themePrimary;
|
89
|
+
color: $ms-color-white;
|
90
|
+
height: $SearchBox-height;
|
91
|
+
}
|
92
|
+
|
93
|
+
.ms-CommandButton-icon {
|
94
|
+
color: $ms-color-white;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.ms-SearchBox-icon {
|
99
|
+
position: relative;
|
100
|
+
top: 50%;
|
101
|
+
transform: translateY(-50%);
|
102
|
+
display: inline-block;
|
103
|
+
font-size: 16px;
|
104
|
+
width: 16px;
|
105
|
+
margin-left: 12px;
|
106
|
+
margin-right: 6px;
|
107
|
+
color: $ms-color-themePrimary;
|
108
|
+
vertical-align: top;
|
109
|
+
}
|
110
|
+
|
111
|
+
.ms-SearchBox-field {
|
112
|
+
position: relative;
|
113
|
+
@include ms-u-normalize;
|
114
|
+
border: 1px solid $ms-color-themeTertiary;
|
115
|
+
outline: transparent 1px solid;
|
116
|
+
font-weight: $ms-font-weight-semilight;
|
117
|
+
font-size: $ms-font-size-m;
|
118
|
+
color: $ms-color-black;
|
119
|
+
height: $SearchBox-height;
|
120
|
+
padding: 6px 3px 7px $SearchBox-field-padding-left;
|
121
|
+
width: $SearchBox-width;
|
122
|
+
background-color: transparent;
|
123
|
+
z-index: $ms-zIndex-middle;
|
124
|
+
transition: padding-left $ms-duration1;
|
125
|
+
|
126
|
+
&:focus {
|
127
|
+
padding: 6px 32px 7px 10px;
|
128
|
+
border-color: $ms-color-themePrimary;
|
129
|
+
background-color: $ms-color-themeLighter;
|
130
|
+
}
|
131
|
+
|
132
|
+
&::-ms-clear {
|
133
|
+
display: none;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
.ms-SearchBox-label {
|
138
|
+
position: absolute;
|
139
|
+
top: 0;
|
140
|
+
left: 0;
|
141
|
+
height: $SearchBox-height;
|
142
|
+
line-height: $SearchBox-height;
|
143
|
+
color: $ms-color-neutralSecondary;
|
144
|
+
}
|
145
|
+
|
146
|
+
//== Modifier: CommandBar Search
|
147
|
+
//
|
148
|
+
.ms-SearchBox.ms-SearchBox--commandBar {
|
149
|
+
@include ms-bgColor-white;
|
150
|
+
width: $SearchBox-width;
|
151
|
+
height: $SearchBox-commandbarHeight;
|
152
|
+
|
153
|
+
.ms-SearchBox-field,
|
154
|
+
.ms-SearchBox-label {
|
155
|
+
height: $SearchBox-commandbarHeight;
|
156
|
+
}
|
157
|
+
|
158
|
+
.ms-SearchBox-field {
|
159
|
+
transition: none;
|
160
|
+
border: 0;
|
161
|
+
|
162
|
+
&:focus {
|
163
|
+
background-color: transparent;
|
164
|
+
padding: 6px 3px 7px $SearchBox-field-padding-left;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.ms-SearchBox-clear,
|
169
|
+
.ms-SearchBox-filter,
|
170
|
+
.ms-SearchBox-exit {
|
171
|
+
display: none;
|
172
|
+
position: absolute;
|
173
|
+
top: 0;
|
174
|
+
z-index: $ms-zIndex-front;
|
175
|
+
color: $ms-color-neutralTertiary;
|
176
|
+
|
177
|
+
.ms-CommandButton-button {
|
178
|
+
height: $SearchBox-commandbarHeight;
|
179
|
+
background-color: transparent;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
.ms-SearchBox-clear {
|
184
|
+
right: 8px;
|
185
|
+
}
|
186
|
+
|
187
|
+
.ms-SearchBox-filter {
|
188
|
+
right: 8px;
|
189
|
+
|
190
|
+
.ms-CommandButton-icon {
|
191
|
+
color: $ms-color-themePrimary;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
&::before {
|
196
|
+
position: absolute;
|
197
|
+
content: ' ';
|
198
|
+
right: 0;
|
199
|
+
bottom: 0;
|
200
|
+
left: 0;
|
201
|
+
margin: 0 8px;
|
202
|
+
border-bottom: 1px solid $ms-color-neutralLight;
|
203
|
+
}
|
204
|
+
|
205
|
+
&:hover {
|
206
|
+
background-color: $ms-color-white;
|
207
|
+
|
208
|
+
.ms-SearchBox-label {
|
209
|
+
color: $ms-color-neutralDark;
|
210
|
+
}
|
211
|
+
|
212
|
+
.ms-SearchBox-icon {
|
213
|
+
color: $ms-color-themePrimary;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
&:focus {
|
218
|
+
background-color: transparent;
|
219
|
+
}
|
220
|
+
|
221
|
+
&.is-active {
|
222
|
+
.ms-CommandButton {
|
223
|
+
.ms-SearchBox-exit,
|
224
|
+
.ms-SearchBox-filter {
|
225
|
+
display: block;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
&.is-collapsed {
|
231
|
+
width: 50px;
|
232
|
+
min-height: 40px;
|
233
|
+
z-index: $ms-zIndex-back;
|
234
|
+
background-color: $SearchBox-command-color;
|
235
|
+
|
236
|
+
.ms-SearchBox-text {
|
237
|
+
display: none;
|
238
|
+
}
|
239
|
+
|
240
|
+
.ms-SearchBox-field {
|
241
|
+
cursor: pointer;
|
242
|
+
width: calc(100% - 50px);
|
243
|
+
}
|
244
|
+
|
245
|
+
&::before {
|
246
|
+
visibility: hidden;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
&.is-collapsed.is-active {
|
251
|
+
width: 100%;
|
252
|
+
|
253
|
+
.ms-SearchBox-field {
|
254
|
+
display: block;
|
255
|
+
cursor: text;
|
256
|
+
}
|
257
|
+
|
258
|
+
.ms-SearchBox-text {
|
259
|
+
display: inline-block;
|
260
|
+
}
|
261
|
+
|
262
|
+
@media only screen and (max-width: $ms-screen-md-max) {
|
263
|
+
width: 100%;
|
264
|
+
|
265
|
+
.ms-SearchBox-clear {
|
266
|
+
display: inline-block;
|
267
|
+
right: 58px;
|
268
|
+
}
|
269
|
+
|
270
|
+
.ms-SearchBox-filter {
|
271
|
+
display: inline-block;
|
272
|
+
}
|
273
|
+
|
274
|
+
&.is-animated {
|
275
|
+
transition: width $ms-duration1 $ms-ease1;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
&::before {
|
280
|
+
visibility: visible;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
&.has-text {
|
285
|
+
.ms-SearchBox-clear {
|
286
|
+
display: inline-block;
|
287
|
+
|
288
|
+
.ms-CommandButton-icon {
|
289
|
+
color: $ms-color-neutralTertiary;
|
290
|
+
|
291
|
+
&:active {
|
292
|
+
color: $ms-color-themePrimary;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
@media only screen and (min-width: $ms-screen-xl-min) {
|
299
|
+
@include ms-bgColor-white;
|
300
|
+
border-right: 1px solid $ms-color-neutralLight;
|
301
|
+
}
|
302
|
+
|
303
|
+
@media only screen and (max-width: $ms-screen-md-max) {
|
304
|
+
height: $SearchBox-commandbar-md-height;
|
305
|
+
|
306
|
+
.ms-SearchBox-icon,
|
307
|
+
.ms-SearchBox-exit,
|
308
|
+
.ms-SearchBox-field,
|
309
|
+
.ms-SearchBox-label {
|
310
|
+
height: $SearchBox-commandbar-md-height;
|
311
|
+
line-height: $SearchBox-commandbar-md-height;
|
312
|
+
}
|
313
|
+
|
314
|
+
.ms-SearchBox-icon,
|
315
|
+
.ms-SearchBox-exit,
|
316
|
+
.ms-SearchBox-filter,
|
317
|
+
.ms-SearchBox-clear {
|
318
|
+
font-size: 20px;
|
319
|
+
|
320
|
+
.ms-CommandButton-button {
|
321
|
+
height: $SearchBox-commandbar-md-height;
|
322
|
+
}
|
323
|
+
}
|
324
|
+
|
325
|
+
.ms-SearchBox-field,
|
326
|
+
.ms-SearchBox-label {
|
327
|
+
font-size: 16px;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}
|
331
|
+
|
332
|
+
.ms-SearchBox.ms-SearchBox--commandBar.is-active {
|
333
|
+
@include ms-bgColor-white;
|
334
|
+
|
335
|
+
.ms-SearchBox-label {
|
336
|
+
display: block;
|
337
|
+
line-height: $SearchBox-commandbarHeight;
|
338
|
+
height: $SearchBox-commandbarHeight;
|
339
|
+
|
340
|
+
.ms-SearchBox-text {
|
341
|
+
display: none;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
&::before {
|
346
|
+
visibility: visible;
|
347
|
+
}
|
348
|
+
|
349
|
+
@media only screen and (max-width: $ms-screen-md-max) {
|
350
|
+
.ms-SearchBox-field {
|
351
|
+
width: 100%;
|
352
|
+
padding-right: 100px;
|
353
|
+
}
|
354
|
+
|
355
|
+
.ms-SearchBox-icon {
|
356
|
+
display: none;
|
357
|
+
}
|
358
|
+
|
359
|
+
.ms-SearchBox-exit {
|
360
|
+
display: inline-block;
|
361
|
+
}
|
362
|
+
|
363
|
+
&.has-text {
|
364
|
+
.ms-SearchBox-filter {
|
365
|
+
.ms-CommandButton-icon {
|
366
|
+
color: $ms-color-neutralTertiary;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}
|