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