|
21 | 21 | position: relative; |
22 | 22 | display: flex; |
23 | 23 | width: 100%; |
24 | | - height: $layout-04; |
| 24 | + height: $spacing-09; |
25 | 25 | overflow: hidden; |
26 | 26 | background: $ui-01; |
27 | 27 | } |
|
30 | 30 | display: flex; |
31 | 31 | justify-content: flex-end; |
32 | 32 | width: 100%; |
33 | | - height: $layout-04; |
| 33 | + height: $spacing-09; |
34 | 34 | transform: translate3d(0, 0, 0); |
35 | 35 | transition: transform $duration--fast-02 motion(standard, productive), |
36 | 36 | clip-path $duration--fast-02 motion(standard, productive); |
|
60 | 60 | //------------------------------------------------- |
61 | 61 | .#{$prefix}--toolbar-search-container-expandable { |
62 | 62 | position: relative; |
63 | | - width: $layout-04; |
64 | | - height: $layout-04; |
| 63 | + width: $spacing-09; |
| 64 | + height: $spacing-09; |
65 | 65 | box-shadow: none; |
66 | 66 | transition: flex $transition--expansion $carbon--standard-easing; |
67 | 67 | } |
68 | 68 |
|
69 | 69 | .#{$prefix}--toolbar-search-container-expandable .#{$prefix}--search { |
70 | 70 | position: initial; |
71 | | - width: $layout-04; |
| 71 | + width: $spacing-09; |
72 | 72 | height: 100%; |
73 | 73 | } |
74 | 74 |
|
75 | 75 | .#{$prefix}--toolbar-search-container-expandable |
76 | 76 | .#{$prefix}--search |
77 | 77 | .#{$prefix}--search-magnifier { |
78 | 78 | left: 0; |
79 | | - width: $layout-04; |
80 | | - height: $layout-04; |
| 79 | + width: $spacing-09; |
| 80 | + height: $spacing-09; |
81 | 81 | padding: $spacing-05; |
82 | 82 | cursor: pointer; |
83 | 83 | transition: background $duration--fast-02 motion(entrance, productive); |
|
135 | 135 | .#{$prefix}--toolbar-search-container-expandable |
136 | 136 | .#{$prefix}--search |
137 | 137 | .#{$prefix}--search-close { |
138 | | - width: $layout-04; |
139 | | - height: $layout-04; |
| 138 | + width: $spacing-09; |
| 139 | + height: $spacing-09; |
140 | 140 |
|
141 | 141 | &::before { |
142 | 142 | top: 2px; |
|
239 | 239 | @include button-reset; |
240 | 240 |
|
241 | 241 | display: flex; |
242 | | - width: $layout-04; |
243 | | - height: $layout-04; |
| 242 | + width: $spacing-09; |
| 243 | + height: $spacing-09; |
244 | 244 | padding: $spacing-05; |
245 | 245 | cursor: pointer; |
246 | 246 | transition: background $duration--fast-02 motion(entrance, productive); |
|
251 | 251 | @include button-reset; |
252 | 252 |
|
253 | 253 | display: flex; |
254 | | - width: $layout-04; |
255 | | - height: $layout-04; |
| 254 | + width: $spacing-09; |
| 255 | + height: $spacing-09; |
256 | 256 | cursor: pointer; |
257 | 257 | transition: background $duration--fast-02 motion(entrance, productive); |
258 | 258 | } |
|
291 | 291 | } |
292 | 292 |
|
293 | 293 | .#{$prefix}--overflow-menu--data-table { |
294 | | - height: $layout-04; |
| 294 | + height: $spacing-09; |
295 | 295 | } |
296 | 296 |
|
297 | 297 | //------------------------------------------------- |
298 | 298 | //TOOLBAR BUTTON ICONS |
299 | 299 | //------------------------------------------------- |
300 | 300 | .#{$prefix}--toolbar-action__icon { |
301 | 301 | width: auto; |
302 | | - max-width: $layout-01; |
303 | | - height: $layout-01; |
| 302 | + max-width: $spacing-05; |
| 303 | + height: $spacing-05; |
304 | 304 | fill: $icon-01; |
305 | 305 | } |
306 | 306 |
|
|
310 | 310 | .#{$prefix}--toolbar-search-container-persistent { |
311 | 311 | position: relative; |
312 | 312 | width: 100%; |
313 | | - height: $layout-04; |
| 313 | + height: $spacing-09; |
314 | 314 | opacity: 1; |
315 | 315 | } |
316 | 316 |
|
|
333 | 333 | .#{$prefix}--toolbar-search-container-persistent |
334 | 334 | .#{$prefix}--search |
335 | 335 | .#{$prefix}--search-input { |
336 | | - height: $layout-04; |
| 336 | + height: $spacing-09; |
337 | 337 | padding: 0 $spacing-09; |
338 | 338 | border: none; |
339 | 339 | } |
|
362 | 362 | .#{$prefix}--toolbar-search-container-persistent |
363 | 363 | .#{$prefix}--search |
364 | 364 | .#{$prefix}--search-close { |
365 | | - width: $layout-04; |
366 | | - height: $layout-04; |
| 365 | + width: $spacing-09; |
| 366 | + height: $spacing-09; |
367 | 367 | } |
368 | 368 |
|
369 | 369 | .#{$prefix}--batch-actions--active ~ .#{$prefix}--toolbar-search-container, |
|
470 | 470 | left: 0; |
471 | 471 | display: block; |
472 | 472 | width: rem(1px); |
473 | | - height: $layout-01; |
| 473 | + height: $spacing-05; |
474 | 474 | background-color: $text-04; |
475 | 475 | border: none; |
476 | 476 | opacity: 1; |
|
0 commit comments