style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. #custom-notification {
  54. padding: 0 15px;
  55. margin: 5px;
  56. background-color: @bg_module;
  57. border-radius: 8px;
  58. }
  59. #clock {
  60. color: @clock;
  61. }
  62. #network {
  63. color: @network;
  64. }
  65. #network.vpn {
  66. color: @occupied;
  67. margin-right: 0;
  68. padding-right: 5px;
  69. }
  70. #pulseaudio {
  71. color: @urgent;
  72. }
  73. #pulseaudio.muted {
  74. color: @inactive_text;
  75. }
  76. #backlight {
  77. color: @backlight;
  78. }
  79. #battery {
  80. color: @battery;
  81. }
  82. #battery.critical:not(.charging) {
  83. background-color: @urgent;
  84. color: @text;
  85. animation-name: blink;
  86. animation-duration: 0.5s;
  87. animation-timing-function: linear;
  88. animation-iteration-count: infinite;
  89. animation-direction: alternate;
  90. }
  91. #bluetooth {
  92. color: @bluetooth;
  93. }
  94. #bluetooth.connected {
  95. color: @active_text;
  96. }
  97. @keyframes blink {
  98. to {
  99. background-color: @bg_module;
  100. color: @urgent;
  101. }
  102. }
  103. tooltip {
  104. background: @tooltip_bg;
  105. border: 1px solid @active_border;
  106. border-radius: 10px;
  107. }
  108. tooltip label {
  109. color: @text;
  110. }