mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
style(css): fix most scss lint errors
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
|
||||
min-width: 44px;
|
||||
height: 32px;
|
||||
|
||||
border: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
@ -21,18 +22,20 @@
|
||||
box-shadow: none;
|
||||
|
||||
&.activated {
|
||||
opacity: 0.4;
|
||||
opacity: .4;
|
||||
}
|
||||
}
|
||||
|
||||
ion-icon {
|
||||
@include padding-horizontal(null, 0.3em);
|
||||
@include padding-horizontal(null, .3em);
|
||||
@include margin(0);
|
||||
@include padding(0, 6px);
|
||||
text-align: start;
|
||||
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
line-height: 0.67;
|
||||
line-height: .67;
|
||||
|
||||
text-align: start;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -8,21 +8,19 @@
|
||||
}
|
||||
|
||||
button {
|
||||
@include margin(0);
|
||||
@include padding(0);
|
||||
@include font-smoothing();
|
||||
text-align: center;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
color: inherit;
|
||||
|
||||
flex-flow: row nowrap;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
border: 0;
|
||||
outline: none;
|
||||
|
||||
@ -32,11 +30,15 @@ button {
|
||||
text-overflow: ellipsis;
|
||||
text-transform: none;
|
||||
|
||||
white-space: nowrap;
|
||||
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
text-align: center;
|
||||
|
||||
font-kerning: none;
|
||||
user-select: none;
|
||||
|
||||
|
Reference in New Issue
Block a user