mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-07 19:14:37 +01:00
[style] Enabled Stylelint 'selector-combinator-space-*' rules
This commit is contained in:
@ -71,7 +71,7 @@ tr:focus {
|
||||
}
|
||||
|
||||
/* Default buttons */
|
||||
.mainmenu>li a {
|
||||
.mainmenu > li a {
|
||||
display: block;
|
||||
color: #e6e6e6;
|
||||
background-color: #555;
|
||||
@ -80,20 +80,20 @@ tr:focus {
|
||||
}
|
||||
|
||||
/* Hovering makes them lighter */
|
||||
.mainmenu>li a:hover,
|
||||
.mainmenu>li a:hover:not(.active),
|
||||
.mainmenu>li a:focus {
|
||||
.mainmenu > li a:hover,
|
||||
.mainmenu > li a:hover:not(.active),
|
||||
.mainmenu > li a:focus {
|
||||
background-color: #777;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Panel headers can become active, and they are "lighter" than the rest */
|
||||
.mainmenu>li a.active {
|
||||
.mainmenu > li a.active {
|
||||
background-color: #777;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mainmenu>li a.active:hover {
|
||||
.mainmenu > li a.active:hover {
|
||||
background-color: #aaa;
|
||||
}
|
||||
|
||||
|
@ -237,8 +237,8 @@ module.exports = {
|
||||
"selector-attribute-quotes": "always",
|
||||
"selector-class-pattern": ".+",
|
||||
//"selector-combinator-blacklist": [],
|
||||
// "selector-combinator-space-after": "always",
|
||||
// "selector-combinator-space-before": "always",
|
||||
"selector-combinator-space-after": "always",
|
||||
"selector-combinator-space-before": "always",
|
||||
//"selector-combinator-whitelist": [],
|
||||
"selector-descendant-combinator-no-non-space": true,
|
||||
"selector-id-pattern": ".+",
|
||||
|
Reference in New Issue
Block a user