259 lines
6.1 KiB
SCSS
259 lines
6.1 KiB
SCSS
.widget-event-news-calendar-2.w-calendar{
|
|
.w-calendar-table {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
flex: 1;
|
|
}
|
|
.height100 {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
a.event-container-one{
|
|
color: inherit;
|
|
}
|
|
.close_box{
|
|
font-weight: bold;
|
|
position: relative;
|
|
float: right;
|
|
padding: 0.5em;
|
|
cursor: pointer;
|
|
}
|
|
.close_box:hover{
|
|
color: red;
|
|
}
|
|
.event-bullet-event {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
.event-bullet-event {
|
|
width: 2em;
|
|
height: 2em;
|
|
border-radius: 1em;
|
|
}
|
|
.event-header{
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: 1.7em;
|
|
font-weight: bold;
|
|
padding: 0.35em 0;
|
|
}
|
|
.event-info{
|
|
padding-left: 15%;
|
|
}
|
|
.calendar-events{
|
|
position: relative;
|
|
background: #fbfbfb;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.month_template{
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
flex-wrap: wrap;
|
|
margin-top: 2em;
|
|
margin-bottom: 1em;
|
|
.w-calendar-table td:hover {
|
|
background-color: #eaeaea;
|
|
color: #333;
|
|
}
|
|
.w-calendar-table td {
|
|
background: inherit;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
border: 0;
|
|
vertical-align: middle;
|
|
}
|
|
.w-calendar-table td div{
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: auto;
|
|
padding: 10%;
|
|
line-height: 1.2;
|
|
}
|
|
.w-calendar-table th {
|
|
background: unset;
|
|
color: unset;
|
|
border: 0;
|
|
padding: 1.5% 0.5%;
|
|
}
|
|
.widget-title {
|
|
padding: 0.2em;
|
|
font-size: 1.5em;
|
|
}
|
|
table.w-calendar-table td.w-calendar-toggle div, table.w-calendar-table td.w-calendar-toggle div{
|
|
background: #6f0007;
|
|
border-radius: 50%;
|
|
color: white;
|
|
}
|
|
.w-calendar-table td.w-calendar-event div{
|
|
border: 1px #6f0007 solid;
|
|
border-radius: 50%;
|
|
background: #eee;
|
|
}
|
|
.w-calendar-title{
|
|
background: rgb(146, 8, 17);
|
|
color: rgb(255, 255, 255);
|
|
padding: 0px 10%;
|
|
display: flex;
|
|
line-height: 2em;
|
|
justify-content: space-between;
|
|
font-size: 1.85em;
|
|
width: 100%;
|
|
.w-calendar-title span:last-child{
|
|
float: right;
|
|
}
|
|
}
|
|
.w-calendar-title.center{
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
.calendar-dialog div.ui-dialog-content {
|
|
max-height: 20em !important;
|
|
overflow-wrap: break-word;
|
|
}
|
|
table td.w-calendar-other-month {
|
|
color: #999797;
|
|
}
|
|
.event-header{
|
|
display: flex;
|
|
background: #dadada;
|
|
cursor: default;
|
|
}
|
|
.event-header .date{
|
|
width: 30%;
|
|
}
|
|
.event.active .event-header .day{
|
|
color: #bf1f1f;
|
|
}
|
|
.event.active .event-header .date{
|
|
color: #202427;
|
|
}
|
|
.event .event-header .day{
|
|
font-size: 1.4em;
|
|
}
|
|
.event .event-header .month{
|
|
font-size: 0.7em;
|
|
}
|
|
.event .event-header .date{
|
|
color: #a08a70;
|
|
}
|
|
.event-title{
|
|
width: 70%;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
.event-title .duration{
|
|
font-size: 0.7em;
|
|
text-align: left;
|
|
color: #a0a1a1;
|
|
}
|
|
.duration_temp,.title_temp{
|
|
display: none;
|
|
}
|
|
.event-inner-title{
|
|
line-height: 2em;
|
|
text-align: left;
|
|
}
|
|
.event-containers{
|
|
height: 0;
|
|
min-height: unset;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin: 0 10%;
|
|
}
|
|
.event-container-one {
|
|
position: absolute;
|
|
align-items: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
width: calc(100% - 0.7em);;
|
|
height: calc(100% - 0.7em);
|
|
flex-wrap: wrap;
|
|
border-radius: 10px;
|
|
margin-bottom: 1em;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: rgba(50, 50, 50, 0.45);
|
|
}
|
|
.event-container-one:hover {
|
|
background-color: #fff;
|
|
box-shadow: 0 0.1em 0.7em 0em;
|
|
}
|
|
.event-container-one .event-content{
|
|
color: #000000;
|
|
}
|
|
button.switch_button {
|
|
margin: 10%;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
border-radius: 1.25em;
|
|
border: 0;
|
|
background: #96231a;
|
|
color: white;
|
|
outline: 0;
|
|
}
|
|
.switch_button:hover {
|
|
background: #c07b76;
|
|
}
|
|
.switch_button_wraper{
|
|
position: absolute;
|
|
right: 0%;
|
|
margin-right: 2%;
|
|
width: 3em;
|
|
margin-bottom: 2%;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.event-wraper{
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
.event-container-one:not(.active) {
|
|
right: -100%;
|
|
}
|
|
.event.active .event-containers{
|
|
min-height: 13em;
|
|
height: 100%;
|
|
}
|
|
.calendar-events.width-100 .switch_button_wraper{
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.calendar-events.width-100 .switch_button{
|
|
margin: 2%;
|
|
}
|
|
.calendar-events.width-100 .event-containers{
|
|
z-index: 3;
|
|
}
|
|
.month_template .widget-title {
|
|
border: 0;
|
|
border-bottom: 0.0625em solid #ddd;
|
|
}
|
|
&>div:first-child {
|
|
box-shadow: 0em 0.1em 0.3em 0em;
|
|
margin-bottom: 0.25em;
|
|
}
|
|
.event{
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
} |