Better style for webpanel switches

This commit is contained in:
Fabio Manganiello 2019-07-08 15:21:13 +02:00
parent b50a52acf2
commit 0a97bb2345

View file

@ -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; }
}
}
}