This repository was archived by the owner on Sep 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +40
-4
lines changed Expand file tree Collapse file tree 2 files changed +40
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ ## v0.2.0
4
+
5
+ - Fix update link
6
+ - Add compact styling for the Topbar (Room Header & Top Left Button)
7
+
8
+ ## v0.1.0
9
+
10
+ - Initial pre-release
Original file line number Diff line number Diff line change 1
1
/* ==UserStyle==
2
2
@name Riot Compact
3
3
@namespace Riot-Compact
4
- @version 0.1 .0
4
+ @version 0.2 .0
5
5
@description A Riot Web Compact Theme
6
6
@author Danny Colin
7
7
@license MPL 2.0
8
8
@homepageURL https://github.com/dannycolin/riot-compact
9
- @updateURL https://raw.githubusercontent.com/dannycolin/riot-compact/master/riot-compact.css
9
+ @updateURL https://raw.githubusercontent.com/dannycolin/riot-compact/master/riot-compact.user. css
10
10
==/UserStyle== */
11
11
12
12
@-moz-document domain("chat.mozilla.org" ), domain ("riot.im" ), domain ("modular.im" ) {
13
13
/* -------------------- */
14
14
/* Avatars */
15
15
/* -------------------- */
16
16
17
- /* Rooms avatar */
17
+ /* Avatar image */
18
+ .mx_TopLeftMenuButton .mx_BaseAvatar_image ,
19
+ .mx_RoomHeader .mx_BaseAvatar_image ,
18
20
.mx_RoomTile .mx_BaseAvatar_image ,
19
21
.mx_EntityTile .mx_BaseAvatar_image {
20
22
width : 16px ;
21
23
height : 16px ;
22
24
}
23
25
/* Initial letter in generated avatars */
26
+ .mx_TopLeftMenuButton .mx_BaseAvatar_initial ,
27
+ .mx_RoomHeader .mx_BaseAvatar_initial ,
24
28
.mx_RoomTile .mx_BaseAvatar_initial ,
25
29
.mx_EntityTile .mx_BaseAvatar_initial {
26
30
width : 16px !important ;
50
54
height : 24px ;
51
55
align-items : normal;
52
56
}
53
-
57
+
58
+ /* -------------------- */
59
+ /* Topbar */
60
+ /* -------------------- */
61
+ .mx_TopLeftMenuButton ,
62
+ .mx_RoomHeader {
63
+ flex : 0 0 32px ;
64
+ }
65
+ .mx_TopLeftMenuButton ,
66
+ .mx_RoomHeader_wrapper {
67
+ height : 32px ;
68
+ }
69
+ .mx_RoomHeader_name ,
70
+ .mx_TopLeftMenuButton_name {
71
+ font-size : 16px ;
72
+ }
73
+ .mx_RoomHeader_avatar {
74
+ margin-top : 12px ;
75
+ }
76
+ .mx_RoomHeader_topic {
77
+ margin-top : 2px ;
78
+ max-height : 1.2em ;
79
+ }
54
80
}
You can’t perform that action at this time.
0 commit comments