22
22
}
23
23
24
24
::slotted (ui5-togglebutton:last-child) {
25
- border-top-right-radius : 0.375 rem ;
26
- border-bottom-right-radius : 0.375 rem ;
25
+ border-top-right-radius : var ( --_ui5_segmented_btn_border_radius ) ;
26
+ border-bottom-right-radius : var ( --_ui5_segmented_btn_border_radius ) ;
27
27
border-right : 1px solid var (--sapButton_Selected_BorderColor );
28
28
}
29
29
30
30
::slotted (ui5-togglebutton:first-child) {
31
- border-top-left-radius : 0.375 rem ;
32
- border-bottom-left-radius : 0.375 rem ;
31
+ border-top-left-radius : var ( --_ui5_segmented_btn_border_radius ) ;
32
+ border-bottom-left-radius : var ( --_ui5_segmented_btn_border_radius ) ;
33
33
border-left : 1px solid var (--sapButton_Selected_BorderColor );
34
34
}
35
+
36
+ [dir = "rtl" ] ::slotted (ui5-togglebutton:first-child) {
37
+ border-top-right-radius : var (--_ui5_segmented_btn_border_radius );
38
+ border-bottom-right-radius : var (--_ui5_segmented_btn_border_radius );
39
+ border-top-left-radius : 0 ;
40
+ border-bottom-left-radius : 0 ;
41
+ border-right : 1px solid var (--sapButton_Selected_BorderColor );
42
+ }
43
+
44
+ [dir = "rtl" ] ::slotted (ui5-togglebutton:last-child) {
45
+ border-top-right-radius : 0 ;
46
+ border-bottom-right-radius : 0 ;
47
+ border-top-left-radius : var (--_ui5_segmented_btn_border_radius );
48
+ border-bottom-left-radius : var (--_ui5_segmented_btn_border_radius );
49
+ border-left : 1px solid var (--sapButton_Selected_BorderColor );
50
+ }
51
+
52
+ [dir = "rtl" ] ::slotted (ui5-togglebutton:only-child) {
53
+ border-top-right-radius : var (--_ui5_segmented_btn_border_radius );
54
+ border-bottom-right-radius : var (--_ui5_segmented_btn_border_radius );
55
+ border-top-left-radius : var (--_ui5_segmented_btn_border_radius );
56
+ border-bottom-left-radius : var (--_ui5_segmented_btn_border_radius );
57
+ }
0 commit comments