mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(item-group): change css selectors from classes to elements
references #568
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.item-group {
|
||||
ion-item-group {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.item-group-title {
|
||||
ion-item-group-title {
|
||||
display: block;
|
||||
min-height: 30px;
|
||||
font-weight: 500;
|
||||
|
||||
@@ -30,7 +30,7 @@ $item-ios-sliding-content-bg: $background-color !default;
|
||||
$item-ios-sliding-transition: transform 250ms ease-in-out !default;
|
||||
|
||||
|
||||
.item-group {
|
||||
ion-item-group {
|
||||
ion-item-group-title {
|
||||
padding: $item-ios-padding-top $item-ios-padding-right $item-ios-padding-bottom $item-ios-padding-left;
|
||||
background-color: $item-ios-divider-bg;
|
||||
@@ -166,7 +166,7 @@ a.item:not([detail-none]) .item-inner,
|
||||
|
||||
&.hairlines {
|
||||
.item-inner,
|
||||
.item-group ion-item-group-title {
|
||||
ion-item-group ion-item-group-title {
|
||||
border-bottom-width: 0.55px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ $item-md-sliding-content-bg: $background-color !default;
|
||||
$item-md-sliding-transition: transform 250ms ease-in-out !default;
|
||||
|
||||
|
||||
.item-group-title {
|
||||
ion-item-group-title {
|
||||
padding: $item-md-padding-top $item-md-padding-right $item-md-padding-bottom $item-md-padding-left;
|
||||
background-color: $item-md-divider-bg;
|
||||
color: $item-md-divider-color;
|
||||
|
||||
Reference in New Issue
Block a user