style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. @import "theme.css";
  2. * {
  3. border: none;
  4. border-radius: 0;
  5. font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
  6. font-size: 14px;
  7. min-height: 0;
  8. }
  9. window#waybar {
  10. background-color: @bg;
  11. color: @text;
  12. transition-property: background-color;
  13. transition-duration: .5s;
  14. border-radius: 10px;
  15. }
  16. #workspaces {
  17. background-color: @bg_workspace;
  18. margin: 5px;
  19. padding: 0 5px;
  20. border-radius: 10px;
  21. }
  22. #workspaces button {
  23. padding: 0 10px;
  24. color: @inactive_text;
  25. transition: all 0.3s ease;
  26. border-radius: 8px;
  27. }
  28. #workspaces button:hover {
  29. background-color: @hover_bg;
  30. box-shadow: inset 0 0 0 1px @hover_border;
  31. }
  32. #workspaces button.active {
  33. color: @active_text;
  34. border-bottom: 2px solid @active_border;
  35. background: linear-gradient(45deg, @active_bg1, @active_bg2);
  36. }
  37. #workspaces button.urgent {
  38. color: @urgent;
  39. }
  40. #workspaces button.persistent {
  41. color: @inactive_text;
  42. }
  43. #workspaces button.occupied {
  44. color: @occupied;
  45. }
  46. #clock,
  47. #network,
  48. #pulseaudio,
  49. #custom-vpn,
  50. #backlight,
  51. #battery,
  52. #bluetooth {
  53. padding: 0 15px;
  54. margin: 5px;
  55. background-color: @bg_module;
  56. border-radius: 8px;
  57. }
  58. #clock {
  59. color: @clock;
  60. }
  61. #network {
  62. color: @network;
  63. }
  64. #network.vpn {
  65. color: @occupied;
  66. margin-right: 0;
  67. padding-right: 5px;
  68. }
  69. #pulseaudio {
  70. color: @urgent;
  71. }
  72. #pulseaudio.muted {
  73. color: @inactive_text;
  74. }
  75. #backlight {
  76. color: @backlight;
  77. }
  78. #battery {
  79. color: @battery;
  80. }
  81. #battery.critical:not(.charging) {
  82. background-color: @urgent;
  83. color: @text;
  84. animation-name: blink;
  85. animation-duration: 0.5s;
  86. animation-timing-function: linear;
  87. animation-iteration-count: infinite;
  88. animation-direction: alternate;
  89. }
  90. #bluetooth {
  91. color: @bluetooth;
  92. }
  93. #bluetooth.connected {
  94. color: @active_text;
  95. }
  96. @keyframes blink {
  97. to {
  98. background-color: @bg_module;
  99. color: @urgent;
  100. }
  101. }
  102. tooltip {
  103. background: @tooltip_bg;
  104. border: 1px solid @active_border;
  105. border-radius: 10px;
  106. }
  107. tooltip label {
  108. color: @text;
  109. }