mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
chore(): switch to using disallow terminology (#23618)
This commit is contained in:
@ -254,7 +254,7 @@ rules:
|
|||||||
- visibility
|
- visibility
|
||||||
- z-index
|
- z-index
|
||||||
|
|
||||||
property-blacklist:
|
property-disallowed-list:
|
||||||
- background-position
|
- background-position
|
||||||
- right
|
- right
|
||||||
- left
|
- left
|
||||||
|
@ -150,9 +150,9 @@
|
|||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
left: -100%;
|
left: -100%;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@ -165,9 +165,9 @@
|
|||||||
.transition-cover {
|
.transition-cover {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: 0;
|
right: 0;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -181,9 +181,9 @@
|
|||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: 0;
|
right: 0;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
ion-item-options {
|
ion-item-options {
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
}
|
}
|
||||||
|
|
||||||
@include ltr() {
|
@include ltr() {
|
||||||
@ -19,10 +19,10 @@ ion-item-options {
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
&:not(.item-options-end) {
|
&:not(.item-options-end) {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
@ -41,10 +41,10 @@ ion-item-options {
|
|||||||
|
|
||||||
.item-options-start {
|
.item-options-start {
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
}
|
}
|
||||||
|
|
||||||
@include ltr() {
|
@include ltr() {
|
||||||
|
@ -32,7 +32,7 @@ ion-item-sliding .item {
|
|||||||
|
|
||||||
.item-sliding-active-swipe-end .item-options-end .item-option-expandable {
|
.item-sliding-active-swipe-end .item-options-end .item-option-expandable {
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
padding-left: 100%;
|
padding-left: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ ion-item-sliding .item {
|
|||||||
|
|
||||||
.item-sliding-active-swipe-start .item-options-start .item-option-expandable {
|
.item-sliding-active-swipe-start .item-options-start .item-option-expandable {
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
padding-right: 100%;
|
padding-right: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
--ion-safe-area-right: 0px;
|
--ion-safe-area-right: 0px;
|
||||||
|
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@
|
|||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,10 +46,10 @@
|
|||||||
|
|
||||||
// Extend a bit to overflow. The size of animated distance.
|
// Extend a bit to overflow. The size of animated distance.
|
||||||
.buffer-circles {
|
.buffer-circles {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
right: -10px;
|
right: -10px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determinate progress bar
|
// Determinate progress bar
|
||||||
@ -58,7 +58,7 @@
|
|||||||
.progress,
|
.progress,
|
||||||
.progress-buffer-bar,
|
.progress-buffer-bar,
|
||||||
.buffer-circles-container {
|
.buffer-circles-container {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
transform-origin: left top;
|
transform-origin: left top;
|
||||||
|
|
||||||
transition: transform 150ms linear;
|
transition: transform 150ms linear;
|
||||||
@ -88,12 +88,12 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.indeterminate-bar-primary {
|
.indeterminate-bar-primary {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: -145.166611%;
|
left: -145.166611%;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
animation: primary-indeterminate-translate 2s infinite linear;
|
animation: primary-indeterminate-translate 2s infinite linear;
|
||||||
|
|
||||||
@ -104,12 +104,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.indeterminate-bar-secondary {
|
.indeterminate-bar-secondary {
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: -54.888891%;
|
left: -54.888891%;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
animation: secondary-indeterminate-translate 2s infinite linear;
|
animation: secondary-indeterminate-translate 2s infinite linear;
|
||||||
|
|
||||||
@ -125,11 +125,11 @@
|
|||||||
.buffer-circles {
|
.buffer-circles {
|
||||||
background-image: radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);
|
background-image: radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);
|
||||||
|
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
background-position: 5px center;
|
background-position: 5px center;
|
||||||
background-size: 10px 10px;
|
background-size: 10px 10px;
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
animation: buffering 450ms infinite linear;
|
animation: buffering 450ms infinite linear;
|
||||||
|
@ -105,12 +105,12 @@
|
|||||||
@include margin-horizontal(-13px, null);
|
@include margin-horizontal(-13px, null);
|
||||||
|
|
||||||
@include multi-dir() {
|
@include multi-dir() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
border-radius: 50% 50% 50% 0;
|
border-radius: 50% 50% 50% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include rtl() {
|
@include rtl() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
left: unset;
|
left: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
@include rtl() {
|
@include rtl() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
left: unset;
|
left: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +104,7 @@
|
|||||||
@include position(calc((var(--height) - var(--bar-height)) / 2), null, null, 0);
|
@include position(calc((var(--height) - var(--bar-height)) / 2), null, null, 0);
|
||||||
|
|
||||||
@include rtl() {
|
@include rtl() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
left: unset;
|
left: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,7 +127,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
@include rtl() {
|
@include rtl() {
|
||||||
/* stylelint-disable-next-line property-blacklist */
|
/* stylelint-disable-next-line property-disallowed-list */
|
||||||
left: unset;
|
left: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ span {
|
|||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* stylelint-disable property-blacklist */
|
/* stylelint-disable property-disallowed-list */
|
||||||
@keyframes shimmer {
|
@keyframes shimmer {
|
||||||
0% {
|
0% {
|
||||||
background-position: -400px 0;
|
background-position: -400px 0;
|
||||||
@ -71,4 +71,4 @@ span {
|
|||||||
background-position: 400px 0;
|
background-position: 400px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* stylelint-enable property-blacklist */
|
/* stylelint-enable property-disallowed-list */
|
||||||
|
@ -16,7 +16,7 @@ ion-virtual-scroll > .virtual-loading {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ion-virtual-scroll > .virtual-item {
|
ion-virtual-scroll > .virtual-item {
|
||||||
/* stylelint-disable declaration-no-important, property-blacklist */
|
/* stylelint-disable declaration-no-important, property-disallowed-list */
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
|
|
||||||
top: 0 !important;
|
top: 0 !important;
|
||||||
|
Reference in New Issue
Block a user