mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-21 05:10:41 +00:00
Add new styles for app shell, tokens, and vault components
- Introduced `shell.css` for the main application layout, including styles for the app shell, top bar, and user interactions. - Created `tokens.css` to define CSS variables for theming, including colors, shadows, and transition durations for light and dark modes. - Developed `vault.css` for the vault component, implementing grid layouts, sidebar styles, search inputs, and list item designs.
This commit is contained in:
@@ -0,0 +1,193 @@
|
||||
.loading-screen {
|
||||
height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--muted);
|
||||
font-size: 18px;
|
||||
animation: fade-in-up var(--dur-panel) var(--ease-out-strong) both;
|
||||
}
|
||||
|
||||
.auth-page {
|
||||
min-height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 24px;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.public-send-page {
|
||||
min-height: 80vh;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 24px;
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 30px;
|
||||
overflow: hidden;
|
||||
transform-origin: 50% 24%;
|
||||
animation: surface-enter 520ms var(--ease-out-strong) both;
|
||||
}
|
||||
|
||||
.auth-card h1 {
|
||||
margin: 0 0 4px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.standalone-shell {
|
||||
width: min(640px, 100%);
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
animation: fade-in-up 420ms var(--ease-out-strong) both;
|
||||
}
|
||||
|
||||
.standalone-brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.standalone-brand-outside {
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.standalone-brand-logo {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: contain;
|
||||
flex-shrink: 0;
|
||||
filter: drop-shadow(0 8px 18px rgba(43, 102, 217, 0.22));
|
||||
}
|
||||
|
||||
.standalone-brand-wordmark {
|
||||
display: block;
|
||||
height: auto;
|
||||
width: clamp(200px, 30vw, 360px);
|
||||
max-width: 100%;
|
||||
filter: drop-shadow(0 10px 22px rgba(43, 102, 217, 0.18));
|
||||
}
|
||||
|
||||
.standalone-title {
|
||||
margin: 0 0 4px 0;
|
||||
text-align: left;
|
||||
font-size: 31px;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.035em;
|
||||
}
|
||||
|
||||
.standalone-muted {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.jwt-warning-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
color: #b45309;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.jwt-warning-box {
|
||||
border: 1px solid #f1d8a5;
|
||||
border-radius: 12px;
|
||||
background: #fffaf0;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.jwt-warning-label {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: #92400e;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.jwt-warning-copy {
|
||||
margin: 0 0 14px;
|
||||
color: #475569;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.jwt-warning-list {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
color: #334155;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.jwt-inline-link {
|
||||
color: #1d4ed8;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.jwt-inline-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.jwt-secret-fields {
|
||||
margin-top: 8px;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.jwt-secret-row {
|
||||
display: grid;
|
||||
grid-template-columns: 88px minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.jwt-secret-row > span {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.jwt-generator {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.jwt-generator-actions {
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.jwt-copy-hint {
|
||||
color: #15803d;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.standalone-footer {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.standalone-footer a {
|
||||
color: #1d4ed8;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.standalone-footer a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.standalone-version {
|
||||
font-weight: 700;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
Reference in New Issue
Block a user