Files
_resources/_tecky/party-planner/backend/private/eventSummary/event.css
louiscklaw 04dbefcbaf update,
2025-02-01 01:58:47 +08:00

973 lines
15 KiB
CSS

/* @import */
body {
font-family: 'Calibri';
background-color: #ffffff;
font-size: 16px;
font-family: 'Lato', sans-serif;
}
textarea {
border-radius: 10px;
background: none;
border-color: #3f3f3f;
}
a {
color: inherit;
text-decoration: none;
}
.content {
height: calc(100vh - 115px);
margin-top: 10px;
}
.vertical-flex {
flex-direction: column;
justify-content: flex-start !important;
align-items: flex-start !important;
}
.background-frame:not(.eventname .background-frame) {
background-color: #f9f9da;
border-radius: 10px;
}
.background-frame {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 10px 20px;
}
.line1 {
height: 15vh;
}
.line2 {
height: 65vh;
display: flex;
flex-direction: column;
}
.participant {
height: 65%;
}
.venue {
height: 35%;
}
.frame {
padding: 10px 0 10px 0;
}
.frame-title {
font-size: 20px;
font-weight: bold;
text-align: left;
}
.frame-title-container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.frame-content-container {
width: 100%;
display: flex;
padding: 10px 0;
height: 100%;
overflow-y: auto;
}
.eventname {
font-size: 20px;
font-weight: bold;
text-align: center;
line-height: 100%;
}
.eventname .emoji {
font-size: 30px;
}
.date-time .background-frame > div {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.date-time .background-frame > div:first-child {
width: 30%;
}
.date-time .background-frame > div:nth-child(2) {
width: 70%;
}
.date-time .background-frame {
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
}
.date-time .frame-content,
.date-time .frame-content-label {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.date-time .frame-content-label {
width: 20%;
}
.date-time .frame-content {
width: 80%;
}
.participant .frame-content-container {
width: 100%;
max-height: 70%;
overflow-y: auto;
}
.venue .frame-title-container,
.schedule .frame-title-container {
justify-content: space-between;
align-items: center;
}
#number-of-participants {
margin: 0 10px;
display: flex;
justify-content: center;
align-items: center;
background-color: #f2d492;
color: #ee6c4d;
width: 30px;
height: 30px;
border-radius: 5px;
}
.participant .left {
display: flex;
align-items: center;
}
.datetime-form {
width: 100%;
}
.red_creator {
color: red;
font-weight: bold;
}
.input-group-text {
cursor: pointer;
}
#invitation-link {
display: flex;
justify-content: center;
align-items: center;
}
.copied {
background-color: #059862;
color: white;
font-weight: bold;
border: 4px solid #07c982;
}
.name-block {
display: flex;
margin: 10px 15px 10px 10px;
justify-content: center;
align-items: center;
}
.delete_event-button-container {
position: absolute;
right: 10px;
top: 50%;
transform: translate(0, -50%);
}
.warning-sign {
font-size: 70px;
width: 90px;
height: 90px;
border-radius: 200px;
border: solid 4px black;
display: flex;
justify-content: center;
align-items: center;
}
.warning {
font-size: 30px;
font-weight: bold;
}
#delete-event-modal .modal-body,
#overwrite-venue-poll-modal .modal-body,
#overwrite-datetime-poll-modal .modal-body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.hide {
display: none;
}
div[class^='venue_poll_'] {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
margin: 5px 0;
}
div[class^='datetime_poll_'] {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
margin: 5px 0;
}
.datetime_title {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
margin: 5px 0;
}
div[class^='venue_poll_'] label {
width: 80px;
}
div[class^='datetime_poll_'] label {
width: 80px;
}
.datetime_title > div:first-child {
width: 80px;
}
.datetime_title > div:nth-child(2) {
display: flex;
width: 100%;
}
.datetime_title > div:nth-child(2) div {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
}
.venue-poll-options-container {
margin: 10px 20px !important;
}
/* ↓↓ Scroll bar ↓↓ */
.frame-content-container::-webkit-scrollbar {
display: none;
}
/* ↑↑ Scroll bar ↑↑ */
/* ↓↓ Buttons ↓↓ */
.venue-buttons-container {
display: flex;
}
.edit-button,
.poll-button {
border-radius: 100px;
background-color: #f29559;
color: white;
width: 22px;
height: 22px;
font-size: 10px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.poll-button {
margin: 0 10px;
}
.invite-button {
border-radius: 100px;
background-color: #f29559;
color: white;
width: 22px;
height: 22px;
font-size: 13px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-right: 10px;
}
.info-button {
border-radius: 100px;
background-color: #f29559;
color: white;
width: 22px;
height: 22px;
font-size: 10px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.delete-button {
border-radius: 100px;
background-color: #c74b38;
color: white;
width: 22px;
height: 22px;
font-size: 10px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
#delete-event-submit,
#overwrite-venue-poll-submit,
#overwrite-datetime-poll-submit {
background-color: #d8684e;
color: white;
font-weight: bold;
border: #c7492c 3px solid;
}
#delete-event-modal .modal-submit-button,
#overwrite-venue-poll-modal .modal-submit-button,
#overwrite-datetime-poll-modal .modal-submit-button {
box-shadow: none;
}
.switch-buttons-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 15px;
}
.btn-outline-success,
.btn-outline-danger {
--bs-btn-color: #6c757d;
--bs-btn-border-color: #6c757d;
--bs-btn-active-bg: #6c757d;
--bs-btn-active-border-color: #6c757d;
font-size: 15px;
}
.btn-outline-success {
--bs-btn-border-radius: 0.375rem 0 0 0.375rem;
}
.btn-outline-danger {
--bs-btn-border-radius: 0 0.375rem 0.375rem 0;
}
.option-button-container {
display: flex;
align-items: center;
justify-content: center;
}
#venue-add-option,
#venue-remove-option {
margin: 10px;
box-shadow: none;
}
/* ↑↑ Button ↑↑ */
/* Modal */
.modal-submit-button {
font-size: 14px;
color: #293241;
font-family: 'Lato', sans-serif;
background-color: #f2d492;
padding: 10px 20px 10px 20px;
border-radius: 20px;
margin: 18px;
min-width: 110px;
border: none;
box-shadow: 0px 1px 12px #f2d492;
}
.modal-footer {
display: flex;
justify-content: center;
align-content: center;
}
.modal-login {
font-size: 14px;
color: #293241;
font-family: 'Lato', sans-serif;
background-color: #f2d492;
padding: 10px 20px 10px 20px;
border-radius: 20px;
margin: 18px;
width: 110px;
border: none;
box-shadow: 0px 1px 12px #f2d492;
}
.modal-header {
display: flex;
justify-content: space-between;
}
.modal-title {
font-size: 25px;
font-weight: bold;
color: #293241;
font-family: 'Lato', sans-serif;
transform: translateX(10px);
}
.form-label {
color: #293241;
font-family: 'Lato', sans-serif;
}
.input-group-container {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 0 10px 0;
}
.input-title,
.reminder-text {
text-align: center;
}
.reminder-text {
color: grey;
width: 70%;
}
.form-control {
border-width: 2px;
border-radius: 10px;
}
#datetime-submit,
#venue-submit,
#venue-poll-submit {
width: 50%;
}
.form-header {
margin: 0 0 5px 0;
}
.form,
.input-panel {
margin: 20px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.invite-button-container {
position: absolute;
bottom: -25px;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
height: 20%;
display: flex;
justify-content: center;
align-items: center;
}
#participants-list-container {
display: flex;
justify-content: center;
align-items: center;
}
.participants-list {
height: 35vh;
padding: 10px;
margin-top: 18px;
border-radius: 10px;
border: solid grey 2px;
position: relative;
}
.participants-list-title {
position: absolute;
top: -3px;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
font-size: 20px;
font-weight: bold;
}
#current-participants-list .participants-list-title {
color: #2fd0c1;
}
#deleted-participants-list .participants-list-title {
color: #d02f3e;
}
.user-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}
#participants-modal .frame-content-container > div {
width: 100%;
}
.datetime-buttons-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
}
.date-time .poll-button {
margin: 0 0 5px 0;
}
/* From eventPageSchedule.css */
.item-list-box {
min-height: 150px;
min-width: 100px;
}
#item-form-text {
text-align: center;
}
#item-form-header {
text-align: center;
}
.item-list-box {
border-radius: 10px;
background-color: #e8e892;
height: 100%;
padding-top: 10px;
padding-bottom: 10px;
overflow: auto;
}
#date-selector-container {
display: flex;
justify-content: right;
padding-bottom: 10px;
padding-right: 10px;
}
#time-block-memo-container {
position: relative;
max-height: 100%;
}
#close-memo {
position: absolute;
top: 0px;
font-size: 10px;
right: 10px;
}
#time-block-page-container {
max-height: 800px;
height: 550px;
padding-top: 0px;
padding-bottom: 30px;
}
#event-time-container {
text-align: center;
}
.event-schedule {
background-color: #efefd0 !important;
}
.event-schedule:hover {
background-color: #e8e892 !important;
}
@media (max-width: 1000px) {
#line {
display: none;
}
}
@media (max-width: 576px) {
@media (max-width: 1000px) {
#line {
display: none;
}
#memo {
font-size: large;
max-height: 100%;
max-width: 100%;
overflow: auto;
}
#time-block-memo-container {
max-height: 300px;
height: 300px;
overflow: auto;
}
#rundown-container {
max-height: 300px;
}
}
}
#memo {
background-color: #efefd0;
height: 90%;
border-radius: 10px;
overflow: auto;
}
#page {
display: flex;
justify-content: center;
height: 90%;
width: 100%;
}
/* #line {
position: absolute;
} */
#rundown {
max-height: 80%;
max-width: 100%;
}
#rundown-container {
max-height: 100%;
position: relative;
background-color: white;
padding-top: 30px;
padding-bottom: 20px;
}
.time-stamp-container {
background-color: none;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.individual-time-block {
height: 100%;
padding: 2px;
max-width: 100%;
overflow: visible;
}
.time-block {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-color: rgba(181, 180, 180, 0.625);
padding: 10px;
border-radius: 5px;
padding: 1px;
font-size: 1.5vw;
text-align: center;
transition: background-color 50ms ease-out 50ms;
}
.save-time-block {
height: 100%;
color: white;
opacity: 0.7;
padding: 10px;
border-radius: 5px;
text-align: center;
transition: background-color 50ms ease-out 50ms;
}
.save-time-block:hover {
opacity: 0.8;
transform: scale(1.01);
}
.time-stamp {
position: absolute;
top: -5px;
right: 10px;
font-size: 10px;
}
.last-time-stamp {
position: absolute;
bottom: -5px;
right: 10px;
font-size: 10px;
}
.memo-item-container {
position: relative;
background-color: rgba(255, 255, 255, 0.522);
border-radius: 10px;
width: 100%;
height: 100%;
margin-bottom: 10px;
padding: 10px;
font-size: 15px;
}
#memo-item-cluster {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
padding: 10px;
}
.memo-item-label {
font-weight: 800;
font-size: 15px;
padding: 5px;
}
/* Scroll bar */
::-webkit-scrollbar {
width: 15px;
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 5px;
height: 200px;
}
::-webkit-scrollbar-thumb {
background: #efefd0;
border-radius: 5px;
min-height: 250px;
}
::-webkit-scrollbar-thumb:hover {
background: white;
}
#memo,
#memo-tag {
animation-duration: 0.5s;
animation-name: animate-fade;
animation-delay: 0.1s;
animation-fill-mode: backwards;
}
@keyframes animate-fade {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#edit-activities {
border-radius: 100px;
background-color: #f2965985;
color: white;
text-align: center;
min-width: 22px !important;
min-height: 22px !important;
padding: 3px;
font-size: 10px;
}
#edit-remarks {
border-radius: 100px;
background-color: #f2965985;
color: white;
text-align: center;
min-width: 22px !important;
min-height: 22px !important;
padding: 3px;
font-size: 10px;
}
#edit-show-item {
border-radius: 100px;
background-color: #f2965985;
color: white;
text-align: center;
min-width: 22px !important;
min-height: 22px !important;
padding: 3px;
font-size: 10px;
}
.modal-dialog {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
#event-name {
font-size: 2vw;
padding-top: 10px;
}
.fa-trash {
z-index: 1000;
right: 20px;
top: 20px;
}
.creator-function {
z-index: 1000;
}
/* CSS */
.button-53 {
background-color: #f29659;
border: 0 solid #e5e7eb;
box-sizing: border-box;
color: #000000;
display: flex;
font-family: ui-sans-serif, system-ui, -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
font-size: 1rem;
font-weight: 700;
justify-content: center;
line-height: 1.75rem;
padding: 0.75rem 1.65rem;
position: relative;
text-align: center;
text-decoration: none #000000 solid;
text-decoration-thickness: auto;
width: 100%;
max-width: 460px;
position: relative;
cursor: pointer;
transform: rotate(-2deg);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-53:focus {
outline: 0;
}
.button-53:after {
content: '';
position: absolute;
border: 1px solid #000000;
bottom: 4px;
left: 4px;
width: calc(100% - 1px);
height: calc(100% - 1px);
}
.button-53:hover:after {
bottom: 2px;
left: 2px;
}
@media (min-width: 768px) {
.button-53 {
padding: 0.75rem 3rem;
font-size: 1.25rem;
}
}
/* From itemSummary */
.shopping-list {
height: 90%;
border-radius: 20px;
margin: 10px 2px 5px 5px;
width: 100%;
}
.shopping-list .item-list {
position: relative;
height: 100%;
width: 100%;
background-color: #fff;
}
.border {
border: 10px solid #9bafd0;
border-radius: 20px;
padding: 10px;
max-height: 500px;
overflow-y: scroll;
}
.pending-item-header,
.pending-item {
display: flex;
justify-content: space-between;
}
.bi-filter-circle {
color: #495871;
width: 20px;
height: 20px;
}
.shorting-btn {
border: none;
border-radius: 20px;
background-color: #fff;
}
.check-btn {
border: none;
border-radius: 20px;
background-color: #fff;
}
.dropdown-item {
cursor: pointer;
}