ydu_confs_rwd/assets/stylesheets/template/modules/ad_banner.scss

87 lines
1.6 KiB
SCSS
Raw Normal View History

2023-07-17 03:48:05 +00:00
.widget-adBanner {
.widget-adBanner-content {
width: 100%;
.slide-img {
@include size(100%, 100%);
overflow: hidden;
img {
@include size(100%, auto);
}
}
}
.widget-adBanner-overlay {
display: none !important;
bottom: 5px;
right: 0;
margin: 0 auto;
padding: 1em;
color: $theme-gray-light;
z-index: 999;
.navigation {
margin: 0;
padding: 0;
color: $theme-gray-light;
list-style: none;
text-align: center;
li {
display: inline-block;
margin: .2em;
cursor: pointer;
&.active {
i {
&:before {
content: "\f111";
}
}
}
}
}
@media (min-width: $screen-sm) {
display: block !important;
}
@media (min-width: $screen-md) {
.caption {
width: 30%;
margin-bottom: 2em;
}
}
}
&.widget1,
&.widget2, {
.widget-adBanner-overlay {
position: absolute;
@extend .response-content;
}
}
&.widget1 {
.widget-adBanner-content {
.slide-img {
max-height: 200px;
@media (min-width: $screen-sm) {
max-height: 300px;
}
@media (min-width: $screen-md) {
max-height: 430px;
}
}
}
}
&.widget2 {
.widget-adBanner-content {
.slide-img {
@media (min-width: $screen-md) {
}
}
}
}
&.widget3 {
.widget-adBanner-content {
.slide-img {
}
}
.widget-adBanner-overlay {
position: absolute;
}
}
}