Hyprland-dotfiles/waybar/style.css

342 lines
5.9 KiB
CSS
Raw Normal View History

2023-08-28 08:42:41 -04:00
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
2023-08-20 05:46:46 -04:00
@import 'colors-waybar.css';
2023-08-28 08:42:41 -04:00
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
* {
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
2023-08-30 08:45:03 -04:00
border: none;
border-radius: 0px;
2023-08-19 05:21:42 -04:00
}
window#waybar {
2023-08-21 04:46:13 -04:00
background-color: rgba(0,0,0,0.8);
2023-08-30 08:45:03 -04:00
border-bottom: 0px solid #ffffff;
2023-08-21 05:54:29 -04:00
/* color: #FFFFFF; */
2023-08-21 04:46:13 -04:00
background: transparent;
2023-08-19 05:21:42 -04:00
transition-property: background-color;
transition-duration: .5s;
}
2023-08-28 08:42:41 -04:00
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
2023-08-30 08:45:03 -04:00
#workspaces {
background: #FFFFFF;
margin: 5px 5px 5px 5px;
padding: 4px 1px;
border-radius: 12px;
font-weight: normal;
font-style: normal;
opacity:0.8;
}
2023-08-19 05:21:42 -04:00
#workspaces button {
2023-08-21 04:46:13 -04:00
padding: 0px 10px;
2023-08-30 08:45:03 -04:00
margin: 0px 3px;
border-radius: 12px;
2023-08-21 05:54:29 -04:00
color: @color11;
2023-08-30 08:45:03 -04:00
background-color: @color11;
transition: all 0.3s ease-in-out;
opacity:0.4;
font-size:13px;
2023-08-20 05:46:46 -04:00
}
#workspaces button.active {
2023-08-30 08:45:03 -04:00
color: #cdd6f4;
background-color: @color11;
border-radius: 10px;
min-width: 30px;
background-size: 400% 400%;
transition: all 0.3s ease-in-out;
opacity:1.0;
2023-08-19 05:21:42 -04:00
}
2023-08-21 04:46:13 -04:00
#workspaces button:hover {
2023-08-30 08:45:03 -04:00
background-color: @color1;
color: #cdd6f4;
border-radius: 10px;
min-width: 30px;
background-size: 400% 400%;
2023-08-21 04:46:13 -04:00
}
2023-08-30 08:45:03 -04:00
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
background-color: #FFFFFF;
opacity:0.8;
padding:20px;
margin:0px;
2023-08-19 05:21:42 -04:00
}
2023-08-30 08:45:03 -04:00
tooltip label {
color: @color11;
2023-08-19 05:21:42 -04:00
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
2023-08-21 04:46:13 -04:00
#language,
2023-08-28 08:42:41 -04:00
#user,
2023-08-30 08:45:03 -04:00
#window,
2023-08-19 05:21:42 -04:00
#mpd {
2023-08-30 08:45:03 -04:00
margin: 0px 20px 0px 10px;
2023-08-21 04:46:13 -04:00
padding: 0 0px;
2023-08-21 05:54:29 -04:00
color: #FFFFFF;
2023-08-30 08:45:03 -04:00
font-size:16px;
2023-08-19 05:21:42 -04:00
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
2023-08-20 05:46:46 -04:00
#custom-appmenu {
2023-08-30 08:45:03 -04:00
background-color: #FFFFFF;
font-size: 18px;
color: @background;
border-radius: 12px;
padding: 2px 10px 0px 10px;
margin: 5px 10px 5px 20px;
opacity:0.8;
}
#disk,#memory,#cpu {
margin:0px;
padding:0px;
2023-08-20 05:46:46 -04:00
}
2023-08-30 08:45:03 -04:00
#custom-youtube, #custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-lookingglass {
2023-08-20 11:34:53 -04:00
margin-right:10px;
2023-08-21 04:46:13 -04:00
font-size:16px;
2023-08-20 11:34:53 -04:00
}
2023-08-30 08:45:03 -04:00
#user {
margin-right:10px;
font-size:20px;
}
2023-08-20 05:46:46 -04:00
#custom-exit {
2023-08-30 08:45:03 -04:00
margin: 0px 10px 0px 10px;
font-size:20px;
2023-08-20 05:46:46 -04:00
}
2023-08-19 05:21:42 -04:00
#clock {
2023-08-30 08:45:03 -04:00
background-color: #FFFFFF;
font-size: 18px;
color: @background;
border-radius: 12px;
padding: 2px 10px 0px 10px;
margin: 5px 20px 5px 10px;
opacity:0.8;
2023-08-19 05:21:42 -04:00
}
#battery {
2023-08-21 04:46:13 -04:00
color: @color11;
2023-08-19 05:21:42 -04:00
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
2023-08-21 04:46:13 -04:00
background-color: transparent;
2023-08-19 05:21:42 -04:00
}
#memory {
2023-08-21 04:46:13 -04:00
background-color: transparent;
2023-08-19 05:21:42 -04:00
}
#disk {
2023-08-24 04:01:02 -04:00
background-color: transparent;
2023-08-19 05:21:42 -04:00
}
#backlight {
background-color: #90b1b1;
}
#network {
background-color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio {
2023-08-21 04:46:13 -04:00
background-color: transparent;
2023-08-19 05:21:42 -04:00
}
#pulseaudio.muted {
2023-08-20 05:46:46 -04:00
/*
2023-08-19 05:21:42 -04:00
background-color: #90b1b1;
color: #2a5c45;
2023-08-20 05:46:46 -04:00
*/
2023-08-19 05:21:42 -04:00
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
2023-08-21 04:46:13 -04:00
color:#FFFFFF;
2023-08-20 05:46:46 -04:00
/*
2023-08-19 05:21:42 -04:00
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
2023-08-20 05:46:46 -04:00
*/
2023-08-19 05:21:42 -04:00
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
2023-08-21 04:46:13 -04:00
#window {
margin:0;
}
2023-08-19 05:21:42 -04:00