Commit 0fa982a 1 parent 04ed480 commit 0fa982a Copy full SHA for 0fa982a
File tree 6 files changed +23
-23
lines changed
packages/components/src/components
6 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 143
143
.#{$prefix } --accordion__content {
144
144
display : block ;
145
145
padding-bottom : $carbon--spacing-06 ;
146
- padding-top : $spacing-xs ;
146
+ padding-top : $spacing-03 ;
147
147
// Transition property for when the accordion opens
148
148
transition : padding-top motion (entrance , productive ) $duration--fast-02 ,
149
149
padding-bottom motion (entrance , productive ) $duration--fast-02 ;
Original file line number Diff line number Diff line change 53
53
}
54
54
55
55
.#{$prefix } --snippet--inline code {
56
- padding : 0 $spacing-xs ;
56
+ padding : 0 $spacing-03 ;
57
57
}
58
58
59
59
// Single Line Snippet
78
78
.#{$prefix } --snippet--single pre {
79
79
white-space : nowrap ;
80
80
@include type-style (' code-01' );
81
- padding-right : $spacing-xs ;
81
+ padding-right : $spacing-03 ;
82
82
}
83
83
84
84
.#{$prefix } --snippet--single ::after {
181
181
.#{$prefix } --snippet--multi .#{$prefix } --snippet-button {
182
182
height : $carbon--spacing-07 ;
183
183
width : $carbon--spacing-07 ;
184
- top : $spacing-xs ;
185
- right : $spacing-xs ;
184
+ top : $spacing-03 ;
185
+ right : $spacing-03 ;
186
186
}
187
187
188
188
.#{$prefix } --snippet-button :hover {
217
217
display : inline-flex ;
218
218
align-items : center ;
219
219
position : absolute ;
220
- right : $spacing-xs ;
221
- bottom : $spacing-xs ;
222
- padding : $spacing-xs ;
220
+ right : $spacing-03 ;
221
+ bottom : $spacing-03 ;
222
+ padding : $spacing-03 ;
223
223
padding-left : $carbon--spacing-05 ;
224
224
color : $text-01 ;
225
225
background-color : $field-01 ;
237
237
238
238
.#{$prefix } --snippet-btn--expand .#{$prefix } --icon-chevron--down {
239
239
fill : $text-01 ;
240
- margin-left : $spacing-xs ;
240
+ margin-left : $spacing-03 ;
241
241
margin-bottom : rem (1px );
242
242
transform : rotate (0deg );
243
243
transition : $duration--moderate-01 motion (standard , productive );
Original file line number Diff line number Diff line change 38
38
@include layer (' overlay' );
39
39
@include type-style (' body-short-01' );
40
40
top : 1.1rem ;
41
- padding : $spacing-2xs ;
41
+ padding : $spacing-02 ;
42
42
color : $inverse-01 ;
43
43
content : attr (data-feedback );
44
44
transform : translateX (-50% );
Original file line number Diff line number Diff line change 75
75
.#{$prefix } --search-magnifier {
76
76
height : $layout-04 ;
77
77
width : $layout-04 ;
78
- padding : $spacing-md ;
78
+ padding : $spacing-05 ;
79
79
left : 0 ;
80
80
cursor : pointer ;
81
81
pointer-events : all ;
141
141
.#{$prefix } --toolbar-search-container-active
142
142
.#{$prefix } --search
143
143
.#{$prefix } --search-input {
144
- padding-left : $spacing-3xl ;
144
+ padding-left : $spacing-09 ;
145
145
visibility : inherit ;
146
146
}
147
147
206
206
cursor : pointer ;
207
207
height : $layout-04 ;
208
208
width : $layout-04 ;
209
- padding : $spacing-md ;
209
+ padding : $spacing-05 ;
210
210
transition : background $duration--fast-02 motion (entrance , productive );
211
211
}
212
212
289
289
.#{$prefix } --toolbar-search-container-persistent
290
290
.#{$prefix } --search
291
291
.#{$prefix } --search-magnifier {
292
- left : $spacing-md ;
292
+ left : $spacing-05 ;
293
293
}
294
294
295
295
.#{$prefix } --toolbar-search-container-persistent
296
296
.#{$prefix } --search
297
297
.#{$prefix } --search-input {
298
298
height : $layout-04 ;
299
- padding-left : $spacing-3xl ;
299
+ padding-left : $spacing-09 ;
300
300
border : none ;
301
301
}
302
302
345
345
top : 0 ;
346
346
left : 0 ;
347
347
align-items : center ;
348
- padding-left : $spacing-lg ;
349
- padding-right : $spacing-lg ;
348
+ padding-left : $spacing-06 ;
349
+ padding-right : $spacing-06 ;
350
350
width : 100% ;
351
351
height : 100% ;
352
352
pointer-events : none ;
502
502
.#{$prefix } --search-magnifier {
503
503
height : rem (32px );
504
504
width : rem (32px );
505
- padding : $spacing-xs ;
505
+ padding : $spacing-03 ;
506
506
}
507
507
508
508
// hidden
570
570
.#{$prefix } --table-toolbar--small .#{$prefix } --toolbar-action {
571
571
height : rem (32px );
572
572
width : rem (32px );
573
- padding : $spacing-xs ;
573
+ padding : $spacing-03 ;
574
574
}
575
575
576
576
.#{$prefix } --table-toolbar--small .#{$prefix } --btn--primary {
Original file line number Diff line number Diff line change 35
35
36
36
& :focus {
37
37
@include focus-outline ;
38
- padding : $spacing-3xs ;
38
+ padding : $spacing-01 ;
39
39
40
40
.#{$prefix } --inline-edit-label__icon {
41
41
width : auto ;
58
58
margin-left : rem (-12px );
59
59
60
60
input {
61
- padding-left : $spacing-sm ;
61
+ padding-left : $spacing-04 ;
62
62
}
63
63
}
64
64
68
68
}
69
69
70
70
select {
71
- padding : 0.45rem 2.75rem 0.45rem $spacing-md ;
71
+ padding : 0.45rem 2.75rem 0.45rem $spacing-05 ;
72
72
}
73
73
74
74
.#{$prefix } --select__arrow {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ $css--helpers: true;
52
52
width : auto ;
53
53
min-width : auto ;
54
54
height : 100% ;
55
- padding : 0 2.5rem 0 $spacing-md ;
55
+ padding : 0 2.5rem 0 $spacing-05 ;
56
56
margin-right : -0.65rem ;
57
57
@include carbon--breakpoint (' md' ) {
58
58
padding-right : carbon--mini-units (4.5 );
You can’t perform that action at this time.
0 commit comments