Repository navigation
Expand file tree
/
Copy pathstylesheet.css
More file actions
205 lines (183 loc) · 5.04 KB
/
Copy pathstylesheet.css
File metadata and controls
205 lines (183 loc) · 5.04 KB
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/* =========================================================
Matrix Status Monitor – Panel & Menu Stylesheet
GNOME Shell 45–50 | Dark panel assumed
========================================================= */
/* ---------------------------------------------------------
Panel button
--------------------------------------------------------- */
.panel-button {
transition: background-color 200ms ease;
border-radius: 99px;
margin: 3px 4px;
}
/* Unread pill: subtle capsule that blends with the panel */
.matrix-pill-active {
background-color: rgba(255, 255, 255, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.matrix-pill-active:hover {
background-color: rgba(255, 255, 255, 0.20);
}
/* ---------------------------------------------------------
Room rows
--------------------------------------------------------- */
.popup-menu-item b {
font-weight: bold;
}
/* Avatar + lock icon wrapper */
.matrix-icon-container {
spacing: 3px;
margin-right: 10px;
}
/* Circular avatar */
.matrix-room-avatar-container {
width: 28px;
height: 28px;
border-radius: 99px;
overflow: hidden;
background-color: rgba(255, 255, 255, 0.07);
}
.matrix-room-avatar {
border-radius: 99px;
width: 28px;
height: 28px;
/* Fill the container exactly so overflow:hidden clips to a circle */
min-width: 28px;
min-height: 28px;
}
.matrix-room-avatar-default {
border-radius: 99px;
width: 28px;
height: 28px;
min-width: 28px;
min-height: 28px;
color: rgba(255, 255, 255, 0.45);
background-color: rgba(255, 255, 255, 0.06);
padding: 4px;
}
.matrix-avatar-spinner {
width: 16px;
height: 16px;
}
/* Lock icon – always reserving space, hidden when not encrypted */
.matrix-lock-icon {
color: rgba(255, 255, 255, 0.45);
margin-right: 2px;
}
/* ---------------------------------------------------------
Action button (QR / copy – right side of each room row)
--------------------------------------------------------- */
.matrix-action-button {
padding: 4px;
border-radius: 6px;
margin-left: 6px;
min-width: 26px;
height: 26px;
color: rgba(255, 255, 255, 0.55);
transition: background-color 150ms ease,
color 150ms ease;
}
.matrix-action-button:hover {
background-color: rgba(255, 255, 255, 0.12);
color: rgba(255, 255, 255, 0.90);
}
.matrix-action-button:active {
background-color: rgba(255, 255, 255, 0.20);
}
/* ---------------------------------------------------------
Action box (QR panel that expands below a room row)
--------------------------------------------------------- */
.matrix-action-box-item {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
margin: 0 10px 6px 10px;
border-radius: 10px;
padding: 8px 0 4px 0;
}
/* QR image – white background so the code is scannable */
.matrix-qr-image {
margin: 4px auto 8px auto;
border-radius: 8px;
background-color: #ffffff;
padding: 8px;
}
/* Room / user ID label below the QR image */
.matrix-qr-id-row {
spacing: 6px;
margin: 0 12px 10px 12px;
}
.matrix-qr-id-label {
font-size: 0.82em;
font-weight: 600;
color: rgba(255, 255, 255, 0.60);
}
/* Copy button inside the QR panel */
.matrix-qr-copy-button {
padding: 2px 8px;
border-radius: 6px;
background-color: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.70);
transition: background-color 150ms ease;
}
.matrix-qr-copy-button:hover {
background-color: rgba(255, 255, 255, 0.16);
}
/* ---------------------------------------------------------
Profile header (top of the menu)
--------------------------------------------------------- */
.matrix-profile-header {
padding: 10px 14px 8px 14px;
}
.matrix-profile-box {
spacing: 10px;
}
/* Larger avatar for the profile section */
.matrix-profile-avatar {
width: 38px;
height: 38px;
border-radius: 99px;
overflow: hidden;
background-color: rgba(255, 255, 255, 0.07);
border: 1px solid rgba(255, 255, 255, 0.10);
}
.matrix-profile-displayname {
font-weight: 700;
font-size: 0.95em;
color: rgba(255, 255, 255, 0.92);
}
.matrix-profile-userid {
font-size: 0.78em;
color: rgba(255, 255, 255, 0.45);
}
/* Action buttons in the profile row (copy, QR) */
.matrix-profile-action-btn {
padding: 4px;
border-radius: 6px;
min-width: 26px;
height: 26px;
color: rgba(255, 255, 255, 0.50);
transition: background-color 150ms ease,
color 150ms ease;
}
.matrix-profile-action-btn:hover {
background-color: rgba(255, 255, 255, 0.12);
color: rgba(255, 255, 255, 0.90);
}
.matrix-profile-action-btn:active {
background-color: rgba(255, 255, 255, 0.20);
}
/* QR panel specific to the profile section */
.matrix-profile-qr-item {
margin: 0 10px 6px 10px;
}
.matrix-profile-qr-container {
spacing: 0;
}
/* Icon inside the profile avatar bin */
.matrix-profile-avatar StIcon {
width: 38px;
height: 38px;
min-width: 38px;
min-height: 38px;
border-radius: 99px;
}