You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
210 lines
5.1 KiB
CSS
210 lines
5.1 KiB
CSS
/**
|
|
* pgwSlideshowLight - Version 2.0
|
|
*
|
|
* Copyright 2014, Jonathan M. Piat
|
|
* http://pgwjs.com - http://pagawa.com
|
|
*
|
|
* Released under the GNU GPLv3 license - http://opensource.org/licenses/gpl-3.0
|
|
*/
|
|
.pgwSlideshowLight {
|
|
width: 100%;
|
|
background: #ddd;
|
|
display: none;
|
|
}
|
|
|
|
.pgwSlideshowLight a{
|
|
color: #fff;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-current {
|
|
text-align: center;
|
|
position: relative;
|
|
min-height: 150px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-current > ul > li {
|
|
text-align: center;
|
|
width: 100%;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
display: block;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-current > ul > li img {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-caption {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
|
|
text-align: left;
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
position: absolute;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
width: 100%;
|
|
padding: 10px;
|
|
display: none;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-caption span {
|
|
padding: 7px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list {
|
|
border-top: 1px solid #aaa;
|
|
box-shadow: 0 10px 10px -5px #999 inset;
|
|
background: #ddd;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list ul {
|
|
position: relative;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list li {
|
|
float: left;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list li .ps-item {
|
|
display: block;
|
|
margin: 15px 8px;
|
|
opacity: 0.6;
|
|
filter: alpha(opacity=60);
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list li img {
|
|
display: block;
|
|
border: 1px solid #aaa;
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list li .ps-item.ps-selected {
|
|
float: left;
|
|
opacity: 1;
|
|
border: 4px solid #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list li .ps-item.ps-selected img {
|
|
margin: -4px;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-prevIcon {
|
|
border-color:transparent #fff transparent;
|
|
border-style: solid;
|
|
border-width: 10px 10px 10px 0;
|
|
display: block;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-nextIcon {
|
|
border-color:transparent #fff transparent;
|
|
border-style: solid;
|
|
border-width: 10px 0 10px 10px;
|
|
display: block;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-current .ps-prev {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
|
|
border: 1px solid #777;
|
|
border-left: 0;
|
|
border-radius: 0 4px 4px 0;
|
|
position: absolute;
|
|
padding: 20px 20px 20px 15px;
|
|
left: 0;
|
|
top: 45%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-current .ps-next {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
|
|
border: 1px solid #777;
|
|
border-right: 0;
|
|
border-radius: 4px 0 0 4px;
|
|
position: absolute;
|
|
padding: 20px 15px 20px 20px;
|
|
right: 0;
|
|
top: 45%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list .ps-prev {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000')";
|
|
border: 1px solid #777;
|
|
border-left: 0;
|
|
border-radius: 0 4px 4px 0;
|
|
padding: 20px 15px 20px 12px;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 25px;
|
|
z-index: 1000;
|
|
display: none;
|
|
}
|
|
|
|
.pgwSlideshowLight .ps-list .ps-next {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000')";
|
|
border: 1px solid #777;
|
|
border-right: 0;
|
|
border-radius: 4px 0 0 4px;
|
|
padding: 20px 12px 20px 15px;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 25px;
|
|
z-index: 1000;
|
|
display: none;
|
|
}
|
|
|
|
/*
|
|
* The media-queries are not used because IE8 doesn't support them.
|
|
*/
|
|
.pgwSlideshowLight.narrow .ps-list li img {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.pgwSlideshowLight.narrow .ps-current .ps-prev {
|
|
padding: 15px 15px 15px 12px;
|
|
top: 40%;
|
|
}
|
|
|
|
.pgwSlideshowLight.narrow .ps-current .ps-next {
|
|
padding: 15px 12px 15px 15px;
|
|
top: 40%;
|
|
}
|
|
|
|
.pgwSlideshowLight.narrow .ps-list .ps-prev {
|
|
padding: 15px 12px 15px 10px;
|
|
top: 20px;
|
|
}
|
|
|
|
.pgwSlideshowLight.narrow .ps-list .ps-next {
|
|
padding: 15px 10px 15px 12px;
|
|
top: 20px;
|
|
}
|
|
|
|
.pgwSlideshowLight.narrow .ps-caption {
|
|
font-size: 0.8rem;
|
|
padding: 8px;
|
|
} |