Refine Smart workspace navigation (#16)

* Improve editor timeline and media UX

* Add timeline junction transitions

* Refine Smart workspace navigation

---------

Co-authored-by: haixin.yang <haixin.yang@weimob.com>
This commit is contained in:
Martin Delophyandhaixin.yang authored and GitHub committed 2026-07-17 15:05:59 +08:00
1 parent 51fecbbfc9
commit d0848ea7a4
6 files changed
+161 -47

No files matched your search

+21
View File
@@ -1134,6 +1134,27 @@ button:disabled {
scrollbar-width: thin;
}
.smart-hub-panel { gap: 16px; }
.smart-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.smart-hub-grid > button { display: grid; align-content: start; min-width: 0; min-height: 104px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; padding: 13px; color: #8e9ca8; text-align: left; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); cursor: pointer; }
.smart-hub-grid > button:first-child { grid-column: span 2; min-height: 92px; }
.smart-hub-grid > button:hover { border-color: rgba(53,234,217,.32); color: #e9f7f6; }
.smart-hub-grid > button.is-active { border-color: rgba(53,234,217,.64); color: #35ead9; background: linear-gradient(145deg, rgba(53,234,217,.14), rgba(77,128,255,.07)); box-shadow: inset 0 0 0 1px rgba(53,234,217,.1); }
.smart-hub-grid svg { margin-bottom: 13px; }
.smart-hub-grid strong { overflow: hidden; color: #edf5f6; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.smart-hub-grid span { margin-top: 4px; overflow: hidden; color: #788793; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.smart-feature-empty { display: grid; place-items: center; min-height: 210px; border: 1px dashed rgba(255,255,255,.1); border-radius: 12px; padding: 26px 20px; color: #72828e; text-align: center; background: rgba(255,255,255,.018); }
.smart-feature-empty svg { color: #5e7482; }
.smart-feature-empty strong { margin-top: 13px; color: #dce8ea; font-size: 14px; }
.smart-feature-empty span { max-width: 230px; margin-top: 8px; font-size: 11px; line-height: 1.65; }
.smart-feature-empty em { margin-top: 16px; border-radius: 999px; padding: 5px 9px; color: #8d9ca7; font-size: 10px; font-style: normal; background: rgba(255,255,255,.05); }
.smart-feature-empty.is-avatar em { color: #77ded3; background: rgba(53,234,217,.07); }
.smart-hub-panel .smart-vision-panel { overflow: visible; padding: 0; }
.smart-context-empty { display: grid; place-items: center; min-height: 310px; border: 1px dashed rgba(255,255,255,.1); border-radius: 12px; padding: 30px; color: #70808c; text-align: center; }
.smart-context-empty svg { color: #5c7280; }
.smart-context-empty strong { margin-top: 15px; color: #e3edef; font-size: 14px; }
.smart-context-empty span { max-width: 240px; margin-top: 8px; color: #798894; font-size: 11px; line-height: 1.6; }
.smart-vision-heading {
display: flex;
align-items: flex-start;