18
18
19
19
.ui5-shellbar-menu-button ,
20
20
.ui5-shellbar-button ,
21
- .ui5-shellbar-image-button {
22
- height : 2.25rem ;
23
- padding : 0 ;
24
- margin-left : 0.5rem ;
25
- border : none;
26
- outline : none;
27
- background : transparent;
28
- color : var (--sapUiShellTextColor );
29
- box-sizing : border-box;
30
- cursor : pointer;
31
- border-radius : 0.25rem ;
32
- position : relative;
33
- font-size : 0.75rem ;
34
- font-weight : bold;
35
- }
36
-
37
- /* IE does not apply all selectors if separated by comma and 1 is invalid; TODOs - Keep that in sync and recheck after Shady CSS */
38
- ::slotted (ui5-icon ) {
21
+ .ui5-shellbar-image-button ,
22
+ ::slotted (ui5-button [slot = "startButton" ]) {
39
23
height : 2.25rem ;
40
24
padding : 0 ;
41
25
margin-left : 0.5rem ;
51
35
font-weight : bold;
52
36
}
53
37
38
+ ::slotted (ui5-button [slot = "startButton" ]: hover ),
54
39
.ui5-shellbar-menu-button .ui5-shellbar-menu-button--interactive : hover ,
55
40
.ui5-shellbar-button : hover ,
56
41
.ui5-shellbar-image-button : hover {
57
42
background : var (--sapUiShellHoverBackground );
58
43
}
59
44
45
+ ::slotted (ui5-button [slot = "startButton" ][active ]),
60
46
.ui5-shellbar-menu-button .ui5-shellbar-menu-button--interactive : active ,
61
47
.ui5-shellbar-button : active ,
62
48
.ui5-shellbar-image-button : active {
63
49
background : var (--sapUiShellActiveBackground );
64
50
color : var (--sapUiShellActiveTextColor );
65
51
}
66
52
53
+ ::slotted (ui5-button [slot = "startButton" ][focused ])::after ,
67
54
.ui5-shellbar-menu-button .ui5-shellbar-menu-button--interactive : focus ::after ,
68
55
.ui5-shellbar-button : focus ::after ,
69
56
.ui5-shellbar-image-button : focus ::after {
162
149
padding : 0.25rem 1rem ;
163
150
}
164
151
165
- : host ([breakpoint-size = "S" ]) ::slotted (ui5-icon ) {
152
+ : host ([breakpoint-size = "S" ]) ::slotted (ui5-button [ slot = "startButton" ] ) {
166
153
margin-right : 0 ;
167
154
}
168
155
395
382
fill : var (--sapUiShellColor );
396
383
}
397
384
398
- : host [dir = "rtl" ] ::slotted (ui5-icon ) {
385
+ : host [dir = "rtl" ] ::slotted (ui5-button [ slot = "startButton" ] ) {
399
386
margin-left : 0.5rem ;
400
387
margin-right : 0 ;
401
388
}
423
410
margin-right : 0 ;
424
411
}
425
412
426
- ::slotted (ui5-icon ) {
427
- width : .75rem ;
428
- height : .75rem ;
413
+ ::slotted (ui5-button [slot = "startButton" ]) {
429
414
margin-right : 0.5rem ;
430
415
margin-left : 0 ;
431
- padding : .75rem ;
432
416
justify-content : center;
433
417
align-items : center;
434
- box-sizing : content-box;
435
- }
436
-
437
- ::slotted (ui5-icon:hover) {
438
- background : var (--sapUiShellHoverBackground );
439
- }
440
-
441
- ::slotted (ui5-icon:active) {
442
- background : var (--sapUiShellActiveBackground );
443
- color : var (--sapUiShellActiveTextColor );
444
- }
445
-
446
- ::slotted (ui5-icon:focus)::after {
447
- content : "" ;
448
- position : absolute;
449
- width : calc (100% - 0.375rem );
450
- height : calc (100% - 0.375rem );
451
- border : 1px dotted var (--sapUiContentContrastFocusColor );
452
- pointer-events : none;
453
- left : 2px ;
454
- top : 2px ;
455
- z-index : 1 ;
456
- }
418
+ }
0 commit comments