material-sass 4.0.0.alpha5 → 4.0.0.alpha6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +7 -5
- data/app/assets/javascripts/material/addons-materialise/wave.js +11 -8
- data/app/assets/javascripts/material/src/floating-label.js +5 -5
- data/app/assets/javascripts/material/src/navdrawer.js +7 -7
- data/app/assets/javascripts/material/src/tab-switch.js +15 -18
- data/app/assets/javascripts/material/src/util.js +1 -1
- data/app/assets/javascripts/material.js +24 -27
- data/app/assets/stylesheets/material/_mixins.scss +2 -0
- data/app/assets/stylesheets/material/_utilities.scss +3 -0
- data/app/assets/stylesheets/material/_variables.scss +24 -2
- data/app/assets/stylesheets/material/base/_base.scss +5 -482
- data/app/assets/stylesheets/material/base/_grid.scss +11 -0
- data/app/assets/stylesheets/material/base/_normalize.scss +253 -0
- data/app/assets/stylesheets/material/base/_reboot.scss +239 -0
- data/app/assets/stylesheets/material/base/_typography.scss +0 -10
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +0 -1
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +15 -10
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +21 -42
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +81 -126
- data/app/assets/stylesheets/material/bootstrap/_close.scss +1 -4
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +14 -16
- data/app/assets/stylesheets/material/bootstrap/_form.scss +95 -52
- data/app/assets/stylesheets/material/bootstrap/_media.scss +6 -67
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +23 -45
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +4 -14
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +7 -5
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +18 -5
- data/app/assets/stylesheets/material/bootstrap/{_animation.scss → _transition.scss} +11 -2
- data/app/assets/stylesheets/material/material/_card.scss +185 -123
- data/app/assets/stylesheets/material/material/_chip.scss +12 -12
- data/app/assets/stylesheets/material/material/_data-table.scss +0 -2
- data/app/assets/stylesheets/material/material/_dialog.scss +23 -17
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +42 -183
- data/app/assets/stylesheets/material/material/_menu.scss +19 -4
- data/app/assets/stylesheets/material/material/_navdrawer.scss +16 -12
- data/app/assets/stylesheets/material/material/_progress-circular.scss +2 -2
- data/app/assets/stylesheets/material/material/_progress.scss +68 -92
- data/app/assets/stylesheets/material/material/_selection-control.scss +11 -28
- data/app/assets/stylesheets/material/material/_tab.scss +52 -117
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +9 -4
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +37 -35
- data/app/assets/stylesheets/material/material/_text-field.scss +41 -32
- data/app/assets/stylesheets/material/material/_toolbar.scss +192 -306
- data/app/assets/stylesheets/material/material/_tooltip.scss +19 -20
- data/app/assets/stylesheets/material/material.scss +2 -2
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +9 -19
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +11 -3
- data/app/assets/stylesheets/material/mixins/_form.scss +15 -30
- data/app/assets/stylesheets/material/mixins/_grid-framework.scss +58 -0
- data/app/assets/stylesheets/material/mixins/_grid.scss +6 -78
- data/app/assets/stylesheets/material/mixins/_transform.scss +9 -0
- data/app/assets/stylesheets/material/utilities/_border.scss +31 -5
- data/app/assets/stylesheets/material/utilities/_display.scss +37 -8
- data/app/assets/stylesheets/material/utilities/_flex.scss +140 -0
- data/app/assets/stylesheets/material/utilities/_float.scss +5 -3
- data/app/assets/stylesheets/material/utilities/_position.scss +24 -0
- data/app/assets/stylesheets/material/utilities/_sizing.scss +16 -0
- data/app/assets/stylesheets/material/utilities/_spacing.scss +56 -46
- data/app/assets/stylesheets/material/utilities/_text.scss +5 -3
- data/app/assets/stylesheets/material/variables/_grid.scss +16 -10
- data/app/assets/stylesheets/material/variables/_spacer.scss +22 -3
- data/app/assets/stylesheets/material/variables/_typography.scss +2 -0
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +24 -17
- data/app/assets/stylesheets/material/variables/_variable-material.scss +47 -52
- data/lib/material-sass/version.rb +1 -1
- metadata +9 -2
@@ -1,26 +1,32 @@
|
|
1
|
-
.navbar
|
2
|
-
|
1
|
+
.navbar {
|
2
|
+
align-items: center;
|
3
|
+
color: $toolbar-color-dark;
|
4
|
+
display: flex;
|
3
5
|
min-height: $toolbar-height;
|
4
|
-
padding: $toolbar-padding-y
|
6
|
+
padding-top: $toolbar-padding-y;
|
7
|
+
padding-bottom: $toolbar-padding-y;
|
5
8
|
position: relative;
|
6
|
-
@include clearfix;
|
7
|
-
}
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
& > .container {
|
11
|
+
align-items: center;
|
12
|
+
display: flex;
|
13
|
+
padding-right: 0;
|
14
|
+
padding-left: 0;
|
13
15
|
}
|
16
|
+
}
|
14
17
|
|
15
|
-
|
16
|
-
.
|
18
|
+
// colour
|
19
|
+
.navbar-inverse {
|
17
20
|
color: $toolbar-color-light;
|
18
21
|
}
|
19
22
|
|
23
|
+
.navbar-light {
|
24
|
+
color: $toolbar-color-dark;
|
25
|
+
}
|
26
|
+
|
20
27
|
// variation
|
21
28
|
.navbar-fixed-bottom,
|
22
|
-
.navbar-fixed-top
|
23
|
-
.toolbar-clipped {
|
29
|
+
.navbar-fixed-top {
|
24
30
|
box-shadow: map-get($toolbar-elevation-shadow, shadow);
|
25
31
|
position: fixed;
|
26
32
|
right: 0;
|
@@ -33,8 +39,7 @@
|
|
33
39
|
bottom: 0;
|
34
40
|
}
|
35
41
|
|
36
|
-
.navbar-fixed-top
|
37
|
-
.toolbar-clipped {
|
42
|
+
.navbar-fixed-top {
|
38
43
|
// position
|
39
44
|
top: 0;
|
40
45
|
}
|
@@ -70,45 +75,21 @@
|
|
70
75
|
//
|
71
76
|
// misc
|
72
77
|
//
|
73
|
-
.navbar-brand
|
74
|
-
|
75
|
-
|
76
|
-
|
78
|
+
.navbar-brand {
|
79
|
+
align-items: center;
|
80
|
+
color: inherit;
|
81
|
+
display: inline-flex;
|
77
82
|
height: $toolbar-link-height;
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
padding-bottom: (($toolbar-link-height - $line-height-title) / 2);
|
83
|
-
position: relative;
|
84
|
-
z-index: 1;
|
85
|
-
@include border-radius($border-radius);
|
83
|
+
padding-right: $toolbar-link-padding-x;
|
84
|
+
padding-left: $toolbar-link-padding-x;
|
85
|
+
vertical-align: middle;
|
86
|
+
white-space: nowrap;
|
86
87
|
@include typography-title;
|
87
88
|
|
88
|
-
&::before {
|
89
|
-
background-color: currentColor;
|
90
|
-
content: "";
|
91
|
-
display: block;
|
92
|
-
opacity: 0;
|
93
|
-
position: absolute;
|
94
|
-
top: 0;
|
95
|
-
right: ($toolbar-inner-spacer / -2);
|
96
|
-
bottom: 0;
|
97
|
-
left: ($toolbar-inner-spacer / -2);
|
98
|
-
z-index: -1;
|
99
|
-
@include border-radius($border-radius);
|
100
|
-
@include transition-standard(opacity);
|
101
|
-
}
|
102
|
-
|
103
89
|
// active, focus, hover
|
104
90
|
@include active-focus-hover {
|
105
|
-
|
106
|
-
|
107
|
-
}
|
108
|
-
|
109
|
-
&::before {
|
110
|
-
opacity: 0.12;
|
111
|
-
}
|
91
|
+
color: inherit;
|
92
|
+
text-decoration: none;
|
112
93
|
}
|
113
94
|
|
114
95
|
&:focus {
|
@@ -116,177 +97,86 @@
|
|
116
97
|
}
|
117
98
|
}
|
118
99
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
.navbar-light,
|
131
|
-
.toolbar-light {
|
132
|
-
.navbar-brand,
|
133
|
-
.toolbar-brand {
|
134
|
-
@include plain-active-focus-hover {
|
135
|
-
color: $toolbar-color-light;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
}
|
139
|
-
|
140
|
-
.navbar-divider,
|
141
|
-
.toolbar-divider {
|
142
|
-
float: left;
|
143
|
-
margin-right: $toolbar-inner-spacer;
|
144
|
-
margin-left: $toolbar-inner-spacer;
|
145
|
-
overflow: hidden;
|
146
|
-
padding-top: (($toolbar-link-height - $font-size-base * $line-height-base) / 2);
|
147
|
-
padding-bottom: (($toolbar-link-height - $font-size-base * $line-height-base) / 2);
|
148
|
-
width: 1px;
|
149
|
-
|
150
|
-
&::before {
|
151
|
-
content: "\00a0";
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
// colour
|
156
|
-
.navbar-dark,
|
157
|
-
.toolbar-dark {
|
158
|
-
.navbar-divider,
|
159
|
-
.toolbar-divider {
|
160
|
-
background-color: $white-divider;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
.navbar-light,
|
165
|
-
.toolbar-light {
|
166
|
-
.navbar-divider,
|
167
|
-
.toolbar-divider {
|
168
|
-
background-color: $black-divider;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
.navbar-text,
|
173
|
-
.toolbar-text {
|
174
|
-
display: inline-block;
|
175
|
-
padding-top: (($toolbar-link-height - $font-size-base * $line-height-base) / 2);
|
176
|
-
padding-bottom: (($toolbar-link-height - $font-size-base * $line-height-base) / 2);
|
100
|
+
.navbar-text {
|
101
|
+
align-items: center;
|
102
|
+
color: inherit;
|
103
|
+
display: inline-flex;
|
104
|
+
height: $toolbar-link-height;
|
105
|
+
padding-right: $toolbar-link-padding-x;
|
106
|
+
padding-left: $toolbar-link-padding-x;
|
107
|
+
vertical-align: middle;
|
177
108
|
}
|
178
109
|
|
179
110
|
//
|
180
111
|
// nav
|
181
112
|
//
|
182
|
-
.navbar-nav
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
+ .nav-item {
|
188
|
-
margin-left: 1px;
|
189
|
-
}
|
190
|
-
}
|
113
|
+
.navbar-nav {
|
114
|
+
display: flex;
|
115
|
+
list-style: none;
|
116
|
+
margin-bottom: 0;
|
117
|
+
padding-left: 0;
|
191
118
|
|
192
119
|
.nav-link {
|
193
|
-
|
120
|
+
align-items: center;
|
121
|
+
color: inherit;
|
122
|
+
display: flex;
|
194
123
|
font-size: $toolbar-link-font-size;
|
124
|
+
height: $toolbar-link-height;
|
195
125
|
line-height: 1;
|
196
|
-
|
126
|
+
opacity: $toolbar-link-opacity;
|
127
|
+
padding: 0 $toolbar-link-padding-x;
|
197
128
|
@include border-radius($border-radius);
|
198
|
-
@include transition-standard(background-color);
|
199
|
-
|
200
|
-
&::before {
|
201
|
-
content: "";
|
202
|
-
display: block;
|
203
|
-
opacity: 0;
|
204
|
-
position: absolute;
|
205
|
-
top: 0;
|
206
|
-
right: 0;
|
207
|
-
bottom: 0;
|
208
|
-
left: 0;
|
209
|
-
@include border-radius($border-radius);
|
210
|
-
@include transition-standard(opacity);
|
211
|
-
}
|
129
|
+
@include transition-standard(background-color, opacity);
|
212
130
|
|
213
131
|
// active, focus, hover
|
214
132
|
@include active-focus-hover {
|
215
|
-
|
216
|
-
|
217
|
-
}
|
133
|
+
color: inherit;
|
134
|
+
opacity: $toolbar-link-opacity-active;
|
218
135
|
}
|
219
136
|
|
220
137
|
&:focus {
|
221
138
|
outline: 0;
|
222
139
|
}
|
223
140
|
|
141
|
+
&.active {
|
142
|
+
color: inherit;
|
143
|
+
}
|
144
|
+
|
224
145
|
// disabled
|
225
146
|
&.disabled {
|
226
|
-
|
227
|
-
|
228
|
-
|
147
|
+
opacity: $toolbar-link-opacity;
|
148
|
+
}
|
149
|
+
|
150
|
+
// open
|
151
|
+
&.show {
|
152
|
+
background-color: $toolbar-element-bg-dark;
|
229
153
|
}
|
230
154
|
}
|
231
155
|
|
232
|
-
.nav-link.active,
|
233
|
-
.nav-link.open,
|
234
156
|
.active > .nav-link,
|
235
|
-
.
|
236
|
-
|
237
|
-
opacity: 1;
|
238
|
-
}
|
157
|
+
.show > .nav-link {
|
158
|
+
opacity: $toolbar-link-opacity-active;
|
239
159
|
}
|
240
160
|
|
241
|
-
.
|
242
|
-
|
161
|
+
.show > .nav-link {
|
162
|
+
background-color: $toolbar-element-bg-dark;
|
243
163
|
}
|
244
164
|
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
}
|
249
|
-
|
250
|
-
// colour
|
251
|
-
.navbar-dark,
|
252
|
-
.toolbar-dark {
|
253
|
-
.navbar-nav,
|
254
|
-
.toolbar-nav {
|
255
|
-
.nav-link {
|
256
|
-
@include plain-active-focus-hover {
|
257
|
-
color: $toolbar-color-dark;
|
258
|
-
}
|
259
|
-
|
260
|
-
&::before {
|
261
|
-
background-color: $white-divider;
|
262
|
-
}
|
263
|
-
|
264
|
-
// disabled
|
265
|
-
&.disabled {
|
266
|
-
color: $white-hint;
|
267
|
-
}
|
268
|
-
}
|
165
|
+
// direction
|
166
|
+
.dropdown.show > .nav-link {
|
167
|
+
@include border-bottom-radius(0);
|
269
168
|
}
|
270
|
-
}
|
271
169
|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
.nav-link {
|
277
|
-
@include plain-active-focus-hover {
|
278
|
-
color: $toolbar-color-light;
|
279
|
-
}
|
280
|
-
|
281
|
-
&::before {
|
282
|
-
background-color: $black-divider;
|
283
|
-
}
|
170
|
+
.dropup.show > .nav-link {
|
171
|
+
@include border-top-radius(0);
|
172
|
+
}
|
173
|
+
}
|
284
174
|
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
175
|
+
// colour
|
176
|
+
.navbar-inverse {
|
177
|
+
.navbar-nav .nav-link.show,
|
178
|
+
.navbar-nav .show > .nav-link {
|
179
|
+
background-color: $toolbar-element-bg-light;
|
290
180
|
}
|
291
181
|
}
|
292
182
|
|
@@ -295,96 +185,81 @@
|
|
295
185
|
//
|
296
186
|
.navbar-toggleable {
|
297
187
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
188
|
+
$infix: breakpoint-infix($breakpoint);
|
298
189
|
$next: breakpoint-next($breakpoint);
|
299
190
|
|
300
|
-
|
301
|
-
@include clearfix;
|
302
|
-
|
191
|
+
&#{$infix} {
|
303
192
|
@include media-breakpoint-down($breakpoint) {
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
margin-right: 0;
|
309
|
-
padding-right: $toolbar-link-padding-x;
|
310
|
-
padding-left: $toolbar-link-padding-x;
|
311
|
-
|
312
|
-
&::before {
|
313
|
-
// position
|
314
|
-
right: 0;
|
315
|
-
left: 0;
|
316
|
-
}
|
193
|
+
display: block;
|
194
|
+
|
195
|
+
> .container {
|
196
|
+
display: block;
|
317
197
|
}
|
318
198
|
|
319
|
-
.navbar-
|
320
|
-
|
321
|
-
margin-top: $toolbar-padding-y;
|
322
|
-
margin-bottom: $toolbar-padding-y;
|
199
|
+
.navbar-collapse {
|
200
|
+
clear: both;
|
323
201
|
|
324
|
-
|
325
|
-
|
326
|
-
position: static;
|
202
|
+
> :first-child {
|
203
|
+
margin-top: $toolbar-padding-y;
|
327
204
|
}
|
205
|
+
}
|
328
206
|
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
+ .nav-item {
|
333
|
-
margin-top: 1px;
|
334
|
-
margin-left: 0;
|
335
|
-
}
|
336
|
-
}
|
207
|
+
.navbar-nav {
|
208
|
+
flex-wrap: wrap;
|
337
209
|
}
|
338
210
|
}
|
339
211
|
|
340
212
|
@include media-breakpoint-up($next) {
|
341
|
-
|
213
|
+
> .container {
|
214
|
+
align-items: center;
|
215
|
+
display: flex;
|
216
|
+
}
|
217
|
+
|
218
|
+
.navbar-collapse {
|
219
|
+
display: flex !important;
|
220
|
+
width: 100%;
|
221
|
+
}
|
222
|
+
|
223
|
+
.navbar-toggler {
|
224
|
+
display: none;
|
225
|
+
}
|
342
226
|
}
|
343
227
|
}
|
344
228
|
}
|
345
229
|
}
|
346
230
|
|
347
|
-
.navbar-toggler
|
348
|
-
|
231
|
+
.navbar-toggler {
|
232
|
+
align-items: center;
|
349
233
|
background-color: transparent;
|
350
|
-
background-position: 50% 50%;
|
351
|
-
background-repeat: no-repeat;
|
352
|
-
background-size: $material-icon-size;
|
353
234
|
border: 0;
|
354
235
|
border-radius: 50%;
|
355
|
-
|
236
|
+
color: inherit;
|
237
|
+
display: inline-flex;
|
356
238
|
height: $toolbar-link-height;
|
357
|
-
margin-right: $toolbar-
|
358
|
-
|
359
|
-
padding-top: (($toolbar-link-height - $material-icon-size / $font-size-root) / 2);
|
360
|
-
padding-bottom: (($toolbar-link-height - $material-icon-size / $font-size-root) / 2);
|
239
|
+
margin-right: ($toolbar-link-padding-x - (($toolbar-link-height - ($material-icon-size / $font-size-root) * 1rem) / 2));
|
240
|
+
margin-left: ($toolbar-link-padding-x - (($toolbar-link-height - ($material-icon-size / $font-size-root) * 1rem) / 2));
|
361
241
|
position: relative;
|
362
|
-
text-align: center;
|
363
242
|
vertical-align: middle;
|
364
243
|
width: $toolbar-link-height;
|
365
|
-
z-index: 1;
|
366
244
|
|
367
245
|
&::before {
|
246
|
+
background-color: $toolbar-element-bg-dark;
|
368
247
|
border-radius: 50%;
|
369
248
|
content: "";
|
370
249
|
display: block;
|
250
|
+
height: $toolbar-height;
|
371
251
|
opacity: 0;
|
372
252
|
position: absolute;
|
373
|
-
top:
|
374
|
-
|
375
|
-
|
376
|
-
left: 0;
|
377
|
-
z-index: -1;
|
253
|
+
top: (($toolbar-link-height - $toolbar-height) / 2);
|
254
|
+
left: (($toolbar-link-height - $toolbar-height) / 2);
|
255
|
+
width: $toolbar-height;
|
378
256
|
@include transition-standard(opacity);
|
379
257
|
}
|
380
258
|
|
381
259
|
// active, focus, hover
|
382
260
|
@include active-focus-hover {
|
383
261
|
color: inherit;
|
384
|
-
|
385
|
-
@if ($link-decoration-active != "none") {
|
386
|
-
text-decoration: none;
|
387
|
-
}
|
262
|
+
text-decoration: none;
|
388
263
|
|
389
264
|
&::before {
|
390
265
|
opacity: 1;
|
@@ -394,54 +269,36 @@
|
|
394
269
|
&:focus {
|
395
270
|
outline: 0;
|
396
271
|
}
|
272
|
+
}
|
397
273
|
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
// open
|
408
|
-
.open > & {
|
409
|
-
&::before {
|
410
|
-
opacity: 1;
|
411
|
-
}
|
412
|
-
}
|
274
|
+
.navbar-toggler-icon {
|
275
|
+
background-image: $toolbar-toggler-bg-dark;
|
276
|
+
background-repeat: no-repeat;
|
277
|
+
background-position: 50% 50%;
|
278
|
+
background-size: $material-icon-size $material-icon-size;
|
279
|
+
display: block;
|
280
|
+
height: $material-icon-size;
|
281
|
+
margin: auto;
|
282
|
+
width: $material-icon-size;
|
413
283
|
}
|
414
284
|
|
415
285
|
// colour
|
416
|
-
.navbar-
|
417
|
-
|
418
|
-
.navbar-toggler,
|
419
|
-
.toolbar-toggler {
|
420
|
-
background-image: $toolbar-toggler-bg-dark;
|
421
|
-
|
286
|
+
.navbar-inverse {
|
287
|
+
.navbar-toggler {
|
422
288
|
&::before {
|
423
|
-
background-color: $
|
289
|
+
background-color: $toolbar-element-bg-light;
|
424
290
|
}
|
425
291
|
}
|
426
|
-
}
|
427
292
|
|
428
|
-
|
429
|
-
.toolbar-light {
|
430
|
-
.navbar-toggler,
|
431
|
-
.toolbar-toggler {
|
293
|
+
.navbar-toggler-icon {
|
432
294
|
background-image: $toolbar-toggler-bg-light;
|
433
|
-
|
434
|
-
&::before {
|
435
|
-
background-color: $black-divider;
|
436
|
-
}
|
437
295
|
}
|
438
296
|
}
|
439
297
|
|
440
298
|
//
|
441
299
|
// vertical align some elements normally placed in `.navbar` or `.toolbar`
|
442
300
|
//
|
443
|
-
.navbar
|
444
|
-
.toolbar {
|
301
|
+
.navbar {
|
445
302
|
.btn {
|
446
303
|
margin-top: (($btn-height - $toolbar-link-height) / -2);
|
447
304
|
margin-bottom: (($btn-height - $toolbar-link-height) / -2);
|
@@ -458,27 +315,68 @@
|
|
458
315
|
}
|
459
316
|
|
460
317
|
.form-control {
|
461
|
-
|
462
|
-
|
463
|
-
|
318
|
+
background-color: $toolbar-element-bg-dark;
|
319
|
+
border-bottom: 0;
|
320
|
+
color: inherit;
|
321
|
+
height: $toolbar-link-height;
|
322
|
+
line-height: 1;
|
323
|
+
margin-bottom: 0;
|
324
|
+
opacity: $toolbar-link-opacity;
|
325
|
+
padding: (($toolbar-link-height - $textfield-font-size) / 2) $toolbar-link-padding-x;
|
326
|
+
@include transition-standard(opacity);
|
464
327
|
|
465
|
-
|
466
|
-
|
467
|
-
|
328
|
+
// active, focus, hover
|
329
|
+
@include focus-hover {
|
330
|
+
opacity: $toolbar-link-opacity-active;
|
331
|
+
}
|
468
332
|
}
|
469
333
|
|
470
|
-
.form-
|
471
|
-
|
472
|
-
|
334
|
+
.form-inline {
|
335
|
+
flex-wrap: nowrap;
|
336
|
+
margin-right: $toolbar-link-padding-x;
|
337
|
+
margin-left: $toolbar-link-padding-x;
|
473
338
|
}
|
474
339
|
|
475
340
|
.input-group {
|
476
341
|
margin-bottom: 0;
|
477
|
-
}
|
478
342
|
|
479
|
-
|
480
|
-
|
481
|
-
|
343
|
+
.form-control {
|
344
|
+
margin-right: 0;
|
345
|
+
margin-left: 0;
|
346
|
+
|
347
|
+
&:first-child {
|
348
|
+
padding-right: ($textfield-height + $textfield-margin-bottom + $toolbar-link-padding-x);
|
349
|
+
}
|
350
|
+
|
351
|
+
&:not(:first-child) {
|
352
|
+
padding-left: ($textfield-height + $textfield-margin-bottom + $toolbar-link-padding-x);
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
.input-group-addon {
|
357
|
+
align-items: center;
|
358
|
+
cursor: text;
|
359
|
+
display: flex;
|
360
|
+
justify-content: center;
|
361
|
+
margin-right: 0;
|
362
|
+
margin-left: 0;
|
363
|
+
overflow: hidden;
|
364
|
+
padding-top: 0;
|
365
|
+
position: absolute;
|
366
|
+
top: 0;
|
367
|
+
bottom: 0;
|
368
|
+
width: ($textfield-height + $textfield-margin-bottom);
|
369
|
+
|
370
|
+
&:first-child {
|
371
|
+
// position
|
372
|
+
left: 0;
|
373
|
+
}
|
374
|
+
|
375
|
+
&:not(:first-child) {
|
376
|
+
// position
|
377
|
+
right: 0;
|
378
|
+
}
|
379
|
+
}
|
482
380
|
}
|
483
381
|
|
484
382
|
.nav-tabs {
|
@@ -491,26 +389,14 @@
|
|
491
389
|
}
|
492
390
|
}
|
493
391
|
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
color: $toolbar-color-dark;
|
392
|
+
// colour
|
393
|
+
.navbar-inverse {
|
394
|
+
.form-control {
|
395
|
+
background-color: $toolbar-element-bg-light;
|
499
396
|
|
500
|
-
|
501
|
-
|
397
|
+
&::placeholder {
|
398
|
+
color: $white-hint;
|
399
|
+
}
|
502
400
|
}
|
503
401
|
}
|
504
|
-
}
|
505
402
|
|
506
|
-
.navbar-light,
|
507
|
-
.toolbar-light {
|
508
|
-
.form-control {
|
509
|
-
border-bottom-color: $toolbar-color-light;
|
510
|
-
color: $toolbar-color-light;
|
511
|
-
|
512
|
-
&::placeholder {
|
513
|
-
color: $black-hint;
|
514
|
-
}
|
515
|
-
}
|
516
|
-
}
|