mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
rename scss extensions dir to modes
This commit is contained in:
33
ionic/components/segment/modes/ios.scss
Normal file
33
ionic/components/segment/modes/ios.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
// iOS Segment
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
.segment[mode=ios] .ion-segment {
|
||||
> button,
|
||||
> [button] {
|
||||
border-width: 1px;
|
||||
|
||||
transition: 100ms all linear;
|
||||
|
||||
color: get-color(primary, base);
|
||||
|
||||
min-height: 3.3rem;
|
||||
line-height: 3.3rem;
|
||||
|
||||
&.active {
|
||||
background-color: get-color(primary, base);
|
||||
color: white;
|
||||
}
|
||||
|
||||
border-style: solid;
|
||||
border-color: get-color(primary, base);
|
||||
|
||||
&:first-of-type {
|
||||
border-right-width: 0px;
|
||||
}
|
||||
&:last-of-type {
|
||||
border-left-width: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user