diff --git a/wwwroot/cms_styles.css b/wwwroot/cms_styles.css index 0a1b9f4..de2f2fc 100644 --- a/wwwroot/cms_styles.css +++ b/wwwroot/cms_styles.css @@ -638,3 +638,47 @@ a { color: inherit; text-decoration: none; } opacity: 1; transform: translateY(0); } + +/* Portal User Info Widgets */ +.portal-user-info { + display: flex; + align-items: center; + gap: 8px; +} + +.portal-username { + font-size: 14px; + color: var(--text-secondary); + max-width: 100px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.portal-login-btn, +.portal-register-btn { + font-size: 13px !important; + padding: 6px 16px !important; + border-radius: 6px !important; + border: none !important; + cursor: pointer !important; + transition: var(--transition); +} + +.portal-login-btn { + background: rgba(255,255,255,0.1) !important; + color: var(--text-primary) !important; +} + +.portal-login-btn:hover { + background: rgba(255,255,255,0.2) !important; +} + +.portal-register-btn { + background: var(--brand-gradient) !important; + color: white !important; +} + +.portal-register-btn:hover { + opacity: 0.9; +} diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 6c3ead2..4cd2c52 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -6,12 +6,32 @@ "widgettype": "VBox", "options": {"width": "100%", "css": "site-root"}, "subwidgets": [ + { + "widgettype": "HBox", + "options": {"width": "100%", "css": "nav-bar"}, + "subwidgets": [ + { + "widgettype": "Html", + "id": "nav_html", + "options": { + "html": "