Files
colorshell/swaync/_control-center.css
T

279 lines
5.5 KiB
CSS

/* Control Center Notifications */
.control-center .notification-row .notification-background .notification {
border-radius: 18px;
background-color: shade(@color1, .7);
border: .15em solid shade(@color1, .85);
padding: 10px;
margin-bottom: 11px;
}
.control-center .notification-row .notification-background .notification:first-child {
margin-top: 8px;
}
.control-center .notification-row .notification-background .notification:last-child {
margin-bottom: 0;
}
.control-center .notification-row .notification-background .notification.critical {
box-shadow: inset 0 0 0px 2px @color1;
border: none;
}
.control-center .notification-row .notification-background .notification .notification-content {
margin: 8px;
font-family: "Cantarell", "Noto Sans CJK"
}
.control-center .notification-row .notification-background .notification .notification-content .summary {
font-family: "Cantarell", "Noto Sans CJK";
color: @foreground;
font-size: 1.2em;
font-weight: 600;
}
.control-center .notification-row .notification-background .notification .notification-content .time {
color: @foreground;
}
.control-center .notification-row .notification-background .notification .notification-content .body {
color: @foreground;
}
.control-center .notification-row .notification-background .notification .image {
box-shadow: 0 0 3px 0 black;
}
.control-center .notification-row .notification-background .notification > *:last-child > * {
min-height: 3.4em;
}
.control-center .notification-row .close-button {
margin-top: 12px;
margin-right: 2px;
border-radius: 6px;
padding: 1px;
background: @color1;
}
/* Control Center stuff */
.control-center {
box-shadow: 0 2 10px 1px black;
border-radius: 16px;
margin: 14px;
background: @background;
color: @text;
padding: 28px;
}
.widget-title > label {
color: @foreground;
font-size: 1.6em;
font-weight: 600;
margin-bottom: 10px;
}
.widget-title button {
border-radius: 8px;
background: @bg-button;
padding: 6px 8px;
}
.widget-title button:hover {
background-color: @hover;
}
.widget-title button:active {
background-color: @active;
}
.widget-title button label {
color: @foreground;
font-weight: 600;
}
.widget-label {
padding: .2rem;
}
.widget-label > label {
color: @foreground;
font-weight: 600;
font-size: 1.6em;
}
.widget-dnd {
margin: 0px;
font-size: 1.1rem;
}
.widget-dnd > switch {
font-size: 8px;
border-radius: 16px;
background: @background;
box-shadow: inset 0 0 0 1px gray;
}
.widget-dnd > switch slider {
background: @highlight;
border-radius: 16px;
margin: -2px;
}
/* MPRIS */
.widget-mpris {
padding: 0px 0px;
box-shadow: none;
}
.widget-mpris .widget-mpris-player {
box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .3);
padding: 24px;
background-color: transparent;
padding-bottom: 16px;
border-radius: 16px;
outline: none;
padding: 18px;
border: none;
margin: 0 0 0 0;
}
/* mpris controls */
.widget-mpris .widget-mpris-player > *:last-child > button {
border-radius: 8px;
}
.widget-mpris .widget-mpris-player > *:last-child > button:hover {
background: @hover;
}
.widget-mpris .widget-mpris-player > *:last-child > button:active {
background: @active;
}
.widget-mpris > box > button {
box-shadow: none;
}
.widget-mpris .image {
padding-right: 0.5rem;
border-radius: 16px;
}
.widget-mpris .widget-mpris-title {
font-family: "Cantarell", "Noto Sans";
font-weight: 700;
font-size: 1.2rem;
text-shadow: 1px 1px 2px black;
}
.widget-mpris .widget-mpris-subtitle {
font-size: 0.8rem;
text-shadow: 1px 1px 2px black;
}
.widget-menubar > box > .menu-button-bar > button > label {
font-size: 3rem;
padding: 0.5rem 2rem;
}
.widget-menubar > box > .menu-button-bar > :last-child {
color: #f38ba8;
}
.widget-buttons-grid {
margin-top: 2px;
}
.widget-buttons-grid button {
background: @bg-button;
padding: 14px 12px;
border-radius: 16px;
margin: 2px;
}
.widget-buttons-grid button:hover {
background: @hover;
}
.widget-buttons-grid button:active {
background: @active;
}
.widget-buttons-grid button:checked {
background: @color2;
}
.widget-buttons-grid button label {
font-size: 1em;
color: @foreground;
font-weight: 600;
}
.horizontal trough { /* slider's background */
background-color: shade(@color1, .4);
margin: 0 4px;
border-radius: 16px;
padding: 4px;
}
.horizontal trough slider { /* slider's dot indicator */
background: @foreground;
box-shadow: inset 0 0 1px .5px @background-alt;
min-width: 24px;
min-height: 24px;
margin: -4px;
border-radius: 50%;
}
.horizontal trough slider:active {
background: shade(@foreground, .75);
}
.horizontal trough highlight {
border-top-left-radius: 14px;
border-bottom-left-radius: 14px;
background: shade(@highlight, .9);
}
.widget-volume {
margin-top: 1rem;
margin-bottom: 0.8rem;
}
.widget-volume label {
font-size: 1.5rem;
color: @text;
margin-left: 5px;
margin-right: 6px;
}
.widget-volume .per-app-volume {
margin-top: 4px;
padding: 6px;
border-radius: 6px;
background: shade(@background, .6);
}
.widget-volume .per-app-volume > * {
margin-bottom: 6px;
}
.widget-volume .per-app-volume > *:last-child {
margin-bottom: 0;
}
.widget-backlight {
margin-bottom: 1rem;
}
.widget-backlight label {
font-size: 1.5rem;
margin-left: 7px;
margin-right: 3px;
color: @text;
}