From 30de15efb77e4140c7662d67036beca767009181 Mon Sep 17 00:00:00 2001 From: Steven Evans Date: Mon, 9 Jul 2018 22:46:11 -0400 Subject: [PATCH] [refactor] Enabled Stylelint 'function-comma-space-after' rule --- css/loader.css | 64 ++++++++++++++++++++++----------------------- css/menupages.css | 24 ++++++++--------- stylelint.config.js | 2 +- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/css/loader.css b/css/loader.css index e6022d953..0e18fb004 100644 --- a/css/loader.css +++ b/css/loader.css @@ -1,53 +1,53 @@ @-webkit-keyframes LOADERSPINNER { - 0% { -webkit-transform: translate(-50%,-50%) rotate(0deg); } - 100% { -webkit-transform: translate(-50%,-50%) rotate(360deg); } + 0% { -webkit-transform: translate(-50%, -50%) rotate(0deg); } + 100% { -webkit-transform: translate(-50%, -50%) rotate(360deg); } } @-moz-keyframes LOADERSPINNER { - 0% { -moz-transform: translate(-50%,-50%) rotate(0deg); } - 100% { -moz-transform: translate(-50%,-50%) rotate(360deg); } + 0% { -moz-transform: translate(-50%, -50%) rotate(0deg); } + 100% { -moz-transform: translate(-50%, -50%) rotate(360deg); } } @-ms-keyframes LOADERSPINNER { - 0% { -ms-transform: translate(-50%,-50%) rotate(0deg); } - 100% { -ms-transform: translate(-50%,-50%) rotate(360deg); } + 0% { -ms-transform: translate(-50%, -50%) rotate(0deg); } + 100% { -ms-transform: translate(-50%, -50%) rotate(360deg); } } @-o-keyframes LOADERSPINNER { - 0% { -o-transform: translate(-50%,-50%) rotate(0deg); } - 100% { -o-transform: translate(-50%,-50%) rotate(360deg); } + 0% { -o-transform: translate(-50%, -50%) rotate(0deg); } + 100% { -o-transform: translate(-50%, -50%) rotate(360deg); } } @keyframes LOADERSPINNER { - 0% { transform: translate(-50%,-50%) rotate(0deg); } - 100% { transform: translate(-50%,-50%) rotate(360deg); } + 0% { transform: translate(-50%, -50%) rotate(0deg); } + 100% { transform: translate(-50%, -50%) rotate(360deg); } } @-webkit-keyframes LOADERLABEL { - 0% { opacity: 1.0; -webkit-transform: translate(-50%,-50%) scale(1.0); } - 5% { opacity: 0.5; -webkit-transform: translate(-50%,-50%) scale(0.5); } - 95% { opacity: 0.5; -webkit-transform: translate(-50%,-50%) scale(0.5); } - 100% { opacity: 1.0; -webkit-transform: translate(-50%,-50%) scale(1.0); } + 0% { opacity: 1.0; -webkit-transform: translate(-50%, -50%) scale(1.0); } + 5% { opacity: 0.5; -webkit-transform: translate(-50%, -50%) scale(0.5); } + 95% { opacity: 0.5; -webkit-transform: translate(-50%, -50%) scale(0.5); } + 100% { opacity: 1.0; -webkit-transform: translate(-50%, -50%) scale(1.0); } } @-moz-keyframes LOADERLABEL { - 0% { opacity: 1.0; -moz-transform: translate(-50%,-50%) scale(1.0); } - 5% { opacity: 0.5; -moz-transform: translate(-50%,-50%) scale(0.5); } - 95% { opacity: 0.5; -moz-transform: translate(-50%,-50%) scale(0.5); } - 100% { opacity: 1.0; -moz-transform: translate(-50%,-50%) scale(1.0); } + 0% { opacity: 1.0; -moz-transform: translate(-50%, -50%) scale(1.0); } + 5% { opacity: 0.5; -moz-transform: translate(-50%, -50%) scale(0.5); } + 95% { opacity: 0.5; -moz-transform: translate(-50%, -50%) scale(0.5); } + 100% { opacity: 1.0; -moz-transform: translate(-50%, -50%) scale(1.0); } } @-ms-keyframes LOADERLABEL { - 0% { opacity: 1.0; -ms-transform: translate(-50%,-50%) scale(1.0); } - 5% { opacity: 0.5; -ms-transform: translate(-50%,-50%) scale(0.5); } - 95% { opacity: 0.5; -ms-transform: translate(-50%,-50%) scale(0.5); } - 100% { opacity: 1.0; -ms-transform: translate(-50%,-50%) scale(1.0); } + 0% { opacity: 1.0; -ms-transform: translate(-50%, -50%) scale(1.0); } + 5% { opacity: 0.5; -ms-transform: translate(-50%, -50%) scale(0.5); } + 95% { opacity: 0.5; -ms-transform: translate(-50%, -50%) scale(0.5); } + 100% { opacity: 1.0; -ms-transform: translate(-50%, -50%) scale(1.0); } } @-o-keyframes LOADERLABEL { - 0% { opacity: 1.0; -o-transform: translate(-50%,-50%) scale(1.0); } - 5% { opacity: 0.5; -o-transform: translate(-50%,-50%) scale(0.5); } - 95% { opacity: 0.5; -o-transform: translate(-50%,-50%) scale(0.5); } - 100% { opacity: 1.0; -o-transform: translate(-50%,-50%) scale(1.0); } + 0% { opacity: 1.0; -o-transform: translate(-50%, -50%) scale(1.0); } + 5% { opacity: 0.5; -o-transform: translate(-50%, -50%) scale(0.5); } + 95% { opacity: 0.5; -o-transform: translate(-50%, -50%) scale(0.5); } + 100% { opacity: 1.0; -o-transform: translate(-50%, -50%) scale(1.0); } } @keyframes LOADERLABEL { - 0% { opacity: 1.0; transform: translate(-50%,-50%) scale(1.0); } - 5% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.5); } - 95% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.5); } - 100% { opacity: 1.0; transform: translate(-50%,-50%) scale(1.0); } + 0% { opacity: 1.0; transform: translate(-50%, -50%) scale(1.0); } + 5% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.5); } + 95% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.5); } + 100% { opacity: 1.0; transform: translate(-50%, -50%) scale(1.0); } } *, *:before, *:after { @@ -60,12 +60,12 @@ position: absolute; width: 100%; height: 100%; - background: rgba(255,255,255,1.0); + background: rgba(255, 255, 255, 1.0); } .loaderoverlay .loaderspinner, .loaderoverlay .loaderspinner:before, .loaderoverlay .loaderspinner:after { - border: 20px solid rgba(0,0,0,0); + border: 20px solid rgba(0, 0, 0, 0); border-top: 20px solid #ccc; border-bottom: 20px solid #ccc; border-radius: 1000px; diff --git a/css/menupages.css b/css/menupages.css index c1d6c76f3..884b61b12 100644 --- a/css/menupages.css +++ b/css/menupages.css @@ -100,14 +100,14 @@ border: 2px solid var(--my-highlight-color); -webkit-box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); -moz-box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); } #script-editor-status { @@ -328,14 +328,14 @@ width: 34vw; border: 2px solid var(--my-highlight-color); -webkit-box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); -moz-box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); box-shadow: - inset 0 0 8px rgba(0,0,0,0.1), - 0 0 16px rgba(0,0,0,0.1); + inset 0 0 8px rgba(0, 0, 0, 0.1), + 0 0 16px rgba(0, 0, 0, 0.1); } .hacknet-node-container { diff --git a/stylelint.config.js b/stylelint.config.js index de2e149e6..d232b2cf6 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -81,7 +81,7 @@ module.exports = { "function-calc-no-unspaced-operator": true, "function-comma-newline-after": "always-multi-line", "function-comma-newline-before": "never-multi-line", -// "function-comma-space-after": "always-single-line", + "function-comma-space-after": "always-single-line", "function-comma-space-before": "never", "function-linear-gradient-no-nonstandard-direction": true, "function-max-empty-lines": 1,