mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
Merge pull request #5995 from roblouie/patch-1
fix(segment): display activated style outside toolbar
This commit is contained in:
@ -40,6 +40,10 @@ ion-segment {
|
|||||||
background-color: $segment-button-wp-background-color;
|
background-color: $segment-button-wp-background-color;
|
||||||
opacity: $segment-button-wp-opacity;
|
opacity: $segment-button-wp-opacity;
|
||||||
|
|
||||||
|
&.segment-activated {
|
||||||
|
opacity: $segment-button-wp-opacity-activated;
|
||||||
|
}
|
||||||
|
|
||||||
ion-icon {
|
ion-icon {
|
||||||
font-size: $segment-button-wp-icon-size;
|
font-size: $segment-button-wp-icon-size;
|
||||||
line-height: $segment-button-wp-icon-line-height;
|
line-height: $segment-button-wp-icon-line-height;
|
||||||
@ -51,12 +55,6 @@ ion-segment {
|
|||||||
ion-segment {
|
ion-segment {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.segment-button.activated,
|
|
||||||
.segment-button.segment-activated {
|
|
||||||
opacity: $segment-button-wp-opacity-activated;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user