1st commit
This commit is contained in:
480
css/rs-default.css
Normal file
480
css/rs-default.css
Normal file
@@ -0,0 +1,480 @@
|
||||
/******************************
|
||||
*
|
||||
* RoyalSlider Default Skin
|
||||
*
|
||||
* 1. Arrows
|
||||
* 2. Bullets
|
||||
* 3. Thumbnails
|
||||
* 4. Tabs
|
||||
* 5. Fullscreen button
|
||||
* 6. Play/close video button
|
||||
* 7. Preloader
|
||||
* 8. Caption
|
||||
*
|
||||
* Sprite: 'rs-default.png'
|
||||
* Feel free to edit anything
|
||||
* If you don't some part - just delete it
|
||||
*
|
||||
******************************/
|
||||
|
||||
|
||||
/* Background */
|
||||
.rsDefault,
|
||||
.rsDefault .rsOverflow,
|
||||
.rsDefault .rsSlide,
|
||||
.rsDefault .rsVideoFrameHolder,
|
||||
.rsDefault .rsThumbs {
|
||||
background: #151515;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 1. Arrows
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsArrow {
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
position: absolute;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
z-index: 21;
|
||||
}
|
||||
.rsDefault.rsVer .rsArrow {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
|
||||
}
|
||||
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
|
||||
.rsDefault.rsVer .rsArrowRight { bottom: 0; left: 0; }
|
||||
|
||||
.rsDefault.rsHor .rsArrowLeft { left: -25px; top: 50%; margin-top: -22px; }
|
||||
.rsDefault.rsHor .rsArrowRight { right: -25px; top: 50%; margin-top: -22px; }
|
||||
|
||||
.rsDefault .rsArrowIcn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top:-16px;
|
||||
margin-left: -16px;
|
||||
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
background: url('../images/rs-default.png');
|
||||
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
|
||||
border-radius: 2px;
|
||||
}
|
||||
.rsDefault .rsArrowIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
|
||||
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }
|
||||
|
||||
.rsDefault.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
|
||||
.rsDefault.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }
|
||||
|
||||
.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20); *display: none; }
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 2. Bullets
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsBullets {
|
||||
position: absolute;
|
||||
z-index: 35;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
|
||||
background: #000;
|
||||
background: rgba(0,0,0,0.75);
|
||||
|
||||
text-align: center;
|
||||
line-height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.rsDefault .rsBullet {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
display: inline-block;
|
||||
*display:inline;
|
||||
*zoom:1;
|
||||
padding: 6px 5px 6px;
|
||||
}
|
||||
.rsDefault .rsBullet span {
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
background: rgba(255,255,255,0.5);
|
||||
}
|
||||
.rsDefault .rsBullet.rsNavSelected span {
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 3. Thumbnails
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsThumbsHor {
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
}
|
||||
.rsDefault .rsThumbsVer {
|
||||
width: 96px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsContainer {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.rsDefault .rsThumb {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 96px;
|
||||
height: 72px;
|
||||
}
|
||||
.rsDefault .rsThumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rsDefault .rsThumb.rsNavSelected {
|
||||
background: #02874a;
|
||||
}
|
||||
.rsDefault .rsThumb.rsNavSelected img {
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30);
|
||||
}
|
||||
.rsDefault .rsTmb {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Thumbnails with text */
|
||||
.rsDefault .rsTmb h5 {
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 20px;
|
||||
color: #FFF;
|
||||
}
|
||||
.rsDefault .rsTmb span {
|
||||
color: #DDD;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Thumbnails arrow icons */
|
||||
.rsDefault .rsThumbsArrow {
|
||||
height: 100%;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
z-index: 21;
|
||||
background: #000;
|
||||
background: rgba(0,0,0,0.75);
|
||||
}
|
||||
.rsDefault .rsThumbsArrow:hover {
|
||||
background: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrow {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0; left: 0; }
|
||||
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }
|
||||
|
||||
.rsDefault .rsThumbsArrowIcn {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top:-8px;
|
||||
margin-left: -8px;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
background: url('rs-default.png');
|
||||
}
|
||||
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }
|
||||
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }
|
||||
|
||||
.rsDefault .rsThumbsArrowDisabled { display: none !important; }
|
||||
|
||||
/* Thumbnails resizing on smaller screens */
|
||||
@media screen and (min-width: 0px) and (max-width: 800px) {
|
||||
.rsDefault .rsThumb {
|
||||
width: 59px;
|
||||
height: 44px;
|
||||
}
|
||||
.rsDefault .rsThumbsHor {
|
||||
height: 44px;
|
||||
}
|
||||
.rsDefault .rsThumbsVer {
|
||||
width: 59px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 4. Tabs
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsTabs {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
text-align:center;
|
||||
overflow: hidden; padding-top: 12px; position: relative;
|
||||
}
|
||||
.rsDefault .rsTab {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
height: auto;
|
||||
width: auto;
|
||||
color: #333;
|
||||
padding: 5px 13px 6px;
|
||||
min-width: 72px;
|
||||
border: 1px solid #D9D9DD;
|
||||
border-right: 1px solid #f5f5f5;
|
||||
text-decoration: none;
|
||||
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
|
||||
background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);
|
||||
background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
|
||||
|
||||
-webkit-box-shadow: inset 1px 0 0 #fff;
|
||||
box-shadow: inset 1px 0 0 #fff;
|
||||
|
||||
*display:inline;
|
||||
*zoom:1;
|
||||
}
|
||||
.rsDefault .rsTab:first-child {
|
||||
-webkit-border-top-left-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.rsDefault .rsTab:last-child {
|
||||
-webkit-border-top-right-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
|
||||
border-right: 1px solid #cfcfcf;
|
||||
}
|
||||
.rsDefault .rsTab:active {
|
||||
border: 1px solid #D9D9DD;
|
||||
background-color: #f4f4f4;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
|
||||
}
|
||||
.rsDefault .rsTab.rsNavSelected {
|
||||
color: #FFF;
|
||||
border: 1px solid #999;
|
||||
text-shadow: 1px 1px #838383;
|
||||
box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
|
||||
background: #ACACAC;
|
||||
background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
|
||||
background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
|
||||
background-image: linear-gradient(to bottom, #ACACAC, #BBB);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 5. Fullscreen button
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsFullscreenBtn {
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
z-index: 22;
|
||||
display: block;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.rsDefault .rsFullscreenIcn {
|
||||
display: block;
|
||||
margin: 6px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
background: url('rs-default.png') 0 0;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
border-radius: 2px;
|
||||
|
||||
}
|
||||
.rsDefault .rsFullscreenIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault.rsFullscreen .rsFullscreenIcn {
|
||||
background-position: -32px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 6. Play/close video button
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsPlayBtn {
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0.3);
|
||||
width:64px;
|
||||
height:64px;
|
||||
margin-left:-32px;
|
||||
margin-top:-32px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.rsDefault .rsPlayBtnIcon {
|
||||
width:64px;
|
||||
display:block;
|
||||
height:64px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
|
||||
-webkit-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
transition: .3s;
|
||||
|
||||
background:url(rs-default.png) no-repeat 0 -32px;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
}
|
||||
.rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault .rsBtnCenterer {
|
||||
position:absolute;
|
||||
left:50%;
|
||||
top:50%;
|
||||
}
|
||||
.rsDefault .rsCloseVideoBtn {
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
z-index: 500;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-transform: translateZ(0);
|
||||
|
||||
}
|
||||
.rsDefault .rsCloseVideoBtn.rsiOSBtn {
|
||||
top: -38px;
|
||||
right: -6px;
|
||||
}
|
||||
|
||||
.rsDefault .rsCloseVideoIcn {
|
||||
margin: 6px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: url('rs-default.png') -64px 0;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
}
|
||||
.rsDefault .rsCloseVideoIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 7. Preloader
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsPreloader {
|
||||
width:20px;
|
||||
height:20px;
|
||||
background-image:url(../images/loader.gif);
|
||||
left:50%;
|
||||
top:50%;
|
||||
margin-left:-10px;
|
||||
margin-top:-10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 8. Global caption
|
||||
*
|
||||
****************/
|
||||
.rsDefault .rsGCaption {
|
||||
position: absolute;
|
||||
float: none;
|
||||
bottom: 6px;
|
||||
left: 6px;
|
||||
text-align: left;
|
||||
|
||||
background: rgb(0, 0, 0);
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
|
||||
color: #FFF;
|
||||
padding: 2px 8px;
|
||||
width: auto;
|
||||
font-size: 12px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
Reference in New Issue
Block a user