2017-10-17 13:13:29 +00:00
|
|
|
body{
|
|
|
|
position: absolute;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
#slideshow{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: relative;
|
|
|
|
background-color: lightgrey;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
*{
|
2017-10-17 13:13:29 +00:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&::before{
|
2017-10-17 13:13:29 +00:00
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
content: "Click to expand";
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
background-color: rgba(black, 0.5);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&.fullscreen{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: none;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&:before{
|
2017-10-17 13:13:29 +00:00
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
#slides{
|
2017-10-17 13:13:29 +00:00
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
#slides{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
.slide{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
top: 0px;
|
|
|
|
|
|
|
|
background-color: grey;
|
|
|
|
transition: left 1s ease-out;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
img{
|
2017-10-17 13:13:29 +00:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
2018-04-29 11:53:55 +00:00
|
|
|
object-fit: contain;
|
2017-10-17 13:13:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
.slide.left{
|
2017-10-17 13:13:29 +00:00
|
|
|
left: -100%;
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
.slide.center{
|
2017-10-17 13:13:29 +00:00
|
|
|
left: 0px;
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
.slide.right{
|
2017-10-17 13:13:29 +00:00
|
|
|
left: 100%;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
#progress_bullets{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
height: 10px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
.bullet{
|
2017-10-17 13:13:29 +00:00
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
background-color: grey;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&.active{
|
2017-10-17 13:13:29 +00:00
|
|
|
background-color: #c99836;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
#progress_bar{
|
2017-10-17 13:13:29 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
height: 10px;
|
|
|
|
background-color: #304c83;
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&.init{
|
2017-10-17 13:13:29 +00:00
|
|
|
width: 0px;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2017-11-28 13:43:05 +00:00
|
|
|
&.progress{
|
2017-10-17 13:13:29 +00:00
|
|
|
width: 100%;
|
2017-11-28 13:43:05 +00:00
|
|
|
transition: width 10s linear;
|
2017-10-17 13:13:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|