@import url("/home/spacerat/.cache/wal/colors-waybar.css");

@define-color cc-bg rgba(22, 23, 27, 0.30);
@define-color cc-border alpha(@color6, 0.50);
@define-color noti-border-color rgba(55, 55, 55, 1);
@define-color noti-bg alpha(@color6, 0.30);
@define-color noti-bg-opaque rgb(48, 48, 48);
@define-color noti-bg-darker rgb(38, 38, 38);
@define-color noti-bg-hover alpha(@color6, 0.85);
@define-color noti-bg-hover-opaque rgb(61, 70, 104);
@define-color noti-bg-focus rgba(68, 68, 68, 0.6);
@define-color noti-close-bg rgba(16, 16, 16, 0.27);
@define-color noti-close-bg-hover rgba(16, 16, 16, 0.27);
@define-color text-color @foreground;
@define-color text-color-disabled rgb(150, 150, 150);
@define-color bg-selected rgb(0, 128, 255);
.notification-row {
  outline: none;
}

* {
  font-family: JetBrainsMonoNerdFont, NotoFontsEmoji;
}

.notification-row:focus, .notification-row:hover {
}

.notification-row .notification-background {
  padding: 6px 12px;
}

.notification-row .notification-background .close-button {
  /* The notification Close Button */
  background: alpha(@background, 1);
  color: @text-color;
  text-shadow: none;
  padding: 0;
  border-radius: 100%;
  margin-top: 5px;
  margin-right: 5px;
  box-shadow: none;
  min-width: 24px;
  min-height: 24px;
}

.notification-row .notification-background .close-button:hover {
  background: @foreground;
  color: @background;
  transition: background 0.15s ease-in-out;
}

.notification-row .notification-background .notification {
  /* The actual notification */
  border-radius: 0px;
  background: alpha(@background, 0.80);
  border: 1.0px solid alpha(@color6, 1);
  padding: 0px;
  transition: all 1s fade-in
}

.notification-row .notification-background .notification.low {
  /* Low Priority Notification */
}

.notification-row .notification-background .notification.normal {
  /* Normal Priority Notification */
}

.notification-row .notification-background .notification.critical {
  /* Critical Priority Notification */
}

.notification-row .notification-background .notification .notification-action, .notification-row .notification-background .notification .notification-default-action {
  padding: 4px;
  margin: 0;
  box-shadow: none;
  background: transparent;
  border: none;
  color: @text-color;
  transition: background 0.15s ease-in-out;
}

/* NOTI HOVER */
.notification-row .notification-background .notification .notification-action:hover, .notification-row .notification-background .notification .notification-default-action:hover {
  background: @noti-bg-hover;
  border-color: @color1;
  border-radius: 0px;
}

.notification-row .notification-background .notification .notification-default-action {
  /* The large action that also displays the notification summary and body */
}

.notification-row .notification-background .notification .notification-default-action:not(:only-child) {
  /* When alternative actions are visible */
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content {
  background: transparent;
  padding: 4px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .image {
  /* Notification Primary Image */
  -gtk-icon-effect: none;
  /*border-radius: 100px;*/
  /* Size in px */
  margin: 4px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .app-icon {
  /* Notification app icon (only visible when the primary image is set) */
  -gtk-icon-effect: none;
  -gtk-icon-shadow: 0 1px 4px black;
  margin: 6px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .summary {
  /* Notification summary/title */
  font-size: 16px;
  font-weight: normal;
  background: transparent;
  color: @text-color;
  text-shadow: none;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .time {
  /* Notification time-ago */
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  color: @text-color;
  margin-left: 10px;
  margin-right: 10px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .body {
  /* Notification body */
  font-size: 15px;
  font-weight: normal;
  background: transparent;
  color: @text-color;
  text-shadow: none;
}

.notification-row .notification-background .notification .notification-default-action .notification-content progressbar {
  /* The optional notification progress bar */
  margin-top: 4px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .body-image {
  /* The "extra" optional bottom notification image */
  margin-top: 4px;
  background-color: white;
  border-radius: 12px;
  -gtk-icon-effect: none;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply {
  /* The inline reply section */
  margin-top: 4px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-entry {
  background: @noti-bg-darker;
  color: @text-color;
  caret-color: @text-color;
  border: 1px solid @noti-border-color;
  border-radius: 12px;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-button {
  margin-left: 4px;
  background: @noti-bg;
  border: 1px solid @noti-border-color;
  border-radius: 12px;
  color: @text-color;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-button:disabled {
  background: initial;
  color: @text-color-disabled;
  border: 1px solid @noti-border-color;
  border-color: transparent;
}

.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-button:hover {
  background: @noti-bg-hover;
}

.notification-row .notification-background .notification .notification-action {
  /* The alternative actions below the default action */
  border-top: 1px solid @noti-border-color;
  border-radius: 0px;
  border-right: 1px solid @noti-border-color;
}

.notification-row .notification-background .notification .notification-action:first-child {
  /* add bottom border radius to eliminate clipping */
  border-bottom-left-radius: 12px;
}

.notification-row .notification-background .notification .notification-action:last-child {
  border-bottom-right-radius: 12px;
  border-right: none;
}

.notification-group {
  /* Styling only for Grouped Notifications */
}

.notification-group.low {
  /* Low Priority Group */
}

.notification-group.normal {
  /* Low Priority Group */
}

.notification-group.critical {
  /* Low Priority Group */
}

.notification-group .notification-group-buttons, .notification-group .notification-group-headers {
  margin: 0 16px;
  color: @text-color;
}

.notification-group .notification-group-headers {
  /* Notification Group Headers */
}

.notification-group .notification-group-headers .notification-group-icon {
  color: @text-color;
}

.notification-group .notification-group-headers .notification-group-header {
  color: @text-color;
}

.notification-group .notification-group-buttons {
  /* Notification Group Buttons */
}

.notification-group.collapsed .notification-row .notification {
  background: @background
}

.notification-group.collapsed .notification-row:not(:last-child) {
  /* Top notification in stack */
  /* Set lower stacked notifications opacity to 0 */
}

.notification-group.collapsed .notification-row:not(:last-child) .notification-action,
.notification-group.collapsed .notification-row:not(:last-child) .notification-default-action {
  opacity: 0;
}

.notification-group.collapsed:hover .notification-row:not(:only-child) .notification {
  background-color: @noti-bg-hover;
}

.control-center {
  /* The Control Center which contains the old notifications + widgets */
  border: 1px solid @cc-border;
  color: @text-color;
  background: alpha(@background, 0.85);
  border-radius: 0px;
}

.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: @noti-bg-hover;
}

.blank-window {
  /* Window behind control center and on all other monitors */
  background: transparent;
}

.floating-notifications {
  background: transparent;
}

.floating-notifications .notification {
  box-shadow: none;
}

/*** Widgets ***/
/* Title widget */
.widget-title {
  color: @text-color;
  margin: 8px;
  font-size: 1.3rem;
}

.widget-title > button { /*  CLEAR ALL */
  padding: 5px 15px 5px;
  color: @text-color;
  background: alpha(@color2, 1);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.widget-title > button:hover {
  background: alpha(@color6, 1);
  color: @background;
  transition: all .3s ease;
}

/* DND widget */
.widget-dnd {
  color: @text-color;
  margin: 12px;
  margin: 11px 0 0;
  font-size: 1rem;
}

.widget-dnd > switch {
  padding: 3px;
  font-size: initial;
  border-radius: 4px;
  border: 0px solid @transparent;
  background: alpha(@color6, 0.15);

}

.widget-dnd > switch:checked {
  background: alpha(@color2, 1);
}

.widget-dnd > switch:checked slider {
  background: alpha(@background, 0.80);
}

.widget-dnd > switch slider {
  background: alpha(@color2, 1);
  border: 3px solid transparent;
  border-radius: 4px;
  min-width: 18px;
  min-height: 18px;
}

/* Label widget */
.widget-label {
  margin: 8px;
}

.widget-label > label {
  font-size: 1.1rem;
}

/* Mpris widget */
.widget-mpris {
  /* The parent to all players */
  background: alpha(@background, 1);
  border: 2.5px solid alpha(@color6, 0.15);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.60);
  border-radius: 4px;
  margin: 10px 20px 10px 20px;
}

.widget-mpris .widget-mpris-player {
  color: @text;
  margin: 0 5px;
  background-color: @background;
  /*background-color: @mpris-album-art-overlay;*/
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.60);
}

.widget-mpris .widget-mpris-player button:hover {
  /* The media player buttons (play, pause, next, etc...) */
  background: @noti-bg-hover;
}

.widget-mpris .widget-mpris-player .widget-mpris-album-art {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
}

.widget-mpris .widget-mpris-player .widget-mpris-title {
  font-weight: bold;
  font-size: 1.15rem;
}

.widget-mpris .widget-mpris-player .widget-mpris-subtitle {
  font-size: 1.1rem;
}

.widget-mpris .widget-mpris-player > box > button {
  /* Change player control buttons */
  color: @text-color;
  text-shadow: 0px 0px 1px alpha(@background, 0.55)
}

.widget-mpris .widget-mpris-player > box > button:hover {
  background-color: @noti-bg-hover;
  box-shadow: 0px 0px 2px alpha(@background, 0.70)
}

.widget-mpris > box > button {
  /* Change player side buttons */
}

.widget-mpris > box > button:hover {
  background: transparent;
}

.widget-mpris > box > button:disabled {
  /* Change player side buttons insensitive */
}

/* Buttons widget */
.widget-buttons-grid {
  font-size: 1.3rem;
  padding: 0px;
  margin: 20px;
  border: 1.5px solid alpha(@color6, 0.50);
  border-radius: 4px;
  background: alpha(@background, 0.90);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.60);
}

.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked:hover,
.widget-buttons-grid > flowbox > flowboxchild > button {
  min-height: 35px;
  min-width: 35px;
  border: 0px transparent;
  background: transparent;
  color: @text-color;
  box-shadow: none;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.30);
}


.widget-buttons-grid > flowbox > flowboxchild > button:hover,
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked {
  border: 0px solid @noti-bg-hover;
  border-radius: 8px;
  background: @noti-bg-hover;
}

/* Menubar widget */
.widget-menubar > box > .menu-button-bar > button {
  border: none;
  background: transparent;
}

.topbar-buttons > button {
  /* Name defined in config after # */
  border: none;
  background: transparent;
}

/* Volume widget */
.widget-volume {
  background: linear-gradient(
    180deg,
    alpha(@color6, 0.10) 50%,
    alpha(@color6, 0.12)
    );
  font-size: 35;
  padding: 0px;
  margin: 10px;
  margin-right: 20px;
  margin-left: 20px;
  border-radius: 7px;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.30);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.30);
  border: 1.5px solid alpha(@color6, 0.15);
}

.widget-volume > box > button {
  background: transparent;
  border: none;
  color: @text-color;
}

.per-app-volume {
  background-color: @noti-bg-alt;
  padding: 4px 8px 8px 8px;
  margin: 0px 8px 8px 8px;
  border-radius: 12px;
}

/* Backlight widget */
.widget-backlight {
  background-color: @noti-bg;
  padding: 8px;
  margin: 8px;
  border-radius: 12px;
}

/* Inhibitors widget */
.widget-inhibitors {
  margin: 8px;
  font-size: 1.5rem;
}

.widget-inhibitors > button {
  font-size: initial;
  color: @text-color;
  text-shadow: none;
  background: @noti-bg;
  border: 1px solid @noti-border-color;
  box-shadow: none;
  border-radius: 12px;
}

.widget-inhibitors > button:hover {
  background: @noti-bg-hover;
}

.notification-group-collapse-button,
.notification-group-close-all-button {
  background: alpha(@color6, 0.15);
  color: alpha(@text-color, 0.80);
  box-shadow: none;
  text-shadow: none
}

.notification-group-collapse-button:hover,
.notification-group-close-all-button:hover {
  background: @noti-bg-hover;
  color: @foreground;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}
