/* !!!!!!! Shamelessly stolen from Niksingh710 */
/* https://github.com/niksingh710/gdots/blob/d97c544a9d73a34d12770ba20b6b80d14e964aa1/.config/waybar/style.css */
@define-color fuji-white #DCD7BA;
@define-color old-white #C8C093;
@define-color sumi-ink-0 #16161D;
@define-color sumi-ink-1 #1F1F28;
@define-color sumi-ink-2 #2A2A37;
@define-color sumi-ink-3 #363646;
@define-color sumi-ink-4 #54546D;
@define-color wave-blue-1 #223249;
@define-color wave-blue-2 #2D4F67;
@define-color winter-green #2B3328;
@define-color winter-yellow #49443C;
@define-color winter-red #43242B;
@define-color winter-blue #252535;
@define-color autumn-green #76946A;
@define-color autumn-red #C34043;
@define-color autumn-yellow #DCA561;
@define-color samurai-red #E82424;
@define-color ronin-yellow #FF9E3B;
@define-color wave-aqua-1 #6A9589;
@define-color dragon-blue #658594;
@define-color fuji-gray #727169;
@define-color spring-violet-1 #938AA9;
@define-color oni-violet #957FB8;
@define-color crystal-blue #7E9CD8;
@define-color spring-violet-2 #9CABCA;
@define-color spring-blue #7FB4CA;
@define-color light-blue #A3D4D5;
@define-color wave-aqua-2 #7AA89F;
@define-color spring-green #98BB6C;
@define-color boat-yellow-1 #938056;
@define-color boat-yellow-2 #C0A36E;
@define-color carp-yellow #E6C384;
@define-color sakura-pink #D27E99;
@define-color wave-red #E46876;
@define-color peach-red #FF5D62;
@define-color surimi-orange #FFA066;

@define-color background @sumi-ink-1;
@define-color foreground @fuji-white;
@define-color border @sumi-ink-4;
@define-color active @old-white;

*
{ font-size: 16px
; font-family: "Symbols Nerd Font"
; min-width: 8px
; min-height: 0px
; border: none
; border-radius: 0
; box-shadow: none
; text-shadow: none
; padding: 0px
}

window#waybar
{ transition-property: background-color
; transition-duration: 0.5s
; border-radius: 8px
; border: 2px solid @active
; background: @background
; background: alpha(@background, 0.7)
; color: lighter(@active)
}

menu,
tooltip
{ border-radius: 8px
; padding: 2px
; border: 1px solid lighter(@active)
; background: alpha(@background, 0.6)
; color: lighter(@active)
}

menu label,
tooltip label
{ font-size: 14px
; color: lighter(@active)
}

#submap,
#tray>.needs-attention
{ animation-name: blink-active
; animation-duration: 1s
; animation-timing-function: linear
; animation-iteration-count: infinite
; animation-direction: alternate
}

.modules-right
{ margin: 0px 6px 6px 6px
; border-radius: 4px
; background: alpha(@background, 0.4)
; color: lighter(@active)
}

.modules-left
{ transition-property: background-color
; transition-duration: 0.5s
; margin: 6px 6px 6px 6px
; border-radius: 4px
; background: alpha(@background, 0.4)
; color: lighter(@active)
}

#gcpu,
#custom-github,
#memory,
#disk,
#together,
#submap,
#custom-weather,
#custom-recorder,
#connection,
#cnoti,
#brightness,
#power,
#custom-updates,
#tray,
#audio,
#privacy,
#sound
{ border-radius: 4px
; margin: 2px 2px 4px 2px
; background: alpha(darker(@active), 0.3)
}

#custom-notifications
{ padding-left: 4px
}

#custom-hotspot,
#custom-github,
#custom-notifications
{ font-size: 14px
}

#custom-hotspot
{ padding-right: 2px
}

#custom-vpn,
#custom-hotspot
{ background: alpha(darker(@active), 0.3)
}

#privacy-item
{ padding: 6px 0px 6px 6px
}

#gcpu
{ padding: 8px 0px 8px 0px
}

#custom-cpu-icon
{ font-size: 25px
}

#custom-cputemp,
#disk,
#memory,
#cpu
{ font-size: 14px
; font-weight: bold
}

#custom-github
{ padding-top: 2px
; padding-right: 4px
}

#custom-dmark
{ color: alpha(@foreground, 0.3)
}

#submap
{ margin-bottom: 0px
}

#workspaces
{ margin: 0px 2px
; padding: 4px 0px 0px 0px
; border-radius: 8px
}

#workspaces button
{ transition-property: background-color
; transition-duration: 0.5s
; color: @foreground
; background: transparent
; border-radius: 4px
; color: alpha(@foreground, 0.3)
}

#workspaces button.urgent
{ font-weight: bold
; color: @foreground
}

#workspaces button.active
{ padding: 4px 2px
; background: alpha(@active, 0.4)
; color: lighter(@active)
; border-radius: 4px
}

#network.wifi
{ padding-right: 4px
}

#submap
{ min-width: 0px
; margin: 4px 6px 4px 6px
}

#custom-weather,
#tray
{ padding: 4px 0px 4px 0px
}

#bluetooth
{ padding-top: 2px
}

#battery
{ border-radius: 8px
; padding: 4px 0px
; margin: 4px 2px 4px 2px
}

#battery.discharging.warning
{ animation-name: blink-yellow
; animation-duration: 1s
; animation-timing-function: linear
; animation-iteration-count: infinite
; animation-direction: alternate
}

#battery.discharging.critical
{ animation-name: blink-red
; animation-duration: 1s
; animation-timing-function: linear
; animation-iteration-count: infinite
; animation-direction: alternate
}

#clock
{ font-weight: bold
; padding: 4px 2px 2px 2px
; font-family: "MartianMono"
}

#pulseaudio.mic
{ border-radius: 4px
; color: @background
; background: alpha(darker(@foreground), 0.6)
; padding-left: 4px
}

#backlight-slider slider,
#pulseaudio-slider slider
{ background-color: transparent
; box-shadow: none
}

#backlight-slider trough,
#pulseaudio-slider trough
{ margin-top: 4px
; min-width: 6px
; min-height: 60px
; border-radius: 8px
; background-color: alpha(@background, 0.6)
}

#backlight-slider highlight,
#pulseaudio-slider highlight
{ border-radius: 8px
; background-color: lighter(@active)
}

#bluetooth.discoverable,
#bluetooth.discovering,
#bluetooth.pairable
{ border-radius: 8px
; animation-name: blink-active
; animation-duration: 1s
; animation-timing-function: linear
; animation-iteration-count: infinite
; animation-direction: alternate
}

@keyframes blink-active
{ to
  { background-color: @active
  ; color: @foreground
  }
}

@keyframes blink-red
{ to
  { background-color: @samurai-red
  ; color: @foreground
  }
}

@keyframes blink-yellow
{ to
  { background-color: @autumn-yellow
  ; color: @foreground
  }
}
