summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/player/components.utility/media.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-08-13 20:15:08 +0200
committerJules Laplace <julescarbon@gmail.com>2020-08-13 20:15:08 +0200
commit45cf182c73a6eb019bf7e61cafa3ca117b014ddb (patch)
tree52dec0319e4fdbd0c2028dd3a6765ad3508d834c /animism-align/frontend/app/views/viewer/player/components.utility/media.css
parenta0cfa87f52a9ba82a3f35878bbe7ab8221804e60 (diff)
gallery vs carousel
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.utility/media.css')
-rw-r--r--animism-align/frontend/app/views/viewer/player/components.utility/media.css51
1 files changed, 44 insertions, 7 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.utility/media.css b/animism-align/frontend/app/views/viewer/player/components.utility/media.css
index 624e493..6ad5d0a 100644
--- a/animism-align/frontend/app/views/viewer/player/components.utility/media.css
+++ b/animism-align/frontend/app/views/viewer/player/components.utility/media.css
@@ -1,13 +1,9 @@
-/* gallery */
+/* carousel */
-.gallery {
-}
-.keen-slider {
-}
-.gallery-container {
+.carousel-container {
padding: 1rem;
}
-.gallery-item {
+.carousel-item {
height: calc(100vh - 9rem);
width: 50vw;
background-size: contain;
@@ -15,6 +11,47 @@
background-repeat: no-repeat;
}
+/* gallery */
+
+.gallery-container {
+ overflow-x: scroll;
+ width: 100%;
+ padding: 1rem;
+}
+.gallery-scroll {
+ display: flex;
+ flex-direction: row nowrap;
+ justify-content: flex-start;
+ align-items: flex-start;
+}
+.gallery-item {
+ height: 25rem;
+ max-height: 90vh;
+ padding-right: 1rem;
+}
+.gallery-item img {
+ height: 100%;
+}
+
+.gallery-container::-webkit-scrollbar {
+ cursor: pointer;
+ user-select: none;
+ height: 4px
+}
+.gallery-container::-webkit-scrollbar-button {
+ display: block;
+ width: 0;
+ height: 0;
+}
+.gallery-container::-webkit-scrollbar-track-piece {
+ background:rgba(211,211,211,0.8);
+}
+.gallery-container::-webkit-scrollbar-thumb {
+ display: block;
+ background: #000;
+}
+
+
/* vitrine */
.vitrine .heading {