dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove deprecated `.mw-ui-constructive` class for text and anchors
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.ui
/
components
/
anchors.less
diff --git
a/resources/src/mediawiki.ui/components/anchors.less
b/resources/src/mediawiki.ui/components/anchors.less
index
4c4e129
..
ff38d0d
100644
(file)
--- a/
resources/src/mediawiki.ui/components/anchors.less
+++ b/
resources/src/mediawiki.ui/components/anchors.less
@@
-48,22
+48,16
@@
Styleguide 6.2.
&.mw-ui-destructive {
.mixin-mw-ui-anchor-styles( @colorDestructive );
}
&.mw-ui-destructive {
.mixin-mw-ui-anchor-styles( @colorDestructive );
}
-
- //`.mw-ui-constructive` is deprecated; consolidated with `progressive`, see T110555
- &.mw-ui-constructive {
- .mixin-mw-ui-anchor-styles( @colorConstructive );
- }
}
/*
Quiet anchors
}
/*
Quiet anchors
-Use quiet anchors when they are less important and alongside other progressive/destructive
/progressive
+Use quiet anchors when they are less important and alongside other progressive/destructive
anchors. Use of quiet anchors is not recommended on mobile/tablet due to lack of hover state.
Markup:
<a href="#" class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">Progressive</a>
anchors. Use of quiet anchors is not recommended on mobile/tablet due to lack of hover state.
Markup:
<a href="#" class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">Progressive</a>
-<a href="#" class="mw-ui-anchor mw-ui-constructive mw-ui-quiet">Constructive</a>
<a href="#" class="mw-ui-anchor mw-ui-destructive mw-ui-quiet">Destructive</a>
Styleguide 6.2.1.
<a href="#" class="mw-ui-anchor mw-ui-destructive mw-ui-quiet">Destructive</a>
Styleguide 6.2.1.