Files
doneit-web/src/app/pages/agenda/agenda.page.scss
T
2021-02-24 10:08:50 +01:00

570 lines
8.7 KiB
SCSS

.event-indicator {
background: #333;
width: 5px;
height: 5px;
border-radius: 5px;
display: table-cell;
}
ion-slide{
td{
div {
padding-left: 7px;
border-radius: 28px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
height: 25px;
}
}
}
:host ::ng-deep {
.monthview-primary-with-event {
/* background-color: white !important; */
}
.monthview-current{
/* background-color: red; */
border-bottom: 1px solid lightskyblue !important;
}
.monthview-selected {
/* background-color: lightskyblue !important; */
}
.item{
/* background: red !important; */
text-transform: capitalize;
}
.input-wrapper{
border-left: red !important;
/* background: red; */
margin-left: 1px solid red;
}
}
.main-header{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
background-color: #fff;
overflow:hidden;
padding: 15px 5px 0px 5px;
color:#000;
transform: translate3d(0, 1px, 0);
.title-content{
width: 360px;
margin: 0px auto;
overflow: auto;
padding: 0 !important;
background: #ecf8ff;
}
.div-title{
padding: 0!important;
float: left;
}
.title{
font-size: 25px;
}
.div-icon{
width: 40px;
float: right;
font-size: 35px;
overflow: auto;
padding: 1px;
}
.div-icon ion-icon{
float: right;
padding-left: 20px;
}
}
/* TOGGLE button */
.switch {
position: relative;
display: inline-block;
width: 90px;
height: 34px;
float: right;
right: -4px !important;
margin:20px 20px 0 0;
}
.switch input {display:none;}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ffffff;
border: 1px solid #e16817;
color: #e16817;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 23.5px; /* 26px; */
width: 24px;
left: 4px;
bottom: 4px;
background-color: #ffffff;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #e16817;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(55px);
-ms-transform: translateX(55px);
transform: translateX(55px);
}
/*------ ADDED CSS ---------*/
.pr
{
display: none;
text-align: left !important;
left: 25px !important;
color: white;
}
.mdgpr
{
left: 58px !important;
color: #e16817;
}
.pr, .mdgpr
{
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
font-size: 12px;
font-family: Verdana, sans-serif;
}
input:checked+ .slider .pr
{display: block;
background:#e16817;
}
input:checked + .slider .mdgpr
{display: none;
}
/*--------- END --------*/
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
border: 1px solid #e16817;
}
/*
Calendar
*/
/* NEW CSS FOR TOGGLE BUTTON */
.toggleBox{
margin:20px 12px 7px 0;
}
input[type="checkbox"]{
position: relative;
width: 96px;
height: 34px;
background: #ffffff;
-webkit-appearance: none;
border-radius: 20px;
outline: none;
transition: .4s;
/* box-shadow: inset 0 0 5px rgba(0,0,0,0.2); */
cursor: pointer;
border:1px solid #e16817;
}
input:checked[type="checkbox"]{
background: #e16817;
}
input[type="checkbox"]::before{
z-index: 2;
position: absolute;
content: "";
left: 0;
width: 30px;
height: 30px;
background: #fff;
border-radius: 50%;
/* transform: scale(1.1); */
box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
border:1px solid #e16817;
}
input:checked[type="checkbox"]::before{
left: 65px;
}
.toggle{
position: relative;
display: block;
font-family: 'Montserrat', sans-serif;
/* display: grid; */
text-align: center;
}
label{
position: absolute;
color: #fff;
font-weight: 600;
font-size: 12px;
pointer-events: none;
}
.onbtn{
top:10px;
bottom: 15px;
left: 15px;
/* padding-top: 10px;
border: 1px solid red; */
}
.ofbtn{
top:10px;
bottom: 15px;
right: 14px;
color: #e16817;
}
td.monthview-primary-with-event {
background-color: white !important;
}
.header-title{
width: 300px;
font-family: Roboto;
font-size: 25px;
margin: 0 5px 0 25px;
padding: 0;
/* color:#ffffff; */
color:#000;
float: left;
}
.div-top-header{
width: 400px;
margin: 0 auto;
background-color: #0782c9;
overflow: auto;
padding-top: 15px;
border: 0!important;
.div-search{
font-size: 45px;
float: left;
margin: 0 0 0 10px
}
.div-logo{
background: transparent;
width: 140px;
margin: 5px 0 0px 71px;
float: left;
}
.div-logo img{
width: 100%;
}
.div-profile{
font-size: 45px;
float: right;
margin-right: 10px;
}
}
.main-content{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
margin: 0 auto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
background-color: #fff;
overflow:auto;
/* padding: 25px 20px 0 20px; */
color: #000 !important;
}
.segment {
}
/* Timeline */
.cal-hour-segment {
border-bottom: none !important;
}
.cal-current-time-marker {
background-color: #42b9fe !important;
}
.calendar-tool-tip{
ion-icon{
font-size: 35px;
}
.arrow-down{
font-size: 28px;
}
}
.drop-down{
.drop-down-container{
display: none;
border-top: 2px solid #42b9fe;
position: absolute;
background: white;
z-index: 100000;
box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.3);
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin-left: -122px;
padding: 4px 15px;
ul{
margin: 0px;
padding: 0px;
li{
list-style: none;
height: 35px;
display: flex;
align-items: center;
}
}
}
}
.capitaliseText{
min-width: 155px;
text-align: center;
font-weight: normal;
padding: 0px;
margin: 0px;
}
.arrow{
padding: 0px 0px;
}
.right-icons, .calendar-profile{
padding: 0px 9px
}
.capitaliseText{
font-size: 20px;
}
.calendar-tool-tip{
padding: 20px 10px 30px 10px;
}
.custom-calendar-header{
width: 100%;
margin-bottom: 10px;
thead{
th{
font-family: Roboto;
font-size: 15px;
color: rgba(52, 72, 94, 0.54);
font-weight: normal;
}
}
}
.currente-date-timelien{
padding: 10px 20px;
.timeline-date{
font-size: 15px;
font-weight: bold;
}
.collaps{
font-size: 26px;
padding-right: 8px;
}
.filter{
font-size: 15px;
font-weight: normal;
ion-icon{
font-size: 35px;
color: #0d89d1;
}
.filter-name{
color: #0d89d1;
font-family: Roboto;
font-size: 15px;
margin-right: 25px;
}
ul{
background-color: white !important;
position: absolute;
padding: 0px;
margin: 0px;
list-style: none;
margin-top: 140px;
padding: 0px;
box-shadow: 0px 0px 10px gray !important;
border-radius: 5px;
width: 96px;
z-index: 1000000;
li{
padding: 5px 10px;
font-size: 15px;
font-weight: normal;
}
li.active{
background-color: rgba(66, 185, 254, 0.1);
}
}
}
}
.showcalendar{
display: none;
}
.timeline-header{
z-index: 1000000;
width: 100%;
background-color: white;
}
.timeline-container{
}
.calendar-timeline{
height: 100%;
background-color: white;
border-top-left-radius: 25px;
}
.calendar-border{
background: #ebebeb;
margin: 13px 20px;
height: 2px;
}
.calendar-progress-bar{
position: absolute;
width: 100%;
margin-left: 10px;
}
.agenda-container{
overflow: hidden;
}
.container-wrapper{
height: 100%;
.calendar-timeline{
flex-wrap: wrap;
border-top-right-radius: 24px;
width: calc(100%);
.calendar-wrapper{
width: 100%;
}
.timeline-wrapper{
width: 100%;
overflow: scroll;
overflow-x: hidden;
}
}
}
.event-details{
width: 100%;
background: white;
border-top-right-radius: 25px;
}
.event-details{
// width: 411px;
display: none;
}
@media only screen and (min-width: 1024px) {
.container-wrapper{
height: 100%;
.calendar-timeline{
flex-wrap: wrap;
border-top-right-radius: 0px;
width: calc(100% - 40%);
}
}
.event-details{
display: block;
}
}
app-view-event{
height: 100%;
display: flex;
flex-wrap: wrap-reverse;
flex-direction: column;
}
app-edit-even{
height: 100%;
display: flex;
flex-wrap: wrap;
}
app-new-event{
height: 100%;
display: flex;
flex-wrap: wrap;
flex-direction: column;
}