hyprland-dotfiles/waybar/themes/ml4w/style.css

421 lines
9.1 KiB
CSS
Raw Normal View History

2023-10-09 15:27:03 +00:00
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* ----------------------------------------------------- */
* {
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
border: none;
border-radius: 0px;
}
window#waybar {
background-color: rgba(0,0,0,0.8);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
background: transparent;
transition-property: background-color;
transition-duration: .5s;
}
/* -----------------------------------------------------
* Workspaces
* ----------------------------------------------------- */
#workspaces {
2023-10-17 06:20:30 +00:00
background: @workspacesbackground1;
2023-10-09 15:27:03 +00:00
margin: 2px 1px 3px 1px;
padding: 0px 1px;
border-radius: 15px;
border: 0px;
font-weight: bold;
font-style: normal;
opacity: 0.8;
font-size: 16px;
color: @textcolor1;
}
#workspaces button {
padding: 0px 5px;
margin: 4px 3px;
border-radius: 15px;
border: 0px;
color: @textcolor1;
2023-10-17 06:20:30 +00:00
background-color: @workspacesbackground2;
2023-10-09 15:27:03 +00:00
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
#workspaces button.active {
color: @textcolor1;
2023-10-17 06:20:30 +00:00
background: @workspacesbackground2;
2023-10-09 15:27:03 +00:00
border-radius: 15px;
min-width: 40px;
transition: all 0.3s ease-in-out;
opacity:1.0;
}
#workspaces button:hover {
color: @textcolor1;
2023-10-17 06:20:30 +00:00
background: @workspacesbackground2;
2023-10-09 15:27:03 +00:00
border-radius: 15px;
opacity:0.7;
}
/* -----------------------------------------------------
* Tooltips
* ----------------------------------------------------- */
tooltip {
border-radius: 10px;
background-color: @backgroundlight;
opacity:0.8;
padding:20px;
margin:0px;
}
tooltip label {
color: @textcolor2;
}
/* -----------------------------------------------------
* Window
* ----------------------------------------------------- */
#window {
background: @backgroundlight;
margin: 5px 15px 5px 0px;
padding: 2px 10px 0px 10px;
border-radius: 12px;
color:@textcolor2;
font-size:16px;
font-weight:normal;
opacity:0.8;
}
window#waybar.empty #window {
background-color:transparent;
}
/* -----------------------------------------------------
* Taskbar
* ----------------------------------------------------- */
#taskbar {
background: @backgroundlight;
margin: 3px 15px 3px 0px;
padding:0px;
border-radius: 15px;
font-weight: normal;
font-style: normal;
opacity:0.8;
border: 3px solid @backgroundlight;
}
#taskbar button {
margin:0;
border-radius: 15px;
padding: 0px 5px 0px 5px;
}
/* -----------------------------------------------------
* Modules
* ----------------------------------------------------- */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
/* -----------------------------------------------------
* Custom Quicklinks
* ----------------------------------------------------- */
2023-11-10 21:12:15 +00:00
#custom-brave,
#custom-browser,
#custom-keybindings,
#custom-outlook,
#custom-filemanager,
#custom-teams,
#custom-chatgpt,
#custom-calculator,
#custom-windowsvm,
#custom-cliphist,
#custom-wallpaper,
#custom-settings,
2023-12-21 15:45:28 +00:00
#custom-wallpaper,
#custom-system,
2023-11-10 21:12:15 +00:00
#custom-waybarthemes {
2023-11-30 09:32:58 +00:00
margin-right: 23px;
2023-10-09 15:27:03 +00:00
font-size: 20px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
2023-12-21 15:45:28 +00:00
#custom-system {
2023-11-30 09:32:58 +00:00
margin-right:15px;
2023-10-09 15:27:03 +00:00
}
2023-12-21 15:45:28 +00:00
#custom-wallpaper {
margin-right:25px;
}
#custom-waybarthemes, #custom-settings {
margin-right:20px;
}
2023-12-14 17:24:40 +00:00
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
2024-01-11 15:03:36 +00:00
#idle_inhibitor {
2023-12-14 17:24:40 +00:00
margin-right: 15px;
2024-01-11 15:03:36 +00:00
font-size: 22px;
2023-12-14 17:24:40 +00:00
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
2024-01-11 15:03:36 +00:00
margin-right: 15px;
font-size: 20px;
font-weight: bold;
opacity: 0.8;
color: #dc2f2f;
2023-12-14 17:24:40 +00:00
}
2023-11-30 09:32:58 +00:00
2023-10-09 15:27:03 +00:00
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */
2023-11-10 21:12:15 +00:00
#custom-appmenu, #custom-appmenuwlr {
2023-10-09 15:27:03 +00:00
background-color: @backgrounddark;
font-size: 16px;
color: @textcolor1;
border-radius: 15px;
padding: 0px 10px 0px 10px;
margin: 3px 15px 3px 14px;
opacity:0.8;
border:3px solid @bordercolor;
}
/* -----------------------------------------------------
* Custom Exit
* ----------------------------------------------------- */
2023-12-14 17:24:40 +00:00
#custom-exit {
2023-10-17 13:22:31 +00:00
margin: 0px 20px 0px 0px;
2023-10-09 15:27:03 +00:00
padding:0px;
font-size:20px;
color: @iconcolor;
}
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#custom-updates.green {
background-color: @backgroundlight;
}
#custom-updates.yellow {
background-color: #ff9a3c;
color: #FFFFFF;
}
#custom-updates.red {
background-color: #dc2f2f;
color: #FFFFFF;
}
/* -----------------------------------------------------
* Custom Youtube
* ----------------------------------------------------- */
#custom-youtube {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Hardware Group
* ----------------------------------------------------- */
#disk,#memory,#cpu,#language {
2023-10-09 15:27:03 +00:00
margin:0px;
padding:0px;
font-size:16px;
color:@iconcolor;
}
#language {
2023-10-09 15:27:03 +00:00
margin-right:10px;
}
/* -----------------------------------------------------
* Clock
* ----------------------------------------------------- */
#clock {
background-color: @backgrounddark;
font-size: 16px;
color: @textcolor1;
border-radius: 15px;
padding: 1px 10px 0px 10px;
margin: 3px 15px 3px 0px;
opacity:0.8;
border:3px solid @bordercolor;
}
/* -----------------------------------------------------
* Pulseaudio
* ----------------------------------------------------- */
#pulseaudio {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#pulseaudio.muted {
background-color: @backgrounddark;
color: @textcolor1;
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
#network {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#network.ethernet {
background-color: @backgroundlight;
color: @textcolor2;
}
#network.wifi {
background-color: @backgroundlight;
2023-10-09 17:54:14 +00:00
color: @textcolor2;
2023-10-09 15:27:03 +00:00
}
/* -----------------------------------------------------
* Bluetooth
* ----------------------------------------------------- */
2023-11-10 21:12:15 +00:00
#bluetooth, #bluetooth.on, #bluetooth.connected {
2023-10-09 15:27:03 +00:00
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#bluetooth.off {
background-color: transparent;
padding: 0px;
margin: 0px;
}
/* -----------------------------------------------------
* Battery
* ----------------------------------------------------- */
#battery {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 15px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
#battery.charging, #battery.plugged {
color: @textcolor2;
background-color: @backgroundlight;
}
@keyframes blink {
to {
background-color: @backgroundlight;
color: @textcolor2;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: @textcolor3;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
/* -----------------------------------------------------
* Tray
* ----------------------------------------------------- */
#tray {
2023-12-26 09:56:06 +00:00
padding: 0px 15px 0px 0px;
2023-10-09 15:27:03 +00:00
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}