update ui webp export
This commit is contained in:
207
app/styles.css
207
app/styles.css
@@ -18,6 +18,7 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
border-bottom: 1px solid #27272a;
|
||||
background: #18181b;
|
||||
min-width: 0;
|
||||
@@ -43,7 +44,9 @@
|
||||
color: #fbbf24;
|
||||
}
|
||||
.topbar-menu-toggle {
|
||||
display: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 7px 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #3f3f46;
|
||||
@@ -59,55 +62,53 @@
|
||||
background: #3f3f46;
|
||||
}
|
||||
.topbar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding-bottom: 132px;
|
||||
margin-bottom: -130px;
|
||||
pointer-events: none;
|
||||
display: none;
|
||||
flex: 1 0 100%;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin: 4px 0 0;
|
||||
border: 1px solid #2f2f39;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(24, 24, 34, 0.98), rgba(12, 12, 18, 0.98));
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
|
||||
gap: 10px;
|
||||
max-height: calc(100svh - 88px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.topbar.is-menu-open .topbar-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.topbar-actions > * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
.topbar-actions::-webkit-scrollbar {
|
||||
height: 6px;
|
||||
width: 100%;
|
||||
}
|
||||
.topbar-dropdown {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
}
|
||||
.topbar-dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
min-width: 140px;
|
||||
position: static;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
display: none;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 4px;
|
||||
padding: 6px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #3f3f46;
|
||||
background: #18181b;
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
|
||||
margin-top: 6px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #31313d;
|
||||
background: rgba(10, 10, 16, 0.92);
|
||||
box-shadow: none;
|
||||
z-index: 40;
|
||||
}
|
||||
.topbar-dropdown.is-open .topbar-dropdown-menu {
|
||||
display: grid;
|
||||
}
|
||||
.topbar-dropdown:hover .topbar-dropdown-menu,
|
||||
.topbar-dropdown:focus-within .topbar-dropdown-menu {
|
||||
display: grid;
|
||||
}
|
||||
.topbar-sub-trigger {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
min-height: 40px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.topbar-sub-trigger.is-active {
|
||||
@@ -115,6 +116,12 @@
|
||||
border-color: #52525b;
|
||||
}
|
||||
.settings-trigger {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: left;
|
||||
padding: 7px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #3f3f46;
|
||||
@@ -146,70 +153,15 @@
|
||||
min-height: 38px;
|
||||
}
|
||||
.topbar-menu-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 38px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.topbar-actions {
|
||||
display: none;
|
||||
flex: 1 0 100%;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin: 4px 0 0;
|
||||
border: 1px solid #2f2f39;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(24, 24, 34, 0.98), rgba(12, 12, 18, 0.98));
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
|
||||
overflow: visible;
|
||||
pointer-events: auto;
|
||||
gap: 10px;
|
||||
max-height: calc(100svh - 88px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.topbar.is-menu-open .topbar-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.topbar-actions > * {
|
||||
width: 100%;
|
||||
}
|
||||
.topbar-dropdown {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
}
|
||||
.topbar-dropdown-menu {
|
||||
position: static;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
border-color: #31313d;
|
||||
background: rgba(10, 10, 16, 0.92);
|
||||
box-shadow: none;
|
||||
}
|
||||
.topbar-dropdown:hover .topbar-dropdown-menu,
|
||||
.topbar-dropdown:focus-within .topbar-dropdown-menu {
|
||||
display: none;
|
||||
}
|
||||
.topbar-dropdown.is-open .topbar-dropdown-menu {
|
||||
display: grid;
|
||||
}
|
||||
.settings-trigger {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: left;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.topbar-sub-trigger {
|
||||
min-height: 40px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.topbar {
|
||||
@@ -366,9 +318,18 @@
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
#tarot-house-section {
|
||||
height: calc(100vh - 61px);
|
||||
background: #18181b;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
#tarot-section[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#tarot-house-section[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#planet-section[hidden] {
|
||||
display: none;
|
||||
}
|
||||
@@ -1172,22 +1133,11 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#tarot-browse-view.is-house-focus {
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
#tarot-house-view.is-house-focus {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
#tarot-browse-view.is-house-focus .tarot-section-house-top {
|
||||
max-height: none;
|
||||
height: 100%;
|
||||
padding: 14px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#tarot-browse-view.is-house-focus .tarot-layout {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tarot-browse-view.is-house-focus .tarot-house-layout {
|
||||
#tarot-house-view.is-house-focus .tarot-house-layout {
|
||||
--tarot-house-card-gap: clamp(4px, 0.6vw, 8px);
|
||||
--tarot-house-row-gap: clamp(6px, 0.9vw, 10px);
|
||||
--tarot-house-section-gap: clamp(12px, 1.4vw, 16px);
|
||||
@@ -1197,7 +1147,7 @@
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
#tarot-browse-view.is-house-focus .tarot-house-trumps {
|
||||
#tarot-house-view.is-house-focus .tarot-house-trumps {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
@@ -1802,6 +1752,10 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.cube-export-btn[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cube-rotation-controls {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
@@ -2285,6 +2239,33 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.kab-export-btn {
|
||||
margin-left: auto;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid #3f3f46;
|
||||
border-radius: 6px;
|
||||
background: #18181b;
|
||||
color: #d4d4d8;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.kab-export-btn:hover:not(:disabled) {
|
||||
background: #27272a;
|
||||
border-color: #52525b;
|
||||
color: #f4f4f5;
|
||||
}
|
||||
|
||||
.kab-export-btn:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.kab-export-btn[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kab-detail-panel {
|
||||
min-width: 0;
|
||||
overflow: auto;
|
||||
@@ -2783,7 +2764,7 @@
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
grid-row: 1 / -1;
|
||||
}
|
||||
|
||||
@@ -2791,6 +2772,28 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#tarot-house-view {
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
padding: 14px;
|
||||
box-sizing: border-box;
|
||||
background: #151520;
|
||||
}
|
||||
|
||||
#tarot-house-view .tarot-section-house-top {
|
||||
max-height: none;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
border-bottom: none;
|
||||
overflow: visible;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#tarot-house-view .tarot-house-card {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
/* ── Tarot Spread View ─────────────────────────────── */
|
||||
#tarot-spread-view {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user