Better style for webpanel switches
This commit is contained in:
parent
b50a52acf2
commit
0a97bb2345
1 changed files with 1 additions and 3 deletions
|
@ -21,15 +21,13 @@ $head-bg: #e8e8e8;
|
|||
.device {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 2rem;
|
||||
|
||||
.toggle {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
&:nth-child(odd) { background: rgba(255, 255, 255, 0.0); }
|
||||
&:nth-child(even) { background: $default-bg-3; }
|
||||
&:hover { background: $hover-bg; }
|
||||
&:not(:last-child) { border-bottom: $default-border-2; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue