~kris/dots

srice

srice/.config/eww/topbar-dark.scss -rw-r--r-- 3.0 KiB
e98f3b03 — Kris Yotam chore: sync local state after restore (push updates, no pull) a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* === Eww Bar Styles === */

/* Bar Container (Main Window) */
.bar-container {
  background-color: transparent;
  
  background-image: linear-gradient(135deg, 
    $on-secondary-fixed,  
    $surface-dim,
    $on-primary-fixed,
    $surface-container,
    $on-primary,
    $surface-container-low,
    $on-secondary,
  );

  border: 1.5px solid transparentize($outline-variant, 0.5);
  border-radius: 10px;
  padding: 0px 5px 0px 5px;
  min-height: 27px;
}

/* Sections Layout */
.bar-section-center, 
.bar-section-left, 
.bar-section-right {
  padding: 0px;
  min-height: 18px;
}

/* Left Section Padding Adjustment */
.bar-section-left {
  padding-right: 6px; 
  padding-left: 10px;
}

.mode-indicator {
  background-color: $on-primary-fixed;
  padding: 0 10px;
  border-radius: 15px;
  min-height: 18px;
  animation: pulse 2s infinite;
}

.indicator-i3 {
  font-family: "Iosevka Nerd Font";
  font-size: 13px;
  font-weight: bold;
  color: $on-surface;
}

/* === MODULES === */

/* Windows Center Module */
.windows-center-bar {
  background-color: $on-secondary-fixed;
  border-radius: 15px;
  padding: 0px 10px;
  min-height: 18px;
}

/* Workspaces (i3) Container */
.i3-section {
  border-radius: 15px;
  padding: 0px;
  min-height: 18px;
  
  background-image: linear-gradient(to bottom right,
    $surface-container-high,
    $on-secondary-fixed
  );
}

/* Workspace Buttons */
.ws-btn {
  padding: 0px 10px;
  background-color: transparent; 
  border-radius: 15px;
}

/* Workspace: Focused (Aktif) */
.ws-btn.focused {
  background-image: linear-gradient(to bottom right,
    $on-primary,
  );
  color: $on-primary;
  border-radius: 15px;
}

/* Workspace: Hover */
.ws-btn:hover {
  background-image: linear-gradient(to bottom,
    $tertiary,
  );
  color: $on-tertiary;
  border-radius: 15px;
}

/* Workspace: Focused + Hover */
.ws-btn.focused:hover {
  background-image: linear-gradient(to bottom,
    $primary-fixed-dim,
  );
}

/* Right Status Modules (Battery, Wifi, etc) */
.status-section-right {
  background-image: linear-gradient(135deg,
    $on-secondary-fixed,
    $surface-container
  );
  border-radius: 15px;
  padding: 0px 10px;
  min-height: 18px;
}

/* System Tray */
.system-tray-bar {
  padding: 0px 5px;
  min-height: 18px;
}

/* === TEXT STYLES === */

.left-text {
  font-size: 14px;
  color: $on-surface;
}

.right-text {
  font-family: "Iosevka Nerd Font";
  font-size: 12px;
  color: $on-surface;
}

.center-text {
  font-family: "Iosevka Nerd Font";
  font-size: 13px;
  font-weight: 700;
  color: $on-secondary-container; 
}

.weather-bar {
  color: $on-surface;
  font-size: 18px;
  padding-right: 5px;
}

.text-weather-bar {
  font-family: "Iosevka Nerd Font";
  font-size: 13px;
  font-weight: 700;
  color: $on-surface;
}

.time-bar {
  min-height: 18px;
  padding: 0px 5px;
}

.time-icon {
  padding: 0px;
  font-size: 11px;
  color: $primary; 
}

.time-text {
  font-size: 12px;
  font-weight: 900;
  color: $on-surface;
}

.icon-center-bar {
  padding-right: 5px;
  color: $secondary; 
  font-size: 12px;
}