@charset "utf-8"; @import "../initial"; // Gallery MODULES .widget-gallery { .widget-title { @extend .unity-title; } .widget-content { position: relative; } &.widget1 { .widget-content { overflow: hidden; .album-item { display: flex; flex-direction: column; } .widget-pic { display: inline-block; padding: 0.0625em; text-align: center; @include size(20%, auto); img { @include size(100%, 100%); } } } } &.widget2 { .col-md-6{ @media(min-width: 768px){ width: 50%; float: left; } } .widget-content { width: 100%; // margin-left: -0.3125em; // margin-right: -0.3125em; .widget-pic { margin-bottom: 0.625em; // padding-left: 0.3125em; // padding-right: 0.3125em; img { @include size(100%, auto); } } } } &.widget6 { .widget-content { overflow: hidden; .album-item { display: flex; flex-direction: column; } // .cycle-carousel-wrap{ // @media(min-width: $screen-md){ // margin-left: -300px!important; // } // @media(max-width:$screen-md )and(min-width:$screen-xs){ // margin-left: -100px!important; // } // @media(max-width: $screen-xs){ // margin-left: 40px!important; // } // } .widget-pic { margin-right:1em; border-radius: 10px; behavior: url("/assets/ie_support/PIE2/PIE.htc"); border: 2px solid $theme-color-second; overflow: hidden; display: inline-block; padding: 0.0625em; text-align: center; // @media(min-width: $screen-md){ // width:600px !important; // } @media(max-width:$screen-md )and(min-width:$screen-xs){ width:33vw!important; } @media(max-width: $screen-xs){ width:31vw!important; } img { display: inline-block; width: 100%; height: auto; border-radius: 1.5em; transform: scale(4) translateY(-1%); } } } } } .index-gallery { .index-title { @extend .unity-title; } &.index1 { .index-content { width: 100%; &:nth-child(4n+1) { clear: both; } .index-part { padding: 0.5em; } .index-content-inner { position: relative; } .index-content-title { @extend .i-title; font-family: $main-font; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .index-img-description { font-size: 0.813em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } } } &.index2 { .index-part{ @media(max-width: $screen-xs){ padding-left: 1em; } } .index-content { padding: 1.5625em 0.9375em; background: lighten($theme-gray, 60%); margin-bottom: 1.25em; border-radius: 0.125em; width: 100%; @media screen and (max-width: $screen-sm) { // margin-right: 1.25em; // margin-left: 1.25em; } } .index-content-inner { margin-bottom: 1.5625em; } .index-img { border-radius: 0.125em; } .index-content-title { @extend .i-title; font-family: $main-font; } .index-img-description { font-size: 0.813em; } } &.index6 { .index-content{ margin-bottom: 1em; @media(min-width: $screen-xs)and(max-width: 820px){ width: 50%; } @media(max-width: $screen-xs){ width: 100%; } } .index-pic{ border-bottom-right-radius: 30px; overflow: hidden; .img-thumbnail{ width: 100%; border: 0; transform: scale(1.6); &:hover{ transform: scale(2); -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; } } } .index-content { &:nth-child(4n+1) { clear: both; } .index-part { padding: 0.5em; } .index-content-inner { position: relative; border: 0.0625em solid #ddd; padding: 0.8em; } .index-content-title { @extend .i-title; font-family: $main-font; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0; } .index-img-description { font-size: 0.813em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } } } } .show-gallery { .show-title { @extend .unity-title; } .show-content { padding-right: 0; padding-left: 0; &:nth-child(6n+1) { clear: both; } .img { display: inline-block; width: 100%; height: auto; border-radius: 0.125em; } .show-content-inner { position: relative; padding: 0.3125em; z-index: 0; } .show-description { font-family: $main-font; font-size: 0.813em; padding: 0.5em; } } } // .img-thumbnail{ // width: 100%; // }