mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(stylelint): remove sass-lint/scss-lint in favor of stylelint
- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
This commit is contained in:

committed by
Cam Wiegert

parent
771c47f109
commit
7a8d5f68d2
@ -8,19 +8,21 @@
|
||||
@include padding(0);
|
||||
@include margin(2px, 0, 0, 0);
|
||||
|
||||
z-index: $menu-button-ios-button-z-index;
|
||||
overflow: visible;
|
||||
|
||||
min-height: 32px;
|
||||
|
||||
transform: translateZ(0);
|
||||
|
||||
border: 0;
|
||||
|
||||
background-color: transparent;
|
||||
color: $menu-button-ios-color;
|
||||
|
||||
font-size: 17px;
|
||||
|
||||
line-height: 1;
|
||||
|
||||
color: $menu-button-ios-color;
|
||||
background-color: transparent;
|
||||
|
||||
transform: translateZ(0);
|
||||
overflow: visible;
|
||||
z-index: $menu-button-ios-button-z-index;
|
||||
|
||||
&.activated {
|
||||
opacity: .4;
|
||||
@ -34,6 +36,5 @@ ion-icon {
|
||||
display: inherit;
|
||||
|
||||
font-size: 1.75em;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -12,12 +12,14 @@
|
||||
height: 32px;
|
||||
|
||||
border: 0;
|
||||
|
||||
background-color: transparent;
|
||||
color: $menu-button-md-color;
|
||||
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
|
||||
color: $menu-button-md-color;
|
||||
background-color: transparent;
|
||||
text-transform: uppercase;
|
||||
|
||||
box-shadow: none;
|
||||
|
||||
@ -33,9 +35,9 @@ ion-icon {
|
||||
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
|
||||
line-height: .67;
|
||||
|
||||
text-align: start;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -12,9 +12,8 @@ button {
|
||||
@include padding(0);
|
||||
@include font-smoothing();
|
||||
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
flex-flow: row nowrap;
|
||||
flex-shrink: 0;
|
||||
@ -22,25 +21,24 @@ button {
|
||||
justify-content: center;
|
||||
|
||||
border: 0;
|
||||
|
||||
outline: none;
|
||||
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
|
||||
line-height: 1;
|
||||
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: none;
|
||||
|
||||
white-space: nowrap;
|
||||
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
text-align: center;
|
||||
|
||||
font-kerning: none;
|
||||
user-select: none;
|
||||
|
||||
z-index: 0;
|
||||
font-kerning: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user