annotate sat_templates/templates/bulma/static/styles.css @ 413:0190a0d32909 default tip

Forum: Major redesign of forums: Forums have been redesigned. They follow the new general design with 2 or 3 panels, allowing to have directly a forum if one is found/set up, and a panel on the left to search/discover other ones. Categories have been rewritten to be usable with pubsub relationships, a XEP-0277 type node is used for topics, and each item has a comments node for the threads. The thread view is set in `forum/show_messages.html` template. It has a header with a search box and a button to (un)subscribe. Items are displayed with the same macros as for the blog items. Below a room is set for editor, tags and attachments. rel 463
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2025 21:54:09 +0200
parents a5588ea3bcd6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
403
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
1 :root {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
2 --selected-item-bg: deepskyblue;
405
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
3 /* Reaction colors */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
4 --reaction-background: #ffffff;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
5 --reaction-hover-background: #f5f5f5;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
6 --reaction-border: #dbdbdb;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
7
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
8 /* User reaction colors */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
9 --reaction-user-background: #eef6fc;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
10 --reaction-user-hover-background: #e3f1fc;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
11 --reaction-user-border: #3273dc;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
12
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
13 /* Spacing */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
14 --reaction-padding: 0.25rem 0.5rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
15 --reaction-gap: 0.5rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
16 --reaction-margin-top: 0.5rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
17
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
18 /* Typography */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
19 --reaction-font-size: 0.875rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
20 --reaction-counter-font-size: 0.75rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
21 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
22
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
23 [data-theme="dark"] {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
24 --reaction-background: #2c2c2c;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
25 --reaction-hover-background: #404040;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
26 --reaction-border: #4a4a4a;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
27
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
28 --reaction-user-background: #1a3b5c;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
29 --reaction-user-hover-background: #234875;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
30 --reaction-user-border: #3273dc;
403
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
31 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
32
402
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
33 html, body {
381
387c8c5a3bee bulma (styles): disable the delete cross on search input:
Goffi <goffi@goffi.org>
parents: 371
diff changeset
34
403
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
35 height: 100vh;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
36 overflow: hidden;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
37 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
38
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
39 body {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
40 display: flex;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
41 flex-direction: column;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
42 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
43
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
44 #body {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
45 display: flex;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
46 flex-direction: column;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
47 overflow: auto;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
48 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
49
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
50 .is-full-height {
402
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
51 height: 100%;
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 }
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
53
404
66f98ee041d8 chat: add UI for replies/threads:
Goffi <goffi@goffi.org>
parents: 403
diff changeset
54 .is-full-width {
66f98ee041d8 chat: add UI for replies/threads:
Goffi <goffi@goffi.org>
parents: 403
diff changeset
55 width: 100%;
66f98ee041d8 chat: add UI for replies/threads:
Goffi <goffi@goffi.org>
parents: 403
diff changeset
56 }
66f98ee041d8 chat: add UI for replies/threads:
Goffi <goffi@goffi.org>
parents: 403
diff changeset
57
402
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
58 .navbar-item {
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
59 gap: 0;
319
45499870bbf4 bulma: new `editor` templates:
Goffi <goffi@goffi.org>
parents: 309
diff changeset
60 }
45499870bbf4 bulma: new `editor` templates:
Goffi <goffi@goffi.org>
parents: 309
diff changeset
61
242
bb5193cef770 bulma (css): some styles to handle dynamic content + misc
Goffi <goffi@goffi.org>
parents: 235
diff changeset
62
402
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
63 .menu-item {
2bbcb7da56bc bulma: use Font-Awesome instead of Fontello + start of major redesign:
Goffi <goffi@goffi.org>
parents: 396
diff changeset
64 padding-top: 0.225em;
286
f8026bf77a4c bulma (CSS): updated classed to handle native video player + video in slideshow
Goffi <goffi@goffi.org>
parents: 278
diff changeset
65 }
403
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
66
413
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
67
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
68 .is-text-content {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
69 white-space: break-spaces;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
70 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
71
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
72
403
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
73 .avatar {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
74 width: 40px;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
75 height: 40px;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
76 border-radius: 50%;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
77 background-color: #3273dc;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
78 color: #fff;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
79 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
80
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
81 .avatar.image {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
82 background-color: #ccc;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
83 padding: 3px;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
84 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
85
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
86 div.jid-search-dialog {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
87 min-height: 80%;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
88 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
89
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
90 div.search-item.is-selected {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
91 background-color: var(--selected-item-bg);
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
92 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
93
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
94 .collapsible-content {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
95 overflow: hidden;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
96 max-height: 0;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
97 opacity: 1;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
98 transition:
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
99 max-height 0.3s ease-out,
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
100 opacity 0.2s linear;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
101 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
102
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
103 .collapsible-header.collapsed .collapsible-icon {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
104 transform: rotate(-90deg);
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
105 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
106
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
107 /* Animation */
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
108 .collapsible-header.collapsed + .collapsible-content {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
109 opacity: 0;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
110 }
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
111
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
112 .collapsible-icon {
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
113 transition: transform 0.2s ease-out;
65c53ec5e777 Bulma: complete redesign:
Goffi <goffi@goffi.org>
parents: 402
diff changeset
114 }
405
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
115
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
116 /* Panels */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
117
406
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
118 .modal-panel-header {
405
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
119 border-bottom: 1px solid #dbdbdb;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
120 padding: 0.5rem 1rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
121 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
122
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
123
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
124 #left_panel li:hover {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
125 background-color: #444;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
126 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
127
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
128
410
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
129 /* dialogs */
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
130
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
131 .modal-dialog {
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
132 transform: scaleY(0);
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
133 }
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
134
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
135 div.state_appended .modal-dialog, div.main_notification.state_appended {
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
136 transform: scaleY(1);
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
137 transition: transform 0.15s ease-in;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
138 }
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
139
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
140 .main_notification {
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
141 position: fixed;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
142 top: 2rem;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
143 left: 0;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
144 right: 0;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
145 z-index: 10000;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
146 transform: scaleY(0);
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
147 transition: transform 0.15s ease-in;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
148 }
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
149
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
150 div.main_notification>div.column {
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
151 display: flex;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
152 max-width: 95%;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
153 }
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
154 div.main_notification>div.column>div.notification {
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
155 max-width: 80rem;
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
156 }
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
157
a5588ea3bcd6 css: Restore some dialogs/notifs rules.
Goffi <goffi@goffi.org>
parents: 406
diff changeset
158
405
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
159 /* Sidebar toggle transitions */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
160 .left-sidebar, .right-sidebar {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
161 transition: transform 0.3s ease, max-width 0.3s ease, opacity 0.3s ease;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
162 overflow-x: hidden;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
163 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
164
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
165 .left-sidebar.is-collapsed {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
166 transform: translateX(-100%);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
167 max-width: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
168 padding: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
169 margin: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
170 opacity: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
171 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
172
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
173 .right-sidebar.is-collapsed {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
174 transform: translateX(100%);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
175 max-width: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
176 padding: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
177 margin: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
178 opacity: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
179 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
180
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
181 .main-panel.is-expanded-left {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
182 margin-left: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
183 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
184
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
185 .main-panel.is-expanded-right {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
186 margin-right: 0;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
187 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
188
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
189 /* Common components */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
190 /* Reactions */
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
191 .reactions-container {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
192 gap: var(--reaction-gap);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
193 margin-top: var(--reaction-margin-top);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
194 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
195 .reaction {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
196 padding: var(--reaction-padding);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
197 border-radius: 1rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
198 background-color: var(--reaction-background);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
199 font-size: var(--reaction-font-size);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
200 cursor: pointer;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
201 transition: all 0.2s ease;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
202 border: 1px solid var(--reaction-border);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
203 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
204 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
205
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
206 .reaction:hover {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
207 background-color: var(--reaction-hover-background);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
208 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
209
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
210 .reaction .counter {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
211 margin-left: 0.25rem;
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
212 font-size: var(--reaction-counter-font-size);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
213 color: var(--color-text);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
214 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
215
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
216 .reaction.own-reaction {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
217 background-color: var(--reaction-user-background);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
218 border-color: var(--reaction-user-border);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
219 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
220
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
221 .reaction.own-reaction:hover {
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
222 background-color: var(--reaction-user-hover-background);
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
223 }
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
224
406
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
225 /* Side Panels */
405
5016fb0ff62f Blog redesign: work in progress redesign of the blog.
Goffi <goffi@goffi.org>
parents: 404
diff changeset
226
406
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
227 .modal-panel {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
228 position: fixed;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
229 top: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
230 left: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
231 width: 100%;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
232 height: 100%;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
233 z-index: 100;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
234 display: flex;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
235 pointer-events: none;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
236 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
237
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
238 .modal-panel-background {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
239 position: absolute;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
240 top: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
241 left: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
242 width: 100%;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
243 height: 100%;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
244 background-color: hsla(221,14%,4%,0.86);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
245 opacity: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
246 transition: opacity 0.3s ease;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
247 pointer-events: all;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
248 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
249
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
250 .modal-panel-container {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
251 position: absolute;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
252 background: white;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
253 box-shadow: -2px 0 10px rgba(0,0,0,0.1);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
254 overflow-y: auto;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
255 transition: transform 0.3s ease-out;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
256 will-change: transform;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
257 pointer-events: all;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
258 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
259
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
260 /* Position classes */
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
261 .modal-panel-container.is-right {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
262 top: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
263 right: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
264 height: 100vh;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
265 transform: translateX(100%);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
266 border-left: 1px solid #eee;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
267 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
268
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
269 .modal-panel-container.is-left {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
270 top: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
271 left: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
272 height: 100vh;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
273 transform: translateX(-100%);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
274 border-right: 1px solid #eee;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
275 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
276
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
277 .modal-panel-container.is-top {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
278 top: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
279 left: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
280 right: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
281 transform: translateY(-100%);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
282 border-bottom: 1px solid #eee;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
283 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
284
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
285 .modal-panel-container.is-bottom {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
286 bottom: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
287 left: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
288 right: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
289 transform: translateY(100%);
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
290 border-top: 1px solid #eee;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
291 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
292
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
293 /* Active state */
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
294 .modal-panel.is-active .modal-panel-background {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
295 opacity: 1;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
296 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
297
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
298 .modal-panel.is-active .modal-panel-container {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
299 transform: none !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
300 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
301
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
302 /* Closing animation */
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
303 .modal-panel.closing .modal-panel-background {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
304 opacity: 0;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
305 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
306
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
307 .modal-panel.closing .modal-panel-container.is-right {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
308 transform: translateX(100%) !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
309 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
310
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
311 .modal-panel.closing .modal-panel-container.is-left {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
312 transform: translateX(-100%) !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
313 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
314
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
315 .modal-panel.closing .modal-panel-container.is-top {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
316 transform: translateY(-100%) !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
317 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
318
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
319 .modal-panel.closing .modal-panel-container.is-bottom {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
320 transform: translateY(100%) !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
321 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
322
413
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
323 .thumbnail-image {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
324 max-height: 100%;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
325 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
326
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
327 /* Tags */
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
328
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
329 .tag_input {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
330 display: inline-block;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
331 width: 6rem;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
332 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
333
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
334 /* Attachments */
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
335
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
336 .attachments {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
337 opacity: 1;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
338 max-height: 1000px;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
339 transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
340 overflow-x: auto;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
341 overflow-y: hidden;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
342 padding: 1.25rem 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
343 margin: 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
344 white-space: nowrap;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
345 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
346
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
347 .attachments.is-contracted {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
348 opacity: 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
349 max-height: 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
350 padding: 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
351 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
352
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
353 .attachment-preview {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
354 position: relative;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
355 border: 1px solid #dbdbdb;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
356 padding: 0.3rem 0.5rem;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
357 border-radius: 4px;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
358 background-color: #f5f5f5;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
359 margin: 0 1rem 0 0 !important;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
360 width: 9rem;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
361 }
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
362
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
363 .progress_finished progress {
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
364 opacity: 0;
0190a0d32909 Forum: Major redesign of forums:
Goffi <goffi@goffi.org>
parents: 410
diff changeset
365 }
406
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
366
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
367 /* Responsive */
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
368
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
369
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
370 @media screen and (max-width: 768px) {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
371 .modal-panel-container {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
372 width: 90% !important;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
373 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
374 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
375
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
376 @media screen and (min-width: 769px) {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
377 .modal-panel-container.is-right,
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
378 .modal-panel-container.is-left {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
379 width: 50rem;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
380 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
381
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
382 .modal-panel-container.is-top,
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
383 .modal-panel-container.is-bottom {
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
384 height: 80vh;
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
385 }
049a0638f6fa chat: Keywords handling:
Goffi <goffi@goffi.org>
parents: 405
diff changeset
386 }