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