/* the orinal source: https://gist.github.com/Kvn0l/4f0470ef312e4c74284755259a8d41f5 */ @define-color noti-border-color #33b1ff; @define-color noti-bg rgba(16, 16, 16, 0.8); @define-color noti-bg-hover-alt #33b1ff; @define-color noti-bg-alt rgba(16, 16, 16, 0.8); @define-color noti-fg #FFFFFF; @define-color noti-bg-hover #161616; @define-color noti-bg-focus rgba(16, 16, 16, 0.8); @define-color noti-close-bg rgba(16, 16, 16, 0.8); @define-color noti-close-bg-hover #161616; @define-color noti-urgent rgba(209, 69, 72, 0.8); @define-color bg-selected #33b1ff; *{ font-family: FontAwesome, "FiraSans Book"; color: @noti-fg; border-radius: 8px; border: none; } .notification-row { outline: none; } .notification-row:focus { background: transparent; } .notification { border: 1px solid @noti-border-color; border-radius: 8px; margin: 6px 12px; box-shadow: none; padding: 0; } /* Uncomment to enable specific urgency colors */ /* .low { background: yellow; } .normal { background: green; } */ .critical { border: 1px solid @noti-urgent; } .notification-content { background: transparent; padding: 6px; border: none; border-radius: 8px; } .close-button { background: @noti-close-bg; color: white; text-shadow: none; padding: 0; border-radius: 100%; margin-top: 10px; margin-right: 16px; box-shadow: none; border: none; min-width: 24px; min-height: 24px; } .close-button:hover { box-shadow: none; 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: none; background: @noti-bg; color: @noti-fg; } .notification-default-action:hover, .notification-action:hover { -gtk-icon-effect: none; background: @noti-bg-alt; } /* 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: 8px; } .notification-action:last-child { border-bottom-right-radius: 8px; } .image {} .body-image { margin-top: 6px; background-color: @noti-fg; border-radius: 6px; } .summary { font-size: 14px; font-weight: bold; background: transparent; color: @noti-fg; text-shadow: none; } .time { font-size: 13px; font-weight: bold; background: transparent; color: @noti-fg; text-shadow: none; margin-right: 18px; } .body { font-size: 12px; font-weight: normal; background: transparent; color: @noti-fg; text-shadow: none; } /* The "Notifications" and "Do Not Disturb" text widget */ .top-action-title { color: @noti-fg; text-shadow: none; } .control-center { background-color: @noti-bg-alt; border-radius: 12px; border: 1px solid @bg-selected; } .control-center-list { background: transparent; } .floating-notifications { background: transparent; border-radius: 8px; } /* Window behind control center and on all other monitors */ .blank-window { background: transparent; } /*** Widgets ***/ /* Title widget */ .widget-title { margin: 8px; font-size: 16px; } .widget-title>button { font-size: initial; color: @noti-fg; text-shadow: none; background: @noti-bg; border: 1px solid @noti-border-color; box-shadow: none; border-radius: 8px; } .widget-title>button:hover { background: @noti-bg-hover; } /* DND widget */ .widget-dnd { margin: 8px; font-size: 1.1rem; } .widget-dnd>switch { font-size: initial; border-radius: 4px; background: @noti-bg; border: 1px solid @noti-border-color; box-shadow: none; } .widget-dnd>switch:checked { background: @bg-selected; } .widget-dnd>switch slider { background: @noti-bg-hover; border-radius: 4px; } /* Label widget */ .widget-label { margin: 4px 8px 8px; } .widget-label>label { font-size: 16px; } /* Mpris widget */ .widget-mpris { /* The parent to all players */ } .widget-mpris-player { padding: 8px; margin: 8px; } .widget-mpris-title { font-weight: bold; font-size: 1.25rem; } .widget-mpris-subtitle { font-size: 1.1rem; } /* Volume and Brightness Widget*/ .widget-volume { background-color: @noti-bg; padding: 4px 4px 4px 20px; margin: 0px 8px 8px 8px; font-size: 14px; border-radius: 0 0 8px 8px; } .widget-backlight { background-color: @noti-bg; padding: 4px 4px 4px 20px; margin: 0px 8px 0px 8px; border-radius: 0px; font-size: 14px; } .widget-menubar>box{ padding: 8px 0px 4px; margin: 0px 8px; border-radius: 8px 8px 0px 0px; background-color: @noti-bg; } .widget-menubar>box>.menu-button-bar>button{ border: 1px solid @noti-border-color; background: @noti-bg; border-radius: 4px; margin: 4px 12px; } .widget-buttons-grid{ padding: 0px 8px 8px; margin: 0px 8px 8px; border-radius: 0px 0px 4px 4px; background-color: @noti-bg; font-size: 14px; } .widget-buttons-grid>flowbox>flowboxchild>button{ background: @noti-bg; border-radius: 4px; } .widget-buttons-grid>flowbox>flowboxchild>button:hover { background: @noti-bg-hover; } .app-launcher, .power-buttons { border-radius: 4px; } .app-launcher>button, .power-buttons>button{ background: transparent; padding: 2px 0px; margin: 5px 70px 3px; border: 1px solid @noti-border-color; } .screenshot-buttons>button:hover, .screencast-buttons>button:hover, .powermode-buttons>button:hover, .power-buttons>button:hover{ background: @noti-bg-hover; }