forked from thingsboard/thingsboard.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.sass
718 lines (694 loc) · 24 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
// features
$features-h3-margin-bottom: 20px
$feature-box-div-width: 100%
$feature-box-margin-bottom: 0
$feature-box-div-margin-bottom: 40px
#home
section
background: none
&: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(https://img.thingsboard.io/tb-cover.webp) !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(https://img.thingsboard.io/tb-cover.webp)
#hero-content
height: 100%
display: flex
flex-direction: column
justify-content: center
align-content: center
background-color: rgba(0,0,0,0.72)
.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
text-shadow: none
.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
#overflow
overflow: hidden
#react
margin-top: 125px
@media (max-width: 768px)
margin-top: 50px
#intro, #manage, #react, #products, #dashboard_description, #rule-engine, #bottom-features
color: #212529
text-align: left
h1, h2.past-h1
font-weight: 600
text-align: center
font-size: 32px
line-height: 52px
a
font-weight: 600
font-size: 32px
h2, span.phrase-heading
font-weight: 500
line-height: 54px
font-size: 36px
h3
font-size: 42px
font-weight: 600
line-height: 63px
p
color: #75767C
font-size: 18px
font-weight: normal
line-height: 27px
margin: 4px 0 18px
a
color: #2A7DEC
font-weight: 500
font-size: 18px
img
height: auto
#intro
margin-bottom: 178px
@media (max-width: 768px)
margin-bottom: 70px
padding-top: 88px
.second
margin-top: 48px
color: #899AAB
font-size: 20px
line-height: 1.5em
font-weight: normal
&.in-the-past-h1
font-weight: 400
text-align: center
#manage, #react
#features-top, #features-top-2
img
border-radius: 6px
box-shadow: 0 50px 50px -20px rgba(0,0,0,0.15), 0 0 30px 0 rgba(0,0,0,0.05)
.block
justify-content: space-between
display: flex
align-items: center
flex-direction: column
.preview, .manage, .visualize
margin-top: 32px
img, .manage, .visualize, .process
order: 2
.feature-des
order: 1
h2
margin-top: 100px
&.microservices h2
@media (max-width: 768px)
margin-top: 60px
.feature-des, img, .manage, .visualize, .process
width: 100%
.manage
position: relative
display: inline-block
.device-list
margin: 14% 0
width: 100%
display: block
border-radius: 4px
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 1px 0 rgba(0,0,0,0.07)
.device-manage
width: 87%
position: absolute
right: 0
top: 0
.visualize
position: relative
.vis1
width: 100%
margin-bottom: 2%
.vis2
width: 72%
.vis3
width: 25.82%
position: absolute
right: 0
&.vis
margin: 80px 0 30px
@media (max-width: 768px)
margin: 60px 0 30px
.process
position: relative
display: inline-block
.react
width: 167%
max-width: 1031px
border-radius: unset
position: absolute
box-shadow: unset
z-index: -1
right: -576px
top: 0
@media (max-width: 768px)
right: 0
div
width: 100%
height: 100px
top: 90px
background: #305680
border-radius: 6px
z-index: -1
position: absolute
box-shadow: 4px 0 30px 0 rgba(37,38,40,0.6)
.add-rule
width: 100%
margin-top: 90px
&.dark
.feature-des
margin-bottom: 50px
h2, span.phrase-heading
color: white
p
color: #A6A8B2
a
color: white
img
filter: invert(98%) sepia(19%) saturate(109%) hue-rotate(232deg) brightness(115%) contrast(100%)
i
filter: sepia(19%) saturate(109%) hue-rotate(232deg) brightness(115%) contrast(100%)
&.micro
margin: 100px 0
img
box-shadow: unset
max-width: 569px
.feature-des
margin-bottom: 20px
#products
width: 100%
padding-top: 100px
padding-bottom: 56px
@media (max-width: 768px)
padding-top: 60px
padding-bottom: 20px
.product-title
color: white
text-align: center
margin-bottom: 72px
.product-list
display: flex
margin: unset
div
color: #212529
background-color: white
box-shadow: 0 50px 50px -20px rgba(0,0,0,0.15), 0 0 30px 0 rgba(0,0,0,0.05)
border-radius: 6px
padding: 40px
text-align: center
flex: 1
margin-bottom: 40px
p
margin: unset
h2, span.phrase-heading
font-size: 28px
font-weight: 600
h3
font-size: 16px
font-weight: unset
margin-top: 18px
line-height: 1.5
img
display: block
margin: 50px auto 50px auto
width: 80%
&.main
box-shadow: inset 0px -6px 0px #305680, 0 50px 50px -20px rgba(0,0,0,0.15), 0 0 30px 0 rgba(0,0,0,0.05)
margin: 0 30px
h2, span.phrase-heading
font-size: 42px
font-weight: 600
line-height: 1.5
img
margin: 60px auto
a
color: #2A7DEC
font-weight: 500
@media(max-width: 992px)
flex-direction: column
div.main
margin: 0 0 40px
a
color: #707275
font-weight: 500
margin-top: 56px
text-align: center
@media (max-width: 768px)
margin-top: 20px
#dashboard_description
margin-top: 186px
margin-bottom: 120px
@media (max-width: 768px)
margin-top: 20px
margin-bottom: 0
.owl-carousel.owl-theme.usecase-carousel
margin: 40px auto
@media (max-width: 768px)
margin: 50px auto
width: 100%
.owl-stage-outer
overflow: hidden
.owl-stage
.owl-item
min-height: 420px
.item-image
box-shadow: unset
.owl-nav
button.owl-prev
left: -50px
button.owl-next
right: -50px
.dashboard-item
flex-direction: column
justify-content: space-between
display: flex !important
align-items: center
.item-image-container .overlay
@media (max-width: 768px)
display: none
.item-image-container
position: relative
width: 100%
.item-image
position: relative
width: 100%
height: auto
border-radius: 6px
display: block
.item-description
width: 100%
margin-bottom: 32px
#rule-engine
margin-bottom: 148px
@media (max-width: 768px)
margin-bottom: 80px
.rule
justify-content: space-between
display: flex
align-items: center
flex-direction: column
a
order: 2
width: 100%
img
width: 100%
border-radius: 6px
box-shadow: 0 50px 50px -20px rgba(0,0,0,0.15), 0 0 30px 0 rgba(0,0,0,0.05)
.des
order: 1
width: 100%
margin-bottom: 32px
#bottom-features
padding-bottom: 80px
#cards
padding-top: 50px
justify-content: center
&>div
margin-bottom: 36px
&.col-lg-6
padding: 0 18px
max-width: 100%
.block
padding: 48px
float: left
width: 100%
height: 100%
background: white
border-radius: 6px
box-shadow: 0 50px 50px -20px rgba(0,0,0,0.15)
display: unset
text-align: center
div
width: 100%
.title
color: #2A7DEC
font-size: 24px
font-weight: 500
margin-bottom: 6px
p
margin-top: 10px
img
height: fit-content
margin: 0 0 18px
.read-more-button
position: relative
transition-duration: 0.3s
&.dash
outline: none
.arrow
right: -20px
.arrow
font-size: 13px
transform: translate(0px)
transition-duration: 0.3s
filter: invert(35%) sepia(96%) saturate(1837%) hue-rotate(202deg) brightness(98%) contrast(89%)
box-shadow: none !important
width: 12px !important
margin-left: 12px
position: absolute
top: 7px
&.first
opacity: 0.2
&.second
opacity: 0.5
&:hover
transition-duration: 0.3s
.first
transform: translate(10px)
.second
transform: translate(20px)
.third
transform: translate(30px)
.img-button
&.rule-button
position: relative
.overlay
color: white
z-index: 1000
display: block
width: 100%
position: absolute
font-weight: 400
height: 100%
opacity: 0
background: linear-gradient(0deg, rgba(37,38,40,0.8) 0%, rgba(37,38,40,0.6) 100%)
transition-duration: 0.3s
border-radius: 6px
&:hover
opacity: 1
.eye
bottom: 14%
.eye
transition-duration: 0.3s
position: absolute
bottom: 0
// left: calc(50% - 60px)
left: 33%
display: flex
img, i
font-size: 24px
margin-right: 10px
width: unset !important
.background
z-index: -1
position: absolute
top: 524px
left: 50%
img
position: absolute
top: -650px
left: 134px
box-shadow: none !important
div
position: absolute
-ms-transform: skewY(-6deg)
transform: skewY(-6deg)
width: 436px
height: 90px
&.main1
top: -572px
width: 2560px
height: 525px
left: -1280px
background-color: #F7F9FC
&.small1
top: -528px
right: 646px
background-color: #305680
&.small2
top: -590px
right: 408px
background-color: #2A7DEC
&.small3
top: -715px
left: 789px
border: 4px solid #2A7DEC
&.small4
top: 22px
right: 814px
border: 2px solid #0D2743
&.main2
top: -700px
@media (max-width: 768px)
top: -576px
width: 2560px
height: 825px
left: -1280px
background-color: #252628
&.small5
top: -742px
left: 867px
border: 4px solid #305680
&.small6
top: -37px
right: 525px
background-color: #305680
&.products
top: -590px
width: 2560px
height: 200px
left: -1280px
background-color: #305680
&.small7
top: -742px
left: 732px
background-color: #2A7DEC
&.small8
top: -350px
right: 736px
border: 4px solid #2A7DEC
&.dashboards
top: -550px
width: 2560px
height: 845px
left: -1280px
background-color: #F7F9FC
&.small9
top: -746px
left: 466px
border: 4px solid #0D2743
&.small10
top: -805px
left: 658px
background-color: #2A7DEC
&.bottom-features1
top: -700px
width: 2560px
height: 3000px
left: -1280px
-ms-transform: unset
transform: unset
background-color: #F7F9FC
&.bottom-features2
top: -240px
width: 2560px
height: 525px
left: -1280px
background-color: #252628
&.small11
top: -382px
left: 757px
background-color: #2A7DEC
&.small12
top: 334px
right: 589px
border: 4px solid #305680
&.bottom-features3
top: 1008px
width: 2560px
height: 525px
left: -1280px
background-color: #252628
&.small13
top: 1071px
right: 646px
background-color: #305680
&.small14
top: 1009px
right: 408px
background-color: #2A7DEC
&.small15
top: 1373px
left: 830px
border: 4px solid #2A7DEC
.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
#overflow
#manage, #react
#features-top, #features-top-2
.block
.feature-des, img, .manage, .visualize, .process
width: 80%
#products
.product-list
margin: 0 80px
#bottom-features
#cards
div
.block
text-align: left
display: flex
div
width: calc(100% - 122px)
img
margin: 0 30px 0 0
@media screen and (min-width: 1025px)
#home
#hero
#vendorStrip
display: block
section, header
main, div.main-div
max-width: 1400px
footer
main, div.main-div
max-width: 1400px
#overflow
#manage, #react
#features-top, #features-top-2
.block
flex-direction: row
.feature-des, img, .manage, .visualize, .process
width: calc(50% - 80px)
order: unset
h2, span.phrase-heading
margin: unset
.preview, .manage, .visualize, .process
margin-top: unset
#products
.product-list
margin: 0 60px
#rule-engine
.rule
flex-direction: row
a
order: unset
width: calc(65% - 20px)
.des
order: unset
width: calc(35% - 60px)
margin: unset
.background
div.main2
height: 525px
#dashboard_description
.owl-carousel.owl-theme.usecase-carousel
width: 90%
.dashboard-item
flex-direction: unset
.item-image-container
width: 66%
.item-description
width: 30%
@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
@media screen and (min-width: 1500px)
#home
#overflow
#dashboard_description
.owl-carousel.owl-theme.usecase-carousel
width: 100%
@media (max-width: 768px)
.read-more-button
.arrow
display: none