[refactor] Enabled Stylelint rule "color-named"

Going with no named colors for consistency.
This commit is contained in:
Steven Evans 2018-07-09 16:00:51 -04:00
parent 79a489d7a9
commit 9f3459a46f
9 changed files with 86 additions and 86 deletions

@ -7,7 +7,7 @@
} }
.bladeburner-action { .bladeburner-action {
border:1px solid white; border:1px solid #ffffff;
margin:7px; margin:7px;
padding:7px; padding:7px;
white-space: pre-wrap; white-space: pre-wrap;
@ -19,13 +19,13 @@
/* Whatever action is currently active */ /* Whatever action is currently active */
.bladeburner-active-action { .bladeburner-active-action {
border:4px solid white; border:4px solid #ffffff;
} }
/* Action & Skills panel navigation button */ /* Action & Skills panel navigation button */
.bladeburner-nav-button { .bladeburner-nav-button {
border:1px solid white; border:1px solid #ffffff;
color:white; color:#ffffff;
padding:2px; padding:2px;
margin:2px; margin:2px;
} }
@ -35,7 +35,7 @@
} }
.bladeburner-nav-button-inactive { .bladeburner-nav-button-inactive {
border:1px solid white; border:1px solid #ffffff;
padding:2px; padding:2px;
margin:2px; margin:2px;
text-decoration: none; text-decoration: none;
@ -48,7 +48,7 @@
.bladeburner-console-div { .bladeburner-console-div {
display:inline-block; display:inline-block;
width:40%; width:40%;
border:1px solid white; border:1px solid #ffffff;
overflow:auto; overflow:auto;
height:100%; height:100%;
position:absolute; position:absolute;

@ -8,9 +8,9 @@
/* Header tabs */ /* Header tabs */
.cmpy-mgmt-header-tab { .cmpy-mgmt-header-tab {
display: inline-block; display: inline-block;
color: white; color: #ffffff;
background-color:#555; background-color:#555;
border:1px solid white; border:1px solid #ffffff;
padding: 4px; padding: 4px;
} }
@ -25,9 +25,9 @@
/* Switch between Cities */ /* Switch between Cities */
.cmpy-mgmt-city-tab { .cmpy-mgmt-city-tab {
display:inline-block; display:inline-block;
color: white; color: #ffffff;
background-color: #555; background-color: #555;
border: 1px solid white; border: 1px solid #ffffff;
padding: 4px; padding: 4px;
} }
@ -55,27 +55,27 @@
} }
.cmpy-mgmt-industry-overview-panel { .cmpy-mgmt-industry-overview-panel {
border: 1px solid white; border: 1px solid #ffffff;
color: var(--my-font-color); color: var(--my-font-color);
display:inline-block; display:inline-block;
width: 100%; width: 100%;
} }
.cmpy-mgmt-employee-panel { .cmpy-mgmt-employee-panel {
border: 1px solid white; border: 1px solid #ffffff;
display:block; display:block;
width:100%; width:100%;
} }
.cmpy-mgmt-warehouse-panel { .cmpy-mgmt-warehouse-panel {
border: 1px solid white; border: 1px solid #ffffff;
display:inline-block; display:inline-block;
width:100%; width:100%;
} }
/* Hiring new employees*/ /* Hiring new employees*/
.cmpy-mgmt-find-employee-option { .cmpy-mgmt-find-employee-option {
border:1px solid white; border:1px solid #ffffff;
margin: 6px; margin: 6px;
} }
@ -86,17 +86,17 @@
/* Warehouse */ /* Warehouse */
.cmpy-mgmt-warehouse-material-div { .cmpy-mgmt-warehouse-material-div {
padding:2px; padding:2px;
border:1px solid white; border:1px solid #ffffff;
} }
.cmpy-mgmt-warehouse-product-div { .cmpy-mgmt-warehouse-product-div {
padding:2px; padding:2px;
border:1px solid white; border:1px solid #ffffff;
} }
/* Exporting materials/products */ /* Exporting materials/products */
.cmpy-mgmt-existing-export { .cmpy-mgmt-existing-export {
border:1px solid white; border:1px solid #ffffff;
border-radius:25px; border-radius:25px;
margin:4px; margin:4px;
padding:4px; padding:4px;
@ -109,14 +109,14 @@
/* Upgrades */ /* Upgrades */
.cmpy-mgmt-upgrade-container { .cmpy-mgmt-upgrade-container {
border:1px solid white; border:1px solid #ffffff;
width: 60%; width: 60%;
margin:4px; margin:4px;
} }
.cmpy-mgmt-upgrade-div { .cmpy-mgmt-upgrade-div {
display:inline-block; display:inline-block;
border:1px solid white; border:1px solid #ffffff;
margin:2px; margin:2px;
padding:6px; padding:6px;
border-radius:25px; border-radius:25px;

@ -14,7 +14,7 @@
width: 20%; width: 20%;
overflow: auto; /* Enable scroll if needed */ overflow: auto; /* Enable scroll if needed */
background-color: #444; /* Fallback color */ background-color: #444; /* Fallback color */
color: white; color: #ffffff;
} }
#interactive-tutorial-container > strong { #interactive-tutorial-container > strong {
@ -24,7 +24,7 @@
#interactive-tutorial-text { #interactive-tutorial-text {
padding: 4px; padding: 4px;
margin: 4px; margin: 4px;
color: white; color: #ffffff;
background-color: #444; background-color: #444;
} }
@ -40,7 +40,7 @@
-moz-box-shadow: 1px 1px 3px #000; -moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000;
background-color:black; background-color:#000;
} }
#interactive-tutorial-exit { #interactive-tutorial-exit {
@ -62,7 +62,7 @@
#interactive-tutorial-next:focus, #interactive-tutorial-next:focus,
#interactive-tutorial-back:hover, #interactive-tutorial-back:hover,
#interactive-tutorial-back:focus { #interactive-tutorial-back:focus {
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }

@ -85,7 +85,7 @@
padding-bottom: 0px; padding-bottom: 0px;
float:center; float:center;
background-color: #555; background-color: #555;
color: white; color: #ffffff;
} }
#script-editor-filename { #script-editor-filename {
@ -93,7 +93,7 @@
display: inline-block; display: inline-block;
float: center; float: center;
resize: none; resize: none;
color: white; color: #ffffff;
margin: 4px; margin: 4px;
padding: 2px; padding: 2px;
@ -119,13 +119,13 @@
position:absolute; position:absolute;
right: 9%; right: 9%;
bottom:15%; bottom:15%;
border:2px solid white; border:2px solid #ffffff;
width:19%; width:19%;
background-color:#444; background-color:#444;
padding:2px; padding:2px;
overflow:auto; overflow:auto;
z-index: 1; z-index: 1;
color: white; color: #ffffff;
} }
#script-editor-options-panel fieldset { #script-editor-options-panel fieldset {
@ -155,7 +155,7 @@
.active-scripts-server-header { .active-scripts-server-header {
background-color: #444; background-color: #444;
font-size: 20px; font-size: 20px;
color: white; color: #ffffff;
margin: 6px 6px 0px 6px; margin: 6px 6px 0px 6px;
padding: 6px; padding: 6px;
cursor: pointer; cursor: pointer;
@ -177,7 +177,7 @@
.active-scripts-server-header:after { .active-scripts-server-header:after {
content: '\02795'; /* "plus" sign (+) */ content: '\02795'; /* "plus" sign (+) */
font-size: 13px; font-size: 13px;
color: white; color: #ffffff;
float: right; float: right;
margin-left: 5px; margin-left: 5px;
} }
@ -185,7 +185,7 @@
.active-scripts-server-header.active:after { .active-scripts-server-header.active:after {
content: "\2796"; /* "minus" sign (-) */ content: "\2796"; /* "minus" sign (-) */
font-size: 13px; font-size: 13px;
color: white; color: #ffffff;
float: right; float: right;
margin-left: 5px; margin-left: 5px;
} }
@ -255,7 +255,7 @@
.active-scripts-script-panel li { .active-scripts-script-panel li {
background-color: #555; background-color: #555;
width: auto; width: auto;
color: white; color: #ffffff;
margin-left: 5%; margin-left: 5%;
} }
@ -271,12 +271,12 @@
box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000;
margin: 4px; margin: 4px;
padding: 4px; padding: 4px;
background-color:black; background-color:#000;
} }
.active-scripts-button:hover, .active-scripts-button:hover,
.active-scripts-button:focus { .active-scripts-button:focus {
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
@ -416,7 +416,7 @@
margin: 6px; margin: 6px;
display: inline-block; display: inline-block;
color: var(--my-font-color); color: var(--my-font-color);
background-color:black; background-color:#000;
} }
#faction-donate-amount-txt { #faction-donate-amount-txt {
@ -539,7 +539,7 @@
#infiltration-left-panel, #infiltration-left-panel,
#infiltration-right-panel { #infiltration-right-panel {
display:inline-block; display:inline-block;
border: 1px solid white; border: 1px solid #ffffff;
width: 35%; width: 35%;
height: 75%; height: 75%;
top: 10px; top: 10px;
@ -548,7 +548,7 @@
} }
#infiltration-faction-select { #infiltration-faction-select {
color:white; color:#ffffff;
} }
#infiltration-left-panel p, #infiltration-left-panel p,
@ -581,13 +581,13 @@
display: inline-block; display: inline-block;
padding: 4px; padding: 4px;
margin: 2px; margin: 2px;
background-color: black; background-color: #000;
border: 1px solid white; border: 1px solid #ffffff;
color: var(--my-font-color); color: var(--my-font-color);
} }
.stock-market-position-text { .stock-market-position-text {
color:white; color:#ffffff;
display:inline-block; display:inline-block;
} }
@ -597,8 +597,8 @@
} }
.stock-market-order-cancel-btn { .stock-market-order-cancel-btn {
background-color: black; background-color: #000;
border: 1px solid white; border: 1px solid #ffffff;
color: var(--my-font-color); color: var(--my-font-color);
margin: 2px; margin: 2px;
padding: 0px; padding: 0px;

@ -25,7 +25,7 @@
.hack-mission-node { .hack-mission-node {
z-index:5; z-index:5;
background-color:gray; background-color:#808080;
align-self: center; align-self: center;
justify-self: center; justify-self: center;
display:inline-block; display:inline-block;
@ -33,7 +33,7 @@
.hack-mission-node p { .hack-mission-node p {
margin-top:8px; margin-top:8px;
color:white; color:#ffffff;
font-size:12px; font-size:12px;
text-align:center; text-align:center;
-webkit-user-select: none; -webkit-user-select: none;
@ -43,18 +43,18 @@
} }
.hack-mission-player-node { .hack-mission-player-node {
color:white; color:#ffffff;
background-color:blue; background-color:#00f;
} }
.hack-mission-player-node-active { .hack-mission-player-node-active {
border: 2px solid white; border: 2px solid #ffffff;
background-color: #6666ff; background-color: #6666ff;
} }
.hack-mission-enemy-node { .hack-mission-enemy-node {
color:white; color:#ffffff;
background-color:red; background-color:#f00;
} }
.hack-mission-cpu-node { .hack-mission-cpu-node {
@ -82,7 +82,7 @@
-webkit-transform: skew(-20deg); -webkit-transform: skew(-20deg);
-moz-transform: skew(-20deg); -moz-transform: skew(-20deg);
-o-transform: skew(-20deg); -o-transform: skew(-20deg);
color:white; color:#ffffff;
font-size:12px; font-size:12px;
margin-top: 8px; margin-top: 8px;
text-align:center; text-align:center;
@ -104,7 +104,7 @@
-webkit-transform: skew(20deg); -webkit-transform: skew(20deg);
-moz-transform: skew(20deg); -moz-transform: skew(20deg);
-o-transform: skew(20deg); -o-transform: skew(20deg);
color:white; color:#ffffff;
font-size:12px; font-size:12px;
margin-top: 8px; margin-top: 8px;
text-align:center; text-align:center;
@ -128,5 +128,5 @@
} }
.hack-mission-action-buttons-container { .hack-mission-action-buttons-container {
border: 2px solid white; border: 2px solid #ffffff;
} }

@ -28,8 +28,8 @@
font-weight: bold; font-weight: bold;
padding: 2px; padding: 2px;
margin: 6px; margin: 6px;
border: 1px solid white; border: 1px solid #ffffff;
background-color:black; background-color:#000;
} }
.popup-box-button:hover, .popup-box-button:hover,
@ -46,8 +46,8 @@
#yes-no-text-input-box-input { #yes-no-text-input-box-input {
color: var(--my-font-color); color: var(--my-font-color);
border: 1px solid white; border: 1px solid #ffffff;
background-color:black; background-color:#000;
} }
.dialog-box-container, .dialog-box-container,
@ -103,7 +103,7 @@
.dialog-box-close-button:hover, .dialog-box-close-button:hover,
.dialog-box-close-button:focus,{ .dialog-box-close-button:focus,{
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
@ -126,12 +126,12 @@
} }
#infiltration-faction-select { #infiltration-faction-select {
background-color:black; background-color:#000;
} }
/* Generic Yes No Box */ /* Generic Yes No Box */
#yes-no-text-input-box-input { #yes-no-text-input-box-input {
color: white; color: #ffffff;
} }
/* Game Options */ /* Game Options */
@ -163,7 +163,7 @@
font-weight: bold; font-weight: bold;
-webkit-border-radius: 12px; -webkit-border-radius: 12px;
-moz-border-radius: 12px; -moz-border-radius: 12px;
border-radius: 12px white; border-radius: 12px #ffffff;
-moz-box-shadow: 1px 1px 3px #000; -moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000;
@ -171,7 +171,7 @@
#game-options-close-button:hover, #game-options-close-button:hover,
#game-options-close-button:focus { #game-options-close-button:focus {
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }

@ -84,13 +84,13 @@ tr:focus {
.mainmenu>li a:hover:not(.active), .mainmenu>li a:hover:not(.active),
.mainmenu>li a:focus { .mainmenu>li a:focus {
background-color: #777; background-color: #777;
color: white; color: #ffffff;
} }
/* Panel headers can become active, and they are "lighter" than the rest */ /* Panel headers can become active, and they are "lighter" than the rest */
.mainmenu>li a.active { .mainmenu>li a.active {
background-color: #777; background-color: #777;
color: white; color: #ffffff;
} }
.mainmenu>li a.active:hover { .mainmenu>li a.active:hover {
@ -101,7 +101,7 @@ tr:focus {
.mainmenu-accordion-header:after { .mainmenu-accordion-header:after {
content: '\02795'; content: '\02795';
font-size: 13px; font-size: 13px;
color: white; color: #ffffff;
float: right; float: right;
margin-left: 5px; margin-left: 5px;
} }
@ -123,12 +123,12 @@ tr:focus {
/* Borders */ /* Borders */
.mainmenu-accordion-header { .mainmenu-accordion-header {
border:2px solid white; border:2px solid #ffffff;
} }
/* Make html links ("a" elements) nice looking buttons with this class */ /* Make html links ("a" elements) nice looking buttons with this class */
a:link, a:visited { a:link, a:visited {
color:white; color:#ffffff;
} }
.a-link-button { .a-link-button {
@ -198,13 +198,13 @@ a:link, a:visited {
} }
.dropdown { .dropdown {
color:white; color:#ffffff;
background-color:black; background-color:#000;
} }
.text-input { .text-input {
color:white; color:#ffffff;
background-color:black; background-color:#000;
} }
/* Notification icon (for create program right now only) */ /* Notification icon (for create program right now only) */
@ -221,7 +221,7 @@ a:link, a:visited {
.notification-on { .notification-on {
background-color: #fa3e3e; background-color: #fa3e3e;
color: white; color: #ffffff;
border-radius: 2px; border-radius: 2px;
padding: 1px 3px; padding: 1px 3px;
} }
@ -244,7 +244,7 @@ a:link, a:visited {
width: 300px; width: 300px;
background-color: var(--my-background-color); background-color: var(--my-background-color);
border: 2px solid var(--my-highlight-color);; border: 2px solid var(--my-highlight-color);;
color: white; color: #ffffff;
text-align: center; text-align: center;
padding: 4px; padding: 4px;
left: 101%; left: 101%;
@ -259,7 +259,7 @@ a:link, a:visited {
width: 300px; width: 300px;
background-color: var(--my-background-color); background-color: var(--my-background-color);
border: 2px solid var(--my-highlight-color);; border: 2px solid var(--my-highlight-color);;
color: white; color: #ffffff;
text-align: center; text-align: center;
padding: 4px; padding: 4px;
left: 101%; left: 101%;
@ -276,7 +276,7 @@ a:link, a:visited {
width: 300px; width: 300px;
background-color: var(--my-background-color); background-color: var(--my-background-color);
border: 2px solid var(--my-highlight-color);; border: 2px solid var(--my-highlight-color);;
color: white; color: #ffffff;
text-align: center; text-align: center;
padding: 4px; padding: 4px;
left: 40%; left: 40%;
@ -298,7 +298,7 @@ a:link, a:visited {
padding:1px; padding:1px;
margin-left:3px; margin-left:3px;
color:#fff; color:#fff;
border:1px solid white; border:1px solid #ffffff;
border-radius:5px; border-radius:5px;
display:inline-block; display:inline-block;
} }
@ -441,7 +441,7 @@ a:link, a:visited {
#character-overview-text { #character-overview-text {
padding: 4px; padding: 4px;
margin: 8px; margin: 8px;
color: white; color: #ffffff;
background-color: #444; background-color: #444;
} }
@ -457,14 +457,14 @@ a:link, a:visited {
-webkit-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000;
height: 22px; height: 22px;
background-color:black; background-color:#000;
} }
#character-overview-save-button:hover, #character-overview-save-button:hover,
#character-overview-save-button:focus, #character-overview-save-button:focus,
#character-overview-options-button:hover, #character-overview-options-button:hover,
#character-overview-options-button:focus { #character-overview-options-button:focus {
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
@ -487,7 +487,7 @@ a:link, a:visited {
.accordion-header { .accordion-header {
background-color: #444; background-color: #444;
font-size: 20px; font-size: 20px;
color: white; color: #ffffff;
margin: 6px 6px 0px 6px; margin: 6px 6px 0px 6px;
padding: 6px; padding: 6px;
cursor: pointer; cursor: pointer;
@ -509,7 +509,7 @@ a:link, a:visited {
.accordion-header:after { .accordion-header:after {
content: '\02795'; /* "plus" sign (+) */ content: '\02795'; /* "plus" sign (+) */
font-size: 13px; font-size: 13px;
color: white; color: #ffffff;
float: right; float: right;
margin-left: 5px; margin-left: 5px;
} }
@ -517,7 +517,7 @@ a:link, a:visited {
.accordion-header.active:after { .accordion-header.active:after {
content: "\2796"; /* "minus" sign (-) */ content: "\2796"; /* "minus" sign (-) */
font-size: 13px; font-size: 13px;
color: white; color: #ffffff;
float: right; float: right;
margin-left: 5px; margin-left: 5px;
} }

@ -25,7 +25,7 @@
margin: 10px; margin: 10px;
padding: 5px; padding: 5px;
border-radius: 12px; border-radius: 12px;
border: 3px solid white; border: 3px solid #ffffff;
-moz-box-shadow: 1px 1px 3px #000; -moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000;
@ -33,7 +33,7 @@
#work-in-progress-cancel-button:hover, #work-in-progress-cancel-button:hover,
#work-in-progress-cancel-button:focus { #work-in-progress-cancel-button:focus {
color: white; color: #ffffff;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
@ -44,12 +44,12 @@
} }
.bitnode { .bitnode {
color:blue; color:#00f;
} }
.bitnode-destroyed { .bitnode-destroyed {
color:red; color:#f00;
} }
.bitnode:hover, .bitnode:hover,
.bitnode-destroyed:hover { .bitnode-destroyed:hover {
color:white; color:#ffffff;
} }

@ -44,7 +44,7 @@ module.exports = {
// "block-opening-brace-space-before": "always", // "block-opening-brace-space-before": "always",
// "color-hex-case": "lower", // "color-hex-case": "lower",
// "color-hex-length": "short", // "color-hex-length": "short",
// "color-named": "never", "color-named": "never",
//"color-no-hex": true, //"color-no-hex": true,
"color-no-invalid-hex": true, "color-no-invalid-hex": true,
// "comment-empty-line-before": "always", // "comment-empty-line-before": "always",