mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
[refactor] Enabled Stylelint 'length-zero-no-unit' rule
This commit is contained in:
parent
bfa2c3d4f9
commit
877a276542
@ -72,9 +72,9 @@
|
||||
|
||||
.bladeburner-console-input {
|
||||
display: inline-block;
|
||||
padding: 0px !important;
|
||||
margin: 0px !important;
|
||||
border: 0px;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
border: 0;
|
||||
background-color: var(--my-background-color);
|
||||
font-size: 13px;
|
||||
outline: none;
|
||||
|
@ -38,8 +38,8 @@
|
||||
.ace_line,
|
||||
.ace_line * {
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ace_text-input {
|
||||
@ -60,8 +60,8 @@
|
||||
|
||||
#script-editor-buttons-wrapper {
|
||||
width: 100%;
|
||||
padding-right: 0xp;
|
||||
margin-right: 0px;
|
||||
padding-right: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#script-editor-wrapper {
|
||||
@ -73,7 +73,7 @@
|
||||
#script-editor-filename-wrapper {
|
||||
background-color: #555;
|
||||
margin-left: 6px;
|
||||
margin-right: 0px;
|
||||
margin-right: 0;
|
||||
padding-left: 6px;
|
||||
width: 100%;
|
||||
border: 2px solid var(--my-highlight-color);
|
||||
@ -82,7 +82,7 @@
|
||||
#script-editor-filename-tag {
|
||||
display: inline-block;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 0px;
|
||||
padding-bottom: 0;
|
||||
float: center;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
@ -156,7 +156,7 @@
|
||||
background-color: #444;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
margin: 6px 6px 0px 6px;
|
||||
margin: 6px 6px 0 6px;
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
width: 60%;
|
||||
@ -191,8 +191,8 @@
|
||||
}
|
||||
|
||||
.active-scripts-server-panel {
|
||||
margin: 0px 6px 6px 6px;
|
||||
padding: 0px 6px 6px 6px;
|
||||
margin: 0 6px 6px 6px;
|
||||
padding: 0 6px 6px 6px;
|
||||
width: 55%;
|
||||
margin-left: 5%;
|
||||
display: none;
|
||||
@ -601,7 +601,7 @@
|
||||
border: 1px solid #fff;
|
||||
color: var(--my-font-color);
|
||||
margin: 2px;
|
||||
padding: 0px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Gang */
|
||||
|
@ -229,8 +229,8 @@ a:link, a:visited {
|
||||
.notification-off {
|
||||
background-color: #333;
|
||||
color: #333;
|
||||
border-radius: 0px;
|
||||
padding: 0px;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Tool tips (when hovering over an element */
|
||||
@ -386,18 +386,18 @@ a:link, a:visited {
|
||||
@-webkit-keyframes status-text{
|
||||
from{
|
||||
opacity: 1;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
}
|
||||
to{
|
||||
opacity: 0;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.status-text{
|
||||
display: inline;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
-webkit-animation: status-text 3s 1;
|
||||
background-color: transparent;
|
||||
height: 15%;
|
||||
@ -488,7 +488,7 @@ a:link, a:visited {
|
||||
background-color: #444;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
margin: 6px 6px 0px 6px;
|
||||
margin: 6px 6px 0 6px;
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
width: 80%;
|
||||
@ -523,8 +523,8 @@ a:link, a:visited {
|
||||
}
|
||||
|
||||
.accordion-panel {
|
||||
margin: 0px 6px 6px 6px;
|
||||
padding: 0px 6px 6px 6px;
|
||||
margin: 0 6px 6px 6px;
|
||||
padding: 0 6px 6px 6px;
|
||||
width: 75%;
|
||||
margin-left: 5%;
|
||||
display: none;
|
||||
|
@ -27,9 +27,9 @@
|
||||
|
||||
.terminal-input {
|
||||
display: inline-block;
|
||||
padding: 0px !important;
|
||||
margin: 0px !important;
|
||||
border: 0px;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
border: 0;
|
||||
background-color: var(--my-background-color);
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
|
@ -102,7 +102,7 @@ module.exports = {
|
||||
"function-whitespace-after": "always",
|
||||
// "indentation": 4,
|
||||
"keyframe-declaration-no-important": true,
|
||||
// "length-zero-no-unit": true,
|
||||
"length-zero-no-unit": true,
|
||||
// "max-empty-lines": 1,
|
||||
"max-line-length": 160,
|
||||
"max-nesting-depth": 99,
|
||||
|
Loading…
Reference in New Issue
Block a user