37
|
1 body {
|
|
2 position: fixed;
|
|
3 top: 0;
|
|
4 bottom: 0;
|
|
5 left: 0;
|
|
6 right: 0;
|
|
7 }
|
|
8
|
48
|
9 div[chat_content] {
|
|
10 margin-left: 3%;
|
|
11 margin-right: 3%;
|
10
|
12 display: flex;
|
37
|
13 height: calc(100% - 32px);
|
10
|
14 }
|
|
15
|
|
16 div[chats] {
|
|
17 overflow-y: auto;
|
|
18 }
|
|
19
|
|
20 div[chats] > div {
|
|
21 margin-top: 2px;
|
|
22 margin-bottom: 2px;
|
|
23 padding-top: 16px;
|
|
24 padding-bottom: 16px;
|
|
25 padding-left: 8px;
|
|
26 padding-right: 8px;
|
|
27 border-radius: 4px;
|
11
|
28 cursor: pointer;
|
10
|
29 }
|
|
30
|
|
31 div[chats] > div:hover,
|
|
32 div[chats] > div[selected] {
|
|
33 background-color: LightBlue;
|
|
34 }
|
|
35
|
|
36 div[posts] {
|
|
37 width: 100%;
|
|
38 display: flex;
|
|
39 flex-direction: column;
|
34
|
40 justify-content: space-between;
|
10
|
41 }
|
|
42
|
|
43 div[posts] > * {
|
|
44 padding-right: 3vw;
|
|
45 }
|
|
46
|
|
47 div[top] {
|
|
48 display: flex;
|
|
49 justify-content: space-between;
|
|
50 align-items: center;
|
|
51 }
|
|
52
|
41
|
53 div[top] h3 a {
|
|
54 display: inline-block;
|
|
55 margin-bottom: -5px;
|
|
56 }
|
|
57 div[top] h3 a img {
|
|
58 display: block;
|
|
59 }
|
|
60
|
10
|
61 div[main] {
|
|
62 overflow-y: auto;
|
|
63 }
|
|
64
|
|
65 div[post] {
|
|
66 margin-top: 16px;
|
|
67 margin-bottom: 16px;
|
|
68 }
|
|
69
|
34
|
70 [intro] {
|
|
71 text-align: center;
|
|
72 }
|
|
73
|
|
74 div[who] {
|
|
75 display: flex;
|
|
76 justify-content: space-between;
|
|
77 font-size: 12px;
|
|
78 color: grey;
|
|
79 }
|
|
80
|
22
|
81 span[pulldown] {
|
|
82 position: relative;
|
35
|
83 width: 16px;
|
|
84 display: inline-block;
|
36
|
85 vertical-align: middle;
|
22
|
86 }
|
|
87
|
|
88 span[pulldown] > div {
|
|
89 display: none;
|
|
90 top: 0;
|
34
|
91 right: 100%;
|
22
|
92 z-index: 2;
|
|
93 position: absolute;
|
|
94 border: 1px solid #cccccc;
|
|
95 border-radius: 4px;
|
|
96 text-align: left;
|
|
97 background-color: #eeeeee;
|
|
98 padding: 5px 0;
|
|
99 }
|
|
100
|
|
101 span[pulldown] > div > span {
|
|
102 white-space: nowrap;
|
|
103 display: block;
|
|
104 padding: 3px 16px;
|
|
105 xcolor: #333333;
|
|
106 cursor: pointer;
|
|
107 }
|
|
108
|
|
109 span[pulldown] > div > span:hover {
|
|
110 color: #ffffff;
|
|
111 background-color: #428bca;
|
|
112 }
|
|
113
|
10
|
114 div[text] {
|
34
|
115 white-space: pre-wrap;
|
10
|
116 }
|
|
117
|
|
118 div[input] {
|
|
119 padding-top: 1em;
|
|
120 padding-bottom: 1em;
|
|
121 display: flex;
|
|
122 gap: 8px;
|
|
123 align-items: flex-end;
|
|
124 }
|
|
125
|
|
126 div[input] textarea {
|
|
127 flex-grow: 1;
|
|
128 max-height: 150px;
|
|
129 resize: none;
|
|
130 }
|
24
|
131
|
|
132 dialog textarea {
|
|
133 width: 600px;
|
|
134 max-width: 80vw;
|
|
135 }
|
27
|
136
|
33
|
137 span[online] {
|
|
138 display: inline-block;
|
|
139 aspect-ratio: 1;
|
|
140 background-color: grey;
|
34
|
141 height: 0.6em;
|
33
|
142 border-radius: 50%;
|
|
143 margin-left: 4px;
|
|
144 }
|
|
145
|
27
|
146
|
|
147 @media (min-width: 700px) {
|
48
|
148 div[chat_content] {
|
27
|
149 margin-left: calc(3% - 8px);
|
|
150 margin-right: 0;
|
|
151 }
|
|
152
|
|
153 div[chats] {
|
|
154 width: 250px;
|
|
155 padding-right: 8px;
|
|
156 flex-shrink: 0;
|
|
157 }
|
|
158
|
|
159 div[posts] {
|
|
160 padding-left: 8px;
|
34
|
161 border-left: 1px solid grey;
|
27
|
162 }
|
|
163
|
41
|
164 div[top] img[back] {
|
27
|
165 display: none;
|
|
166 }
|
|
167 }
|
|
168
|
|
169 @media (max-width: 699px) {
|
48
|
170 div[chat_content][show="chats"] div[posts],
|
|
171 div[chat_content][show="posts"] div[chats] {
|
27
|
172 display: none;
|
|
173 }
|
|
174
|
|
175 div[chats] {
|
|
176 width: 100%;
|
|
177 }
|
|
178
|
48
|
179 div[chat_content][show="posts"] {
|
27
|
180 margin-right: 0;
|
|
181 }
|
|
182
|
|
183 div[top] h3 {
|
|
184 display: flex;
|
|
185 gap: 6px;
|
|
186 }
|
|
187 }
|