From 1e53027b849da4376c9ac2ff651eb0168c7e04f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 30 Jun 2020 12:39:12 +0300 Subject: [PATCH] CSS tweaks: do slightly less white-on-white painting --- static/css/bootstrap.css | 6 +++--- static/css/channels.css | 2 +- static/css/my_checks_desktop.css | 2 +- static/css/projects.css | 2 +- static/css/selectize.hc.css | 8 ++++---- stuff/bootstrap/variables.less | 8 ++++---- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index 87bf1a3d..cac2b6a7 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -1736,7 +1736,7 @@ output { font-size: 14px; line-height: 1.42857143; color: #555555; - background-color: #ffffff; + background-color: transparent; background-image: none; border: 1px solid #cccccc; border-radius: 2px; @@ -4120,7 +4120,7 @@ a.badge:focus { display: block; padding: 10px 15px; margin-bottom: -1px; - background-color: #ffffff; + background-color: transparent; border: 1px solid #dddddd; } .list-group-item:first-child { @@ -4319,7 +4319,7 @@ button.list-group-item-danger.active:focus { } .panel { margin-bottom: 20px; - background-color: #ffffff; + background-color: transparent; border: 1px solid transparent; border-radius: 2px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); diff --git a/static/css/channels.css b/static/css/channels.css index c3afed91..f6c7dd06 100644 --- a/static/css/channels.css +++ b/static/css/channels.css @@ -53,7 +53,7 @@ table.channels-table > tbody > tr > th { .edit-name, .edit-checks { padding: 12px 6px; - border: 1px solid #FFF; + border: 1px solid transparent; cursor: pointer; } diff --git a/static/css/my_checks_desktop.css b/static/css/my_checks_desktop.css index fe28748e..bfaf04d5 100644 --- a/static/css/my_checks_desktop.css +++ b/static/css/my_checks_desktop.css @@ -36,7 +36,7 @@ #checks-table .integrations, #checks-table .timeout-grace, #checks-table .last-ping { - border: 1px solid #FFF; + border: 1px solid transparent; padding: 6px; } diff --git a/static/css/projects.css b/static/css/projects.css index 49ee03cd..d20c3df5 100644 --- a/static/css/projects.css +++ b/static/css/projects.css @@ -35,7 +35,7 @@ } #project-selector #add-project .project { - border: 1px dashed #ddd; + border-style: dashed; padding: 0; text-align: center; font-size: 18px; diff --git a/static/css/selectize.hc.css b/static/css/selectize.hc.css index 109e4737..ba9e78f7 100644 --- a/static/css/selectize.hc.css +++ b/static/css/selectize.hc.css @@ -27,7 +27,7 @@ } .selectize-input, .selectize-control.single .selectize-input.input-active { - background: #ffffff; + background: transparent; cursor: text; display: inline-block; } @@ -52,7 +52,7 @@ padding: 4px 12px 1px; } .selectize-input.full { - background-color: #ffffff; + background-color: transparent; } .selectize-input.disabled, .selectize-input.disabled * { @@ -123,7 +123,7 @@ content: ' '; display: block; position: absolute; - background: #ffffff; + background: rgba(204, 204, 204, 0.008); height: 1px; bottom: 0; left: 0; @@ -227,7 +227,7 @@ } .selectize-control .selectize-input.disabled { opacity: 0.5; - background-color: #ffffff; + background-color: transparent; } .selectize-dropdown, .selectize-dropdown.form-control { diff --git a/stuff/bootstrap/variables.less b/stuff/bootstrap/variables.less index a5fec2ed..ea77a494 100755 --- a/stuff/bootstrap/variables.less +++ b/stuff/bootstrap/variables.less @@ -182,7 +182,7 @@ //## //** `` background color -@input-bg: #fff; +@input-bg: transparent; //** `` background color @input-bg-disabled: @gray-lighter; @@ -366,7 +366,7 @@ @navbar-collapse-max-height: 340px; @navbar-default-color: #777; -@navbar-default-bg: #FFF; +@navbar-default-bg: #fff; @navbar-default-border: darken(@navbar-default-bg, 6.5%); // Navbar links @@ -670,7 +670,7 @@ //## //** Background color on `.list-group-item` -@list-group-bg: #fff; +@list-group-bg: transparent; //** `.list-group-item` border color @list-group-border: #ddd; //** List group border radius @@ -703,7 +703,7 @@ // //## -@panel-bg: #fff; +@panel-bg: transparent; @panel-body-padding: 15px; @panel-heading-padding: 10px 15px; @panel-footer-padding: @panel-heading-padding;