mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
css cleanup
This commit is contained in:
@ -1,39 +1,45 @@
|
||||
ion-segment { display: block; }
|
||||
|
||||
// Segment
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
ion-segment {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ion-segment {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
|
||||
> button,
|
||||
> [button] {
|
||||
button,
|
||||
[button] {
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user