fix: restore missing .share-dropdown and .more-menu CSS, reposition Get Started
- Share dropdown and More menu CSS were accidentally removed — restored - Share dropdown: position absolute under button (top: calc(100% + 4px)) - Get Started toolbar: bottom: 28px to clear the editor statusbar - Removed gradient background that was cut off by statusbar
This commit is contained in:
+33
-3
@@ -2162,12 +2162,11 @@ input, select, textarea { font-family: inherit; color: inherit; }
|
||||
|
||||
/* ═══════════ Get Started Toolbar (bottom, pill buttons) ═══════════ */
|
||||
.get-started-toolbar {
|
||||
position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
|
||||
position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
padding: 12px 0 16px; flex-wrap: wrap;
|
||||
justify-content: center; z-index: 10;
|
||||
background: linear-gradient(to top, var(--bg-primary) 60%, transparent);
|
||||
width: 100%; max-width: 900px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.gs-label {
|
||||
font-size: 13px; color: var(--text-dim); margin-right: 4px;
|
||||
@@ -2218,6 +2217,22 @@ input, select, textarea { font-family: inherit; color: inherit; }
|
||||
.page-action-btn .chevron-down { font-size: 9px; opacity: 0.5; margin-left: 2px; }
|
||||
.star-btn { font-size: 16px; padding: 4px 8px; }
|
||||
.star-btn .starred { color: #f5c542; }
|
||||
|
||||
/* ── Share dropdown ── */
|
||||
.share-dropdown {
|
||||
position: absolute; top: calc(100% + 4px); right: 0;
|
||||
background: var(--bg-secondary); border: 1px solid var(--border);
|
||||
border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
|
||||
min-width: 360px; z-index: 200; padding: 8px 0;
|
||||
}
|
||||
.share-dd-section { padding: 8px 16px; }
|
||||
.share-dd-row {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
font-size: 14px; color: var(--text-primary);
|
||||
}
|
||||
.share-dd-row.clickable { cursor: pointer; }
|
||||
.share-dd-row.clickable:hover { opacity: 0.8; }
|
||||
.share-dd-hint { font-size: 12px; color: var(--text-dim); }
|
||||
.share-dd-desc { font-size: 12px; color: var(--text-dim); margin: 4px 0 0; line-height: 1.4; }
|
||||
.share-dd-sep { height: 1px; background: var(--border); margin: 4px 0; }
|
||||
.share-dd-label { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
|
||||
@@ -2239,6 +2254,21 @@ input, select, textarea { font-family: inherit; color: inherit; }
|
||||
}
|
||||
.share-dd-btn:hover { opacity: 0.9; }
|
||||
|
||||
/* ── More menu dropdown ── */
|
||||
.more-menu {
|
||||
position: absolute; top: calc(100% + 4px); right: 0;
|
||||
background: var(--bg-secondary); border: 1px solid var(--border);
|
||||
border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
|
||||
min-width: 200px; z-index: 100; padding: 4px 0;
|
||||
}
|
||||
.more-menu-item {
|
||||
padding: 8px 14px; font-size: 13px; color: var(--text-primary);
|
||||
cursor: pointer; display: flex; align-items: center; gap: 8px;
|
||||
}
|
||||
.more-menu-item:hover { background: var(--bg-hover); }
|
||||
.more-menu-item.danger { color: #e03e3e; }
|
||||
.more-menu-sep { height: 1px; background: var(--border); margin: 4px 0; }
|
||||
|
||||
/* ── Toggle switch ── */
|
||||
.toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; }
|
||||
.toggle-switch.sm { width: 32px; height: 18px; }
|
||||
|
||||
Reference in New Issue
Block a user