[simple theme] CSS remove box-shadow effects

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-11-03 23:43:59 +01:00
parent 580a55fe86
commit ca971bd5e5
4 changed files with 0 additions and 32 deletions

View file

@ -25,7 +25,6 @@
--color-backtotop-font: #444; --color-backtotop-font: #444;
--color-backtotop-border: #ddd; --color-backtotop-border: #ddd;
--color-backtotop-background: #fff; --color-backtotop-background: #fff;
--color-backtotop-shadow: #ccc;
/// Button Colors /// Button Colors
--color-btn-background: #3050ff; --color-btn-background: #3050ff;
--color-btn-font: #fff; --color-btn-font: #fff;
@ -54,7 +53,6 @@
--color-answer-font: #444; // same as --color-base-font --color-answer-font: #444; // same as --color-base-font
--color-answer-background: #f7f7f7; // same as --color-header-background: --color-answer-background: #f7f7f7; // same as --color-header-background:
/// Results Colors /// Results Colors
--color-result-shadow: #ccc;
--color-result-border: #ddd; --color-result-border: #ddd;
--color-result-url-font: #000; --color-result-url-font: #000;
--color-result-vim-selected: #f7f7f7; --color-result-vim-selected: #f7f7f7;
@ -94,14 +92,12 @@
--color-toolkit-select-border: #ddd; --color-toolkit-select-border: #ddd;
--color-toolkit-select-border-hover: #bbb; --color-toolkit-select-border-hover: #bbb;
--color-toolkit-checkbox-onoff-background: #ddd; --color-toolkit-checkbox-onoff-background: #ddd;
--color-toolkit-checkbox-onoff-label-shadow: rgba(0, 0, 0, 0.3);
--color-toolkit-checkbox-onoff-label-background: #3050ff; --color-toolkit-checkbox-onoff-label-background: #3050ff;
--color-toolkit-checkbox-onoff-checked-background: #ddd; --color-toolkit-checkbox-onoff-checked-background: #ddd;
--color-toolkit-checkbox-label-background: #fff; --color-toolkit-checkbox-label-background: #fff;
--color-toolkit-checkbox-label-border: #ddd; --color-toolkit-checkbox-label-border: #ddd;
--color-toolkit-checkbox-input-border: #3050ff; --color-toolkit-checkbox-input-border: #3050ff;
--color-toolkit-engine-tooltip-border: #ddd; --color-toolkit-engine-tooltip-border: #ddd;
--color-toolkit-engine-tooltip-shadow: #ccc;
--color-toolkit-engine-tooltip-background: #fff; --color-toolkit-engine-tooltip-background: #fff;
--color-toolkit-loader-border: rgba(0, 0, 0, 0.2); --color-toolkit-loader-border: rgba(0, 0, 0, 0.2);
--color-toolkit-loader-borderleft: rgba(255, 255, 255, 0); --color-toolkit-loader-borderleft: rgba(255, 255, 255, 0);
@ -129,7 +125,6 @@
--color-backtotop-font: #bbb; --color-backtotop-font: #bbb;
--color-backtotop-border: #333; --color-backtotop-border: #333;
--color-backtotop-background: #181818; --color-backtotop-background: #181818;
--color-backtotop-shadow: #333;
/// Button Colors /// Button Colors
--color-btn-background: #58f; --color-btn-background: #58f;
--color-btn-font: #222; --color-btn-font: #222;
@ -158,7 +153,6 @@
--color-answer-font: #bbb; // same as --color-base-font --color-answer-font: #bbb; // same as --color-base-font
--color-answer-background: #181818; // same as --color-header-background: --color-answer-background: #181818; // same as --color-header-background:
/// Results Colors /// Results Colors
--color-result-shadow: #333;
--color-result-border: #333; --color-result-border: #333;
--color-result-url-font: #fff; --color-result-url-font: #fff;
--color-result-vim-selected: #181818; --color-result-vim-selected: #181818;
@ -198,14 +192,12 @@
--color-toolkit-select-border: #555; --color-toolkit-select-border: #555;
--color-toolkit-select-border-hover: #777; --color-toolkit-select-border-hover: #777;
--color-toolkit-checkbox-onoff-background: #3c3b31; --color-toolkit-checkbox-onoff-background: #3c3b31;
--color-toolkit-checkbox-onoff-label-shadow: rgba(0, 0, 0, 0.3);
--color-toolkit-checkbox-onoff-label-background: #58f; --color-toolkit-checkbox-onoff-label-background: #58f;
--color-toolkit-checkbox-onoff-checked-background: #ddd; --color-toolkit-checkbox-onoff-checked-background: #ddd;
--color-toolkit-checkbox-label-background: #fff; --color-toolkit-checkbox-label-background: #fff;
--color-toolkit-checkbox-label-border: #333; --color-toolkit-checkbox-label-border: #333;
--color-toolkit-checkbox-input-border: #58f; --color-toolkit-checkbox-input-border: #58f;
--color-toolkit-engine-tooltip-border: #333; --color-toolkit-engine-tooltip-border: #333;
--color-toolkit-engine-tooltip-shadow: #333;
--color-toolkit-engine-tooltip-background: #222; --color-toolkit-engine-tooltip-background: #222;
--color-toolkit-loader-border: rgba(255, 255, 255, 0.2); --color-toolkit-loader-border: rgba(255, 255, 255, 0.2);
--color-toolkit-loader-borderleft: rgba(0, 0, 0, 0); --color-toolkit-loader-borderleft: rgba(0, 0, 0, 0);

View file

@ -38,12 +38,6 @@
display: inline-flex; display: inline-flex;
flex-direction: row; flex-direction: row;
white-space: nowrap; white-space: nowrap;
/*
&:has(q:focus) {
box-shadow: 0px 0px 5px #CCC;
}
*/
} }
#clear_search { #clear_search {
@ -252,10 +246,6 @@
.disable-user-select; .disable-user-select;
} }
input[type="checkbox"]:focus + label {
box-shadow: 0 0 8px var(--color-categories-item-border-selected);
}
input[type="checkbox"]:checked + label { input[type="checkbox"]:checked + label {
color: var(--color-categories-item-selected-font); color: var(--color-categories-item-selected-font);
border-bottom: 2px solid var(--color-categories-item-border-selected); border-bottom: 2px solid var(--color-categories-item-border-selected);

View file

@ -164,8 +164,6 @@ article.result-images[data-vim-selected] {
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
border: none; border: none;
-webkit-box-shadow: none;
box-shadow: none;
outline: none; outline: none;
} }
} }
@ -549,7 +547,6 @@ article.result-images[data-vim-selected] {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 1em; font-size: 1em;
box-shadow: 0 0 5px var(--color-backtotop-shadow);
background: var(--color-backtotop-background); background: var(--color-backtotop-background);
position: fixed; position: fixed;
bottom: 8rem; bottom: 8rem;
@ -730,14 +727,9 @@ article.result-images[data-vim-selected] {
margin: 0 5px 2px 5px; margin: 0 5px 2px 5px;
} }
.infobox {
box-shadow: 0 0 5px var(--color-result-shadow);
}
#corrections, #corrections,
#answers { #answers {
margin: 1rem @results-tablet-offset; margin: 1rem @results-tablet-offset;
box-shadow: 0 0 5px var(--color-result-shadow);
} }
#results { #results {
@ -752,7 +744,6 @@ article.result-images[data-vim-selected] {
.result { .result {
margin: 1rem @results-tablet-offset; margin: 1rem @results-tablet-offset;
border: 1px solid var(--color-result-border); border: 1px solid var(--color-result-border);
box-shadow: 0 0 5px var(--color-result-shadow);
.rounded-corners; .rounded-corners;
} }
@ -765,7 +756,6 @@ article.result-images[data-vim-selected] {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: none; border: none;
box-shadow: none;
} }
} }

View file

@ -200,7 +200,6 @@ div.selectable_url {
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 100000; z-index: 100000;
margin: 0 50% 0 0; margin: 0 50% 0 0;
box-shadow: 0 0 1em;
} }
// btn-collapse // btn-collapse
@ -370,7 +369,6 @@ select {
top: -5px; top: -5px;
cursor: pointer; cursor: pointer;
border-radius: 50px; border-radius: 50px;
box-shadow: 0 3px 5px 0 var(--color-toolkit-checkbox-onoff-label-shadow);
transition: all 0.4s ease; transition: all 0.4s ease;
left: 27px; left: 27px;
background-color: var(--color-toolkit-checkbox-onoff-label-background); background-color: var(--color-toolkit-checkbox-onoff-label-background);
@ -432,7 +430,6 @@ select {
// disabled : can''t be focused, show only the check mark // disabled : can''t be focused, show only the check mark
input[disabled] + label { input[disabled] + label {
background-color: transparent !important; background-color: transparent !important;
box-shadow: none !important;
cursor: inherit; cursor: inherit;
} }
@ -504,7 +501,6 @@ select {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin: 0 0 0 2rem; margin: 0 0 0 2rem;
border: 1px solid var(--color-toolkit-engine-tooltip-border); border: 1px solid var(--color-toolkit-engine-tooltip-border);
box-shadow: 0 0 5px var(--color-toolkit-engine-tooltip-shadow);
background: var(--color-toolkit-engine-tooltip-background); background: var(--color-toolkit-engine-tooltip-background);
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;