Files
doneit-web/src/app/pages/events/events.page.scss
T
2023-11-14 12:04:31 +01:00

685 lines
12 KiB
SCSS

@import "~src/function.scss";
:host {
// mobile
background: var(--background-mobile);
}
// desktop
@media only screen and (min-width: 1365px) {
// set color to body
:host {
// mobile
background: var(--background-desktop) !important ;
}
}
/* HEADER */
.bg-blue {
--background: #0782c9;
background: #0782c9;
--background-color: #0782c9;
background-color: #0782c9;
color: #ffffff;
--color: #ffffff;
}
ion-toolbar {
--background: white;
}
.ion-text-header-top {
width: 100%;
--background: transparent;
text-align: center;
padding-top: 15px;
color: #ffffff;
/* border: 1px solid red; */
}
.div-top-header {
width: 400px;
margin: 0 auto;
background-color: #0782c9;
overflow: auto;
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;
}
}
.ion-text-header-top p {
--background: transparent;
color: #ffffff;
}
.ion-text-right {
--background: transparent;
color: #ffffff;
}
.header-large {
font-family: Arial, Helvetica, sans-serif;
font-size: rem(17);
/* font-weight: 600; */
background: transparent;
color: #ffffff;
}
.header-xsmall {
font-family: Arial, Helvetica, sans-serif;
font-size: rem(13);
font-weight: bold;
padding-bottom: 3.5px;
margin-bottom: 3.5px;
border-bottom: 1px solid #ccc;
background: transparent;
}
.header-medium {
font-size: rem(16);
text-align: left;
font-family: roboto;
background: transparent;
margin-right: 5px;
line-height: rem(25);
}
.p-small {
font-size: rem(17);
margin-top: 13px;
color: var(--header-tab-text-white);
margin-right: 25px !important;
text-align: right;
/* color: #ffffff; */
}
/* CONTENT */
.item-list-small {
font-size: rem(14);
overflow: auto;
}
.ion-item-class {
padding: 0;
}
.label-text {
width: 100%;
padding: 0;
margin: 0;
}
//DIV
.div-item-Oficial {
width: 100%;
overflow: auto;
/* border-bottom: 1px solid #ccc; */
margin: 10px 0 5px 0;
background: #cab0dc;
border-radius: 20px;
padding: 10px;
/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}
.div-item-Pessoal {
width: 100%;
overflow: auto;
/* border-bottom: 1px solid #ccc; */
margin: 10px 0 5px 0;
background: #cbeecb;
border-radius: 20px;
padding: 10px;
/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}
.div-up {
width: 100%;
overflow: auto;
}
.div-up h3 {
margin: 0;
padding: 0;
font-size: rem(17);
width: 100%;
}
.div-icon {
width: 10%;
font-size: rem(22);
float: left;
color: #808080;
}
.div-icon ion-icon {
display: block;
margin: 0 auto;
}
.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;
}
.div-botton {
width: 100%;
overflow: auto;
margin: 10px 0 5px 0;
}
.div-botton-left {
width: 10%;
float: left;
}
.ion-icon-location {
text-align: center;
display: block;
color: var(--subtitle-text-color);
font-size: rem(16);
margin: 0 auto;
min-height: 19px;
}
.div-botton-middle {
width: 75%;
float: left;
margin-top: 0.5px;
}
.div-botton-middle p {
padding: 0;
margin: 0;
}
.div-botton-right {
width: 10%;
float: left;
margin: 0;
padding: 0;
}
.ion-icon-attach {
color: #666666;
font-size: rem(20);
}
/* NEW CSS FOR TOGGLE BUTTON */
.toggleBox {
margin: 20px 20px 0 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: inline;
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;
}
// new
.main {
padding: 0px em(20px);
background: linear-gradient(
270deg,
var(--color2) 100%,
var(--color3) 100%,
var(--color4) 100%,
var(--color5) 100%
) !important;
}
.event-number {
color: var(--header-tab-text-white);
font-family: Roboto;
font-size: rem(15);
bold {
font-family: Roboto;
font-size: rem(25);
text-align: right;
color: var(--white);
}
}
.time {
font-family: Roboto;
text-align: center;
/* color: var(--header-tab-text-white); */
color: black;
line-height: unset;
margin-top: 10px;
width: 100%;
}
.next-meeting {
display: flex;
justify-content: center;
margin: 0px 20px;
margin-top: 15px;
.meeting-time {
font-size: em(25px);
font-family: Roboto;
font-weight: 300;
color: var(--header-tab-text-white);
margin-right: 7px;
}
.meeting-description {
margin-top: 2px;
font-family: Roboto;
font-size: rem(15);
color: var(--header-tab-text-white);
}
}
.conteiner-box {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding-bottom: 20px;
}
.schedule {
max-width: 400px;
font-family: Roboto;
//background-color: white;
background-color: var(--box-container-color);
//box-shadow: 0 0 10px 0 rgb(0 0 0 / 7%);
box-shadow: 0 0 10px 0 var(--box-border-color-shadow);
//border: solid 1px #e9e9e9;
border: solid 1px var(--box-border-color);
margin-bottom: 20px;
border-radius: 25px;
display: flex;
flex-direction: column;
max-height: 100%;
overflow: auto;
padding-bottom: 25px;
.schedule-header {
display: flex;
margin-bottom: 20px;
justify-content: space-between;
padding: 20px 20px 0px 20px;
.title {
display: flex;
align-items: center;
.icon {
color: #e8e8e8;
height: rem(35);
width: rem(35);
margin-right: 10px;
}
.text {
font-family: Roboto;
font-size: rem(20);
color: black;
}
}
.icon-next {
color: #e8e8e8;
font-size: rem(35);
}
.icon-next-color {
color: #e8e8e8;
}
}
.content {
//padding: 0px 20px 20px 20px;
overflow: auto;
.item-exp {
overflow: auto;
//padding-top: 5px;
//padding-bottom: 5px;
padding: 5px 20px 5px 20px;
background-color: transparent !important;
}
ion-list {
padding: 0px;
margin: 0px;
background-color: transparent !important;
.d-flex {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
ion-item {
padding-bottom: 5px;
margin-top: 5px;
border-bottom: 1px solid #ebebeb;
display: flex;
justify-content: space-between;
align-items: center;
background-color: transparent;
--background: transparent;
.schedule-time {
margin-right: 10px;
.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;
color: #797979 !important;
font-size: rem(13);
}
.schedule-details {
display: flex;
flex-wrap: wrap;
align-items: center;
width: 78%;
min-height: 39px;
align-items: baseline;
.location {
font-family: Roboto;
font-size: rem(15);
color: black;
min-height: 19px;
width: 100%;
}
.description {
font-family: Roboto;
font-size: rem(13);
font-weight: bold;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
//color: #0d89d1;
color: var(--title-text-color);
}
.description p {
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
}
.color {
width: 5px;
height: rem(40);
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
background-color: #f05d5e;
}
}
ion-item:last-child {
border-bottom: unset !important;
padding-bottom: unset !important;
}
}
}
.resume {
.title {
font-family: Roboto;
font-size: rem(15);
font-weight: 500;
color: #797979;
margin-bottom: 5px;
margin-top: 10px;
}
.event-num,
.first-event-time {
font-family: Roboto;
font-size: rem(15);
display: block;
color: black;
}
}
}
.d-flex {
display: flex;
}
.pointer {
cursor: pointer;
}
@media only screen and (max-width: 856px) {
.content,
.conteiner-box {
height: unset !important;
max-height: unset !important;
}
.event-box {
display: block;
height: unset !important;
max-width: unset !important;
width: 100% !important;
display: flex;
}
.schedule-1 {
display: none;
}
.filters-box {
display: block !important;
width: 100%;
}
.box-container {
max-width: 400px !important;
}
.showMobile {
display: block !important;
}
.hideMobile {
display: none !important;
}
.conteiner-box-mobile {
display: flex !important;
}
.box-container {
height: unset !important;
}
}
@media only screen and (min-width: 804px) {
.schedule:first-child {
margin-right: 2%;
}
}
@media only screen and (min-width: 478px) {
.schedule {
width: 400px;
}
}
@media only screen and (max-width: 478px) {
.schedule {
width: 360px;
}
}
ion-title {
border: 1px solid red;
text-overflow: ellipsis;
}
.box-container {
background-color: white;
flex-direction: column;
}
.box-container {
height: 100%;
padding: 20px;
border-radius: 20px;
.wrap {
flex-wrap: wrap;
justify-content: center;
}
.event-box {
background-color: #ffb81c2b;
width: 150px;
height: 90px;
margin: 5px;
margin-left: 0px;
margin-right: 0px;
flex-direction: column;
display: flex;
justify-content: space-between;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
padding: 10px;
p {
margin-bottom: 0px;
line-height: 15px;
}
span {
font-size: rem(15);
font-weight: 600;
}
}
}
.flex-wrap {
flex-wrap: wrap;
}
.main-content {
// flex-direction: column;
width: 100%;
}
.schedule-container {
flex-grow: 1;
overflow: auto;
.schedule {
box-shadow: unset !important;
border: unset !important;
width: unset !important;
max-width: unset !important;
}
ion-item {
border-bottom: unset !important;
}
}
.conteiner-box-mobile {
display: none;
}
@media screen and (max-width: 400px) {
.box-container {
width: 360px;
margin: 0px auto;
margin-left: 0px !important;
margin-right: 0px !important;
}
}
.item-exp {
justify-content: flex-start !important;
}
.event-box-content {
justify-content: flex-start !important;
}
@media only screen and (min-width: 100px) {
.container-filters,
.filters-box,
.schedule-header,
.Goto-agenda {
font-size: 14px;
}
}
@media only screen and (min-width: 500px) {
.container-filters,
.filters-box,
.schedule-header,
.Goto-agenda {
font-size: 16px;
}
}