mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
made global less styles
This commit is contained in:
parent
c2f42ea721
commit
4e18eba558
15 changed files with 2846 additions and 2799 deletions
|
@ -1,32 +1,34 @@
|
|||
.switch {
|
||||
height: 1em;
|
||||
width: 2em;
|
||||
border-radius: 0.5em;
|
||||
box-shadow: inset white 0 0 0 0.1em;
|
||||
display: inline-flex;
|
||||
vertical-align: text-top;
|
||||
position: relative;
|
||||
top: 0.05em;
|
||||
transition: all 500ms;
|
||||
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
left: 0.2em;
|
||||
top: 0.2em;
|
||||
width: 0.6em;
|
||||
height: 0.6em;
|
||||
border-radius: 0.3em;
|
||||
background: white;
|
||||
:global {
|
||||
.switch {
|
||||
height: 1em;
|
||||
width: 2em;
|
||||
border-radius: 0.5em;
|
||||
box-shadow: inset white 0 0 0 0.1em;
|
||||
display: inline-flex;
|
||||
vertical-align: text-top;
|
||||
position: relative;
|
||||
top: 0.05em;
|
||||
transition: all 500ms;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: white;
|
||||
|
||||
&::after {
|
||||
left: 1.2em;
|
||||
background: #333333;
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
left: 0.2em;
|
||||
top: 0.2em;
|
||||
width: 0.6em;
|
||||
height: 0.6em;
|
||||
border-radius: 0.3em;
|
||||
background: white;
|
||||
transition: all 500ms;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: white;
|
||||
|
||||
&::after {
|
||||
left: 1.2em;
|
||||
background: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue