blob: cd0970f91dce165fbeb4b63e218d0d118a207831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
:root {background: var(--yes);}
/* Feeds wrapper. */
.feeds {
height: 100%;
width: calc(100% - 6%);
position: absolute;
overflow: hidden;
animation-name: yes-refresh;
animation-duration: var(--med-speed);
}
/* Tabs. */
.tab-no {
height: 100%;
width: 3%;
position: relative;
float: right;
z-index: 0;
background: var(--no);
}
.tab-no:hover {width: 6%; transition: var(--fast-speed);}
.tab-no:hover ~ .tab-home {width: 6%; transition: var(--fast-speed);}
.tab-no:hover ~ .feeds {right: 12%; transition: var(--fast-speed);}
.tab-home {
height: 100%;
width: 3%;
position: relative;
float: right;
z-index: 1;
background: var(--home);
}
.tab-home:hover {width: 6%; transition: var(--fast-speed);}
.tab-home:hover ~ .feeds {
/* left: -3%; */
right: 9%;
transition: var(--fast-speed);
}
/* Feeds. */
.feed-conversations {
height: 100%;
width: 30%;
position: relative;
float: left;
overflow: auto;
}
.conversation-wrapper {
/* background: blue; */
height: 25%;
position: relative;
margin: 1rem;
overflow: hidden;
perspective: 600px;
}
.conversation-wrapper:hover {
height: 40%;
transition-duration: var(--med-speed);
}
.btn-reply {
height: 3rem;
width: calc(50% - 1rem);
position: absolute;
left: 0;
background: var(--home);
border-radius: 8px;
transform: rotateX(90deg);
transition-duration: var(--slow-speed);
transform-origin: bottom;
}
.conversation-wrapper:hover > .btn-reply {transform: rotateX(0deg);}
.btn-finish {
height: 3rem;
width: calc(50% - 1rem);
position: absolute;
right: 0;
background: var(--no);
border-radius: 8px;
transform: rotateX(90deg);
transition-duration: var(--slow-speed);
transform-origin: bottom;
}
.conversation-wrapper:hover > .btn-finish {transform: rotateX(0deg);}
.conversation {
height: 40%;
width: 100%;
position: relative;
background: white;
border-radius: 12px;
overflow: hidden;
transition-duration: var(--med-speed);
}
.conversation-wrapper:hover > .conversation {
margin-top: 3.5rem;
overflow: auto;
}
.input[type=text] {
width: 70%;
position: relative;
margin: 0 auto;
/* transform: rotateX(-90deg); */
transition-duration: var(--slow-speed);
transform-origin: top;
}
conversation-wrapper:hover > .input[type=text] {
transform: rotateX(90deg);
width: 20%;
}
.feed-news {
height: 100%;
width: 50%;
display: flex;
position: relative;
float: left;
flex-wrap: wrap;
overflow: auto;
justify-content: space-between;
}
.news-wrapper {
/* background: blue; */
height: 25%;
max-width: 40%;
position: relative;
margin: 1rem;
overflow: hidden;
perspective: 600px;
}
.news-wrapper:hover {
height: 25%;
transition-duration: var(--med-speed);
}
.news {
height: 100%;
max-width: 100%;
background: white;
position: relative;
border-radius: 14px;
overflow: hidden;
transition-duration: var(--med-speed);
}
.news-wrapper:hover > .news {
overflow: auto;
}
.btn-comment {
height: 3rem;
width: calc(50% - 1rem);
position: absolute;
left: 0;
background: var(--home);
border-radius: 8px;
transform: rotateX(90deg);
transition-duration: var(--slow-speed);
transform-origin: bottom;
}
.news-wrapper:hover > .btn-comment {transform: rotateX(0deg);}
.btn-archive {
height: 3rem;
width: calc(50% - 1rem);
position: absolute;
right: 0;
background: var(--no);
border-radius: 8px;
transform: rotateX(90deg);
transition-duration: var(--slow-speed);
transform-origin: bottom;
}
.news-wrapper:hover > .btn-archive {transform: rotateX(0deg);}
.news-wrapper:hover > .news {
margin-top: 3.5rem;
overflow: auto;
}
.feed-ads {
width: 20%;
height: 100%;
position: relative;
float: right;
overflow: auto;
}
.ad {
background: white;
border-radius: 14px;
padding: 1rem;
margin: 0.5rem;
}
.ad:hover {
background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
cursor: pointer;
transition: 0.8s;
color: white;
}
|