补充主题静态资源与归档模板
This commit is contained in:
1 parent
1268a55dd0
commit
3247db7ed1
265 files changed
+59174
No files matched your search
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* AKSRT Alerts
|
||||
* 统一提示组件:error / warning / info / success
|
||||
* 用于替代各页面 inline 的 .login-error / .bind-error 等
|
||||
*/
|
||||
|
||||
.alert {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 12px 14px;
|
||||
margin-bottom: var(--space-4);
|
||||
font-size: var(--text-sm);
|
||||
line-height: var(--leading-snug);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.alert > svg {
|
||||
flex-shrink: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.alert--error {
|
||||
color: #B91C1C;
|
||||
background: rgba(239, 68, 68, 0.08);
|
||||
border-color: rgba(239, 68, 68, 0.3);
|
||||
}
|
||||
|
||||
.alert--warning {
|
||||
color: #B45309;
|
||||
background: rgba(245, 158, 11, 0.08);
|
||||
border-color: rgba(245, 158, 11, 0.3);
|
||||
}
|
||||
|
||||
.alert--success {
|
||||
color: #047857;
|
||||
background: rgba(16, 185, 129, 0.08);
|
||||
border-color: rgba(16, 185, 129, 0.3);
|
||||
}
|
||||
|
||||
.alert--info {
|
||||
color: #1D4ED8;
|
||||
background: rgba(59, 130, 246, 0.08);
|
||||
border-color: rgba(59, 130, 246, 0.3);
|
||||
}
|
||||
|
||||
html.dark .alert--error { color: #FCA5A5; }
|
||||
html.dark .alert--warning { color: #FCD34D; }
|
||||
html.dark .alert--success { color: #6EE7B7; }
|
||||
html.dark .alert--info { color: #93C5FD; }
|
||||
Reference in new issue
Block a user