Додані повідомлення та перепрацьована структура застосунку та api

This commit is contained in:
2026-03-15 00:25:10 +02:00
parent 85483b85bb
commit 4bc9c11512
101 changed files with 5763 additions and 2546 deletions

View File

@@ -88,6 +88,48 @@
}
#page-card-info {
padding: 10px;
margin: 0px 0 10px 0;
background: var(--ColorThemes1);
color: var(--ColorThemes3);
border: 1px solid var(--ColorThemes2);
box-shadow: var(--shadow-l1);
border-radius: var(--border-radius);
/* overflow: auto; */
display: flex;
justify-content: space-between;
flex-direction: column;
gap: 10px;
}
#page-card-info>a {
font-size: var(--FontSize5);
font-weight: 500;
}
#page-card-info>h2 {
font-size: var(--FontSize4);
}
#page-card-info>div {
display: flex;
align-items: flex-end;
gap: 10px;
}
#page-card-info>div>h3 {
font-size: var(--FontSize3);
font-weight: 500;
opacity: 0.9;
}
#page-card-info>div>h4 {
font-size: var(--FontSize2);
font-weight: 400;
opacity: 0.8;
}
#card-new-date {
display: flex;
width: 100%;
@@ -149,4 +191,221 @@
font-weight: 400;
-webkit-appearance: none;
-moz-appearance: none;
}
.page-card *[disabled] {
opacity: 0.5;
}
.page-card #list {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
}
.page-card details {
color: var(--ColorThemes3);
width: 100%;
min-width: 320px;
background: var(--ColorThemes1);
border-radius: var(--border-radius);
overflow: hidden;
border: 1px solid var(--ColorThemes2);
box-shadow: var(--shadow-l1);
}
@media (min-width: 900px) {
.page-card #list {
align-items: flex-start;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
}
.page-card details {
width: calc(50% - 10px);
}
}
.page-card details[disabled] .page-card details summary,
.page-card details.disabled .page-card details summary {
pointer-events: none;
user-select: none;
}
.page-card details .page-card details summary::-webkit-.page-card details-marker,
.page-card details .page-card details summary::marker {
display: none;
content: "";
}
.page-card details summary {
cursor: pointer;
height: 45px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: space-between;
}
.page-card details summary p {
padding: 0 10px;
font-size: var(--FontSize3);
font-weight: 500;
}
.page-card details summary svg {
width: 25px;
height: 25px;
padding: 0 10px;
fill: currentColor;
}
.page-card .apartments_list {
padding: 10px;
gap: 15px;
display: flex;
flex-direction: column;
}
.page-card .apartments_list>p {
font-size: var(--FontSize5);
text-align: center;
color: var(--ColorThemes3);
padding: 10px;
}
.page-card .card_info {
display: flex;
font-size: var(--FontSize3);
border-radius: 8px;
flex-direction: column;
align-items: stretch;
border: 1px solid var(--ColorThemes3);
background-color: var(--ColorThemes2);
gap: 6px;
padding: 6px;
}
.card_info_homestead {
border-radius: 6px !important;
width: calc(100% - 15px);
margin: 0;
}
.page-card .card_info>span {
font-size: var(--FontSize3);
font-weight: 500;
position: relative;
}
.page-card .card_info>hr {
height: 1px;
background-color: currentColor;
opacity: 0.1;
margin-bottom: 4px;
}
.page-card .card_info>.info {
display: flex;
font-size: var(--FontSize3);
align-items: center;
justify-content: space-between;
border-radius: 8px;
gap: 5px;
}
.page-card .card_info>.info>select {
color: #3d3d3d;
border-radius: 6px;
border: 1px solid #eaebef;
background-color: var(--ColorThemes3);
min-width: 110px;
width: 50%;
padding: 4px;
height: 30px;
}
.page-card .card_info>.info>input,
.page-card .card_info>.info>button {
font-size: var(--FontSize2);
font-weight: 400;
-webkit-appearance: none;
-moz-appearance: none;
border-radius: 6px;
background-color: var(--ColorThemes0);
border: 1px solid var(--ColorThemes1);
color: var(--ColorThemes3);
width: 50%;
min-width: 70px;
padding: 0 4px;
height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
}
.page-card .card_info>.info>button>svg {
width: 15px;
height: 15px;
fill: var(--ColorThemes3);
}
.page-card .card_info>textarea {
border-radius: 6px;
font-size: var(--FontSize3);
background-color: var(--ColorThemes0);
border: 0;
color: var(--ColorThemes3);
width: calc(100% - 10px);
min-width: 70px;
padding: 5px;
min-height: 40px;
appearance: none;
resize: vertical;
-webkit-appearance: none;
}
.page-card .card_info>textarea::placeholder {
color: var(--ColorThemes3);
opacity: 0.5;
}
.page-card .card_info>textarea::-webkit-input-placeholder {
color: var(--ColorThemes3);
opacity: 0.5;
}
.page-card #map_card {
display: none;
width: 100%;
height: calc(100vh - 100px);
background: var(--ColorThemes1);
color: var(--ColorThemes3);
border: 1px solid var(--ColorThemes2);
box-shadow: var(--shadow-l1);
border-radius: var(--border-radius);
margin-bottom: 15px;
}
smart-select {
--smart-select-option-color: var(--ColorThemes3);
--smart-select-border-color: var(--ColorThemes2);
--smart-select-background: var(--ColorThemes0);
--smart-select-color: var(--PrimaryColor);
--smart-select-chip-fill: var(--PrimaryColorText);
--smart-select-chip-background: var(--PrimaryColor);
--smart-select-chip-color: var(--ColorThemes3);
--smart-select-search-color: var(--ColorThemes3);
--smart-select-hover-background: var(--ColorThemes2);
--smart-select-hover-color: var(--ColorThemes3);
--smart-select-selected-background: var(--PrimaryColor);
--smart-select-selected-color: var(--PrimaryColorText);
--smart-select-font-size-1: var(--FontSize1);
--smart-select-font-size-2: var(--FontSize3);
--smart-select-border-radius-1: 8px;
--smart-select-border-radius-2: 4px;
}