mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-05-13 23:16:44 +00:00
refactor: BackupPage & ContactsPage & ExportPage & InsightInboxPage & MyFootprintPage & ResourcesPage UI rebuild
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.insight-inbox-page {
|
||||
--insight-panel-width: 360px;
|
||||
--insight-panel-width: 328px;
|
||||
--insight-card-bg: var(--bg-secondary);
|
||||
display: flex;
|
||||
height: calc(100% + 48px);
|
||||
@@ -14,15 +14,15 @@
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 18px 24px 14px;
|
||||
padding: 16px 20px 12px;
|
||||
}
|
||||
|
||||
.insight-inbox-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 0 4px 12px;
|
||||
gap: 14px;
|
||||
padding: 0 2px 10px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 7px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.insight-inbox-title-line {
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
@@ -82,7 +82,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
|
||||
transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--text-primary);
|
||||
@@ -92,15 +92,15 @@
|
||||
}
|
||||
|
||||
.insight-icon-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.insight-action-btn {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
|
||||
&.code {
|
||||
color: var(--primary);
|
||||
@@ -118,10 +118,10 @@
|
||||
}
|
||||
|
||||
.insight-focus-bar {
|
||||
margin: 12px 4px 0;
|
||||
padding: 9px 12px;
|
||||
margin: 10px 2px 0;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid rgba(91, 147, 144, 0.22);
|
||||
border-radius: 10px;
|
||||
border-radius: 8px;
|
||||
background: rgba(91, 147, 144, 0.08);
|
||||
color: var(--text-secondary);
|
||||
display: flex;
|
||||
@@ -143,14 +143,14 @@
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: 16px 4px 22px;
|
||||
padding: 12px 2px 18px;
|
||||
}
|
||||
|
||||
.insight-date-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
margin-bottom: 18px;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.insight-date-label {
|
||||
@@ -158,27 +158,26 @@
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
width: fit-content;
|
||||
padding: 5px 10px;
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--bg-primary) 86%, transparent);
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.insight-card {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 14px;
|
||||
border-radius: 8px;
|
||||
background: var(--insight-card-bg);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
box-shadow: none;
|
||||
transition: border-color 0.15s ease, background 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
border-color: rgba(91, 147, 144, 0.28);
|
||||
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
|
||||
background: color-mix(in srgb, var(--bg-secondary) 86%, var(--bg-primary));
|
||||
}
|
||||
|
||||
&.unread {
|
||||
@@ -187,7 +186,7 @@
|
||||
|
||||
&.focused {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 3px rgba(91, 147, 144, 0.14), 0 12px 32px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: inset 0 0 0 1px rgba(91, 147, 144, 0.28);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -200,7 +199,7 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.insight-card-header {
|
||||
@@ -277,8 +276,8 @@
|
||||
.insight-body {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: 15px;
|
||||
line-height: 1.72;
|
||||
font-size: 14px;
|
||||
line-height: 1.66;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -286,14 +285,14 @@
|
||||
.insight-filter-panel {
|
||||
width: var(--insight-panel-width);
|
||||
flex-shrink: 0;
|
||||
padding: 24px 24px 18px;
|
||||
padding: 18px 18px 14px;
|
||||
border-left: 1px solid var(--border-color);
|
||||
background: color-mix(in srgb, var(--bg-secondary) 70%, var(--bg-primary));
|
||||
background: var(--bg-secondary);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.insight-filter-header {
|
||||
margin-bottom: 18px;
|
||||
margin-bottom: 14px;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
@@ -304,10 +303,10 @@
|
||||
|
||||
.insight-filter-widget {
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 12px;
|
||||
background: var(--bg-secondary);
|
||||
padding: 14px;
|
||||
margin-bottom: 14px;
|
||||
border-radius: 8px;
|
||||
background: var(--bg-primary);
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.insight-widget-title {
|
||||
@@ -330,14 +329,14 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
border-radius: 9px;
|
||||
border-radius: 8px;
|
||||
background: var(--bg-tertiary);
|
||||
padding: 0 9px;
|
||||
|
||||
input {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
height: 38px;
|
||||
height: 34px;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
@@ -410,12 +409,12 @@
|
||||
|
||||
.insight-contact-row {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
min-height: 38px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
border: none;
|
||||
border-radius: 9px;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
padding: 7px 8px;
|
||||
@@ -478,7 +477,6 @@
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: blur(4px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -490,9 +488,9 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 14px;
|
||||
border-radius: 10px;
|
||||
background: var(--bg-secondary);
|
||||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -501,7 +499,7 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 16px 18px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
background: var(--bg-tertiary);
|
||||
|
||||
@@ -549,7 +547,7 @@
|
||||
.insight-log-body {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 18px;
|
||||
padding: 16px;
|
||||
background: var(--bg-primary);
|
||||
|
||||
section {
|
||||
@@ -567,7 +565,7 @@
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
border-radius: 8px;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
font-family: Consolas, Monaco, 'Courier New', monospace;
|
||||
|
||||
Reference in New Issue
Block a user