mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
39 lines
650 B
SCSS
39 lines
650 B
SCSS
ion-segment { display: block; }
|
|
|
|
.ion-segment {
|
|
@include flex-display();
|
|
@include flex(1);
|
|
width: 100%;
|
|
|
|
> .button {
|
|
|
|
@include flex(1);
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 16px;
|
|
|
|
width: 0;
|
|
|
|
border-width: 1px 0px 1px 1px;
|
|
border-radius: 0;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
|
|
background: none;
|
|
|
|
&.active {
|
|
}
|
|
|
|
&:first-of-type {
|
|
border-radius: $button-border-radius 0px 0px $button-border-radius;
|
|
}
|
|
&:last-of-type {
|
|
border-right-width: 1px;
|
|
border-radius: 0px $button-border-radius $button-border-radius 0px;
|
|
}
|
|
}
|
|
}
|