父节点
abf062f0d4
当前提交
6855a4921c
34
.hintrc
34
.hintrc
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"extends": [
|
||||
"development"
|
||||
],
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
"not ie < 11"
|
||||
],
|
||||
"hints": {
|
||||
"compat-api/css": [
|
||||
"default",
|
||||
{
|
||||
"ignore": [
|
||||
"@-moz-document"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
"extends": [
|
||||
"development"
|
||||
],
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
"not ie < 11"
|
||||
],
|
||||
"hints": {
|
||||
"compat-api/css": [
|
||||
"default",
|
||||
{
|
||||
"ignore": [
|
||||
"@-moz-document"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "stylelint-config-wikimedia",
|
||||
"extends": ["stylelint-config-wikimedia", "stylelint-config-idiomatic-order"],
|
||||
"rules": {
|
||||
"no-descending-specificity": null,
|
||||
"selector-max-id": 1,
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"grunt-eslint": "24.0.0",
|
||||
"grunt-stylelint": "0.18.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
"stylelint-config-idiomatic-order": "^9.0.0",
|
||||
"stylelint-config-wikimedia": "0.13.1",
|
||||
"stylelint-no-unsupported-browser-features": "^6.0.1"
|
||||
}
|
||||
|
@ -5471,6 +5472,15 @@
|
|||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/postcss-sorting": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-7.0.1.tgz",
|
||||
"integrity": "sha512-iLBFYz6VRYyLJEJsBJ8M3TCqNcckVzz4wFounSc5Oez35ogE/X+aoC5fFu103Ot7NyvjU3/xqIXn93Gp3kJk4g==",
|
||||
"dev": true,
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3.9"
|
||||
}
|
||||
},
|
||||
"node_modules/postcss-value-parser": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
|
||||
|
@ -6192,6 +6202,21 @@
|
|||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint-config-idiomatic-order": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-config-idiomatic-order/-/stylelint-config-idiomatic-order-9.0.0.tgz",
|
||||
"integrity": "sha512-+LtfPycY1Paayf1MaERyh6BzVPnZxemX5NtzdUPqi4u8hyAR7859f/4EL02+Kr9va76iX7mbYC4HendocXKJZQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"stylelint-order": "^5.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"stylelint": ">=11"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint-config-recommended": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
|
||||
|
@ -6337,6 +6362,19 @@
|
|||
"stylelint": "^14.0.0||^15.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint-order": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-5.0.0.tgz",
|
||||
"integrity": "sha512-OWQ7pmicXufDw5BlRqzdz3fkGKJPgLyDwD1rFY3AIEfIH/LQY38Vu/85v8/up0I+VPiuGRwbc2Hg3zLAsJaiyw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"postcss": "^8.3.11",
|
||||
"postcss-sorting": "^7.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"stylelint": "^14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint/node_modules/balanced-match": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-2.0.0.tgz",
|
||||
|
@ -11087,6 +11125,13 @@
|
|||
"util-deprecate": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"postcss-sorting": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-7.0.1.tgz",
|
||||
"integrity": "sha512-iLBFYz6VRYyLJEJsBJ8M3TCqNcckVzz4wFounSc5Oez35ogE/X+aoC5fFu103Ot7NyvjU3/xqIXn93Gp3kJk4g==",
|
||||
"dev": true,
|
||||
"requires": {}
|
||||
},
|
||||
"postcss-value-parser": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
|
||||
|
@ -11704,6 +11749,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"stylelint-config-idiomatic-order": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-config-idiomatic-order/-/stylelint-config-idiomatic-order-9.0.0.tgz",
|
||||
"integrity": "sha512-+LtfPycY1Paayf1MaERyh6BzVPnZxemX5NtzdUPqi4u8hyAR7859f/4EL02+Kr9va76iX7mbYC4HendocXKJZQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"stylelint-order": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"stylelint-config-recommended": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
|
||||
|
@ -11822,6 +11876,16 @@
|
|||
"postcss": "^8.4.16"
|
||||
}
|
||||
},
|
||||
"stylelint-order": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-5.0.0.tgz",
|
||||
"integrity": "sha512-OWQ7pmicXufDw5BlRqzdz3fkGKJPgLyDwD1rFY3AIEfIH/LQY38Vu/85v8/up0I+VPiuGRwbc2Hg3zLAsJaiyw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"postcss": "^8.3.11",
|
||||
"postcss-sorting": "^7.0.1"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz",
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"grunt-stylelint": "0.18.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
"stylelint-config-wikimedia": "0.13.1",
|
||||
"stylelint-config-idiomatic-order": "^9.0.0",
|
||||
"stylelint-no-unsupported-browser-features": "^6.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,15 +16,15 @@
|
|||
}
|
||||
|
||||
#darkModeButton {
|
||||
position: fixed;
|
||||
right: 8px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
-ms-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
position: fixed;
|
||||
right: 8px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
-ms-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* START OF DARKMODE STYLES */
|
||||
|
@ -33,11 +33,10 @@
|
|||
img,
|
||||
video,
|
||||
svg,
|
||||
iframe,
|
||||
iframe,
|
||||
.mw-no-invert,
|
||||
td .diffchange,
|
||||
|
||||
.cdx-menu-item__thumbnail,
|
||||
.cdx-menu-item__thumbnail,
|
||||
.cx-slitem__image:not( .oo-ui-icon-article ),
|
||||
.frb-image,
|
||||
.image-carousel,
|
||||
|
@ -53,9 +52,9 @@
|
|||
.vjs-fullscreen,
|
||||
.vjs-text-track-display,
|
||||
.wvui-typeahead-suggestion__thumbnail {
|
||||
box-shadow: none;
|
||||
-webkit-filter: invert( 0.95 ) hue-rotate( 180deg );
|
||||
filter: invert( 0.95 ) hue-rotate( 180deg );
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Reset overrides, needed where double application above isn't working. */
|
||||
|
|
正在加载...
在新工单中引用