Files
doneit-web/src/app/pages/agenda/agenda.page.scss
T
Peter Maquiran fbd50137f3 merge
2023-01-24 15:56:47 +01:00

927 lines
15 KiB
SCSS

.event-indicator {
background: #333;
width: 5px;
height: 5px;
border-radius: 5px;
display: table-cell;
}
:host ::ng-deep {
.monthview-primary-with-event {
/* background-color: white !important; */
}
.monthview-current{
/* background-color: red; */
border-bottom: 1px solid rgb(158, 250, 135) !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;
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{
font-family: Roboto;
font-size: 25px;
margin: 0 5px 0 25px;
padding: 0;
/* color:#ffffff; */
color:#000;
}
.div-top-header{
width: 400px;
margin: 0 auto;
background-color: #07c941;
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;
background-color: #fff;
overflow:auto;
/* padding: 25px 20px 0 20px; */
color: #000 !important;
}
.segment {
}
div ion-raw > ul > li{
font-size: 11pt;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* 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;
justify-content: space-around;
}
.arrow{
padding: 0px 0px;
}
.right-icons, .calendar-profile{
padding: 0px 9px
}
.capitaliseText{
font-size: 20px;
}
.calendar-tool-tip{
padding: 30px 10px 20px 10px;
//border: 1px solid orange;
}
.custom-calendar-header {
width: 100%;
margin-bottom: 10px;
thead {
display: flex;
justify-content: space-around;
th {
font-family: Roboto;
font-size: 15px;
color: rgba(52, 72, 94, 0.54);
font-weight: normal;
}
}
}
.currente-date-timelien{
cursor: pointer;
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: var(--title-text-color);
}
.filter-name{
color: var(--title-text-color);
font-family: Roboto;
font-size: 15px;
margin-right: 25px;
width: 55px;
}
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: var(--mat-selected) !important;
color: white;
}
li:hover:not(.active){
background-color: var(--mat-selected-hover);
}
}
}
}
.showcalendar{
display: none;
}
.timeline-header{
z-index: 1000000;
width: 100%;
background-color: white;
}
.timeline-container{
.day {
font-weight: bold;
color: #2e2e2e !important;
font-size: 13px;
}
.EventListBoxBorder{
padding-bottom: 5px;
border-bottom: 1px solid #d8d8d8;
}
.content-pr-Oficial, .content-pr-Pessoal, .content-mdgpr-Pessoal, .content-mdgpr-Oficial {
width: 100% !important;
padding: 0px 10px !important;
}
.schedule-time{
margin-right: 10px;
min-width: 33px;
.time-start{
color: #797979 !important;
font-family: Roboto;
font-size: 13px;
}
.time-end{
color: #797979 !important;
font-family: Roboto;
font-size: 13px;
}
}
.schedule-date{
margin-right: 10px;
width: 22%;
color: #797979 !important;
font-size: 13px;
}
.schedule-details{
display: flex;
flex-wrap: wrap;
align-items: center;
width: 100%;
overflow: auto;
.location {
width: 100%;
font-family: Roboto;
color: black;
font-size: 14px;
}
.calendar-owner {
font-size: 14px;
}
.description{
width: 100%;
font-family: Roboto;
font-weight: bold;
color: var(--title-text-color);
}
.description p {
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis !important;
font-size: 17px;
}
}
.color{
width: 5px;
height: 40px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
background-color: #f05d5e;
}
.div-content-Oficial{
width: 85%;
float: left;
border-left: 4px solid #cab0dc;
padding: 0 0 0 12px;
}
.div-content-Pessoal{
width: 85%;
float: left;
border-left: 4px solid #cbeecb;
padding: 0 0 0 12px;
}
.div-content-Oficial h3, .div-content-Pessoal h3{
font-size: 14pt;
/* border: 1px solid red; */
}
.div-content-Oficial p, .div-content-Pessoal p{
font-size: 12pt;
color: rgb(94, 92, 92);
padding: 0 !important;
margin: 0 !important;
}
.content-pr-Pessoal{
background-color: var(--white);
border-radius: 5px;
border-right: 5px solid #958bfc;
overflow: auto;
}
.content-mdgpr-Oficial{
border-radius: 5px;
border-right: 5px solid #ffb703;
overflow: auto;
}
.content-mdgpr-Pessoal{
border-radius: 5px;
border-right: 5px solid #f05d5e;
overflow: auto;
}
}
.myCalendar {
.content--Oficial {
border-radius: 5px;
border-right: 5px solid #ffb703;
overflow: auto;
}
.content--Pessoal {
border-radius: 5px;
border-right: 5px solid #f05d5e;
overflow: auto;
}
}
.sharedCalendar {
.content-Oficial{
width: 85%;
float: left;
border-left: 4px solid #cab0dc;
padding: 0 0 0 12px;
}
.content-Pessoal{
width: 85%;
float: left;
border-left: 4px solid #cbeecb;
padding: 0 0 0 12px;
}
}
.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%;
overflow: hidden;
.calendar-timeline{
border-top-right-radius: 0px;
width: calc(100%);
overflow: hidden;
.calendar-wrapper{
width: 100%;
}
.timeline-wrapper{
width: 100%;
overflow: auto;
// overflow-x: hidden;
}
}
}
.event-details{
display: none;
}
@media only screen and (min-width: 1024px) {
.container-wrapper{
height: 100%;
.calendar-timeline{
border-top-right-radius: 0px;
border-top-left-radius: 25px;
width: calc(100% - 40%);
border-right: 1px solid #d8d8d8;
display: flex;
flex-direction: column;
height: 100%;
flex-wrap: unset;
}
}
.event-details{
display: block;
}
}
app-view-event{
height: 100%;
display: flex;
flex-wrap: wrap-reverse;
flex-direction: column;
z-index: 1000;
}
app-edit-event{
display: flex;
flex-direction: column;
height: 100%;
z-index: 1000;
}
app-new-event{
height: 100%;
display: flex;
flex-wrap: wrap;
flex-direction: column;
z-index: 1000;
}
app-event-list{
flex-direction: column;
height: 100%;
flex-wrap: wrap-reverse;
z-index: 1000;
}
app-approve-event{
display: flex;
flex-direction: column;
height: 100%;
z-index: 1000;
}
.transparent{
position: absolute;
z-index: 0;
opacity: 0;
}
.nothing-to-show{
justify-content: center;
display: flex;
align-items: center;
height: 100%;
}
.fs-timeline {
border-right: 1px solid #909090;
}
.filter-Pessoal {
.content-pr-Oficial, .content-mdgpr-Oficial, .content-md-Pessoal {
display: none !important;
}
}
.filter-Oficial {
.content-pr-Pessoal, .content-mdgpr-Pessoal, .content-md-Pessoal {
display: none !important;
}
}
.dropdown-scroll-weel {
display: flex;
position: absolute;
margin-left: 26px;
background: white;
height: 200px;
z-index: 100;
width: 179px;
box-shadow: 0px 7px 10px #8c8c8c;
border-radius: 11px;
padding-bottom: 6px;
margin-top: 232px;
border-top: 2px solid #42b9fe;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
li, ul {
list-style: none;
padding: 5px 0px;
margin: 0px;
text-align: center;
span{
padding: 0px 5px;
}
}
li.active {
background-color: var(--mat-selected) !important;
color: white;
}
li:hover{
cursor: pointer;
background-color: var(--mat-selected-hover) ;
}
}
.dropdown-scroll-weel-background{
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
z-index: 99;
}
@media only screen and (min-width: 1225px) {
.calendar-timeline{
height: 100%;
background-color: white;
border-top-left-radius: 25px;
}
.event-details{
width: 40%;
background: white;
border-top-right-radius: 0px;
}
}
@media only screen and (min-width: 321px) {
.calendar-timeline{
height: 100%;
background-color: white;
border-top-left-radius: 0px;
}
.event-details{
width: 40%;
background: white;
border-top-right-radius: 25px;
}
}
@media only screen and (max-width: 415px) {
.capitaliseText {
font-size: 18px;
}
.resize{
font-size: 33px !important;
ion-icon{
font-size: 33px !important;
}
}
}
@media only screen and (max-width: 398px) {
.capitaliseText {
font-size: 15px;
}
.resize{
font-size: 27px !important;
ion-icon{
font-size: 27px !important;
}
}
}
@media only screen and (max-width: 364px) {
.capitaliseText {
font-size: 13px;
}
.resize{
font-size: 23px !important;
ion-icon{
font-size: 23px !important;
}
}
}
$font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
$font-size: 11pt;
.changeText{
font-family: $font-family;
font-size: $font-size;
}
.calendar-title-container{
width: 100% !important;
.calendar-title-description {
width: 50% !important;
}
}
.calendar-letters {
width: 36px;
height: 36px;
background-color: #f05d5e;
border-radius: 44px;
text-align: center;
align-items: center;
justify-content: center;
margin-top: -3px;
border: 1.5px solid black;
color: white;
display: none;
.text{
}
}
@media only screen and (max-width: 800px) {
.calendar-letters {
display: flex !important;
}
}
.cal-reverse {
background: white !important;
color: black !important;
border-color: #f05d5e !important;
}
.labelb {
font-weight: 500;
}