83 lines
1.6 KiB
SCSS
83 lines
1.6 KiB
SCSS
|
|
/*
|
||
|
|
generic styles applied to any carousel
|
||
|
|
must be ul/li
|
||
|
|
*/
|
||
|
|
.rn-carousel-container {
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
ul.rn-carousel-slides {
|
||
|
|
position: relative;
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: visible;
|
||
|
|
-webkit-transform: translate3d(0px, 0, 0);
|
||
|
|
-moz-transform: translate3d(0px, 0, 0);
|
||
|
|
transform: translate3d(0px, 0, 0);
|
||
|
|
padding: 0;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
ul.rn-carousel-slides li {
|
||
|
|
white-space: normal;
|
||
|
|
vertical-align:top;
|
||
|
|
display: inline-block;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
-webkit-backface-visibility: hidden;
|
||
|
|
backface-visibility: hidden;
|
||
|
|
}
|
||
|
|
.rn-carousel-animate {
|
||
|
|
-webkit-transition: -webkit-transform .2s ease-out;
|
||
|
|
-moz-transition: -moz-transform .2s ease-out;
|
||
|
|
transition: transform .2s ease-out;
|
||
|
|
}
|
||
|
|
.rn-carousel-noanimate {
|
||
|
|
-webkit-transition: none;
|
||
|
|
-moz-transition: none;
|
||
|
|
-ms-transition: none;
|
||
|
|
-o-transition: none;
|
||
|
|
transition: none;
|
||
|
|
}
|
||
|
|
.rn-carousel-indicator {
|
||
|
|
width: 100%;
|
||
|
|
text-align:center;
|
||
|
|
position:relative;
|
||
|
|
bottom: 20px;
|
||
|
|
height:20px;
|
||
|
|
background-color: rgb(0, 0, 0);
|
||
|
|
background-color: rgba(0, 0, 0, 0.6);
|
||
|
|
}
|
||
|
|
.rn-carousel-indicator span {
|
||
|
|
padding: 0 5px;
|
||
|
|
color: #333;
|
||
|
|
transition: color .2s ease-out;
|
||
|
|
}
|
||
|
|
.rn-carousel-indicator span.active {
|
||
|
|
color:white;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
// ===========================
|
||
|
|
// CAROUSEL
|
||
|
|
// ===========================
|
||
|
|
|
||
|
|
.rn-carousel-container {
|
||
|
|
position:absolute;
|
||
|
|
top:45px;
|
||
|
|
bottom:0px;
|
||
|
|
width:101% !important;
|
||
|
|
transition: -webkit-filter 0.3s ease-in !important;
|
||
|
|
}
|
||
|
|
.rn-carousel-slides {
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
.ng-cloak {
|
||
|
|
display:none;
|
||
|
|
}
|
||
|
|
#content {
|
||
|
|
height: 100%;
|
||
|
|
width: 100% !important;
|
||
|
|
box-shadow: -2px 0px 5px rgba(0,0,0,0.5);
|
||
|
|
}
|
||
|
|
#content > div {
|
||
|
|
background-color: $body-background-color;
|
||
|
|
}
|