126 lines
2.1 KiB
SCSS
126 lines
2.1 KiB
SCSS
@use "sass:color";
|
|
@use "./wal";
|
|
@use "./colors";
|
|
@use "./functions" as funs;
|
|
@use "./mixins";
|
|
|
|
.control-center-container {
|
|
@include mixins.reset-props;
|
|
@include mixins.default-styles;
|
|
|
|
background: colors.$bg-translucent;
|
|
border-radius: 24px;
|
|
padding: 20px 14px;
|
|
|
|
& > box {
|
|
margin: 9px;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
& .quickactions {
|
|
& .hostname {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
& .uptime {
|
|
font-size: 12px;
|
|
}
|
|
|
|
& .button-row {
|
|
& button {
|
|
padding: 7px;
|
|
margin: {
|
|
top: 2px;
|
|
bottom: 2px;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
& .sliders {
|
|
padding: 2px 6px;
|
|
|
|
& > box {
|
|
margin: 8px 0;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.icon.nf {
|
|
margin-right: 8px;
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tiles-container {
|
|
@include mixins.reset-props;
|
|
|
|
& > flowbox {
|
|
& > flowboxchild .tile-eventbox {
|
|
&:hover:not(.toggled) > .tile {
|
|
background: colors.$bg-secondary;
|
|
}
|
|
|
|
&.toggled:hover > .tile {
|
|
box-shadow: inset 0 0 0 100px rgba($color: colors.$fg-primary, $alpha: .2);
|
|
}
|
|
|
|
&.toggled > .tile {
|
|
background: colors.$bg-secondary;
|
|
}
|
|
|
|
& > .tile {
|
|
background: colors.$bg-primary;
|
|
border-radius: 16px;
|
|
|
|
& > .content {
|
|
padding: 8px;
|
|
padding-right: 0;
|
|
& > .icon {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
& > .text {
|
|
& > .title {
|
|
font-weight: 600;
|
|
font-size: 15.1px;
|
|
}
|
|
|
|
& > .description {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
|
|
& > .more {
|
|
border-top-right-radius: inherit;
|
|
border-bottom-right-radius: inherit;
|
|
|
|
& label {
|
|
font-size: 16px;
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: inset 0 0 0 100px rgba($color: colors.$fg-disabled, $alpha: .4);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|