-
Notifications
You must be signed in to change notification settings - Fork 0
/
quick-carousel.css
92 lines (73 loc) · 1.82 KB
/
quick-carousel.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
.quickCarouselGalleryBox {
position: absolute;
top:0;
left:0;
bottom: 0;
right: 0;
display: none;
/* display: grid; */
grid-template-rows: 40px 1fr 80px;
backdrop-filter: blur(5px);
margin:0;
padding: 0;
overflow: hidden;
}
.quickCarouselGalleryBox .gallery_top_bar {
display: flex;
flex-flow: row nowrap;
justify-content:flex-end;
align-items: center;
padding-right: 30px;
}
.quickCarouselGalleryBox .gallery_slider {
display: grid;
grid-template-columns: 50px 1fr 50px;
border: 1px solid #ccc;
overflow: hidden;
}
.quickCarouselGalleryBox .gallery_slider .gallery_back_button, .quickCarouselGalleryBox .gallery_slider .gallery_forward_button{
display: grid;
align-items: center;
justify-items: center;
cursor: pointer;
}
.quickCarouselGalleryBox .gallery_slider .gallery_central_image {
display: grid;
align-items: center;
justify-items: center;
overflow: auto;
}
.quickCarouselGalleryBox .gallery_thumbnails {
display: flex;
flex-flow:row nowrap;
align-items: center;
justify-content: center;
overflow-x: auto;
}
.quickCarouselGalleryBox .gallery_thumbnails img {
max-height: calc(100% - 10px);
border-radius: 3px;
object-fit: cover;
margin: 0 4px;
border: 1px solid #ccc;
cursor: pointer;
transition: all ease .24s;
}
.quickCarouselGalleryBox .gallery_thumbnails img.active {
border: 1px solid black;
outline: 1px solid black;
}
.quickCarouselGalleryBox .gallery_thumbnails img:hover {
transform: scale(1.05);
}
.quickCarouselGalleryBox .gallery_slider img {
max-width: 100%;
max-height: 100%;
object-fit: cover;
}
.quickCarouselGalleryBox svg {
cursor: pointer;
}
.quickCarouselGalleryBox .gallery_top_bar svg {
transform: scale(.75);
}