Files
colorshell/eww/styles/control-center.scss
T

169 lines
3.9 KiB
SCSS

box.cc {
margin-top: 8px;
margin-bottom: 14px;
margin-left: 14px;
background: rgba($background, .85);
border-top-left-radius: 24px;
border-bottom-left-radius: 24px;
padding: 18px;
box-shadow: 0 5 8px 1px black;
}
.top-bar {
margin-bottom: 15px;
& label {
&.hostname {
font-size: 13.3px;
font-weight: 700;
border-bottom: .5px solid rgba(darken($color: $foreground, $amount: 15), .5);
padding-bottom: 4px;
}
&.uptime {
font-size: 11.7px;
font-weight: 500;
}
}
.button-row {
margin: 7px 0;
}
.wallpaper {
padding-left: 9px;
padding-right: 12px;
}
.screenshot {
padding-left: 9px;
padding-right: 12px;
}
.color-picker {
padding-right: 11px;
}
.powermenu {
padding-right: 11px;
}
}
.cc-notifications {
& > .vertical-scroll {
.notifications {
box.notification {
background: darken($color: $color1, $amount: 10);
border-radius: 16px;
margin: 4px 0;
& > .top {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
background: darken($color: $color1, $amount: 7);
border-bottom: .5px solid rgba(darken($color: $foreground, $amount: 15), .3);
padding: 5px 6px;
& > .app-info {
& .app-icon {
margin-right: 4px;
}
font-weight: 600;
}
}
& .content {
padding: 8px;
padding-top: 0px;
& > .image {
border-radius: 16px;
margin-right: 6px;
margin-top: 6px;
background-size: cover;
background-repeat: no-repeat;
background-position: center 0;
}
& .text {
& label {
font-family: "Cantarell", "Noto Sans CJK JP", "Noto Sans CJK KR";
}
& label.summary {
font-weight: 600;
font-size: 18px;
margin-top: 6px;
}
& label.body {
font-size: 13.1px;
margin-bottom: 2px;
}
}
}
}
}
}
& .bottom {
margin-top: 4px;
&.button-row {
& button.do-not-disturb {
padding-right: 12px;
}
}
}
}
.toggles {
margin-bottom: 10px;
& > .toggle-checkbox:first-child {
margin-left: 0;
}
& > .toggle-checkbox:last-child {
margin-right: 0;
}
& .toggle-checkbox {
margin: 2px;
&:hover {
& > box {
background: darken($color: $color2, $amount: 15);
}
}
&:checked {
& > box {
background: darken($color: $color3, $amount: 12);
}
}
& > *:not(box) {
color: transparent;
}
& > .toggle {
background: darken($color: $foreground, $amount: 65);
border-radius: 16px;
padding: 16px;
margin-left: -16px; // This covers the checkbox space, hiding the check thing
.icon {
font-size: 14px;
padding-right: 5px;
}
.label {
font-size: 12px;
font-weight: 600;
}
}
}
}