integration/v2/css/slideshow.css
author ymh <ymh.work@gmail.com>
Thu, 09 Jan 2020 13:37:23 +0100
changeset 298 c40c501bca19
parent 219 6667fb5455d0
permissions -rw-r--r--
Add poetry on sync script and add correct fablib dependency

body {
    overflow: hidden; background: #ffffff;
}

.slideshow-wrap {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #ffffff;
}

.backdrop {
    position: absolute; opacity: .3; -webkit-filter: blur(5px); filter: blur(5px);
}

.image-container {
    position: absolute; top: 50px; right: 50px;
}

.caption-wrap {
    position: absolute; left: 50px; right: 50px; bottom: 50px;
}

.caption {
    font-family: "Lato"; width: 480px; max-width: 100%;
    background: #ffffff;
    padding: 16px 0; margin: 0; overflow: auto;
}

.caption {
    box-shadow: 4px 4px 2px rgba(0,0,0,.5);
}

.caption h2 {
    font-size: 18px; font-weight: bold; margin: 0; padding: 0 20px 5px;
}

.caption h3 {
    font-size: 18px; font-style: italic; margin: 0; border-bottom: 1px solid #cccccc; padding: 0 20px 5px;
}

.caption p {
    margin: 10px 20px 0; padding: 0; font-size: 16px; font-style: italic;
}

.arrow-wrap {
    box-shadow: 1px 1px 5px rgba(50, 50, 50, 0.75); width: 78px; height: 78px;
    position: absolute; top: 50%; margin-top: -39px;
    background: #fff; cursor: pointer; border-radius: 39px; display: none;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.arrow-wrap:hover {
    background: #e0e0e0;
}

.arrow-wrap:active {
    background: #666666;
}

.arrow {
    width: 78px; height: 78px; display: block; background: url(../img/home-arrow.png) center 30px no-repeat;
}

.left-arrow .arrow {
    transform: rotate(90deg); -webkit-transform: rotate(90deg);
}

.right-arrow .arrow {
    transform: rotate(-90deg); -webkit-transform: rotate(-90deg);
}

.top-controls {
    position: absolute; left: 20px; top: 20px; display: none;
}

.top-controls a {
    display: block; float: left; background-image: url(../img/slideshow-controls.png); height: 57px; opacity: 0.5;
}

.top-controls a:hover {
    opacity: 1;
}

.full-screen {
    width: 55px; margin-right: 20px;
}

.play-pause {
    background-position: -55px 0; width: 48px;
}

.play-pause.pause {
    background-position: -103px 0;
}