forked from platypush/platypush
37 lines
805 B
SCSS
37 lines
805 B
SCSS
@import 'common/vars';
|
|
|
|
$head-bg: #e8e8e8;
|
|
|
|
.switches-root {
|
|
.switch-root {
|
|
.head {
|
|
padding: 1rem .5rem;
|
|
background: $head-bg;
|
|
border-top: $default-border-2;
|
|
border-bottom: $default-border-2;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.switches {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.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; }
|
|
}
|
|
}
|
|
}
|
|
|