diff options
author | moisseev <moiseev@mezonplus.ru> | 2021-11-14 21:18:58 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2021-11-14 21:18:58 +0300 |
commit | 0370452acb19f783f3e613d190c0373441807603 (patch) | |
tree | 58d15af388abab6a7f8227cca64d6514035331a3 /interface | |
parent | 8d33c6634f3bd79c4bf42c869cd0d284a2fb3312 (diff) | |
download | rspamd-0370452acb19f783f3e613d190c0373441807603.tar.gz rspamd-0370452acb19f783f3e613d190c0373441807603.zip |
[Test] Pet Stylelint
Diffstat (limited to 'interface')
-rw-r--r-- | interface/css/FooTable.Glyphicons.css | 6 | ||||
-rw-r--r-- | interface/css/rspamd.css | 24 |
2 files changed, 17 insertions, 13 deletions
diff --git a/interface/css/FooTable.Glyphicons.css b/interface/css/FooTable.Glyphicons.css index 32d8c2ee4..c68f66eaa 100644 --- a/interface/css/FooTable.Glyphicons.css +++ b/interface/css/FooTable.Glyphicons.css @@ -1,9 +1,11 @@ -/* Glyphicons Icons - We're not actually using Glyphicons classes but instead provide a simple mapping from Glyphicons to FooTable class names. */ +/* Glyphicons Icons - We're not actually using Glyphicons classes but instead provide a simple mapping + from Glyphicons to FooTable class names. */ .fooicon { position: relative; top: 1px; display: inline-block; - font-family: 'Glyphicons Halflings' !important; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */ + /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */ + font-family: "Glyphicons Halflings" !important; font-style: normal; font-weight: 400; line-height: 1; diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 839549df2..8b7e8f6dc 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -23,6 +23,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/* stylelint-disable selector-id-pattern */ + /* bootstrap 4 overrides */ :root { font-size: 14px; @@ -44,9 +46,7 @@ small, padding-top: 0; padding-bottom: 0; margin-bottom: 20px; - border-bottom-color: rgb(231, 231, 231); - border-bottom-style: solid; - border-bottom-width: 1px; + border-bottom: 1px solid rgb(231 231 231); } .nav-pills .nav-link.active { background-color: #e7e7e7; @@ -92,7 +92,7 @@ fieldset[disabled] .btn { content: none; } .footable .btn-outline-secondary { - border-color: rgb(108, 117, 125); + border-color: rgb(108 117 125); } .footable .btn-group > .btn:not(:first-child), .footable .btn-group > .btn-group:not(:first-child) > .btn { @@ -217,8 +217,10 @@ table#symbolsTable input[type="number"] { background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); + + /* IE6-9 */ /* stylelint-disable-next-line function-name-case */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#eaeaea', GradientType=0); /* IE6-9 */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdfdfd", endColorstr="#eaeaea", GradientType=0); } .card-header > .icon > svg { vertical-align: middle; @@ -286,7 +288,7 @@ table#symbolsTable input[type="number"] { } /* Font Awesome icons size */ -.svg-inline--fa { +.svg-inline--fa { /* stylelint-disable-line selector-class-pattern */ font-size: 16px; } /* Increase refresh button spinner speed */ @@ -386,10 +388,10 @@ table#symbolsTable input[type="number"] { } .scorebar-spam { - background-color: rgba(240, 0, 0, 0.1) !important; + background-color: rgba(240 0 0 / 0.1) !important; } .scorebar-ham { - background: rgba(100, 230, 80, 0.1) !important; + background: rgba(100 230 80 / 0.1) !important; } .danger .icon { @@ -537,7 +539,7 @@ table#symbolsTable input[type="number"] { .codejar-wrap, #editor.map-textarea, #editor.map-textarea:focus { - background: rgb(0, 47, 79); + background: rgb(0 47 79); color: silver; } .codejar-wrap { @@ -545,9 +547,9 @@ table#symbolsTable input[type="number"] { scrollbar-width: thin; } .codejar-linenumbers { - background: rgba(255, 255, 255, 0.07) !important; + background: rgba(255 255 255 / 0.07) !important; bottom: unset !important; - color: rgba(120, 120, 120, 1) !important; + color: rgba(120 120 120 / 1) !important; height: inherit; mix-blend-mode: unset !important; text-align: right; |