@import "./mpris.scss"; .control-center { /* The Control Center which contains the old notifications + widgets */ background: $background-semitransparent; color: $foreground; border-radius: $border-radius; border-left: 1px solid $foreground; box-shadow: $box-shadow-inner; padding-left: 1rem; padding-right: 1rem; margin: .3rem; margin-right: 8px; } .control-center .control-center-list-placeholder { /* The placeholder when there are no notifications */ opacity: 0.5; } .control-center .control-center-list { /* List of notifications */ background: transparent; } .control-center .control-center-list .notification { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7), 0 2px 6px 2px rgba(0, 0, 0, 0.3); } .control-center .control-center-list .notification .notification-default-action, .control-center .control-center-list .notification .notification-action { transition: opacity 400ms ease-in-out, background 0.15s ease-in-out; } .control-center .control-center-list .notification .notification-default-action:hover, .control-center .control-center-list .notification .notification-action:hover { background-color: $background; } .blank-window { /* Window behind control center and on all other monitors */ background: transparent; } .floating-notifications { background: transparent; } .floating-notifications .notification { box-shadow: none; } $btn-color: $foreground; $btn-border-color: $foreground; $btn-bg: rgba($foreground, 0.2); $btn-bg-hover: transparent; .control-center button { color: $btn-border-color; border: 1px solid transparent; border-radius: $border-radius; background: $btn-bg; } .control-center button:hover { background: $btn-bg-hover; border: 1px solid $btn-color; } $switch-bg: transparent; $switch-handle-bg: $foreground; $switch-border-color: $foreground; $switch-selected-bg: $color2; .control-center switch { font-size: initial; border-radius: $border-radius; background: $switch-bg; border: 1px solid $switch-border-color; box-shadow: none; } .control-center switch:checked { background: $switch-selected-bg; } .control-center switch slider { background: $switch-handle-bg; border-radius: $border-radius; } .widget-title, .widget-dnd { color: $foreground; }