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