mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +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
@ -6,17 +6,15 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) ion-button {
|
||||
font-size: #{$toolbar-ios-button-font-size};
|
||||
font-weight: 400;
|
||||
|
||||
--padding-top: 0;
|
||||
--pading-bottom: 0;
|
||||
--padding-start: 5px;
|
||||
--padding-end: 5px;
|
||||
|
||||
--border-radius: #{$toolbar-ios-button-border-radius};
|
||||
|
||||
--height: 32px;
|
||||
|
||||
font-size: #{$toolbar-ios-button-font-size};
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
:host-context(.ion-color)::slotted(*) .button {
|
||||
@ -30,8 +28,8 @@
|
||||
@include margin-horizontal(null, .3em);
|
||||
|
||||
font-size: 24px;
|
||||
line-height: .67;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -40,8 +38,8 @@
|
||||
@include margin-horizontal(.4em, null);
|
||||
|
||||
font-size: 24px;
|
||||
line-height: .67;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -50,8 +48,8 @@
|
||||
@include margin(0);
|
||||
|
||||
font-size: 31px;
|
||||
line-height: .67;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
@ -9,17 +9,16 @@
|
||||
}
|
||||
|
||||
::slotted(*) ion-button {
|
||||
font-size: #{$toolbar-md-button-font-size};
|
||||
font-weight: 500;
|
||||
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 8px;
|
||||
--padding-end: 8px;
|
||||
|
||||
--border-radius: #{$toolbar-md-button-border-radius};
|
||||
--height: 32px;
|
||||
--box-shadow: none;
|
||||
|
||||
font-size: #{$toolbar-md-button-font-size};
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
@ -30,7 +29,6 @@
|
||||
@include margin-horizontal(null, .3em);
|
||||
|
||||
font-size: 1.4em;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -39,7 +37,6 @@
|
||||
@include margin-horizontal(.4em, null);
|
||||
|
||||
font-size: 1.4em;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -48,7 +45,6 @@
|
||||
@include margin(0);
|
||||
|
||||
font-size: 1.8em;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
@import "../../themes/ionic.globals";
|
||||
|
||||
:host {
|
||||
z-index: $z-index-toolbar-buttons;
|
||||
|
||||
display: block;
|
||||
|
||||
transform: translateZ(0);
|
||||
|
||||
z-index: $z-index-toolbar-buttons;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -18,12 +17,10 @@
|
||||
--margin-bottom: 0;
|
||||
--margin-start: 0;
|
||||
--margin-end: 0;
|
||||
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 0;
|
||||
--padding-end: 0;
|
||||
|
||||
--box-shadow: none;
|
||||
|
||||
pointer-events: auto;
|
||||
|
||||
Reference in New Issue
Block a user