You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
3.0 KiB
143 lines
3.0 KiB
6 years ago
|
/**
|
||
|
* @file
|
||
|
* Visual styles for Magazine+'s owl carousels.
|
||
|
*/
|
||
|
.owl-carousel {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.owl-carousel .owl-item li {
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
/* Styling Next and Prev buttons */
|
||
|
.owl-carousel .owl-nav {
|
||
|
text-align: center;
|
||
|
margin-top: 20px;
|
||
|
position: relative;
|
||
|
}
|
||
|
.owl-carousel .owl-nav:before {
|
||
|
background-color: #eeeeee;
|
||
|
width: 100%;
|
||
|
height: 1px;
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
top: 25px;
|
||
|
left: 0;
|
||
|
z-index: -1;
|
||
|
}
|
||
|
.owl-carousel .owl-nav:after {
|
||
|
content: "";
|
||
|
width: 130px;
|
||
|
height: 50px;
|
||
|
position: absolute;
|
||
|
background-color: #ffffff;
|
||
|
z-index: 2;
|
||
|
left: 50%;
|
||
|
margin-left: -65px;
|
||
|
top: 0;
|
||
|
}
|
||
|
.region--gray-background .owl-carousel .owl-nav:after {
|
||
|
background-color: #f4f4f4;
|
||
|
}
|
||
|
.region--black-background .owl-carousel .owl-nav:after {
|
||
|
background-color: #1e1e1e;
|
||
|
}
|
||
|
.owl-carousel .owl-nav div {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
-webkit-transition: all 0.2s ease-in-out;
|
||
|
-moz-transition: all 0.2s ease-in-out;
|
||
|
-o-transition: all 0.2s ease-in-out;
|
||
|
-ms-transition: all 0.2s ease-in-out;
|
||
|
transition: all 0.2s ease-in-out;
|
||
|
border-style: solid;
|
||
|
border-width: 1px;
|
||
|
border-color: #eeeeee;
|
||
|
z-index: 3;
|
||
|
}
|
||
|
.owl-carousel .owl-nav div:hover {
|
||
|
text-decoration: none;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
.region--light-typography .owl-carousel .owl-nav div {
|
||
|
color: #ffffff;
|
||
|
border-color: rgba(255, 255, 255, 0.2);
|
||
|
}
|
||
|
.region--light-typography .owl-carousel .owl-nav div:hover {
|
||
|
color: #2d2d2d;
|
||
|
background-color: #ffffff;
|
||
|
border-color: #ffffff;
|
||
|
}
|
||
|
.region--light-typography .owl-carousel .owl-nav:before {
|
||
|
background-color: rgba(255, 255, 255, 0.2);
|
||
|
}
|
||
|
.owl-carousel .owl-nav div:after {
|
||
|
font-family: "FontAwesome";
|
||
|
position: absolute;
|
||
|
font-size: 15px;
|
||
|
line-height: 1;
|
||
|
top: 0;
|
||
|
left: 50%;
|
||
|
width: 20px;
|
||
|
margin-left: -10px;
|
||
|
line-height: 48px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.owl-carousel .owl-nav .owl-prev {
|
||
|
left: auto;
|
||
|
right: -1px;
|
||
|
}
|
||
|
.owl-carousel .owl-nav .owl-prev:after {
|
||
|
content: "\f104";
|
||
|
}
|
||
|
.owl-carousel .owl-nav .owl-next {
|
||
|
left: auto;
|
||
|
right: auto;
|
||
|
|
||
|
}
|
||
|
.owl-carousel .owl-nav .owl-next:after {
|
||
|
content: "\f105";
|
||
|
}
|
||
|
|
||
|
/* Styling pager */
|
||
|
.owl-theme .owl-dots {
|
||
|
text-align: center;
|
||
|
margin-top: 50px;
|
||
|
}
|
||
|
.owl-theme .owl-dot {
|
||
|
display: inline-block;
|
||
|
zoom: 1;
|
||
|
}
|
||
|
.owl-theme .owl-dot span {
|
||
|
display: block;
|
||
|
width: 13px;
|
||
|
height: 13px;
|
||
|
margin: 5px;
|
||
|
-webkit-border-radius: 100%;
|
||
|
-moz-border-radius: 100%;
|
||
|
border-radius: 100%;
|
||
|
border-width: 2px;
|
||
|
border-style: solid;
|
||
|
background-color: transparent;
|
||
|
-webkit-transition: all 0.2s ease-in-out;
|
||
|
-moz-transition: all 0.2s ease-in-out;
|
||
|
-o-transition: all 0.2s ease-in-out;
|
||
|
-ms-transition: all 0.2s ease-in-out;
|
||
|
transition: all 0.2s ease-in-out;
|
||
|
}
|
||
|
|
||
|
/*pager at colored regions*/
|
||
|
.region--light-typography .owl-theme .owl-dot span {
|
||
|
border-color: rgba(255, 255, 255, 0.5);
|
||
|
}
|
||
|
.region--light-typography .owl-theme .owl-dot.active span {
|
||
|
border-color: #ffffff;
|
||
|
}
|
||
|
.region--light-typography .owl-theme .owl-dot:hover span {
|
||
|
background-color: rgba(255, 255, 255, 0.5);
|
||
|
border-color: transparent;
|
||
|
}
|