ajout du bouton de switch + quelque reglage des input
This commit is contained in:
parent
af6feaf913
commit
57b2e432e2
10 changed files with 48 additions and 11 deletions
20
assets/css/src/toggle-light-mode.css
Normal file
20
assets/css/src/toggle-light-mode.css
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.theme-toggler{
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: var(--unit--vertical) var(--unit--horizontal);
|
||||
}
|
||||
.theme-toggler > *{
|
||||
}
|
||||
.theme-toggler-icon {
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
|
||||
background-color: var(--color-primary);
|
||||
|
||||
mask-size: cover;
|
||||
-webkit-mask-size: cover;
|
||||
|
||||
mask: var(--icon-theme-toggler) no-repeat center;
|
||||
-webkit-mask: var(--icon-theme-toggler) no-repeat center;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue