Adjust theme switch
This commit is contained in:
parent
0501598d41
commit
a43ea460c3
8 changed files with 200 additions and 27 deletions
|
@ -70,7 +70,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
a {
|
||||
a, label {
|
||||
&:link,
|
||||
&:visited {
|
||||
opacity: .9;
|
||||
|
@ -89,8 +89,12 @@
|
|||
background-color: var(--color-background);
|
||||
border-radius: 0.5rem;
|
||||
|
||||
&.themeToggle input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// the toggle element
|
||||
a {
|
||||
a, label {
|
||||
border-radius: 0.5rem;
|
||||
background-color: var(--color-shade-1);
|
||||
transition: background-color 150ms;
|
||||
|
@ -159,7 +163,7 @@
|
|||
position: relative; // always show label, even with collapsed sidebar
|
||||
z-index: 100;
|
||||
|
||||
a {
|
||||
a, label {
|
||||
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue