Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
00860f02
Commit
00860f02
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Disallow transition property (use mixin instead)
parent
09aca3fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.stylelintrc
+1
-0
.stylelintrc
scss/mixins/_transition.scss
+1
-0
scss/mixins/_transition.scss
site/docs/4.1/assets/scss/_anchor.scss
+1
-1
site/docs/4.1/assets/scss/_anchor.scss
site/docs/4.1/examples/.stylelintrc
+1
-0
site/docs/4.1/examples/.stylelintrc
with
4 additions
and
1 deletion
+4
-1
.stylelintrc
+
1
-
0
View file @
00860f02
...
@@ -261,6 +261,7 @@
...
@@ -261,6 +261,7 @@
"fill",
"fill",
"stroke"
"stroke"
],
],
"property-blacklist": ["transition"],
"property-no-vendor-prefix": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": null,
"rule-empty-line-before": null,
"scss/at-function-named-arguments": "never",
"scss/at-function-named-arguments": "never",
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_transition.scss
+
1
-
0
View file @
00860f02
// stylelint-disable property-blacklist
@mixin
transition
(
$transition
...
)
{
@mixin
transition
(
$transition
...
)
{
@if
$enable-transitions
{
@if
$enable-transitions
{
@if
length
(
$transition
)
==
0
{
@if
length
(
$transition
)
==
0
{
...
...
This diff is collapsed.
Click to expand it.
site/docs/4.1/assets/scss/_anchor.scss
+
1
-
1
View file @
00860f02
.anchorjs-link
{
.anchorjs-link
{
font-weight
:
400
;
font-weight
:
400
;
color
:
rgba
(
$link-color
,
.5
);
color
:
rgba
(
$link-color
,
.5
);
transition
:
color
.16s
linear
;
@include
transition
(
color
.16s
linear
)
;
&
:hover
{
&
:hover
{
color
:
$link-color
;
color
:
$link-color
;
...
...
This diff is collapsed.
Click to expand it.
site/docs/4.1/examples/.stylelintrc
+
1
-
0
View file @
00860f02
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
"at-rule-no-vendor-prefix": null,
"at-rule-no-vendor-prefix": null,
"comment-empty-line-before": null,
"comment-empty-line-before": null,
"media-feature-name-no-vendor-prefix": null,
"media-feature-name-no-vendor-prefix": null,
"property-blacklist": null,
"property-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-qualifying-type": null,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment