File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/assets/sass/events/_events-archive.scss
/*
* Style for event archive */
.post-type-archive-tp_event {
.site-content {
padding-bottom: 40px;
}
.thim-event-tabs {
text-align: center;
margin-bottom: 55px;
@media(max-width:480px){
margin-bottom: 40px;
}
ul {
margin: 0;
display: inline-block;
border: none;
li {
margin: 0 20px !important;
&:first-child{
margin-left: 0 !important;
}
&:last-child{
margin-right: 0 !important;
}
a {
padding: 0;
border: none !important;
background: none !important;
}
&.tab {
&:hover,&.active{
a{
&::before{
width: 100%;
}
}
}
a {
font-size: 24px;
text-transform: uppercase;
font-weight: bold;
position: relative;
cursor: pointer;
@media(max-width:991px){
font-size: 18px;
}
@media(max-width:480px){
font-size: 15px;
}
&::before{
position: absolute;
content: '';
bottom: 0;
left: 0;
height: 1px;
width: 0;
transition: all 0.3s;
}
}
}
}
}
}
.archive-content{
&.tab-content{
&.style-2{
position: relative;
margin-top: 140px;
@media(max-width:991px){
margin-top: 90px;
}
@media(max-width:600px){
margin-top: 0;
}
.bg-title{
position: absolute;
font-size: 150px;
top: -100px;
left: 50%;
transform: translateX(-50%);
color: rgba(0,0,0,0.05);
line-height: 1;
@media(max-width: 991px){
font-size: 120px;
top: -85px;
}
@media(max-width:600px){
display: none;
}
}
article{
margin-bottom: 150px;
.content-inner{
position: relative;
.event-content{
padding: 35px ;
margin-top: 0;
position: absolute;
max-width: 470px;
width: 90%;
bottom: 0;
left: 50%;
transform: translate3d(-50%, 50%,0);
background: #fff;
@media(max-width:991px){
padding: 0 20px 20px 20px;
}
&::after{
display: none;
}
.entry-header{
display: flex;
align-items: center;
@media(max-width:991px){
flex-direction: column;
align-items: unset;
}
.time-from{
width: unset;
float: none;
border-right: unset;
.date{
font-size: 70px;
color: #d6d6d6;
margin: 0;
@media(max-width: 767px){
font-size: 50px;
}
}
}
.event-heading{
padding-left: 30px;
margin-left: 30px;
border-left: 1px solid $border-color;
@media (max-width:991px){
padding-left: 0;
margin-left: 0;
border-left: none;
margin-top: 20px;
}
@media (max-width:600px){
margin-top: 0;
}
.blog_title{
font-size: 24px;
width: unset;
margin-top: 0;
float: none;
padding-left: 0;
}
.event-datetime{
margin-top: 5px;
display: flex;
align-items: center;
i{
font-size: 24px;
margin-right: 5px;
color: #b19261;
}
span{
margin: 0 1px;
}
}
}
}
}
}
}
}
.no-events{
text-align: center;
font-size: 18px;
}
}
}
.archive-content.tab-content article {
margin-bottom: 60px;
&.col-md-4,
&.col-md-3 {
.content-inner {
.event-content {
.entry-header {
.time-from {
text-align: center;
width: 100px;
.date {
margin-top: -5px;
font-size: 50px;
}
.month {
max-width: 100px;
}
}
.blog_title {
margin: -5px 0 0;
font-size: 24px;
padding-left: 25px;
width: calc(100% - 100px);
width: -webkit-calc(100% - 100px);
width: -moz-calc(100% - 100px);
}
}
&:after {
width: 100px;
}
}
}
}
.content-inner {
position: relative;
.thumbnail {
position: relative;
overflow: hidden;
img {
width: 100%;
@include transition(all 1s);
}
}
&:hover {
.thumbnail {
img {
@extend .effect-zoom;
}
}
.event-content:after {
width: 100%;
}
}
.event-content {
position: relative;
margin-top: 40px;
padding-bottom: 50px;
.entry-header {
&:after {
@extend .clear-after;
}
.time-from {
float: left;
width: 150px;
font-weight: bold;
border-right: 1px solid $border-color;
.date {
font-size: 72px;
line-height: 100%;
margin-top: -9px;
margin-left: -2px;
text-align: left;
}
.month {
padding-top: 10px;
max-width: 150px;
text-align: left;
text-transform: uppercase;
}
}
.blog_title {
float: left;
padding-left: 40px;
margin: -12px 0 0;
line-height: 1.4em;
width: calc(100% - 150px);
width: -webkit-calc(100% - 150px);
width: -moz-calc(100% - 150px);
}
}
.entry-content {
margin-top: 30px;
line-height: 27px;
.view-detail {
@extend .thim-button;
i {
@extend .thim-button-icon;
}
&:hover {
i {
@extend .effect-right;
}
}
}
}
&:after {
content: '';
position: absolute;
bottom: 0;
display: block;
width: 200px;
height: 2px;
@include transition(all 0.4s ease-in-out 0s);
}
}
}
.event_register_area {
display: none !important;
}
&.col-md-3 {
.time-from .date {
font-size: 36px !important;
}
.blog_title {
padding-left: 15px !important;
font-size: 18px !important;
}
}
}
.pagination.event {
margin-top: 23px;
margin-bottom: 55px;
ul {
margin: 0;
li{
margin: 0 6px;
.page-numbers{
margin: 0;
color: #414141;
padding: 25px 0 20px 0;
width: 40px;
height: unset;
line-height: 1;
cursor: pointer;
&:hover{
color: var(--thim-body-primary-color);
}
&.current{
background: #414141;
color: #fff;
position: relative;
&::before{
position: absolute;
content: '';
width: 100%;
height: 0;
top: 100%;
right: 0;
border-right: 40px solid transparent;
border-top: 16px solid #414141;
}
}
&.next,&.prev{
&::before{
font-family: 'Line Awesome Free';
font-weight: 900;
font-size: 20px;
color: #414141;
}
&:hover::before{
color: var(--thim-body-primary-color);
}
}
&::after{
display: none;
}
}
}
}
}
}
.column-3 article:nth-child(3n+1){
clear: both;
}
.column-4 article:nth-child(4n+1){
clear: both;
}