Files
dotfilesv2/waybar/style.css
2026-03-28 16:48:16 +00:00

143 lines
2.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
* {
background-color: transparent;
border: none;
box-shadow: none;
}
/* --- Левые модули --- */
#clock, #workspaces {
background-color: rgba(14, 14, 14, 0.8);
margin: 4px 6px;
border-radius: 99px;
}
#clock {
font-weight: bold;
color: #f5f5f5;
padding: 0 10px;
}
#workspaces {
padding: 0 4px;
}
#workspaces button {
color: #f5f5f5;
background: transparent;
transition: all 0.3s ease;
padding: 0;
min-width: 25px;
border-radius: 99px;
margin: 4px;
font-weight: bold;
}
#workspaces button.active {
background: #f5f5f5;
color: #0e0e0e;
}
#cava {
color: #f5f5f5;
margin-top: 4px;
margin-bottom: 4px;
padding: 2px 6px;
}
#window {
color: #f5f5f5;
font-weight: bold;
padding: 0 10px;
}
#custom-arch {
font-family: "JetBrainsMono Nerd Font", "FiraCode Nerd Font", monospace;
font-size: 20px;
padding-left: 20px;
color: #f5f5f5;
margin-right: 10px;
}
/* =========================================
ПРАВАЯ ЧАСТЬ (Вариант с прозрачным треем)
========================================= */
/* Общие стили для "твердых" элементов */
#custom-tray-arrow,
#language,
#battery,
#temperature {
background-color: rgba(14, 14, 14, 0.8);
color: #f5f5f5;
margin-top: 4px;
margin-bottom: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
/* Группа-контейнер прозрачная */
#group-tray-drawer {
background-color: transparent;
margin-right: 0;
margin-left: 6px;
}
/*
1. ИКОНКИ ТРЕЯ (Прозрачный остров)
Фон transparent, но отступы остались, чтобы иконки не слипались
*/
#tray {
background-color: transparent; /* Убрали фон */
padding: 0 4px; /* Чуть уменьшил отступ, раз нет границ */
margin-right: 4px; /* Отступ до буквы А */
}
/* Иконки внутри трея */
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}
/*
2. СТРЕЛКА "A" (Начало темного острова)
*/
#custom-tray-arrow {
border-radius: 99px 0 0 99px; /* Закруглено слева */
margin-right: 0;
padding-right: 6px;
padding-left: 12px;
font-weight: bold;
}
/*
3. ЯЗЫК
*/
#language {
border-radius: 0;
margin-left: 0;
padding-left: 6px;
padding-right: 8px;
}
/*
4. БАТАРЕЯ
*/
#battery {
border-radius: 0;
margin-left: 0;
margin-right: 0;
padding: 0 8px;
}
/*
5. ТЕМПЕРАТУРА (Конец острова)
*/
#temperature {
border-radius: 0 99px 99px 0; /* Закруглено справа */
margin-left: 0;
padding-right: 14px;
margin-right: 6px;
}