Polish Bible desk navigation and margin

This commit is contained in:
2026-07-15 19:09:39 -05:00
parent c4a7f7edf1
commit 21b1710675
4 changed files with 484 additions and 294 deletions
+124 -56
View File
@@ -425,22 +425,24 @@ textarea:focus-visible {
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 0;
gap: 3px;
max-width: 100%;
max-height: 18px;
min-height: 25px;
overflow: hidden;
white-space: nowrap;
}
.chapter-tabs button {
min-width: 0;
min-height: 0;
padding: 0 3px;
border: 0;
border-radius: 0;
background: transparent;
flex: 0 0 auto;
min-width: 28px;
min-height: 22px;
padding: 2px 6px;
border: 1px solid #dfd6c2;
border-radius: 5px;
background: #fbf8ef;
color: #6f5a24;
font-size: 10px;
font-size: 12px;
font-weight: 800;
line-height: 1.1;
text-decoration: none;
box-shadow: none;
@@ -449,11 +451,23 @@ textarea:focus-visible {
.chapter-tabs button.active,
.chapter-tabs button:hover,
.chapter-tabs button:focus-visible {
background: transparent;
background: #d6a84f;
color: #151510;
text-decoration: underline;
text-decoration-color: #d6a84f;
text-underline-offset: 2px;
text-decoration: none;
}
.chapter-tabs .tab-scroll-button {
min-width: 24px;
padding: 2px 5px;
background: #fffef8;
color: #657061;
font-size: 14px;
}
.chapter-tabs .tab-scroll-button:disabled,
.book-tabs .tab-scroll-button:disabled {
opacity: 0.32;
cursor: default;
}
.page-columns {
@@ -818,9 +832,7 @@ textarea:focus-visible {
.dictionary-card,
.map-card,
.audio-card,
.margin-note-card,
.compact-commentary-card,
.margin-stack-links {
.margin-note-card {
grid-column: 1 / -1;
}
@@ -828,8 +840,7 @@ textarea:focus-visible {
background: #fffdf8;
}
.marker-row,
.margin-stack-links div {
.marker-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
@@ -860,20 +871,6 @@ textarea:focus-visible {
font-size: 13px;
}
.compact-commentary-card p {
margin: 0;
color: #3f443d;
font-size: 12px;
line-height: 1.42;
}
.compact-commentary-card button,
.margin-stack-links button {
justify-self: start;
border-color: #d8cfbf;
background: #fbf8ef;
}
.commentary-list,
.dictionary-list {
display: grid;
@@ -1134,19 +1131,19 @@ textarea:focus-visible {
}
.study-stack.pinned {
grid-template-columns: 42px minmax(0, 1fr);
grid-template-columns: 58px minmax(0, 1fr);
}
.study-stack.unpinned {
position: relative;
z-index: 18;
width: 44px;
width: 58px;
}
.study-stack.unpinned .study-stack-panel {
position: fixed;
top: 0;
right: 44px;
right: 58px;
width: min(560px, calc(100vw - 104px));
height: 100vh;
box-shadow: -18px 0 42px rgba(17, 20, 17, 0.24);
@@ -1154,7 +1151,7 @@ textarea:focus-visible {
.study-stack-tabs {
display: grid;
grid-auto-rows: minmax(42px, auto);
grid-auto-rows: minmax(54px, auto);
gap: 0;
align-content: start;
min-height: 0;
@@ -1166,14 +1163,14 @@ textarea:focus-visible {
.study-stack-tabs button {
width: 100%;
min-height: 42px;
padding: 5px 3px;
min-height: 54px;
padding: 7px 4px;
border: 0;
border-bottom: 1px solid #3c4239;
border-radius: 0;
background: #252b25;
color: #f6f3eb;
font-size: 10px;
font-size: 12px;
line-height: 1.05;
writing-mode: vertical-rl;
text-orientation: mixed;
@@ -1190,6 +1187,41 @@ textarea:focus-visible {
font-weight: 900;
}
.study-stack-tabs .stack-tab-notebook {
background: #2f6f5e;
}
.study-stack-tabs .stack-tab-dictionary {
background: #735c0f;
}
.study-stack-tabs .stack-tab-lexicon {
background: #245ba7;
}
.study-stack-tabs .stack-tab-atlas {
background: #6a7b34;
}
.study-stack-tabs .stack-tab-commentary {
background: #8b4f2f;
}
.study-stack-tabs .stack-tab-audio {
background: #6e4f8f;
}
.study-stack-tabs .stack-tab-search {
background: #5b6570;
}
.study-stack-tabs button.active,
.study-stack-tabs button:hover,
.study-stack-tabs button:focus-visible {
filter: brightness(1.18) saturate(1.08);
outline: none;
}
.study-stack-panel {
min-width: 0;
min-height: 0;
@@ -1630,12 +1662,12 @@ textarea:focus-visible {
}
.book-tabs {
display: grid;
display: flex;
grid-column: 1;
grid-template-columns: repeat(24, minmax(0, 1fr));
gap: 3px;
gap: 5px;
align-items: flex-start;
padding: 0 16px 10px;
justify-content: center;
padding: 0 14px 10px;
overflow: hidden;
background: #ece9df;
}
@@ -1649,28 +1681,29 @@ textarea:focus-visible {
}
.book-tabs button {
min-width: 0;
height: 30px;
padding: 4px 3px;
flex: 0 0 auto;
min-width: 52px;
height: 34px;
padding: 5px 8px;
border-color: #c8bea9;
border-top: 0;
border-radius: 0 0 7px 7px;
background: #efe4c9;
color: #4c422f;
font-size: 10px;
font-size: 12px;
font-weight: 800;
line-height: 1.05;
white-space: normal;
overflow-wrap: anywhere;
white-space: nowrap;
box-shadow: 0 5px 10px rgba(44, 48, 42, 0.08);
}
.book-tabs button:nth-child(4n + 2) {
height: 34px;
}
.book-tabs button:nth-child(4n + 3) {
height: 27px;
.book-tabs .tab-scroll-button {
min-width: 30px;
height: 31px;
padding: 4px 6px;
background: #fbf8ef;
color: #657061;
font-size: 16px;
}
.book-tabs button:hover,
@@ -1858,6 +1891,39 @@ textarea:focus-visible {
padding: 0;
}
.margin-order-list {
display: grid;
gap: 6px;
}
.margin-order-list div {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
gap: 6px;
align-items: center;
padding: 6px;
border: 1px solid #ded6c7;
border-radius: 6px;
background: #fbf8ef;
}
.margin-order-list span {
min-width: 0;
overflow: hidden;
color: #3f443d;
font-size: 12px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.margin-order-list button {
min-height: 26px;
padding: 4px 7px;
border-color: #d8cfbf;
background: #fffef8;
}
.checkbox-row {
display: flex !important;
gap: 9px !important;
@@ -1977,6 +2043,7 @@ textarea:focus-visible {
.theme-dark .original-language-verse,
.theme-dark .english-strong-line,
.theme-dark .resource-card,
.theme-dark .margin-order-list div,
.theme-dark .place-list section,
.theme-dark .route-list span,
.theme-dark .audio-controls .secondary-button {
@@ -2044,7 +2111,8 @@ textarea:focus-visible {
.theme-dark .session-facts dt,
.theme-dark .about-list dt,
.theme-dark .modal-section label,
.theme-dark .page-controls label {
.theme-dark .page-controls label,
.theme-dark .margin-order-list span {
color: #aaa996;
}