Skip to content

Commit 5a26c2e

Browse files
highemerlygithub-actions[bot]
authored andcommitted
arrange css for 4.4
1 parent 26d7ac3 commit 5a26c2e

1 file changed

Lines changed: 105 additions & 64 deletions

File tree

app/javascript/styles/handon/handon.scss

Lines changed: 105 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -4,110 +4,85 @@ $post-button-color: white !default;
44

55
/* Timeline padding */
66
.column .status__wrapper .status {
7-
padding-top: 12px !important;
7+
padding-top: 8px !important;
88
padding-bottom: 8px !important;
9-
padding-right: 14px !important;
10-
padding-left: 14px !important;
9+
padding-right: 12px !important;
10+
padding-left: 12px !important;
1111
}
1212

1313
.column .status__wrapper .status__action-bar {
14-
margin-top: 6px;
14+
margin-top: 8px;
15+
height: 22px;
1516
}
1617

1718
.column .status__wrapper .status__prepend {
18-
padding-top: 12px !important;
19+
padding-top: 6px !important;
1920
}
2021

21-
/* Notification padding */
22-
.column .item-list .notification-ungrouped {
23-
padding-left: 8px !important;
24-
padding-right: 8px !important;
25-
padding-top: 10px !important;
26-
padding-bottom: 5px !important;
22+
.column-header__title {
23+
padding-top: 2px !important;
24+
padding-bottom: 2px !important;
2725
}
2826

29-
.column .item-list .notification-ungrouped__header {
30-
padding-left: 12px !important;
31-
margin-bottom: 2px !important;
27+
.column-header__back-button {
28+
padding-top: 2px !important;
29+
padding-bottom: 2px !important;
3230
}
3331

34-
.column .item-list .notification-group {
35-
padding-left: 10px !important;
36-
padding-right: 16px !important;
37-
padding-top: 14px !important;
38-
padding-bottom: 14px !important;
39-
}
32+
/* spaces of status_prepend at timeline */
4033

41-
.column .item-list .notification-ungrouped .notification-ungrouped__header {
42-
margin-bottom: 4px !important;
34+
.status__prepend {
35+
font-size: 13px !important;
4336
}
4437

45-
/* (Misskey compatibility) consider visibility of ultra-wide custom emojis */
46-
.column .status__wrapper .status .emojione {
47-
width: auto !important;
48-
}
49-
.column .detailed-status__wrapper .detailed-status .emojione {
50-
width: auto !important;
38+
/* spaces of status_info at timeline */
39+
.status .status__content .status__content__text {
40+
font-size: 14px;
5141
}
5242

53-
/* (Visibility icon) remove public icon*/
54-
.status-public .icon-globe {
55-
display: none !important ;
56-
}
57-
58-
/* (Visibility icon) emphasize followers-only */
59-
.status-private .icon-lock {
60-
color: $lock-color !important ;
43+
.status .status__info {
44+
padding-bottom: 8px !important;
6145
}
6246

63-
/* (Visibility icon) emphasize direct */
64-
.status-direct .icon-at {
65-
color: $at-color !important ;
47+
.status .status__info .status__display-name {
48+
line-height: 18px !important;
6649
}
6750

68-
/* Change color of display-name who is belong to handon.club */
69-
.status .handon-local-account {
70-
color: #ff6347 !important ;
51+
.status .status__info .status__display-name .display-name__html {
52+
font-size: 0.9em;
7153
}
72-
73-
/* Enlarge custom emojis */
74-
p > .emojione[alt^=':']:active {
75-
width: 8em;
76-
height: 8em;
77-
margin: 0;
54+
.status .status__info .status__display-name .display-name__account {
55+
font-size: 0.85em;
7856
}
7957

80-
/* spaces of status at timeline */
81-
.status span.display-name__account {
82-
font-size: 0.9em;
58+
.status .status__info .status__avatar .account__avatar {
59+
width: 36px !important;
60+
height: 36px !important;
8361
}
8462

85-
.status div.status__avatar div.account__avatar {
86-
width: 40px !important;
87-
height: 40px !important;
63+
.status .status__info .status__relative-time {
64+
height: 36px !important;
65+
font-size: 0.85em;
8866
}
8967

90-
.status div.status__avatar div.account__avatar-overlay {
91-
width: 40px !important;
92-
height: 40px !important;
93-
}
68+
/* spaces of status_info at timeline (reblog) */
9469

9570
.status
9671
div.status__avatar
9772
div.account__avatar-overlay
9873
div.account__avatar-overlay-base
9974
div.account__avatar {
100-
width: 35px !important;
101-
height: 35px !important;
75+
width: 32px !important;
76+
height: 32px !important;
10277
}
10378

10479
.status
10580
div.status__avatar
10681
div.account__avatar-overlay
10782
div.account__avatar-overlay-overlay
10883
div.account__avatar {
109-
width: 23px !important;
110-
height: 23px !important;
84+
width: 22px !important;
85+
height: 22px !important;
11186
}
11287

11388
/* spaces of link card */
@@ -120,18 +95,84 @@ p > .emojione[alt^=':']:active {
12095
}
12196

12297
.status-card__image {
123-
width: 80px !important;
98+
width: 65px !important;
12499
}
125100

126101
.status-card__title {
127-
font-size: 14px !important;
102+
font-size: 12px !important;
128103
}
129104

130105
.status-card__host {
131106
margin-bottom: 0 !important;
107+
font-size: 12px !important;
132108
}
133109

134110
.status-card__description {
135111
margin-top: 4px !important;
136112
font-size: 12px !important;
113+
}
114+
115+
/* Media */
116+
.media-gallery {
117+
margin-top: 6px !important;
118+
margin-bottom: 2px !important;
119+
}
120+
121+
/* Notification padding */
122+
.column .item-list .notification-ungrouped {
123+
padding-left: 8px !important;
124+
padding-right: 8px !important;
125+
padding-top: 10px !important;
126+
padding-bottom: 5px !important;
127+
}
128+
129+
.column .item-list .notification-ungrouped__header {
130+
padding-left: 12px !important;
131+
margin-bottom: 2px !important;
132+
}
133+
134+
.column .item-list .notification-group {
135+
padding-left: 10px !important;
136+
padding-right: 16px !important;
137+
padding-top: 14px !important;
138+
padding-bottom: 14px !important;
139+
}
140+
141+
.column .item-list .notification-ungrouped .notification-ungrouped__header {
142+
margin-bottom: 4px !important;
143+
}
144+
145+
/* (Misskey compatibility) consider visibility of ultra-wide custom emojis */
146+
.column .status__wrapper .status .emojione {
147+
width: auto !important;
148+
}
149+
.column .detailed-status__wrapper .detailed-status .emojione {
150+
width: auto !important;
151+
}
152+
153+
/* (Visibility icon) remove public icon*/
154+
.status-public .icon-globe {
155+
display: none !important ;
156+
}
157+
158+
/* (Visibility icon) emphasize followers-only */
159+
.status-private .icon-lock {
160+
color: $lock-color !important ;
161+
}
162+
163+
/* (Visibility icon) emphasize direct */
164+
.status-direct .icon-at {
165+
color: $at-color !important ;
166+
}
167+
168+
/* Change color of display-name who is belong to handon.club */
169+
.status .handon-local-account {
170+
color: #ff6347 !important ;
171+
}
172+
173+
/* Enlarge custom emojis */
174+
p > .emojione[alt^=':']:active {
175+
width: 8em;
176+
height: 8em;
177+
margin: 0;
137178
}

0 commit comments

Comments
 (0)