forked from BaReinhard/Slack-Theme-for-Hangouts-Chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
371 lines (318 loc) · 6.76 KB
/
custom.css
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
/* Sidebar color */
.X9KLPc {
background-color: #093a89;
}
/* Sidebar elemtents bg color when hovering */
.PL5Wwe:focus:not(.dQ2Tsf),
.PL5Wwe:hover:not(.dQ2Tsf),
.tuKyod .LoYJxb {
background-color: #032151;
}
/* Sidebar elements text color for chans with unread messages */
.PL5Wwe.H7du2 .t5F5nf {
color: #fff;
}
/* Channel name color in sidebar */
.t5F5nf {
color: rgb(202, 196, 201);
}
/* Sidebar "recent" or "starred" section names color */
.aOHsTc {
color: rgb(202, 196, 201);
}
/* Sidebar Search section text color */
.HLTcjb {
color: rgb(202, 196, 201);
}
.D3DXDc {
fill: rgb(202, 196, 201) !important;
}
/* Sidebar search button hovering bg color */
.GbZFNe:focus, .GbZFNe:hover {
background-color: #032151;
}
/* Search Menu bg color */
.yoV6yd {
background-color: #093a89;
}
/* Search menu text color */
.Uk0Bfe .zHQkBf, .Uk0Bfe .snByac, .dQ2Tsf .NXfF8b, .dQ2Tsf .ZTmjQb {
color: #000;
}
.ndJi5d {
rgba(0,0,0,0.38);
}
/* Search menu elements colors when hovering */
.dQ2Tsf[aria-selected="true"], .PL5Wwe:hover > .dQ2Tsf {
background-color: #eee;
color: #fff
}
/* Search menu people list mail color */
.dQ2Tsf[aria-selected="true"] .Kfe2Ub, .PL5Wwe:hover > .dQ2Tsf .Kfe2Ub {
color: #000;
}
/* Top left corner section (with title) background color */
.Riuhhf {
background-color: #093a89;
}
/* Chat top left logo text color */
#XMLID_8_-Clipped{
opacity: 0.8 !important;
fill: #fff !important;
}
/* Time and menu buttons and clock for channels inactive and active colors */
.sFuxxd {
color: rgb(202, 196, 201);
}
.PL5Wwe.H7du2 .sFuxxd {
color: #fff;
}
.DQy0Rb {
fill: rgb(202, 196, 201) !important;
}
.PL5Wwe.H7du2 .DQy0Rb {
fill: #fff !important;
}
.QeRfYe {
fill: rgb(202, 196, 201) !important;
}
.PL5Wwe.H7du2 .QeRfYe {
fill: #fff !important;
}
/* Make code snippets have slack colors */
.FMTudf {
border: 1px solid #e0e0e0;
background: #f9f9f9;
}
/* Make inline pre have slack colors */
.U8d2H {
background-color: #f7f7f9;
color: #d72b3f;
}
/* Specify size for thread links */
.threadlink {
font-size: 8px;
}
/* Reduce left and right margins in the chat area */
.BEjUKc .cFc9ae {
margin-left: 10px;
margin-right: 10px;
width: auto;
max-width:none;
}
.Bl2pUd {
padding-left: 0px;
padding-right: 0px;
}
/* Reduce height of header bar */
.DWzK6d, .gb_Uf > .gb_g, .gb_Uf, .Jrbdv {
height: 45px;
}
/* Reduce whitespace around New conversation button */
.RnpT2b {
margin: 4px 0 4px 0;
min-height: 0px;
}
.IEIJqd {
padding-top: 0;
}
/* Allow messages to display full-width */
.bzJiD .jGyvbd .QIJiHb, .bzJiD .jGyvbd .zX644e {
max-width: none;
}
/* Reduce top and bottom padding around date */
.mCOR5e {
padding: 10px 0 0px 0;
}
/* Reduce right margin in sidebar */
.n5yyEc {
margin-right: 4px;
}
/* Sidebar "recent" or "starred" section names text size */
.aOHsTc {
font-size: 16px;
margin-left: 16px;
}
/* Search Menu shape and dimensions */
.yoV6yd {
margin-top: -4px;
width: 100%;
border-radius: 0px;
-moz-border-radius: 0px
}
/* Search Menu "frequent" section text color and size */
.wAR34c {
font-size: 16px;
}
/* Padding height between messages in a thread */
.nF6pT {
padding-top: 4px;
}
/* Margins around Unread label */
.YQsadf {
min-height: 20px;
}
/* Sidebar "recent" or "starred" section title padding height */
.wJNchb, .nFzS9e {
margin-top: 10px;
}
/* Draw white line between the sidebar sections and reduce padding */
.PL5Wwe + .wJNchb, .teTAFe:not(.fXx9Lc) + .vHL80e .aOHsTc {
border-top: solid 1px #e0e0e0;
padding-top: 6px;
}
/* Sidebar channels elements height */
.LoYJxb {
height: 26px;
}
/* Vertically align triple dots buttons on
channels in sidebar with the new height */
.MhXXcc {
line-height: 26px;
}
.gsrV1e {
height: 22px;
width: 22px;
}
.QeRfYe .Lw7GHd {
margin: 2px 6px 0 6px;
}
/* Big emojis size */
.Zc1Emd.NM3Nfc {
font-size: 24px;
}
/* Inline emojis size */
img {
border: none;
font-size: 1.3em !important;
}
/* Reduce top margin in thread block */
.dsoUjb {
padding: 8px 0;
}
/* Reduce size of reply button */
.dCMjy {
width: 20px;
min-width: 20px;
height: 20px;
min-height: 20px;
margin-right: 36px;
}
/* Reduce space around blue NEW alert */
.k1lILc {
padding: 5px 0 0;
}
.k1lILc + .ajCeRb {
padding-top: 5px;
}
/* Reduce space between thread blocks */
.cZICLc {
margin-top: 6px;
}
/* Increase boldness of usenames in conversations */
.Z4BnXb {
font-weight: 900;
}
/* Make code snippets look like slack's */
.FMTudf {
font-family: Monaco,Menlo,Consolas,"Courier New",monospace !important;
font-size: .75rem;
margin: 1px 0;
padding: 3px 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
/* Reduce the height of collapsed message row */
.zh742e {
padding-top: 0;
}
/* Reduce margin around reaction emojis */
.SFMExc, .FIgEvc {
margin-top: 0;
margin-bottom: 0;
}
/* Reduce margin around link previews */
.V5MAMb {
margin-top: 0;
margin-bottom: 0;
}
/* Reduce size of youtube previews */
.uXftcc, .CXTVff {
height: 240px;
background-size: auto 240px;
}
.uXftcc {
width: 320px;
}
/* Reduce size of youtube videos */
.uXftcc > .gntfhc, .CXTVff > .gntfhc {
height: 240px;
width: auto;
}
/* Reduce margin below lowest message in thread */
.jGyvbd > .nF6pT:last-child, .zh742e:last-child {
padding-bottom: 10px;
}
/* Make inline pre look like slack's */
.U8d2H {
font-family: Monaco,Menlo,Consolas,"Courier New",monospace !important;
margin: 0px;
padding: 1px 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/* Reduce sidebar width */
.X9KLPc, .Riuhhf {
width: 280px
}
/* Reduce margin above "Starred" label */
.aOHsTc {
margin-top: 5px;
}
/* Fix emojis dimensions */
.iiJ4W {
height: auto;
width: auto;
max-height: 1.2em;
max-width: 1.2em;
min-width: auto;
}
/* Reduce size of New conv button */
.SfqTBc {
padding: 4px 18px 4px 12px;
min-height: 30px;
}
/* Reduce height of link and file previews */
.Pj9rof { /* global block */
height: 140px;
width: 500px;
}
.tHcB6b { /* image container */
height: 100px;
}
.rNTKFb { /* image (for files) */
height: 100px;
}
.kmatHb { /* text */
font-size: 12px;
line-height: 13px;
}
.SXFjfb { /* text container */
height: 40px;
padding-top: 3px;
padding-left: 15px;
}
.VEWZeb { /* icon next to text */
height: 16px;
margin-right: 0px;
margin-top: 2px;
}
.SXFjfb.DoYruc { /* text when there is also a link */
padding-top: 3px;
}
.rNTKFb.Tvakkc, .tHcB6b .wU0G2b, .rNTKFb.Tvakkc + .bBukm /* image (for links) */ {
height: 100px !important;
width: auto !important;
}