|
|
@@ -1,13 +1,13 @@
|
|
|
@use '../components/member-controls' as member;
|
|
|
:host { display:block; color:#263733; font-size:14px; line-height:1.5; }
|
|
|
@include member.controls;
|
|
|
-.profile-summary { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding:24px; border-radius:14px; color:#fff; background:linear-gradient(120deg,#163b58,#176953); }
|
|
|
+.profile-summary { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:20px; border-radius:14px; color:#fff; background:linear-gradient(120deg,#163b58,#176953); }
|
|
|
.avatar { display:grid; flex:none; place-items:center; width:50px; height:50px; border-radius:12px; background:#ffffff24; }
|
|
|
.profile-identity { flex:1 1 320px; min-width:0; }
|
|
|
.profile-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:5px; }
|
|
|
-.profile-title h1 { margin:0; font-size:26px; line-height:1.4; overflow-wrap:anywhere; }
|
|
|
+.profile-title h1 { margin:0; font-size:24px; line-height:1.4; overflow-wrap:anywhere; }
|
|
|
.profile-summary p { margin:0; color:#d3e5de; font-size:13px; overflow-wrap:anywhere; }
|
|
|
-.profile-facts { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
|
|
|
+.profile-facts { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
|
|
|
.profile-facts span { padding:4px 9px; border:1px solid #ffffff40; border-radius:999px; color:#e0eee8; font-size:12px; }
|
|
|
.quick-actions { display:flex; flex-wrap:wrap; gap:10px; margin-left:auto; }
|
|
|
.quick-actions .profile-refresh { color:#e0eee8; border-color:#ffffff50; background:transparent; }
|
|
|
@@ -17,7 +17,7 @@
|
|
|
.status.disabled { color:#923b44; background:#ffe7e9; }
|
|
|
.notice { margin:14px 0; padding:12px 16px; border-radius:9px; color:#216b51; background:#e9f7f1; }
|
|
|
.notice.error,.state.error { color:#a53e47; background:#fff0f1; }
|
|
|
-.tabs { display:flex; gap:4px; overflow:auto; margin:18px 0; padding:5px; border:1px solid #dfe7e4; border-radius:12px; background:#fff; }
|
|
|
+.tabs { display:flex; gap:4px; overflow:auto; margin:16px 0; padding:5px; border:1px solid #dfe7e4; border-radius:12px; background:#fff; }
|
|
|
.tabs button { flex:1; min-width:max-content; border:0; color:#5c7067; }
|
|
|
.tabs button.active { color:#fff; background:#19765c; }
|
|
|
.section-loading,.state { display:grid; place-items:center; gap:8px; min-height:80px; color:#637b6f; }
|
|
|
@@ -28,7 +28,15 @@
|
|
|
.panel h2 { margin:0; font-size:18px; line-height:1.4; }
|
|
|
.panel header span { display:block; margin-top:5px; color:#697b74; font-size:13px; }
|
|
|
.panel header .learning-status { margin:0; color:#17654e; font-size:12px; }
|
|
|
-.profile-editor { grid-row:span 2; }
|
|
|
+.detail-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:stretch; gap:16px; }
|
|
|
+.detail-grid .panel { display:flex; flex-direction:column; }
|
|
|
+.detail-grid .panel>header { margin-bottom:16px; }
|
|
|
+.profile-editor .form-grid { gap:12px 16px; }
|
|
|
+.profile-editor .account-facts { margin-top:auto; padding-top:16px; }
|
|
|
+.learning-panel .metric-grid { flex:1; }
|
|
|
+.learning-panel .metric-grid article { align-content:center; }
|
|
|
+.store-panel .option-list { max-height:132px; }
|
|
|
+@media(min-width:1400px) { .profile-editor .form-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
|
|
|
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
|
|
|
.mobile-control { display:flex; gap:8px; min-width:0; }
|
|
|
.mobile-control button { white-space:nowrap; }
|
|
|
@@ -47,9 +55,15 @@
|
|
|
.option-list button { display:grid; justify-items:start; gap:3px; padding:9px 12px; }
|
|
|
.option-list button span { color:#687b72; font-size:12px; font-weight:400; }
|
|
|
.option-list button.selected { border-color:#1f8063; color:#176c50; background:#e8f6f1; }
|
|
|
-.risk-panel { grid-column:2; }
|
|
|
-.security-actions { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
|
|
|
-.security-actions label { flex:1 1 180px; }
|
|
|
+.security-actions { display:grid; gap:16px; }
|
|
|
+.account-status-action { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:1px solid #edf1ef; }
|
|
|
+.account-status-action>div { display:flex; align-items:center; gap:12px; }
|
|
|
+.account-status-action strong { font-size:13px; font-weight:600; }
|
|
|
+.account-status-action span { color:#687b72; font-size:13px; }
|
|
|
+.password-reset-group { display:flex; flex-wrap:wrap; align-items:end; gap:10px; }
|
|
|
+.password-reset-group label { flex:1 1 180px; }
|
|
|
+.password-reset-group button { flex:0 0 auto; }
|
|
|
+@media(max-width:650px) { .password-reset-group button { width:100%; } }
|
|
|
.record-table { overflow:auto; margin-top:16px; border:1px solid #e4ebe8; border-radius:10px; }
|
|
|
.record-table table { width:100%; min-width:720px; border-collapse:collapse; }
|
|
|
.record-table th,.record-table td { padding:13px 14px; border-bottom:1px solid #e8efeb; text-align:left; font-size:14px; line-height:1.6; }
|