Skip to content
Snippets Groups Projects
Commit a2754dfc authored by autinerd's avatar autinerd
Browse files

Adjust shadow colors

parent 76bfbfba
No related branches found
No related tags found
No related merge requests found
...@@ -4,13 +4,15 @@ ...@@ -4,13 +4,15 @@
--background-color: white; --background-color: white;
--text-color: #333; --text-color: #333;
--shadow-color: #ccc;
--table-alternate-color: #f9f9f9; --table-alternate-color: #f9f9f9;
--background-color-attribution: rgba(255, 255, 255, 0.8); --background-color-attribution: rgba(255, 255, 255, 0.8);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
* { * {
--background-color: #333333; --background-color: #333;
--shadow-color: #666;
--text-color: #cccccc; --text-color: #cccccc;
--table-alternate-color: #444; --table-alternate-color: #444;
--background-color-attribution: rgba(51, 51, 51, 0.8); --background-color-attribution: rgba(51, 51, 51, 0.8);
...@@ -158,7 +160,7 @@ h1, h2, h3, h4, h5, h6 { ...@@ -158,7 +160,7 @@ h1, h2, h3, h4, h5, h6 {
} }
#wizard .pane-wrapper { #wizard .pane-wrapper {
box-shadow: 0 0.15em 0.5em #ccc; box-shadow: 0 0.15em 0.5em var(--shadow-color);
margin: 1em 0 3em 0; margin: 1em 0 3em 0;
} }
...@@ -191,6 +193,7 @@ h1, h2, h3, h4, h5, h6 { ...@@ -191,6 +193,7 @@ h1, h2, h3, h4, h5, h6 {
#wizard #type-pane .radiogroup label { #wizard #type-pane .radiogroup label {
background-color: #ffb400; background-color: #ffb400;
color: #333333;
} }
#wizard #type-pane .radiogroup input[type="radio"]:checked + label { #wizard #type-pane .radiogroup input[type="radio"]:checked + label {
...@@ -249,7 +252,7 @@ h1, h2, h3, h4, h5, h6 { ...@@ -249,7 +252,7 @@ h1, h2, h3, h4, h5, h6 {
background: var(--background-color); background: var(--background-color);
border: none; border: none;
border: 1px solid #ddd; border: 1px solid #ddd;
box-shadow: 1px 2px 2px 0 #ccc; box-shadow: 1px 2px 2px 0 var(--shadow-color);
padding: 0.75em 0.75em; padding: 0.75em 0.75em;
margin-right: 0.5em; margin-right: 0.5em;
margin-bottom: 1em; margin-bottom: 1em;
...@@ -257,7 +260,7 @@ h1, h2, h3, h4, h5, h6 { ...@@ -257,7 +260,7 @@ h1, h2, h3, h4, h5, h6 {
} }
#wizard select:focus, #wizard input:focus { #wizard select:focus, #wizard input:focus {
box-shadow: 1px 2px 2px 0 #ccc, 2px 2px 6px #ccc; box-shadow: 1px 2px 2px 0 var(--shadow-color), 2px 2px 6px var(--shadow-color);
} }
#wizard option { #wizard option {
...@@ -282,7 +285,7 @@ h1, h2, h3, h4, h5, h6 { ...@@ -282,7 +285,7 @@ h1, h2, h3, h4, h5, h6 {
margin: .5em; margin: .5em;
padding: .5em 1em; padding: .5em 1em;
border: none; border: none;
box-shadow: 0.125em 0.125em 0.5em #ccc; box-shadow: 0.125em 0.125em 0.5em var(--shadow-color);
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
} }
...@@ -330,14 +333,14 @@ h1, h2, h3, h4, h5, h6 { ...@@ -330,14 +333,14 @@ h1, h2, h3, h4, h5, h6 {
} }
#wizard .imagePreview .preview:hover { #wizard .imagePreview .preview:hover {
border: 1px solid #ccc; border: 1px solid var(--shadow-color);
cursor: pointer; cursor: pointer;
} }
#wizard .imagePreview .preview.selected { #wizard .imagePreview .preview.selected {
border: 1px solid #ccc; border: 1px solid var(--shadow-color);
cursor: default; cursor: default;
box-shadow: 0 0 0.5em #ccc inset; box-shadow: 0 0 0.5em var(--shadow-color) inset;
} }
#wizard .imagePreview .preview img { #wizard .imagePreview .preview img {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment