Better style for webpanel switches

This commit is contained in:
Fabio Manganiello 2019-07-08 15:21:13 +02:00
parent b50a52acf2
commit 0a97bb2345
1 changed files with 1 additions and 3 deletions

View File

@ -21,15 +21,13 @@ $head-bg: #e8e8e8;
.device { .device {
display: flex; display: flex;
align-items: center; align-items: center;
border-radius: 2rem;
.toggle { .toggle {
text-align: right; text-align: right;
} }
&:nth-child(odd) { background: rgba(255, 255, 255, 0.0); }
&:nth-child(even) { background: $default-bg-3; }
&:hover { background: $hover-bg; } &:hover { background: $hover-bg; }
&:not(:last-child) { border-bottom: $default-border-2; }
} }
} }
} }