Files
colorshell/ags/style/_control-center.scss
T
2025-04-10 16:34:06 -03:00

209 lines
3.3 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;
}
}
}
box.history {
margin-top: 10px;
background: colors.$bg-translucent;
border-radius: 24px;
padding: 20px 14px;
transition: 120ms linear;
&.hide {
opacity: 0;
}
& .notifications {
& .notification {
background: colors.$bg-primary;
}
}
& > .button-row {
margin-top: 12px;
& button {
padding: 6px;
& label.nf {
font-size: 16px;
}
& label:not(.nf) {
font-size: 12px;
font-weight: 600;
}
}
}
}
.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;
& > .icon {
margin-right: 6px;
}
& > .text {
& > .title {
font-weight: 600;
font-size: 15.1px;
}
& > .description {
font-size: 12px;
color: colors.$fg-disabled;
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);
}
}
}
}
}
}
.pages > .page {
background: colors.$bg-secondary;
padding: 14px;
border-radius: 24px;
& .header {
margin-bottom: 12px;
& > .title:first-child {
font-size: 20px;
font-weight: 600;
}
& > .description {
font-size: 12px;
font-weight: 500;
color: colors.$fg-disabled;
}
& button label {
font-size: 14px;
}
}
& .sub-header {
font-size: 14px;
font-weight: 500;
margin-bottom: 6px;
}
& button {
@include mixins.hover-shadow;
padding: 6px;
border-radius: 12px;
}
&.bluetooth {
button.connected {
background: colors.$bg-tertiary;
}
&.paired {
margin-bottom: 20px;
}
}
}