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

141 lines
3.4 KiB
CSS
Raw Permalink 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;
}
/* =========================================
ПРАВАЯ ЧАСТЬ
========================================= */
/* Общие настройки цветов для активных элементов */
#tray,
#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. ИКОНКИ ТРЕЯ (Выезжающий остров)
Это отдельный остров слева.
*/
#tray {
border-radius: 99px; /* Полный круг/овал */
padding: 0 12px;
margin-right: 8px; /* ЭТОТ ОТСТУП создает разрыв между иконками и буквой "А" */
}
/*
2. СТРЕЛКА "A" (Начало большого правого острова)
Приклеиваем её к языку.
*/
#custom-tray-arrow {
border-radius: 99px 0 0 99px; /* Закруглено только слева */
margin-right: 0; /* Убираем отступ справа */
padding-right: 6px; /* Чуть меньше паддинг справа для плотности */
padding-left: 12px;
font-weight: bold;
}
/*
3. ЯЗЫК (Продолжение острова)
Приклеиваем к "A".
*/
#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;
}