Hyprland-dotfiles/waybar/style.css

401 lines
8.6 KiB
CSS
Raw Normal View History

2023-08-28 08:42:41 -04:00
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../.cache/wal/colors-waybar.css';
2023-08-20 05:46:46 -04:00
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;
2023-10-01 05:23:14 -04:00
margin: 2px 1px 3px 1px;
padding: 0px 1px;
2023-09-29 07:08:19 -04:00
border-radius: 15px;
2023-10-01 05:23:14 -04:00
border:0px;
2023-09-29 07:08:19 -04:00
font-weight: bold;
2023-08-30 08:45:03 -04:00
font-style: normal;
opacity:0.8;
2023-09-29 07:08:19 -04:00
font-size:16px;
color:#FFFFFF;
2023-08-30 08:45:03 -04:00
}
2023-08-19 05:21:42 -04:00
#workspaces button {
2023-10-02 08:40:43 -04:00
padding: 1px 9px;
2023-10-01 05:23:14 -04:00
margin: 3px 3px;
2023-09-29 07:08:19 -04:00
border-radius: 15px;
2023-10-01 05:23:14 -04:00
border:0px;
2023-09-29 07:08:19 -04:00
color: #FFFFFF;
2023-08-30 08:45:03 -04:00
background-color: @color11;
transition: all 0.3s ease-in-out;
opacity:0.4;
2023-08-20 05:46:46 -04:00
}
#workspaces button.active {
2023-09-29 07:08:19 -04:00
color: #FFFFFF;
background: @color11;
border-radius: 15px;
min-width: 40px;
2023-08-30 08:45:03 -04:00
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-09-29 07:08:19 -04:00
color: #FFFFFF;
background: @color11;
border-radius: 15px;
opacity:0.7;
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
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
2023-08-31 03:05:39 -04:00
#window {
background: #FFFFFF;
2023-09-01 03:13:47 -04:00
margin: 5px 15px 5px 0px;
2023-08-31 03:05:39 -04:00
padding: 2px 10px 0px 10px;
border-radius: 12px;
color:@background;
2023-08-30 08:45:03 -04:00
font-size:16px;
2023-08-31 03:05:39 -04:00
font-weight:normal;
opacity:0.8;
}
2023-08-31 11:23:04 -04:00
window#waybar.empty #window {
background-color:transparent;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
2023-09-20 07:30:13 -04:00
/* background: @color11; */
background: #FFFFFF;
2023-09-01 03:55:27 -04:00
margin: 3px 15px 3px 0px;
2023-09-29 07:08:19 -04:00
padding:0px;
/*padding: 2px 3px 1px 3px;*/
border-radius: 15px;
2023-08-31 03:05:39 -04:00
font-weight: normal;
font-style: normal;
2023-09-01 04:25:57 -04:00
opacity:0.8;
border: 3px solid #FFFFFF;
2023-08-19 05:21:42 -04:00
}
2023-08-31 03:05:39 -04:00
#taskbar button {
margin:0;
padding: 0px 5px 0px 5px;
}
/* -----------------------------------------------------
* Modules
* ----------------------------------------------------- */
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-09-01 04:25:57 -04:00
/* -----------------------------------------------------
* Custom Quicklinks
* ----------------------------------------------------- */
2023-10-02 04:17:11 -04:00
#custom-brave, #custom-outlook, #custom-filemanager, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-windowsvm, #custom-cliphist, #custom-wallpaper {
2023-09-14 08:34:08 -04:00
margin-right:20px;
2023-09-01 04:25:57 -04:00
font-size:20px;
2023-09-14 08:34:08 -04:00
font-weight:bold;
opacity:0.8;
2023-09-29 07:08:19 -04:00
color:#FFFFFF;
2023-09-01 04:25:57 -04:00
}
2023-10-02 16:13:06 -04:00
#custom-wallpaper {
2023-10-03 04:27:30 -04:00
margin-right:23px;
2023-10-02 16:13:06 -04:00
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */
2023-08-20 05:46:46 -04:00
#custom-appmenu {
2023-09-01 03:13:47 -04:00
background-color: @color11;
2023-08-31 03:05:39 -04:00
font-size: 16px;
2023-09-01 03:13:47 -04:00
color: #FFFFFF;
2023-09-29 07:08:19 -04:00
border-radius: 15px;
2023-09-01 03:19:39 -04:00
padding: 0px 10px 0px 10px;
2023-09-01 03:55:27 -04:00
margin: 3px 15px 3px 14px;
2023-08-30 08:45:03 -04:00
opacity:0.8;
2023-09-01 03:19:39 -04:00
border:3px solid #FFFFFF;
2023-08-30 08:45:03 -04:00
}
2023-09-01 04:25:57 -04:00
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
2023-08-20 11:34:53 -04:00
2023-08-20 05:46:46 -04:00
#custom-exit {
2023-10-02 16:13:06 -04:00
margin: 0px 15px 0px 0px;
padding:0px;
2023-08-30 08:45:03 -04:00
font-size:20px;
2023-09-29 07:08:19 -04:00
color:#FFFFFF;
2023-08-20 05:46:46 -04:00
}
2023-09-01 04:25:57 -04:00
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
2023-08-31 05:43:42 -04:00
#custom-updates {
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-08-31 05:43:42 -04:00
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#custom-updates.green {
background-color: #FFFFFF;
}
#custom-updates.yellow {
background-color: #ff9a3c;
color: #ffffff;
}
#custom-updates.red {
background-color: #dc2f2f;
color: #ffffff;
}
2023-09-01 04:25:57 -04:00
/* -----------------------------------------------------
* Custom Youtube
* ----------------------------------------------------- */
2023-08-31 05:43:42 -04:00
#custom-youtube {
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-08-31 05:43:42 -04:00
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Hardware Group
* ----------------------------------------------------- */
#disk,#memory,#cpu {
margin:0px;
padding:0px;
font-size:16px;
2023-09-29 07:08:19 -04:00
color:#FFFFFF;
2023-08-31 03:05:39 -04:00
}
2023-09-01 03:55:27 -04:00
#memory {
margin-right:10px;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
#clock {
2023-09-01 03:19:39 -04:00
background-color: @color11;
2023-08-31 03:05:39 -04:00
font-size: 16px;
2023-09-01 03:19:39 -04:00
color: #FFFFFF;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-09-01 03:19:39 -04:00
padding: 1px 10px 0px 10px;
2023-09-01 03:55:27 -04:00
margin: 3px 15px 3px 0px;
2023-08-30 08:45:03 -04:00
opacity:0.8;
2023-09-01 03:19:39 -04:00
border:3px solid #FFFFFF;
2023-08-19 05:21:42 -04:00
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
2023-08-31 05:43:42 -04:00
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-08-31 05:43:42 -04:00
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
2023-08-31 03:05:39 -04:00
}
#pulseaudio.muted {
2023-08-31 08:23:07 -04:00
background-color: @color11;
color: #FFFFFF;
2023-08-31 03:05:39 -04:00
}
2023-09-01 02:38:15 -04:00
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-09-01 02:38:15 -04:00
padding: 2px 10px 0px 10px;
2023-10-02 16:13:06 -04:00
margin: 3px 10px 3px 0px;
2023-09-01 02:38:15 -04:00
opacity:0.8;
2023-09-01 03:55:27 -04:00
border: 3px solid #FFFFFF
2023-09-01 02:38:15 -04:00
}
#network.ethernet {
background-color: @color11;
2023-09-01 02:59:52 -04:00
color:#FFFFFF;
2023-09-01 02:38:15 -04:00
}
#network.wifi {
background-color: @color11;
2023-09-01 02:59:52 -04:00
color:#FFFFFF;
2023-09-01 02:38:15 -04:00
}
2023-08-31 10:00:02 -04:00
/* -----------------------------------------------------
* Bluetooth
* ----------------------------------------------------- */
#bluetooth.on, #bluetooth.connected {
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-08-31 10:00:02 -04:00
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
#battery {
2023-08-31 08:23:07 -04:00
background-color: #FFFFFF;
font-size: 16px;
color: @background;
2023-10-01 05:23:14 -04:00
border-radius: 15px;
2023-08-31 08:30:47 -04:00
padding: 2px 15px 0px 10px;
2023-08-31 08:23:07 -04:00
margin: 5px 15px 5px 0px;
opacity:0.8;
2023-08-19 05:21:42 -04:00
}
#battery.charging, #battery.plugged {
color: #ffffff;
2023-08-31 08:23:07 -04:00
background-color: @color11;
2023-08-19 05:21:42 -04:00
}
@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;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Tray
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
2023-08-31 03:05:39 -04:00
/* -----------------------------------------------------
* Other
* ----------------------------------------------------- */
2023-08-19 05:21:42 -04:00
2023-08-31 03:05:39 -04:00
label:focus {
background-color: #000000;
2023-08-19 05:21:42 -04:00
}
2023-08-31 03:05:39 -04:00
#backlight {
2023-08-19 05:21:42 -04:00
background-color: #90b1b1;
}
2023-08-31 03:05:39 -04:00
#network {
background-color: #2980b9;
2023-08-19 05:21:42 -04:00
}
2023-08-31 03:05:39 -04:00
#network.disconnected {
background-color: #f53c3c;
2023-08-21 04:46:13 -04:00
}