1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

Updates themes to use vars (#541)

* Adds vars for themeing

* Uses correct color vars

* Adds more vars

* Adds other variables

* Use data attribute only

* Adds animation and unifies color

* Fixes tests

* Fixes search

* Adds docker ignore

* Fixes search text

* Fixes int tests

* Fixes int tests again
This commit is contained in:
Amir Raminfar
2020-06-27 14:32:34 -07:00
committed by GitHub
parent 3d68a8ddb0
commit 8fa672edd1
16 changed files with 153 additions and 160 deletions

View File

@@ -79,10 +79,6 @@ aside {
overflow: hidden;
}
.burger.is-white {
color: #fff;
}
.is-hidden-mobile.is-active {
display: block !important;
}
@@ -90,39 +86,7 @@ aside {
h1.title {
font-family: "Gafata", sans-serif;
html.has-light-theme & {
text-shadow: 1px 0px #ffdd57;
&.has-text-warning {
color: #ffcc00;
}
}
}
html.has-light-theme {
.menu-label {
color: #595959;
}
.menu-list a {
color: #444;
&:hover {
background-color: #eee8e7;
}
&.is-active {
background-color: #d8f0ca;
border-color: #d8f0ca;
}
}
.button {
&:active,
&.is-active {
color: #ffdd57;
}
}
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}
li.exited a {
@@ -133,7 +97,7 @@ li.exited a {
transition: transform 0.2s ease-out;
&.is-active {
pointer-events: none;
color: #00d1b2;
color: var(--primary-color);
}
.router-link-exact-active & {
visibility: hidden;