update tarot frame settings UI
This commit is contained in:
184
app/styles.css
184
app/styles.css
@@ -903,6 +903,57 @@
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-panel {
|
||||
position: absolute;
|
||||
top: calc(100% + 10px);
|
||||
right: 0;
|
||||
z-index: 26;
|
||||
min-width: 270px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border: 1px solid #312e81;
|
||||
border-radius: 16px;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(99, 102, 241, 0.16), transparent 42%),
|
||||
linear-gradient(180deg, rgba(22, 22, 34, 0.98), rgba(10, 10, 18, 0.98));
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.tarot-frame-layout-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-option {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(99, 102, 241, 0.28);
|
||||
border-radius: 12px;
|
||||
background: rgba(15, 23, 42, 0.5);
|
||||
color: #cbd5e1;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-option:hover,
|
||||
.tarot-frame-layout-option.is-active {
|
||||
border-color: rgba(129, 140, 248, 0.85);
|
||||
background: rgba(49, 46, 129, 0.44);
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-option strong {
|
||||
font-size: 13px;
|
||||
letter-spacing: 0.03em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-option span {
|
||||
font-size: 12px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.tarot-frame-action-btn {
|
||||
padding: 10px 14px;
|
||||
border: 1px solid #4c1d95;
|
||||
@@ -937,6 +988,67 @@
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.tarot-frame-settings-group {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding-top: 2px;
|
||||
border-top: 1px solid rgba(99, 102, 241, 0.18);
|
||||
}
|
||||
|
||||
.tarot-frame-settings-group[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tarot-frame-settings-heading {
|
||||
color: #f8fafc;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tarot-frame-settings-subheading {
|
||||
color: #cbd5e1;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tarot-frame-settings-note {
|
||||
color: #94a3b8;
|
||||
font-size: 11px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.tarot-frame-checkbox-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.tarot-frame-check {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
padding: 8px 9px;
|
||||
border: 1px solid rgba(99, 102, 241, 0.24);
|
||||
border-radius: 10px;
|
||||
background: rgba(15, 23, 42, 0.4);
|
||||
color: #dbe4f0;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.tarot-frame-check input {
|
||||
margin: 0;
|
||||
accent-color: #818cf8;
|
||||
}
|
||||
|
||||
.tarot-frame-settings-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -963,6 +1075,8 @@
|
||||
}
|
||||
|
||||
.tarot-frame-toggle input:disabled,
|
||||
.tarot-frame-check input:disabled,
|
||||
.tarot-frame-layout-option:disabled,
|
||||
.tarot-frame-export-btn:disabled,
|
||||
.tarot-frame-settings-toggle:disabled {
|
||||
cursor: wait;
|
||||
@@ -1171,6 +1285,54 @@
|
||||
linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-face {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
justify-items: center;
|
||||
gap: 4px;
|
||||
padding: 6px 5px;
|
||||
box-sizing: border-box;
|
||||
color: #fafafa;
|
||||
text-align: center;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(99, 102, 241, 0.16), transparent 55%),
|
||||
linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.94));
|
||||
pointer-events: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-face.is-dense {
|
||||
gap: 3px;
|
||||
padding: 5px 4px;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-face.is-top-hebrew .tarot-frame-card-text-primary {
|
||||
font-size: clamp(11px, 1vw, 16px);
|
||||
line-height: 1;
|
||||
font-family: "Noto Sans Hebrew", "Segoe UI Symbol", sans-serif;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-primary {
|
||||
display: block;
|
||||
font-size: clamp(7px, 0.78vw, 10px);
|
||||
line-height: 1.15;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-secondary {
|
||||
display: block;
|
||||
color: rgba(250, 250, 250, 0.76);
|
||||
font-size: clamp(6px, 0.7vw, 8px);
|
||||
line-height: 1.2;
|
||||
letter-spacing: 0.02em;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.tarot-frame-card-badge {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
@@ -1262,6 +1424,11 @@
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.tarot-frame-layout-panel {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.tarot-frame-panel {
|
||||
padding: 14px;
|
||||
}
|
||||
@@ -1274,6 +1441,23 @@
|
||||
font-size: 7px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-face {
|
||||
gap: 2px;
|
||||
padding: 4px 3px;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-face.is-top-hebrew .tarot-frame-card-text-primary {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-primary {
|
||||
font-size: 6px;
|
||||
}
|
||||
|
||||
.tarot-frame-card-text-secondary {
|
||||
font-size: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-house-card-head {
|
||||
|
||||
Reference in New Issue
Block a user