-
Notifications
You must be signed in to change notification settings - Fork 10
/
story-view.css
230 lines (195 loc) · 4.19 KB
/
story-view.css
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
.story-view-wrapper {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: #222;
z-index: 2;
}
.story-view {
margin: auto;
color: #ffffff;
height: calc(100vh - 60px);
padding: 40px 0 20px;
}
.story-view-user {
display: flex;
align-items: center;
font-weight: bold;
margin-bottom: 20px;
justify-content: space-between;
}
.story-view-user-detail {
display: flex;
align-items: center;
}
button.story-view-close-btn {
cursor: pointer;
position: absolute;
top: 0;
right: -35px;
background: 0;
border: 0;
padding: 0;
}
.story-view-close-btn svg {
fill: #ffffffdd;
}
.story-view-user-name {
color: #ffffff;
}
.story-view-user img {
width: 50px;
border-radius: 50%;
margin-right: 10px;
}
.story-view-content {
height: calc(100% - 70px);
display: flex;
justify-content: center;
align-items: center;
position: relative;
padding: 20px;
}
.story-view-content[theme='0'] {
background-color: #4158d0;
background-image: linear-gradient(
43deg,
#4158d0 0%,
#c850c0 46%,
#ffcc70 100%
);
}
.story-view-content[theme='1'] {
background-color: #0093e9;
background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
}
.story-view-content[theme='2'] {
background-color: #8ec5fc;
background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
}
.story-view-content[theme='3'] {
background-color: #d9afd9;
background-image: linear-gradient(0deg, #d9afd9 0%, #97d9e1 100%);
}
.story-view-content[theme='4'] {
background-color: #ffffff;
background-image: linear-gradient(
180deg,
#ffffff 0%,
#6284ff 50%,
#ff0000 100%
);
}
.story-view-content[theme='5'] {
background-color: #00dbde;
background-image: linear-gradient(90deg, #00dbde 0%, #fc00ff 100%);
}
.story-view-content[theme='6'] {
background-color: #fbab7e;
background-image: linear-gradient(62deg, #fbab7e 0%, #f7ce68 100%);
}
.story-view-content[theme='7'] {
background-color: #85ffbd;
background-image: linear-gradient(45deg, #85ffbd 0%, #fffb7d 100%);
}
.story-view-content[theme='8'] {
background-color: #8bc6ec;
background-image: linear-gradient(135deg, #8bc6ec 0%, #9599e2 100%);
}
.story-view-content[theme='9'] {
background-color: #ff3cac;
background-image: linear-gradient(
225deg,
#ff3cac 0%,
#784ba0 50%,
#2b86c5 100%
);
}
.story-view-content[theme='10'] {
background-color: #08aeea;
background-image: linear-gradient(0deg, #08aeea 0%, #2af598 100%);
}
.story-view-content[theme='11'] {
background-color: #52acff;
background-image: linear-gradient(180deg, #52acff 25%, #ffe32c 100%);
}
.story-view-content[theme='12'] {
background-color: #ffe53b;
background-image: linear-gradient(147deg, #ffe53b 0%, #ff2525 74%);
}
.story-view-content[theme='13'] {
background-color: #21d4fd;
background-image: linear-gradient(19deg, #21d4fd 0%, #b721ff 100%);
}
.story-view-content[theme='14'] {
background-color: #3eecac;
background-image: linear-gradient(19deg, #3eecac 0%, #ee74e1 100%);
}
.story-view-content[theme='15'] {
background-color: #fa8bff;
background-image: linear-gradient(
45deg,
#fa8bff 0%,
#2bd2ff 52%,
#2bff88 90%
);
}
.story-view-content[theme='16'] {
background-color: #ff9a8b;
background-image: linear-gradient(
90deg,
#ff9a8b 0%,
#ff6a88 55%,
#ff99ac 100%
);
}
.story-view-content[theme='17'] {
background-color: #fbda61;
background-image: linear-gradient(45deg, #fbda61 0%, #ff5acd 100%);
}
.story-view-content-text {
text-align: center;
font-size: 35px;
color: #ffffff;
width: 100%;
font-weight: bold;
text-shadow: 1px 1px 2px #00000044;
}
.story-view-content-emoji {
font-size: 50px;
}
.story-view-content-text a {
color: #ffffff;
text-decoration: underline;
}
button.story-view-prev,
button.story-view-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
height: 34px;
width: 34px;
background: #666;
color: #dddddd;
border: 0;
border-radius: 50%;
font-weight: bold;
font-size: 18px;
}
button.story-view-prev {
left: -45px;
}
button.story-view-next {
right: -45px;
}
.hidden {
display: none;
}
.ex-progress-bar {
display: flex;
}
.ex-progress-bar > * {
flex-grow: 1;
}