-
Notifications
You must be signed in to change notification settings - Fork 0
/
ViewLogs.css
110 lines (96 loc) · 2 KB
/
ViewLogs.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
h2 {
color: rgba(255, 102, 0, 0.8);
font-weight: bold;
}
.tblTitle {
color: rgba(255, 102, 0, 0.8);
font-weight: bold;
}
.wrapper {
max-width: 800px;
width: 100%;
margin: auto;
position: relative;
}
.wrapper i {
height: 50px;
width: 50px;
color: white;
background: rgba(255, 102, 0, 0.9);
text-align: center;
line-height: 50px;
border-radius: 50%;
cursor: pointer;
position: absolute;
top: 50%;
font-size: 20px;
transform: translateY(-50%);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}
.wrapper i:first-child {
left: -22px;
}
.wrapper i:last-child {
right: -22px;
}
.wrapper .carousel {
display: grid;
grid-auto-flow: column;
grid-auto-columns: calc((100% / 3) - 12px);
gap: 16px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
}
.carousel::-webkit-scrollbar {
display: none;
}
.carousel.tile {
display: flex;
align-items: center;
justify-content: center;
}
.carousel.dragging {
scroll-snap-type: none;
scroll-behavior: auto;
}
.carousel.no-transition {
scroll-behavior: auto;
}
.carousel.dragging .tile {
cursor: grab;
user-select: none;
}
.carousel .tile {
scroll-snap-align: start;
height: 1000px;
list-style: none;
background: #fff;
border-radius: 8px;
display: flex;
cursor: pointer;
width: 98%;
padding-bottom: 15px;
align-items: center;
justify-content: center;
flex-direction: column;
}
.tile h2 {
font-weight: 500;
font-size: 1.56rem;
margin: 10px 0 5px;
}
.tile span {
color: #6a6d78;
font-size: 18px;
}
@media screen and (max-width: 900px) {
.wrapper .carousel {
grid-auto-columns: calc((100% / 2) - 9px);
}
}
@media screen and (max-width: 600px) {
.wrapper .carousel {
grid-auto-columns: 100%;
}
}