mine-hyprdots/waybar/style.css

276 lines
4.5 KiB
CSS
Raw Permalink Normal View History

2024-10-08 10:04:45 +05:30
@import 'mocha.css';
2024-09-18 01:54:11 +05:30
* {
2024-10-08 10:04:45 +05:30
font-family: JetBrains Mono Nerd Font;
2025-02-23 00:38:43 +05:30
min-height: 14px;
font-size: 12px;
2024-10-08 10:04:45 +05:30
border: none;
border-radius: 6px;
padding: 0;
margin: 0;
box-shadow: none;
text-shadow: none;
background-color: transparent;
2024-10-09 17:15:16 +05:30
}
2025-06-07 12:51:17 +05:30
#custom-gh {
color: #39d353; /* Default color for contributions */
background: @raisin-black;
border-radius: 6px;
margin-right: 2px;
padding: 0px 8px;
2025-06-07 12:51:17 +05:30
}
#custom-gh .empty {
color: #161b22; /* Color for no contributions */
}
window#waybar {
/* background: rgba(0, 0, 0, 0.45); */
/* color: @text; */
border-radius: 6px;
padding: 2px;
box-shadow: none;
}
#window {
color: @text;
background: @raisin-black;
padding: 6px;
margin: 0px 2px;
}
2024-10-09 17:15:16 +05:30
2025-03-15 23:33:21 +05:30
#custom-cava {
2025-03-30 15:27:16 +05:30
color: #cba6f7;
2025-03-15 23:33:21 +05:30
border-left: 0px;
border-right: 0px;
2025-03-20 16:18:42 +05:30
padding: 6px;
2025-03-15 23:33:21 +05:30
font-family: 'bargraph';
2025-03-20 16:18:42 +05:30
background: @raisin-black;
margin: 0px 2px;
2024-09-18 01:54:11 +05:30
}
#cpu {
2025-02-23 00:38:43 +05:30
color: @beige;
2024-10-08 10:04:45 +05:30
padding: 0px 8px 0px 15px;
background: @raisin-black;
2025-02-23 00:38:43 +05:30
margin-left: 2px;
border-radius: 6px 0 0 6px;
2024-09-18 01:54:11 +05:30
}
#memory {
2025-02-23 00:38:43 +05:30
color: @beige;
2024-10-08 10:04:45 +05:30
padding: 0px 15px 0px 8px;
background: @raisin-black;
2025-04-01 22:55:19 +05:30
margin-right: 1px;
2025-02-23 00:38:43 +05:30
border-radius: 0 6px 6px 0;
2024-09-18 01:54:11 +05:30
}
2025-02-23 00:38:43 +05:30
#temperature.gpu {
padding: 0px 12px;
margin-right: 2px;
color: @celadon;
background: @raisin-black;
border-radius: 6px;
}
2024-09-18 01:54:11 +05:30
2025-02-23 00:38:43 +05:30
/* General Styling */
2024-10-08 10:04:45 +05:30
tooltip,
menu,
#workspaces,
#clock,
#wireplumber,
2024-10-08 10:04:45 +05:30
#backlight,
#bluetooth,
#network,
#battery,
#custom-power {
background: @raisin-black;
2025-02-23 00:38:43 +05:30
padding: 7px 8px;
2024-10-08 10:04:45 +05:30
margin: 0;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
2024-10-08 10:04:45 +05:30
#workspaces {
2025-03-04 09:01:21 +05:30
background: @raisin-black;
2024-10-09 17:15:16 +05:30
margin: 0;
2025-03-18 21:51:35 +05:30
margin-left: 3px;
2024-10-09 17:15:16 +05:30
padding: 0;
2024-10-08 10:04:45 +05:30
font-weight: bold;
2024-10-09 17:15:16 +05:30
font-style: normal;
2024-10-08 10:04:45 +05:30
opacity: 1;
2025-05-11 09:23:29 +05:30
font-size: 20px;
2024-10-09 17:15:16 +05:30
color: #1e1;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
2024-10-09 17:15:16 +05:30
2024-10-08 10:04:45 +05:30
#workspaces button {
2024-10-09 17:15:16 +05:30
padding: 0px 5px;
2025-02-23 00:38:43 +05:30
margin: 3px;
2024-10-09 17:15:16 +05:30
border-radius: 6px;
border: none;
2024-10-08 10:04:45 +05:30
transition: all 0.3s ease-in-out;
2024-10-09 17:15:16 +05:30
opacity: 0.4;
2024-09-18 01:54:11 +05:30
}
2024-10-09 17:15:16 +05:30
2024-10-08 10:04:45 +05:30
#workspaces button.active {
2024-10-09 17:15:16 +05:30
color: #1e1e2e;
2025-02-23 00:38:43 +05:30
background: #cba6f7;
min-width: 20px;
2024-10-08 10:04:45 +05:30
opacity: 1;
}
2024-09-18 01:54:11 +05:30
2024-10-09 17:15:16 +05:30
#workspaces button:hover {
2025-05-11 09:23:29 +05:30
color: @cerise;
2024-10-09 17:15:16 +05:30
background: #1e1e2e;
opacity: 1;
animation: none;
}
2025-02-23 00:38:43 +05:30
2025-05-17 09:34:19 +05:30
#workspaces button:not(.active) {
color: #74c7ec;
2025-05-16 14:49:57 +05:30
}
#workspaces button:nth-child(1):not(.active) {
2025-05-17 09:34:19 +05:30
color: #f38ba8;
2025-05-16 14:49:57 +05:30
}
#workspaces button:nth-child(2):not(.active) {
color: #f9e2af;
}
#workspaces button:nth-child(3):not(.active) {
color: #a6e3a1;
}
2024-10-08 10:04:45 +05:30
#clock {
padding: 0 15px;
2025-02-23 00:38:43 +05:30
color: @beige;
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
2024-10-08 10:04:45 +05:30
#custom-launcher {
2024-10-09 17:15:16 +05:30
font-size: 18px;
2024-10-08 10:04:45 +05:30
transition: none;
2024-10-09 17:15:16 +05:30
padding: 0px 10px;
2025-02-23 00:38:43 +05:30
margin-right: 2px;
2024-10-08 10:04:45 +05:30
background: @raisin-black;
color: rgba(137, 220, 235, 1);
2025-02-23 00:38:43 +05:30
border-radius: 0 6px 6px 0;
}
#custom-transparency {
font-size: 18px;
background: @raisin-black;
color: #94e2d5;
padding: 0px 10px;
margin-right: 2px;
border-radius: 6px;
/* border-radius: 6px 0 0 6px; */
2025-02-23 00:38:43 +05:30
/* border-radius: 0 6px 6px 0; */
}
#custom-wallpaper {
font-size: 20px;
font-family: 'Font Awesome 5 Free';
padding: 0px 8px;
2025-03-15 23:33:21 +05:30
margin-right: 1px;
2025-02-23 00:38:43 +05:30
color: #f38ba8;
background: @raisin-black;
/* border-radius: 0 6px 6px 0; */
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#wireplumber,
2024-09-18 01:54:11 +05:30
#backlight {
2024-10-08 10:04:45 +05:30
padding: 0 8px;
2025-03-15 23:33:21 +05:30
margin: 0 1px;
2025-02-23 00:38:43 +05:30
color: @beige;
2025-03-04 09:01:21 +05:30
border-radius: 6px 6px;
2024-09-18 01:54:11 +05:30
}
2024-10-08 10:04:45 +05:30
#bluetooth,
2024-09-18 01:54:11 +05:30
#network {
2024-10-08 10:04:45 +05:30
color: #cba6f7;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2025-03-15 23:33:21 +05:30
margin: 0 1px;
2024-09-18 01:54:11 +05:30
}
2024-10-09 17:15:16 +05:30
2025-05-03 12:50:32 +05:30
#custom-volume {
padding: 0 8px;
/* color: @beige; */
}
2024-10-09 17:15:16 +05:30
#network.speed {
background: @raisin-black;
padding: 0px 6px;
min-width: 10px;
2025-02-23 00:38:43 +05:30
color: @beige;
border-radius: 6px;
2024-10-09 17:15:16 +05:30
}
2024-09-18 01:54:11 +05:30
#bluetooth {
2024-10-08 10:04:45 +05:30
min-width: 20px;
padding: 0 10px;
margin: 0 2px;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
2025-02-23 00:38:43 +05:30
2024-10-08 10:04:45 +05:30
#network {
min-width: 30px;
padding: 0 7px 0 2px;
2025-02-23 00:38:43 +05:30
/* margin: 0 2px; */
2025-03-04 09:01:21 +05:30
border-radius: 6px;
/* border-radius: 0 6px 6px 0; */
2024-09-18 01:54:11 +05:30
}
2025-02-23 00:38:43 +05:30
2024-10-08 10:04:45 +05:30
#battery {
color: @mint;
min-width: 30px;
padding-left: 5px;
2025-03-15 23:33:21 +05:30
margin-left: 1px;
2025-03-18 21:51:35 +05:30
margin-right: 3px;
2025-03-15 23:33:21 +05:30
/* margin: 0 1px; */
2024-10-08 10:04:45 +05:30
padding-right: 5px;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#battery.charging {
2025-03-15 23:33:21 +05:30
color: #33ae18; /* Text */
background: @raisin-black;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#battery.good:not(.charging) {
2025-03-15 23:33:21 +05:30
color: #f8d589;
background: @raisin-black;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#battery.warning:not(.charging) {
2025-03-15 23:33:21 +05:30
color: #e0a858; /* Text */
background: @raisin-black;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#battery.low:not(.charging) {
2025-03-15 23:33:21 +05:30
color: #d20f39; /* Text */
background: @raisin-black;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
#battery.critical:not(.charging) {
2025-03-15 23:33:21 +05:30
color: #d20f39; /* Text */
background: @raisin-black;
2024-09-18 01:54:11 +05:30
animation-name: blink;
animation-duration: 0.75s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2025-02-23 00:38:43 +05:30
border-radius: 6px;
2024-09-18 01:54:11 +05:30
}
@keyframes blink {
to {
color: #d20f39; /* Red */
background: #eff1f5; /* Text */
}
}