mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
Segment
This commit is contained in:
@ -5,8 +5,16 @@
|
|||||||
> .button {
|
> .button {
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
|
|
||||||
|
color: get-color(primary, base);
|
||||||
|
|
||||||
|
min-height: 3.7rem;
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: red;
|
border-color: get-color(primary, base);
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-right-width: 0px;
|
border-right-width: 0px;
|
||||||
|
@ -23,7 +23,8 @@ ion-segment {
|
|||||||
background: none;
|
background: none;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: red;
|
background-color: get-color(primary, base);
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
Reference in New Issue
Block a user