mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
build: Updating npm dependencies
* stylelint-config-wikimedia: 0.13.0 → 0.14.0 Run stylelint fix to fix the new stylelint rule Change-Id: I7738ae421e84dd3171355391ebc82dd812b39ca4
This commit is contained in:
parent
a5b815903d
commit
5bd834e0c7
|
@ -44,8 +44,8 @@
|
|||
padding: 12px 0;
|
||||
border-bottom: 1px solid @colorGray14;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
&::before,
|
||||
&::after {
|
||||
.clearfix();
|
||||
}
|
||||
}
|
||||
|
|
2188
package-lock.json
generated
2188
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
"lint": "npm -s run lint:styles && npm -s run lint:js && npm -s run lint:i18n",
|
||||
"lint:fix": "npm -s run lint:styles -- --fix && npm -s run lint:js -- --fix && npm -s run lint:i18",
|
||||
"lint:js": "eslint --cache .",
|
||||
"lint:styles": "stylelint --cache --report-needless-disables '**/*.{css,less}'",
|
||||
"lint:styles": "stylelint --cache --report-needless-disables **/*.{css,less}",
|
||||
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
||||
"test": "npm run lint && npm run doc && dev-scripts/svg_check.sh",
|
||||
"test:a11y": "npx wmf-a11y --config 'tests/a11y/a11y.config.js'",
|
||||
|
@ -28,7 +28,7 @@
|
|||
"jsdoc": "3.6.10",
|
||||
"mwbot": "2.0.0",
|
||||
"pre-commit": "1.2.2",
|
||||
"stylelint-config-wikimedia": "0.13.0",
|
||||
"stylelint-config-wikimedia": "0.14.0",
|
||||
"svgo": "2.8.0",
|
||||
"wdio-mediawiki": "1.2.0",
|
||||
"wmf-a11y": "0.0.0"
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
border-radius: @border-radius-base;
|
||||
}
|
||||
|
||||
.mw-ui-icon-minerva-ellipsis:before {
|
||||
.mw-ui-icon-minerva-ellipsis::before {
|
||||
transform: rotate( 90deg );
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ table.ambox {
|
|||
line-height: @line-height-content; // sets height for fade & aligns "learn more" to ambox text.
|
||||
|
||||
/* creates a fade under the "learn more" button to avoid overlapping text. */
|
||||
&:before {
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: @z-indexOccluded;
|
||||
|
@ -145,7 +145,7 @@ table.ambox {
|
|||
|
||||
// Move blur to far right last line
|
||||
// https://phabricator.wikimedia.org/T197931#4475197
|
||||
&:before {
|
||||
&::before {
|
||||
top: unit( -@line-height-content, em );
|
||||
width: 10px;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
// links should be separated by same color
|
||||
.hlist {
|
||||
li:after {
|
||||
li::after {
|
||||
color: @color-link;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
padding-top: 55px;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
&::before {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
@ -54,13 +54,13 @@
|
|||
text-align: left;
|
||||
margin: 0 !important;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
bottom: @dividerHeight + @dividerSpacing;
|
||||
}
|
||||
}
|
||||
|
||||
.thumb:after,
|
||||
.content:before {
|
||||
.thumb::after,
|
||||
.content::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
content: '';
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
font-size: 0.75em; // equals `12px` at base `font-size: 16px`
|
||||
|
||||
// T173507
|
||||
&:after {
|
||||
&::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
// align the first line to the top of the element
|
||||
// but line-height should be normal for text that follows (T190469)
|
||||
> :first-line {
|
||||
> ::first-line {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
// Flip the arrow in table of contents when toggled
|
||||
.toctogglecheckbox:checked ~ .toctitle .mw-ui-icon:last-child {
|
||||
&:before {
|
||||
&::before {
|
||||
transform: rotate( -180deg );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
& + li {
|
||||
margin-left: 4px;
|
||||
|
||||
&:before {
|
||||
&::before {
|
||||
content: '·';
|
||||
right: 2px;
|
||||
position: relative;
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
padding: 12px 0 10px 60px;
|
||||
}
|
||||
|
||||
li:after {
|
||||
li::after {
|
||||
.clearfix();
|
||||
}
|
||||
|
||||
|
@ -156,8 +156,8 @@
|
|||
|
||||
// Disable the parentheseses around the undo and rollback link.
|
||||
.mw-changeslist-links:not( .mw-usertoollinks ):not( .mw-history-histlinks ) {
|
||||
& > span:after,
|
||||
& > span:before {
|
||||
& > span::after,
|
||||
& > span::before {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
.mw-diff-movedpara-left,
|
||||
.rtl .mw-diff-movedpara-left,
|
||||
.rtl .mw-diff-movedpara-right {
|
||||
&:after {
|
||||
&::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ ul.hlist,
|
|||
}
|
||||
|
||||
.hlist-separated {
|
||||
li:after {
|
||||
li::after {
|
||||
// Make sure we override any site styles
|
||||
content: '•' !important;
|
||||
padding-left: 8px;
|
||||
|
@ -33,7 +33,7 @@ ul.hlist,
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
:last-child:after {
|
||||
:last-child::after {
|
||||
content: none !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
*/
|
||||
|
||||
.mw-changeslist-links {
|
||||
& > span:before {
|
||||
& > span::before {
|
||||
content: '@{msg-parentheses-start}';
|
||||
}
|
||||
|
||||
& > span:not( :first-child ):before {
|
||||
& > span:not( :first-child )::before {
|
||||
content: '@{msg-pipe-separator}';
|
||||
}
|
||||
|
||||
& > span:last-child:after {
|
||||
& > span:last-child::after {
|
||||
content: '@{msg-parentheses-end}';
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,8 @@
|
|||
margin-left: 8px;
|
||||
|
||||
&.mw-changeslist-links {
|
||||
> span:after,
|
||||
> span:before {
|
||||
> span::after,
|
||||
> span::before {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,7 @@
|
|||
.mw-ui-button-states();
|
||||
font-size: @font-size-minerva-smallest;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
.clearfix();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
.mw-parser-output {
|
||||
counter-reset: mw-numbered-ext-link;
|
||||
|
||||
a[ rel~='mw:ExtLink' ]:empty:after {
|
||||
a[ rel~='mw:ExtLink' ]:empty::after {
|
||||
content: '[' counter( mw-numbered-ext-link ) ']';
|
||||
counter-increment: mw-numbered-ext-link;
|
||||
}
|
||||
|
|
|
@ -78,8 +78,8 @@ ul.mw-contributions-list li > * {
|
|||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.mw-changeslist-line-inner:before,
|
||||
.mw-changeslist-line-inner:after {
|
||||
.mw-changeslist-line-inner::before,
|
||||
.mw-changeslist-line-inner::after {
|
||||
.clearfix();
|
||||
}
|
||||
|
||||
|
@ -163,8 +163,8 @@ ul.mw-contributions-list li .mw-rollback-link {
|
|||
float: none;
|
||||
}
|
||||
|
||||
.mw-userlink:before,
|
||||
.mw-usertoollinks:after {
|
||||
.mw-userlink::before,
|
||||
.mw-usertoollinks::after {
|
||||
content: '';
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.mw-ui-icon-with-label-desktop:before {
|
||||
.mw-ui-icon-with-label-desktop::before {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.mw-mf-user:before {
|
||||
.mw-mf-user::before {
|
||||
opacity: @opacity-icon-subtle;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue