Files
doneit-web/src/app/ui/agenda/agenda.page.scss
T
2024-10-18 12:12:55 +01:00

1022 lines
17 KiB
SCSS

@import "~src/function.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: rem(25);
}
.div-icon {
width: rem(40);
float: right;
font-size: rem(35);
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: 0.4s;
transition: 0.4s;
}
.slider:before {
position: absolute;
content: "";
height: 23.5px; /* 26px; */
width: 24px;
left: 4px;
bottom: 4px;
background-color: #ffffff;
-webkit-transition: 0.4s;
transition: 0.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: rem(12);
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: 0.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: rem(30);
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: rem(12);
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: rem(25);
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: rem(45);
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: rem(45);
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: rem(15);
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: rem(30);
}
.arrow-down {
font-size: rem(28);
}
}
.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: rem(35);
display: flex;
align-items: center;
}
}
}
}
.capitaliseText {
min-width: 135px;
text-align: center;
font-weight: normal;
padding: 0px;
margin: 0px;
justify-content: space-around;
text-transform: capitalize;
}
.arrow {
padding: 0px 0px;
}
.right-icons,
.calendar-profile {
padding: 0px 9px;
}
.capitaliseText {
font-size: rem(20);
}
.calendar-tool-tip {
padding: 37px 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: rem(15);
color: rgba(52, 72, 94, 0.54);
font-weight: normal;
}
}
}
.currente-date-timelien {
cursor: pointer;
padding: 10px 20px;
.collaps {
font-size: rem(20);
padding-right: 8px;
}
.filter {
font-size: rem(15);
font-weight: normal;
ion-icon {
font-size: rem(35);
color: var(--title-text-color);
}
.filter-name {
color: var(--title-text-color);
font-family: Roboto;
font-size: rem(15);
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: rem(15);
font-weight: normal;
}
li.active {
background-color: var(--mat-selected) !important;
color: white;
}
li:hover:not(.active) {
background-color: var(--mat-selected-hover);
}
}
}
}
.timeline-date {
font-size: rem(13);
font-weight: 500;
color: gray;
}
.showcalendar {
display: none;
}
.timeline-header {
z-index: 1000000;
width: 100%;
background-color: white;
}
.timeline-container {
.day {
font-weight: 500;
color: gray !important;
font-size: rem(13);
}
.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: rem(13);
}
.time-end {
color: #797979 !important;
font-family: Roboto;
font-size: rem(13);
}
}
.schedule-date {
margin-right: 10px;
width: 22%;
color: #797979 !important;
font-size: rem(13);
}
.schedule-details {
display: flex;
flex-wrap: wrap;
align-items: center;
width: 100%;
overflow: auto;
.location {
width: 100%;
font-family: Roboto;
color: black;
font-size: rem(14);
}
.calendar-owner {
font-size: rem(14);
}
.description {
font-family: Roboto;
font-weight: bold;
color: var(--title-text-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.description p {
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis !important;
font-size: rem(17);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.color {
width: 5px;
height: rem(40);
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: rem(19);
/* border: 1px solid red; */
}
.div-content-Oficial p,
.div-content-Pessoal p {
font-size: rem(16);
color: rgb(94, 92, 92);
padding: 0 !important;
margin: 0 !important;
}
}
.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: rem(15);
.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;
}
@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;
}
.active {
font-weight: bold !important;
}
.header-day .dayShow:nth-child(1) {
display: none !important;
}
.calendar-options {
position: relative;
float: right;
margin-left: -100%;
button {
// top: -35px;
position: relative;
color: transparent;
background-color: transparent;
}
}
.float-button {
display: none;
}
.select-calendar {
mat-form-field {
width: 269px;
}
}
@media only screen and (max-width: 623px) {
.calendar-options {
display: none !important;
}
.first-row {
flex-grow: 1;
.float-button {
display: block !important;
position: absolute;
float: right;
right: 15px;
top: 4px;
background: transparent;
color: transparent;
button {
background: transparent;
color: transparent;
ion-icon {
border-radius: 50px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
-ms-border-radius: 50px;
-o-border-radius: 50px;
box-shadow: 0px 0px 10px rgb(112, 112, 112);
margin: 0px;
padding: 0px;
}
}
}
}
.select-calendar {
flex-grow: 1;
}
.select-calendar {
mat-form-field {
width: 100%;
}
}
}
.no-color {
color: unset !important;
background: unset !important;
ion-icon {
color: unset !important;
}
}
@media only screen and (min-width: 100px) {
.week-5 {
.calendar-title-container {
font-size: 14px;
}
.height-75 {
height: 75px;
}
.height-356 {
height: 324px;
}
}
.week-6 {
.calendar-title-container {
font-size: 14px;
}
.height-75 {
height: 75px;
}
.height-356 {
height: 360px;
}
}
}
@media only screen and (min-width: 500px) {
.week-5 {
.calendar-title-container {
font-size: 16px;
}
.height-75 {
height: 75px;
}
.height-356 {
height: 356px;
}
}
.week-6 {
.calendar-title-container {
font-size: 16px;
}
.height-75 {
height: 75px;
}
.height-356 {
height: 395px;
}
}
}
.calendar-conteiner-height {
height: 100%;
transition: 0.5s;
animation: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-ms-transition: 0.5s;
-o-transition: 0.5s;
-webkit-animation: 0.5s;
}