/* * vim: ft=less */ @define-color cc-bg rgba(240, 240, 255, 0.60); @define-color noti-border-color rgba(0, 0, 70, 0.95); @define-color noti-bg rgba(250, 250, 255, 0.40); @define-color noti-bg-opaque rgba(240, 240, 255, 0.60); @define-color noti-bg-darker rgba(250, 250, 225, 0.90); @define-color noti-bg-hover rgba(230, 230, 255, 0.80); @define-color noti-bg-hover-opaque rgba(220, 220, 250, 0.90); @define-color noti-bg-focus rgba(0, 0, 255, 0.90); @define-color noti-close-bg rgba(100, 100, 170, 0.80); @define-color noti-close-bg-hover rgba(0, 0, 70, 0.95); @define-color text-color rgb(0, 0, 70); @define-color text-color-disabled rgb(50, 50, 120); @define-color bg-selected rgb(0, 0, 70); @define-color bg-mpris rgba(255, 255, 255, 0.10); .notification-row { transition: all 100ms ease; outline: none; margin-bottom: 1px; border-radius: 5px; } .control-center .notification-row:focus, .control-center .notification-row:hover { opacity: 0.5; background: transparent; } .notification-row:focus .notification, .notification-row:hover .notification { box-shadow: @noti-bg-opaque; /* box-shadow: 0px 1px 3px 3px @bg-selected; */ } .control-center .notification { box-shadow: @noti-bg-opaque; /*none;*/ } .control-center .notification-row { opacity: 0.8; } .notification { transition: all 200ms ease; border-radius: 5px; margin: 1px 1px; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); padding: 0; } /* Uncomment to enable specific urgency colors .low { background: rgba(250, 250, 255, 0.7); padding: 6px; border-radius: 12px; } .normal { background: rgba(240, 240, 255, 0.8); padding: 6px; border-radius: 12px; }*/ .critical { background: rgba(180, 180, 230, 0.90); padding: 6px; border-radius: 12px; } .notification-content { background: transparent; padding: 2px; border-radius: 5px; } .close-button { background: @noti-close-bg; color: rgba(240, 240, 240, 1.0); text-shadow: none; padding: 0; border-radius: 100%; margin-top: 10px; margin-right: 10px; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); border: none; min-width: 24px; min-height: 24px; } .close-button:hover { box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); background: @noti-close-bg-hover; transition: all 0.15s ease-in-out; border: none; } .notification-default-action, .notification-action { padding: 4px; margin: 0; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); background: @noti-bg; border: 1px solid @noti-border-color; color: rgba(200, 200, 240, 1.0); } .notification-default-action:hover, .notification-action:hover { -gtk-icon-effect: dim; background: @noti-bg-hover; } .notification-default-action { border-radius: 5px; } /* When alternative actions are visible */ .notification-default-action:not(:only-child) { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .notification-action { border-radius: 0px; border-top: none; border-right: none; } /* add bottom border radius to eliminate clipping */ .notification-action:first-child { border-bottom-left-radius: 5px; } .notification-action:last-child { border-bottom-right-radius: 5px; border-right: 1px solid @noti-border-color; } .image { } .body-image { margin-top: 5px; background-color: white; border-radius: 5px; } .summary { font-size: 1.2rem; font-weight: bold; background: transparent; color: rgba(0, 0, 70, 1.0); text-shadow: none; } .time { font-size: 1.1rem; font-weight: bold; background: transparent; color: rgba(70, 70, 140, 1.0); text-shadow: none; margin-right: 5px; } .body { font-size: 0.9rem; font-weight: normal; background: transparent; color: rgba(0, 0, 70, 1.0); text-shadow: none; } /* The "Notifications" and "Do Not Disturb" text widget */ .top-action-title { color: rgba(0, 0, 70, 1.0); text-shadow: none; } .control-center-clear-all { color: rgba(0, 0, 70, 0.95); text-shadow: none; background: @noti-bg; border: 1px solid @noti-border-color; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); border-radius: 5px; } .control-center-clear-all:hover { background: @noti-bg-hover; } .control-center-dnd { border-radius: 5px; background: @noti-bg; border: 1px solid @noti-border-color; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); } .control-center-dnd:checked { background: @bg-selected; } .control-center-dnd slider { background: @noti-bg-hover; border-radius: 5px; } .control-center { background: @cc-bg; border-radius: 5px; background-clip: border-box; padding: 4px; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); } .control-center-list { background: transparent; } .floating-notifications { background: transparent; } /* Window behind control center and on all other monitors */ .blank-window { background: transparent; } /*** Widgets ***/ /* Title widget */ .widget-title { margin: 8px; font-size: 1.2rem; } .widget-title > button { font-size: 1.0rem; color: rgba(0, 0, 70, 0.9); text-shadow: none; background: @noti-bg; border: 2px solid @noti-border-color; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); border-radius: 5px; } .widget-title > button:hover { background: @noti-bg-hover; } /* DND widget */ .widget-dnd { margin: 8px; font-size: 1.2rem; } .widget-dnd > switch { font-size: 1.8rem; border-radius: 5px; background: @noti-bg; border: 2px solid @noti-border-color; box-shadow: 0 0 0 1px rgba(100, 100, 140, 0.5), 0 1px 3px 1px rgba(100, 100, 140, 0.80), 0 2px 6px 2px rgba(100, 100, 140, 0.9); } .widget-dnd > switch:checked { background: @bg-selected; } .widget-dnd > switch slider { background: @noti-bg-hover; border-radius: 3px; } /* Label widget */ .widget-label { margin: 8px; } .widget-label > label { font-size: 1.2rem; } /* Mpris widget */ .widget-mpris { /* The parent to all players */ } .widget-mpris-player { padding: 8px; margin: 5px; background-color: @bg-mpris; border-radius: 5px; } .widget-mpris-title { font-weight: bold; font-size: 1.0rem; } .widget-mpris-subtitle { font-size: 0.9rem; } /* Volume and Brightness Widget */ .widget-volume { background-color: @noti-bg; padding: 8px 8px 8px 8px; margin: 0px 0px 0px 0px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .widget-backlight { background-color: @noti-bg; padding: 8px 8px 8px 8px; margin: 0px 0px 0px 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; } .power-buttons{ background-color: transparent; padding: 8px; margin: 8px; border-radius: 12px; } .power-buttons>button { background: transparent; border: none; } .power-buttons>button:hover { background: rgba(200, 200, 240, 0.3); } .widget-menubar>box>.menu-button-bar>button{ border: 2px; background: @cc-bg; } .topbar-buttons>button{ border: none; background: transparent; } .widget-buttons-grid{ padding: 8px; margin: 8px; border-radius: 5px; background-color: @noti-bg; } .widget-buttons-grid>flowbox>flowboxchild>button{ background: @noti-bg; border-radius: 5px; } .widget-buttons-grid>flowbox>flowboxchild>button:hover { background: @noti-bg-hover; } .powermode-buttons{ background-color: @noti-bg; padding: 8px; margin: 8px; border-radius: 5px; } .powermode-buttons>button { background: transparent; border: none; } .powermode-buttons>button:hover { background: @noti-bg-hover; }