mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
Disallow transition property (use mixin instead)
This commit is contained in:
parent
09aca3fb9a
commit
00860f02d4
@ -261,6 +261,7 @@
|
||||
"fill",
|
||||
"stroke"
|
||||
],
|
||||
"property-blacklist": ["transition"],
|
||||
"property-no-vendor-prefix": true,
|
||||
"rule-empty-line-before": null,
|
||||
"scss/at-function-named-arguments": "never",
|
||||
|
@ -1,3 +1,4 @@
|
||||
// stylelint-disable property-blacklist
|
||||
@mixin transition($transition...) {
|
||||
@if $enable-transitions {
|
||||
@if length($transition) == 0 {
|
||||
|
@ -1,7 +1,7 @@
|
||||
.anchorjs-link {
|
||||
font-weight: 400;
|
||||
color: rgba($link-color, .5);
|
||||
transition: color .16s linear;
|
||||
@include transition(color .16s linear);
|
||||
|
||||
&:hover {
|
||||
color: $link-color;
|
||||
|
@ -4,6 +4,7 @@
|
||||
"at-rule-no-vendor-prefix": null,
|
||||
"comment-empty-line-before": null,
|
||||
"media-feature-name-no-vendor-prefix": null,
|
||||
"property-blacklist": null,
|
||||
"property-no-vendor-prefix": null,
|
||||
"selector-no-qualifying-type": null,
|
||||
"selector-no-vendor-prefix": null,
|
||||
|
Loading…
Reference in New Issue
Block a user