Merge dev into production release without education
This commit is contained in:
commit
fc541f024d
50 files changed
+2986
-458
No files matched your search
+75
-11
@@ -44,6 +44,30 @@ body,
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Keep the page width steady when switching between short and long tabs. */
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
background-color: #e9ddba;
|
||||
scrollbar-color: #898b93 transparent;
|
||||
}
|
||||
|
||||
/* Keep native scrollbar tracks from painting a white strip over the page. */
|
||||
html::-webkit-scrollbar {
|
||||
width: 14px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar-thumb {
|
||||
background-color: #898b93;
|
||||
border: 3px solid transparent;
|
||||
background-clip: padding-box;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
color: var(--ink);
|
||||
@@ -510,11 +534,26 @@ textarea {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Background X colors and their lighter tones give every tab a distinct active fill. */
|
||||
.page-tab[data-tab="overview"] { --tab-active-color: #5bb3b7; }
|
||||
.page-tab[data-tab="flock"] { --tab-active-color: #7eb773; }
|
||||
.page-tab[data-tab="settings"] { --tab-active-color: #f3a24a; }
|
||||
.page-tab[data-tab="admin"] { --tab-active-color: #9698a0; }
|
||||
.bird-detail-tab[data-tab="info"] { --tab-active-color: #9ed2d4; }
|
||||
.bird-detail-tab[data-tab="weight"] { --tab-active-color: #b9c945; }
|
||||
.bird-detail-tab[data-tab="behavior"] { --tab-active-color: #f7c27d; }
|
||||
.bird-detail-tab[data-tab="notes"] { --tab-active-color: #b4d5ad; }
|
||||
.bird-detail-tab[data-tab="vet"] { --tab-active-color: #71ad80; }
|
||||
.bird-detail-tab[data-tab="reports"] { --tab-active-color: #b9bac0; }
|
||||
.bird-detail-tab[data-tab="timeline"] { --tab-active-color: #d4ba64; }
|
||||
.bird-detail-tab[data-tab="audit"] { --tab-active-color: #78a8ad; }
|
||||
|
||||
.page-tab.active {
|
||||
background: linear-gradient(135deg, #d89a2f, #3c8f65 58%, #2f8f98);
|
||||
color: #fffdf9;
|
||||
border-color: transparent;
|
||||
background: var(--tab-active-color);
|
||||
color: var(--ink);
|
||||
border-color: rgba(31, 42, 42, 0.32);
|
||||
box-shadow: 0 14px 26px rgba(88, 110, 62, 0.2);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.page-tab:hover {
|
||||
@@ -1562,6 +1601,14 @@ textarea {
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
/* Material Symbols Outlined "event", bundled as SVG for the self-only CSP. */
|
||||
.bird-detail-tab .behavior-tab-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
fill: currentColor;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.bird-detail-tab svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
@@ -1598,9 +1645,9 @@ textarea {
|
||||
}
|
||||
|
||||
.bird-detail-tab.active {
|
||||
border-color: rgba(35, 138, 90, 0.42);
|
||||
background: rgba(240, 248, 244, 0.95);
|
||||
color: var(--accent-green);
|
||||
border-color: rgba(31, 42, 42, 0.32);
|
||||
background: var(--tab-active-color);
|
||||
color: var(--ink);
|
||||
box-shadow: 10px 10px 20px rgba(39, 105, 179, 0.1);
|
||||
}
|
||||
|
||||
@@ -1676,11 +1723,12 @@ textarea {
|
||||
|
||||
.segmented-control {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.segmented-option {
|
||||
min-width: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -1693,6 +1741,17 @@ textarea {
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.segmented-option .gender-symbol,
|
||||
.segmented-option .gender-source-icon {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.gender-option-label {
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.segmented-option.active {
|
||||
border-color: rgba(35, 138, 90, 0.4);
|
||||
box-shadow: 0 10px 20px rgba(39, 105, 179, 0.1);
|
||||
@@ -2761,8 +2820,14 @@ label {
|
||||
min-width: 520px;
|
||||
}
|
||||
|
||||
.overview-chart-card {
|
||||
min-height: 230px;
|
||||
.chart-card.overview-chart-card {
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.overview-chart-card .weight-chart {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.chart-footer {
|
||||
@@ -2857,7 +2922,6 @@ label {
|
||||
|
||||
.inline-form,
|
||||
.settings-nested-grid,
|
||||
.education-admin-basics,
|
||||
.quiz-editor-options,
|
||||
.dose-schedule-row,
|
||||
.verified-location-search-row,
|
||||
@@ -2882,7 +2946,7 @@ label {
|
||||
}
|
||||
|
||||
.segmented-control {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
|
||||
}
|
||||
|
||||
.segmented-option {
|
||||
|
||||
Reference in new issue
Block a user