This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathriot-compact.user.css
89 lines (83 loc) · 2.11 KB
/
riot-compact.user.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
/* ==UserStyle==
@name Riot Compact
@namespace com.dannycolin.riot-compact
@version 0.4.1
@description A Riot Web Compact Theme
@author Danny Colin
@license MPL 2.0
@homepageURL https://github.com/dannycolin/riot-compact
@updateURL https://raw.githubusercontent.com/dannycolin/riot-compact/master/riot-compact.user.css
==/UserStyle== */
@-moz-document domain("chat.mozilla.org"), domain("riot.im"), domain("modular.im") {
/* -------------------- */
/* Avatars */
/* -------------------- */
/* Avatar image */
.mx_TopLeftMenuButton .mx_BaseAvatar_image,
.mx_RoomHeader .mx_BaseAvatar_image,
.mx_RoomTile .mx_BaseAvatar_image,
.mx_EntityTile .mx_BaseAvatar_image {
width: 16px !important;
height: 16px !important;
}
/* Initial letter in generated avatars */
.mx_TopLeftMenuButton .mx_BaseAvatar_initial,
.mx_RoomHeader .mx_BaseAvatar_initial,
.mx_RoomTile .mx_BaseAvatar_initial,
.mx_EntityTile .mx_BaseAvatar_initial {
width: 16px !important;
height: 16px !important;
font-size: 12px !important;
line-height: 16px !important;
}
/* RoomHeader */
.mx_RoomHeader_avatar {
margin-top: 3px !important;
}
/* E2E Icon */
.mx_E2EIcon.mx_E2EIcon_normal,
.mx_E2EIcon.mx_E2EIcon_verified {
width: 12px;
height: 12px;
}
/* Direct message badge */
.mx_RoomTile_dm {
width: 8px !important;
}
/* -------------------- */
/* Sidebars */
/* -------------------- */
.mx_RoomSubList.mx_RoomSubList_hidden,
.mx_RoomSubList_labelContainer {
height: 24px !important;
}
.mx_RoomTile, .mx_EntityTile {
height: 24px;
align-items: normal;
}
.mx_MemberList_invite {
display: none;
}
/* -------------------- */
/* Topbar */
/* -------------------- */
.mx_TopLeftMenuButton,
.mx_RoomHeader {
flex: 0 0 32px;
}
.mx_TopLeftMenuButton,
.mx_RoomHeader_wrapper {
height: 32px;
}
.mx_RoomHeader_name,
.mx_TopLeftMenuButton_name {
font-size: 16px;
}
.mx_RoomHeader_avatar {
margin-top: 12px;
}
.mx_RoomHeader_topic {
margin-top: 2px;
max-height: 1.2em;
}
}