File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
core/src/components/segment Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 27
27
28
28
:host (.ion-color )::slotted(ion-segment-button) {
29
29
--border-color : #{current-color (base )} ;
30
- --background-hover : #{current-color (base , .04 )} ;
31
30
32
31
background : transparent ;
33
32
color : #{current-color (base )} ;
52
51
color : #{current-color (contrast , $segment-ios-opacity-disabled )} ;
53
52
}
54
53
54
+ @media (any-hover : hover) {
55
+ :host (.ion-color )::slotted (ion-segment-button:hover:not(.segment-button-checked )) {
56
+ background : #{current-color (base , .1 )} ;
57
+ }
58
+ }
59
+
55
60
56
61
// Segment: Default Toolbar
57
62
// --------------------------------------------------
Original file line number Diff line number Diff line change 23
23
// --------------------------------------------------
24
24
25
25
:host (.ion-color )::slotted(ion-segment-button) {
26
- --background-hover : #{current-color (base , .04 )} ;
27
26
--background-activated : #{current-color (base , .16 )} ;
28
27
--ripple-color : #{current-color (base )} ;
29
28
40
39
color : #{current-color (base )} ;
41
40
}
42
41
42
+ @media (any-hover : hover) {
43
+ :host (.ion-color )::slotted (ion-segment-button:hover ) {
44
+ background : #{current-color (base , .04 )} ;
45
+ }
46
+ }
43
47
44
48
// Segment: Default Toolbar
45
49
// --------------------------------------------------
You can’t perform that action at this time.
0 commit comments