mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-12 03:59: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
@@ -48,7 +48,6 @@
|
||||
|
||||
:host(.action-sheet-translucent) .action-sheet-group {
|
||||
background: $action-sheet-ios-translucent-background-color;
|
||||
|
||||
backdrop-filter: $action-sheet-ios-translucent-filter;
|
||||
}
|
||||
|
||||
@@ -61,9 +60,10 @@
|
||||
|
||||
border-bottom: $action-sheet-ios-title-border-width $action-sheet-ios-title-border-style $action-sheet-ios-title-border-color;
|
||||
|
||||
color: $action-sheet-ios-title-color;
|
||||
|
||||
font-size: $action-sheet-ios-title-font-size;
|
||||
font-weight: $action-sheet-ios-title-font-weight;
|
||||
color: $action-sheet-ios-title-color;
|
||||
|
||||
text-align: $action-sheet-ios-text-align;
|
||||
}
|
||||
@@ -80,16 +80,16 @@
|
||||
|
||||
.action-sheet-button {
|
||||
@include margin(0);
|
||||
|
||||
@include padding($action-sheet-ios-button-padding);
|
||||
|
||||
height: $action-sheet-ios-button-height;
|
||||
|
||||
border-bottom: $action-sheet-ios-button-border-width $action-sheet-ios-button-border-style $action-sheet-ios-button-border-color;
|
||||
|
||||
font-size: $action-sheet-ios-button-font-size;
|
||||
color: $action-sheet-ios-button-text-color;
|
||||
background: $action-sheet-ios-button-background;
|
||||
color: $action-sheet-ios-button-text-color;
|
||||
|
||||
font-size: $action-sheet-ios-button-font-size;
|
||||
|
||||
contain: strict;
|
||||
}
|
||||
@@ -109,12 +109,14 @@
|
||||
|
||||
border-top: $action-sheet-ios-button-border-width $action-sheet-ios-button-border-style $action-sheet-ios-button-background-activated;
|
||||
border-bottom-color: $action-sheet-ios-button-background-activated;
|
||||
|
||||
background: $action-sheet-ios-button-background-activated;
|
||||
}
|
||||
|
||||
.action-sheet-selected {
|
||||
font-weight: bold;
|
||||
background: $action-sheet-ios-button-background-selected;
|
||||
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.action-sheet-destructive {
|
||||
@@ -122,6 +124,7 @@
|
||||
}
|
||||
|
||||
.action-sheet-cancel {
|
||||
font-weight: $action-sheet-ios-button-cancel-font-weight;
|
||||
background: $action-sheet-ios-button-cancel-background;
|
||||
|
||||
font-weight: $action-sheet-ios-button-cancel-font-weight;
|
||||
}
|
||||
|
||||
@@ -14,9 +14,10 @@
|
||||
.action-sheet-title {
|
||||
@include padding($action-sheet-md-title-padding-top, $action-sheet-md-title-padding-end, $action-sheet-md-title-padding-bottom, $action-sheet-md-title-padding-start);
|
||||
|
||||
font-size: $action-sheet-md-title-font-size;
|
||||
color: $action-sheet-md-title-color;
|
||||
|
||||
font-size: $action-sheet-md-title-font-size;
|
||||
|
||||
text-align: $action-sheet-md-text-align;
|
||||
}
|
||||
|
||||
@@ -50,17 +51,18 @@
|
||||
@include padding($action-sheet-md-button-padding-top, $action-sheet-md-button-padding-end, $action-sheet-md-button-padding-bottom, $action-sheet-md-button-padding-start);
|
||||
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
height: $action-sheet-md-button-height;
|
||||
|
||||
font-size: $action-sheet-md-button-font-size;
|
||||
color: $action-sheet-md-button-text-color;
|
||||
background: $action-sheet-md-button-background;
|
||||
color: $action-sheet-md-button-text-color;
|
||||
|
||||
font-size: $action-sheet-md-button-font-size;
|
||||
|
||||
text-align: $action-sheet-md-text-align;
|
||||
|
||||
contain: strict;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.action-sheet-button.activated {
|
||||
@@ -78,6 +80,7 @@
|
||||
}
|
||||
|
||||
.action-sheet-selected {
|
||||
font-weight: bold;
|
||||
background-color: $action-sheet-md-button-background-selected;
|
||||
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
@include font-smoothing();
|
||||
@include position(0, 0, 0, 0);
|
||||
|
||||
position: fixed;
|
||||
z-index: $z-index-overlay;
|
||||
display: block;
|
||||
position: fixed;
|
||||
|
||||
touch-action: none;
|
||||
z-index: $z-index-overlay;
|
||||
}
|
||||
|
||||
.action-sheet-wrapper {
|
||||
@@ -19,13 +19,13 @@
|
||||
@include margin(auto);
|
||||
@include transform(translate3d(0, 100%, 0));
|
||||
|
||||
position: absolute;
|
||||
z-index: $z-index-overlay-wrapper;
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
||||
width: $action-sheet-width;
|
||||
max-width: $action-sheet-max-width;
|
||||
|
||||
z-index: $z-index-overlay-wrapper;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
width: $action-sheet-width;
|
||||
|
||||
border: 0;
|
||||
|
||||
outline: none;
|
||||
|
||||
font-family: inherit;
|
||||
@@ -54,7 +55,6 @@
|
||||
display: flex;
|
||||
|
||||
flex-flow: column;
|
||||
|
||||
justify-content: flex-end;
|
||||
|
||||
height: 100%;
|
||||
@@ -63,11 +63,9 @@
|
||||
|
||||
.action-sheet-group {
|
||||
flex-shrink: 2;
|
||||
|
||||
overscroll-behavior-y: contain;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
@@ -76,7 +74,7 @@
|
||||
}
|
||||
|
||||
.action-sheet-group-cancel {
|
||||
overflow: hidden;
|
||||
|
||||
flex-shrink: 0;
|
||||
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user