652 lines
15 KiB
SCSS
652 lines
15 KiB
SCSS
|
|
/*----------------------------------------*/
|
||
|
|
/* 07. BLOG CSS START
|
||
|
|
/*----------------------------------------*/
|
||
|
|
|
||
|
|
.blog{
|
||
|
|
&__area{}
|
||
|
|
&__slider{
|
||
|
|
& .owl-nav{
|
||
|
|
@media #{$xs}{
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
& div{
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
left: 0;
|
||
|
|
@include transform(translate(-20%, -50%));
|
||
|
|
@include transition(.2s);
|
||
|
|
visibility: hidden;
|
||
|
|
opacity: 0;
|
||
|
|
& button{
|
||
|
|
width: 55px;
|
||
|
|
height: 55px;
|
||
|
|
line-height: 58px;
|
||
|
|
color: $white;
|
||
|
|
background-color: $border;
|
||
|
|
font-size: 20px;
|
||
|
|
@include border-radius(50%);
|
||
|
|
&:hover{
|
||
|
|
color: $white;
|
||
|
|
background-color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&.owl-next{
|
||
|
|
left: auto;
|
||
|
|
right: 0;
|
||
|
|
@include transform(translate(20%, -50%));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&:hover{
|
||
|
|
& .owl-nav{
|
||
|
|
& div{
|
||
|
|
visibility: visible;
|
||
|
|
opacity: 1;
|
||
|
|
@include transform(translate(-50%, -50%));
|
||
|
|
&.owl-next{
|
||
|
|
@include transform(translate(50%, -50%));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&-active{
|
||
|
|
.owl-nav {
|
||
|
|
visibility: hidden;
|
||
|
|
opacity: 0;
|
||
|
|
transition: .3s;
|
||
|
|
}
|
||
|
|
&:hover{
|
||
|
|
.owl-nav{
|
||
|
|
visibility: visible;
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.owl-carousel {
|
||
|
|
position: relative; }
|
||
|
|
.owl-carousel .owl-nav > div.disabled {
|
||
|
|
cursor: not-allowed;
|
||
|
|
opacity: 0.5;
|
||
|
|
filter: alpha(opacity=50); }
|
||
|
|
.owl-carousel:hover .owl-nav > div {
|
||
|
|
opacity: 1;
|
||
|
|
filter: alpha(opacity=100);
|
||
|
|
visibility: visible; }
|
||
|
|
.owl-nav > div {
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
margin: -25px auto 0;
|
||
|
|
cursor: pointer;
|
||
|
|
width: 50px;
|
||
|
|
height: 50px;
|
||
|
|
padding: 0;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 48px;
|
||
|
|
background: var(--vela-color-primary);
|
||
|
|
border-radius: 50%;
|
||
|
|
border: 1px solid var(--vela-color-primary);
|
||
|
|
color: #fff;
|
||
|
|
background: $theme-2-color;
|
||
|
|
font-size: 0;
|
||
|
|
-webkit-transition: all 0.35s ease;
|
||
|
|
-o-transition: all 0.35s ease;
|
||
|
|
transition: all 0.35s ease;
|
||
|
|
&:hover{
|
||
|
|
background: $black-2;
|
||
|
|
color: $white;
|
||
|
|
border-color: $white;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.owl-nav > div:before {
|
||
|
|
font-size: 20px;
|
||
|
|
display: inline-block;
|
||
|
|
vertical-align: middle;
|
||
|
|
font-family: var(--vela-font-icon); }
|
||
|
|
.owl-nav .owl-prev {
|
||
|
|
left: -15px;
|
||
|
|
@media #{$xs} {
|
||
|
|
left: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.owl-nav .owl-prev:before {
|
||
|
|
content: "\f104";
|
||
|
|
margin-right: 2px;
|
||
|
|
font-family: "Font Awesome 5 pro";
|
||
|
|
}
|
||
|
|
.owl-nav .owl-next {
|
||
|
|
right: -15px;
|
||
|
|
@media #{$xs} {
|
||
|
|
right: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.owl-nav .owl-next:before {
|
||
|
|
content: "\f105";
|
||
|
|
margin-left: 3px;
|
||
|
|
font-family: "Font Awesome 5 pro";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&-item{
|
||
|
|
& .blog-thumb{
|
||
|
|
position: relative;
|
||
|
|
&::before{
|
||
|
|
background-color: #00000061;
|
||
|
|
position: absolute;
|
||
|
|
left: 25px;
|
||
|
|
right: 25px;
|
||
|
|
top: 25px;
|
||
|
|
bottom: 25px;
|
||
|
|
margin: auto;
|
||
|
|
-webkit-transform: scale(0);
|
||
|
|
-ms-transform: scale(0);
|
||
|
|
-o-transform: scale(0);
|
||
|
|
transform: scale(0);
|
||
|
|
display: block;
|
||
|
|
content: "";
|
||
|
|
-webkit-transition: all .35s ease 0s;
|
||
|
|
-o-transition: all .35s ease 0s;
|
||
|
|
transition: all .35s ease 0s;
|
||
|
|
}
|
||
|
|
& img{
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
&:hover{
|
||
|
|
&::before, .btn{
|
||
|
|
transform: scale(1);
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
& a.btn {
|
||
|
|
background-color: $theme-2-color;
|
||
|
|
border-radius: 50%;
|
||
|
|
bottom: 0;
|
||
|
|
color: #ffffff;
|
||
|
|
font-size: 18px;
|
||
|
|
height: 55px;
|
||
|
|
left: 0;
|
||
|
|
line-height: 36px;
|
||
|
|
margin: auto;
|
||
|
|
position: absolute;
|
||
|
|
right: 0;
|
||
|
|
top: 0;
|
||
|
|
-webkit-transform: scale(0);
|
||
|
|
-ms-transform: scale(0);
|
||
|
|
-o-transform: scale(0);
|
||
|
|
transform: scale(0);
|
||
|
|
-webkit-transition: all 0.35s ease 0s;
|
||
|
|
-o-transition: all 0.35s ease 0s;
|
||
|
|
transition: all 0.35s ease 0s;
|
||
|
|
width: 55px;
|
||
|
|
}
|
||
|
|
& a.btn:hover {
|
||
|
|
background-color: $black-2;
|
||
|
|
color: $white;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__item{
|
||
|
|
&:hover{
|
||
|
|
& .blog__thumb{
|
||
|
|
& img{
|
||
|
|
@include transform(scale(1.1));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__content{
|
||
|
|
padding-top: 27px;
|
||
|
|
& h4{
|
||
|
|
& a{
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
& p{
|
||
|
|
margin-bottom: 25px;
|
||
|
|
color: $black-soft-2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__meta{
|
||
|
|
margin-bottom: 13px;
|
||
|
|
& span{
|
||
|
|
& a{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__border-bottom{
|
||
|
|
border-bottom: 1px solid $grey;
|
||
|
|
}
|
||
|
|
&__title{
|
||
|
|
font-size: 30px;
|
||
|
|
@media #{$sm}{
|
||
|
|
font-size: 25px;
|
||
|
|
}
|
||
|
|
@media #{$sm}{
|
||
|
|
font-size: 20px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__post{
|
||
|
|
&-content{
|
||
|
|
padding: 35px 20px;
|
||
|
|
position: relative;
|
||
|
|
margin: -70px 12% 0;
|
||
|
|
text-align: center;
|
||
|
|
background-color: $black-2;
|
||
|
|
z-index: 2;
|
||
|
|
@media #{$xs} {
|
||
|
|
padding: 20px 10px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&-title{
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: 500;
|
||
|
|
line-height: 26px;
|
||
|
|
color: $white;
|
||
|
|
& a{
|
||
|
|
position: relative;
|
||
|
|
&::before{
|
||
|
|
background-color: $theme-2-color;
|
||
|
|
content: "";
|
||
|
|
height: 70px;
|
||
|
|
left: 0;
|
||
|
|
margin: auto;
|
||
|
|
position: absolute;
|
||
|
|
right: 0;
|
||
|
|
top: -85px;
|
||
|
|
width: 2px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&:hover{
|
||
|
|
color: $theme-2-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__wrapper{
|
||
|
|
& .article{
|
||
|
|
&-author{
|
||
|
|
color: $theme-2-color;
|
||
|
|
}
|
||
|
|
&-meta{
|
||
|
|
& span{
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/* sidebar widget area */
|
||
|
|
|
||
|
|
.widget__search{
|
||
|
|
& input{
|
||
|
|
width: 100%;
|
||
|
|
height: 53px;
|
||
|
|
padding: 0 15px;
|
||
|
|
padding-right: 60px;
|
||
|
|
border: 1px solid $border;
|
||
|
|
&::placeholder{
|
||
|
|
color: #8c8c8c;
|
||
|
|
}
|
||
|
|
&:focus{
|
||
|
|
border-color: $black;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
& button{
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
@include transform(translateY(-50%));
|
||
|
|
right: 22px;
|
||
|
|
background: transparent;
|
||
|
|
color: #323232;
|
||
|
|
font-size: 20px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.postbox{
|
||
|
|
&__title{
|
||
|
|
& h1{
|
||
|
|
margin-bottom: 25px;
|
||
|
|
@media #{$lg}{
|
||
|
|
font-size: 35px;
|
||
|
|
}
|
||
|
|
@media #{$sm}{
|
||
|
|
font-size: 30px;
|
||
|
|
}
|
||
|
|
@media #{$xs}{
|
||
|
|
font-size: 24px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__text{
|
||
|
|
& p{
|
||
|
|
line-height: 30px;
|
||
|
|
margin-bottom: 27px;
|
||
|
|
color: $black-soft-2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__quote{
|
||
|
|
& p{
|
||
|
|
padding-left: 30px;
|
||
|
|
padding-top: 7px;
|
||
|
|
padding-bottom: 10px;
|
||
|
|
margin-bottom: 0;
|
||
|
|
position: relative;
|
||
|
|
color: #808080;
|
||
|
|
&::before{
|
||
|
|
position: absolute;
|
||
|
|
content: '';
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
width: 2px;
|
||
|
|
height: 100%;
|
||
|
|
background: #bd8448;
|
||
|
|
}
|
||
|
|
& i{
|
||
|
|
position: absolute;
|
||
|
|
top: 6px;
|
||
|
|
left: 15px;
|
||
|
|
font-size: 30px;
|
||
|
|
z-index: -1;
|
||
|
|
color: #e7e7e7;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__share{
|
||
|
|
padding: 15px 0;
|
||
|
|
padding-bottom: 20px;
|
||
|
|
border-top: 1px solid $border;
|
||
|
|
border-bottom: 1px solid $border;
|
||
|
|
}
|
||
|
|
&__social{
|
||
|
|
& span{
|
||
|
|
color: #333333;
|
||
|
|
}
|
||
|
|
& ul{
|
||
|
|
display: inline-block;
|
||
|
|
margin-left: 25px;
|
||
|
|
& li{
|
||
|
|
display: inline-block;
|
||
|
|
& a{
|
||
|
|
color: $black-soft;
|
||
|
|
padding-right: 15px;
|
||
|
|
margin-right: 15px;
|
||
|
|
position: relative;
|
||
|
|
&::after{
|
||
|
|
position: absolute;
|
||
|
|
content: '';
|
||
|
|
top: 0;
|
||
|
|
right: 0;
|
||
|
|
width: 1px;
|
||
|
|
height: 100%;
|
||
|
|
background: #eeeeee;
|
||
|
|
}
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&:last-child{
|
||
|
|
& a{
|
||
|
|
&::after{
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__tag{
|
||
|
|
@media #{$sm}{
|
||
|
|
margin-top: 10px;
|
||
|
|
float: left;
|
||
|
|
}
|
||
|
|
@media #{$xs}{
|
||
|
|
margin-top: 10px;
|
||
|
|
float: left;
|
||
|
|
}
|
||
|
|
& span{
|
||
|
|
color: #333333;
|
||
|
|
margin-right: 15px;
|
||
|
|
}
|
||
|
|
& a{
|
||
|
|
color: $black-soft;
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__related-title{
|
||
|
|
& h3{
|
||
|
|
font-size: 24px;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-bottom: 40px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__comment-title{
|
||
|
|
& h3{
|
||
|
|
font-size: 24px;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__line{
|
||
|
|
border-top: 1px solid $border;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.post-rating{
|
||
|
|
& ul{
|
||
|
|
& li{
|
||
|
|
display: inline-block;
|
||
|
|
& a{
|
||
|
|
&:hover{
|
||
|
|
color: $black;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.post-comments {
|
||
|
|
border-bottom: 1px solid $border;
|
||
|
|
margin-bottom: 42px;
|
||
|
|
padding-bottom: 46px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.comments-box {
|
||
|
|
border-top: 1px solid $border;
|
||
|
|
padding: 30px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.latest-comments li:first-child .comments-box {
|
||
|
|
border-top: 0;
|
||
|
|
padding-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.comments-avatar {
|
||
|
|
float: left;
|
||
|
|
margin-right: 20px;
|
||
|
|
& img{
|
||
|
|
@include border-radius(50%);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.comments-text {
|
||
|
|
overflow: hidden;
|
||
|
|
padding-top: 4px;
|
||
|
|
}
|
||
|
|
.comments-text p{
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
.comments-text p span{
|
||
|
|
color: $black-soft;
|
||
|
|
}
|
||
|
|
|
||
|
|
.avatar-name {
|
||
|
|
margin-bottom: 3px;
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.avatar-name h5 {
|
||
|
|
font-size: 14px;
|
||
|
|
margin-bottom: 0px;
|
||
|
|
display: inline-block;
|
||
|
|
color: $black;
|
||
|
|
}
|
||
|
|
.avatar-name span {
|
||
|
|
color: $black-soft;
|
||
|
|
font-size: 12px;
|
||
|
|
text-transform: capitalize;
|
||
|
|
}
|
||
|
|
|
||
|
|
.reply {
|
||
|
|
display: inline-block;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 400;
|
||
|
|
transition: .3s;
|
||
|
|
line-height: 1;
|
||
|
|
margin-top: 4px;
|
||
|
|
position: absolute;
|
||
|
|
right: 0;
|
||
|
|
top: 0;
|
||
|
|
color: $black-soft;
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
@media #{$xs}{
|
||
|
|
position: static;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.comments-text p {
|
||
|
|
margin-bottom: 0;
|
||
|
|
margin-top: 8px;
|
||
|
|
color: #5b5b5b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.latest-comments li.children {
|
||
|
|
margin-left: 100px;
|
||
|
|
@media #{$xs}{
|
||
|
|
margin-left: 15px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.load-comments{
|
||
|
|
color: $theme-color;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
.conatct-post-form input {
|
||
|
|
border: 1px solid #eaeaea;
|
||
|
|
height: 55px;
|
||
|
|
// margin-bottom: 30px;
|
||
|
|
padding: 0 30px;
|
||
|
|
width: 100%;
|
||
|
|
font-size: 14px;
|
||
|
|
&::placeholder{
|
||
|
|
color: $body-text-color;
|
||
|
|
}
|
||
|
|
&:focus{
|
||
|
|
border-color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.conatct-post-form .contact-icon {
|
||
|
|
margin-bottom: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.conatct-post-form textarea {
|
||
|
|
border: 1px solid #eaeaea;
|
||
|
|
height: 175px;
|
||
|
|
// margin-bottom: 30px;
|
||
|
|
padding: 30px;
|
||
|
|
width: 100%;
|
||
|
|
font-size: 14px;
|
||
|
|
resize: none;
|
||
|
|
&::placeholder{
|
||
|
|
color: $body-text-color;
|
||
|
|
}
|
||
|
|
&:focus{
|
||
|
|
border-color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/* blog content highlight */
|
||
|
|
.highlight{
|
||
|
|
position: relative;
|
||
|
|
&::after{
|
||
|
|
position: absolute;
|
||
|
|
content: '';
|
||
|
|
left: 0;
|
||
|
|
bottom: 0;
|
||
|
|
width: 100%;
|
||
|
|
height: 1px;
|
||
|
|
background: $black-soft-2;
|
||
|
|
}
|
||
|
|
&.theme{
|
||
|
|
color: $theme-color;
|
||
|
|
&::after{
|
||
|
|
background: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&.comment{
|
||
|
|
color: $theme-color;
|
||
|
|
&::after{
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/* recent post & comments */
|
||
|
|
|
||
|
|
.rc{
|
||
|
|
&__post{
|
||
|
|
&-wrapper{
|
||
|
|
& ul{
|
||
|
|
& li{
|
||
|
|
margin-bottom: 17px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&-content{
|
||
|
|
& h6{
|
||
|
|
font-size: 14px;
|
||
|
|
color: $black-2;
|
||
|
|
line-height: 36px;
|
||
|
|
font-weight: 400;
|
||
|
|
margin-bottom: 0;
|
||
|
|
& a{
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__meta{
|
||
|
|
& span{
|
||
|
|
color: #8c8c8c;
|
||
|
|
font-size: 12px;
|
||
|
|
&:hover{
|
||
|
|
color: $theme-color;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
&__comments{
|
||
|
|
&-content{
|
||
|
|
& h6{
|
||
|
|
font-size: 14px;
|
||
|
|
color: $black-2;
|
||
|
|
margin-bottom: 5px;
|
||
|
|
}
|
||
|
|
& p{
|
||
|
|
margin-bottom: 2px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|