forked from thingsboard/thingsboard.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.sass
364 lines (333 loc) · 9.83 KB
/
home.sass
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
// features
$features-h3-margin-bottom: 20px
$feature-box-div-width: 100%
$feature-box-margin-bottom: 0
$feature-box-div-margin-bottom: 40px
#home
&:not(.open-nav):not(.flip-nav)
header
&::after
opacity: 0
#hero
height: 100vh //calc(100vh + 5px)
padding-top: 0px
position: relative
overflow: hidden
background: none
div:nth-child(1)
background-image: url(/video/tb-cover.jpg) !important
.video-cover
position: absolute
z-index: -2
top: 0px
left: 0px
bottom: 0px
right: 0px
overflow: hidden
background-size: cover
background-color: #000
background-repeat: no-repeat
background-position: 50% 50%
background-image: url(/video/tb-cover.jpg)
#hero-content
height: 100%
display: flex
flex-direction: column
justify-content: center
align-content: center
background-color: rgba(0,0,0,0.5)
.tb-title
margin-bottom: 20px
font-size: 22px
font-weight: 400
text-shadow: 0 0 18px rgba(0,0,0,.66)
.tb-sub-title
margin-bottom: 40px
font-size: 14px
line-height: 16px
text-shadow: 0 0 18px rgba(0,0,0,.66)
.learn-tb
cursor: pointer
line-height: 40px
font-size: 16px
padding: 0 15px
border: 1px solid white
background-color: transparent
transition: 0.6s
text-shadow: 0 0 18px rgba(0,0,0,.66)
&:hover
background-color: white
color: $dark-grey
.tb-arrow
position: fixed
bottom: 40px
left: 0
right: 0
margin: auto
width: 40px
height: 40px
opacity: 1
z-index: 24
color: #fff
a
color: #fff
&.arrow-hidden
.tb-arrow
display: none
#talkToUs
main
padding: 30px 0
h5
font-size: 20px
#intro, #main-features, #dashboard_description, #rule_engine, #tb-customers
color: #424242
h2
border: none
text-align: center
font-weight: 400
h3
border: none
font-weight: 400
p
line-height: 1.5em
#tb-customers
padding-top: 40px
padding-bottom: 40px
.customers-container
display: flex
flex-wrap: wrap
justify-content: center
.customer-block
opacity: 0
&.animated
opacity: 1
max-width: 100%
padding: 20px 30px
width: 230px
a
cursor: pointer
color: $blue-03
text-decoration: none
&:hover
text-decoration: underline
p
margin: 15px 0
.oceanNodes
&#intro
padding-top: 40px
padding-bottom: 40px
main:first-child
.image-wrapper
max-width: 100%
img
max-width: 491px
&#main-features
.image-wrapper
top: 0
transform: translateY(0)
.image-wrapper, .content
animation-duration: 1.5s
.image-wrapper, .content
opacity: 0
&.animated
opacity: 1
.demoDashboardButton
text-align: center
padding: 20px 0
.demo-dashboards-carousel, .feedbacks-carousel
.slick-next, .slick-prev
top: 40%
.slick-next:before, .slick-prev:before
color: rgba(0,0,0,0.67)
.demo-dashboards-carousel
padding-top: 25px
.dashboard-item
outline: none
.demoDashboardWrapper
position: relative
padding-bottom: 15px
.overlay
outline: none
position: absolute
top: 0
left: 0
width: 100%
height: 100%
background: #ffffff url(/images/eye_gray.svg) no-repeat scroll center
background-size: 88px
opacity: 0
transition: 0.5s
&:hover
opacity: 0.5
transition: 0.5s
.demoDashboard
display: block
position: relative
width: 100%
height: 100%
img
width: 100%
.demoRuleChain
display: block
position: relative
width: 100%
height: 100%
img
width: 100%
#dashboard_description, #rule_engine
main
display: block
opacity: 0
&.animated
opacity: 1
padding-top: 15px
h3
margin-bottom: 18px
// Features
#features
background-color: $light-grey
main
display: block
.features-title
padding-top: 100px
background-image: url(/images/thingsboard_blue.svg)
background-position: center 24px
background-repeat: no-repeat
background-size: 64px
margin-top: 20px
h3
margin-bottom: $features-h3-margin-bottom
opacity: 0
&.animated
opacity: 1
.feature-box
margin-bottom: $feature-box-margin-bottom
& > div
width: $feature-box-div-width
margin-bottom: $feature-box-div-margin-bottom
opacity: 0
&.animated
opacity: 1
width: 100%
//overflow: hidden
display: inline-block
clear: both
h4
line-height: normal
margin-bottom: 15px
& > div:first-child
float: left
& > div:last-child
float: right
.flyout-button
display: none
.header-animation
max-width: 100%
opacity: 0
transform: translate3d(0, 45px, 0)
animation-name: slideup-in
animation-duration: 600ms
animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94)
animation-fill-mode: forwards
.header-animation:nth-child(1)
animation-delay: 0ms
.header-animation:nth-child(2)
animation-delay: 300ms
.header-animation:nth-child(3)
animation-delay: 600ms
.header-animation:nth-child(4)
animation-delay: 900ms
.header-animation:nth-child(5)
animation-delay: 1200ms
@keyframes slideup-in
from
opacity: 0
transform: translate3d(0, 45px, 0)
to
opacity: 1
transform: translate3d(0, 0, 0)
@media screen and (min-width: 750px)
$features-h3-margin-bottom: 40px
$feature-box-margin-bottom: 60px
$feature-box-div-margin-bottom: 0
$feature-box-div-width: 45%
#home
#hero
#hero-content
.tb-title
font-size: 36px
.tb-sub-title
font-size: 20px
margin-bottom: 60px
.oceanNodes
&#intro
main:nth-child(1)
padding-right: 0
h3, p
text-align: center
.image-wrapper
position: relative
display: block
float: none
max-width: 100%
transform: none
.content
display: block
&#main-features
main
.image-wrapper
max-width: 25%
#features
padding-bottom: 60px
.features-title
padding-top: 120px
background-position: center 34px
.feature-box
margin-bottom: 30px
&:last-child
margin-bottom: 0
h3
margin-bottom: $features-h3-margin-bottom
.feature-box
& > div
width: $feature-box-div-width
margin-bottom: $feature-box-div-margin-bottom
@media screen and (min-width: 1025px)
#home
#hero
#vendorStrip
display: block
section, header
main
max-width: 1000px
footer
main
max-width: 1000px
.oceanNodes
&#intro
main:nth-child(1)
max-width: 1000px
padding-right: 475px
h3, p
text-align: left
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
img
max-width: 425px
@media screen and (min-width: 1250px)
#home
#hero
#hero-content
.tb-title
margin-bottom: 40px
font-size: 64px
.tb-sub-title
font-size: 28px
margin-bottom: 80px
.learn-tb
line-height: 60px
font-size: 28px
padding: 0 40px
border-width: 3px