mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +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
@ -1,5 +1,4 @@
|
||||
@import "../../themes/ionic.globals.ios";
|
||||
|
||||
@import "../item/item.ios.vars";
|
||||
|
||||
// iOS Item Options
|
||||
|
@ -1,5 +1,4 @@
|
||||
@import "../../themes/ionic.globals.md";
|
||||
|
||||
@import "../item/item.md.vars";
|
||||
|
||||
// Material Design Item Options
|
||||
|
@ -4,19 +4,11 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
ion-item-options {
|
||||
position: absolute;
|
||||
z-index: $z-index-item-options;
|
||||
display: none;
|
||||
|
||||
height: 100%;
|
||||
|
||||
font-size: 14px;
|
||||
|
||||
@include multi-dir() {
|
||||
// scss-lint:disable PropertySpelling
|
||||
/* stylelint-disable property-blacklist */
|
||||
top: 0;
|
||||
|
||||
right: 0;
|
||||
/* stylelint-enable property-blacklist */
|
||||
}
|
||||
|
||||
@include ltr() {
|
||||
@ -27,14 +19,24 @@ ion-item-options {
|
||||
justify-content: flex-start;
|
||||
|
||||
&:not(.item-options-end) {
|
||||
// scss-lint:disable PropertySpelling
|
||||
/* stylelint-disable property-blacklist */
|
||||
right: auto;
|
||||
left: 0;
|
||||
/* stylelint-enable property-blacklist */
|
||||
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
display: none;
|
||||
position: absolute;
|
||||
|
||||
height: 100%;
|
||||
|
||||
font-size: 14px;
|
||||
|
||||
z-index: $z-index-item-options;
|
||||
|
||||
&.hydrated {
|
||||
visibility: hidden;
|
||||
}
|
||||
@ -42,9 +44,10 @@ ion-item-options {
|
||||
|
||||
.item-options-start {
|
||||
@include multi-dir() {
|
||||
// scss-lint:disable PropertySpelling
|
||||
/* stylelint-disable property-blacklist */
|
||||
right: auto;
|
||||
left: 0;
|
||||
/* stylelint-enable property-blacklist */
|
||||
}
|
||||
|
||||
@include ltr() {
|
||||
|
Reference in New Issue
Block a user