补充主题静态资源与归档模板
This commit is contained in:
1 parent
1268a55dd0
commit
3247db7ed1
265 files changed
+59174
No files matched your search
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* AKSRT Site Notice — Popup notice styles
|
||||
*/
|
||||
|
||||
.aksrt-site-notice {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 99998;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__dialog {
|
||||
position: relative;
|
||||
background: var(--surface-1, #fff);
|
||||
border-radius: var(--radius-lg, 12px);
|
||||
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
|
||||
width: 100%;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20px 24px 0;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__title {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink, #333);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__close {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-2, #eee);
|
||||
color: var(--color-ink-3, #777);
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__close:hover {
|
||||
background: var(--surface-3, #ddd);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__body {
|
||||
padding: 16px 24px;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
color: var(--color-ink-2, #4e5358);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__body a {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__foot {
|
||||
padding: 0 24px 20px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Button base — shared by both <button> and <a> */
|
||||
.aksrt-site-notice__btn,
|
||||
.aksrt-site-notice__confirm {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 100px;
|
||||
height: 40px;
|
||||
padding: 0 24px;
|
||||
border: none;
|
||||
border-radius: var(--radius, 8px);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: filter 0.15s;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__btn:hover,
|
||||
.aksrt-site-notice__confirm:hover {
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
/* Button color variants */
|
||||
.aksrt-site-notice__btn--primary { background: var(--color-primary); }
|
||||
.aksrt-site-notice__btn--success { background: #10b981; }
|
||||
.aksrt-site-notice__btn--warning { background: #f59e0b; color: #1a1a1a; }
|
||||
.aksrt-site-notice__btn--danger { background: #ef4444; }
|
||||
.aksrt-site-notice__btn--info { background: #3b82f6; }
|
||||
.aksrt-site-notice__btn--purple { background: #8b5cf6; }
|
||||
.aksrt-site-notice__btn--dark { background: #374151; }
|
||||
|
||||
/* Modal size variants */
|
||||
.aksrt-site-notice__dialog.modal-mini { max-width: 320px; }
|
||||
.aksrt-site-notice__dialog.modal-sm { max-width: 420px; }
|
||||
.aksrt-site-notice__dialog.modal-lg { max-width: 720px; }
|
||||
/* Default dialog (no size class) */
|
||||
.aksrt-site-notice__dialog:not(.modal-mini):not(.modal-sm):not(.modal-lg) { max-width: 540px; }
|
||||
|
||||
/* Dark mode */
|
||||
html.dark .aksrt-site-notice__dialog {
|
||||
background: var(--surface-1, #323335);
|
||||
}
|
||||
|
||||
html.dark .aksrt-site-notice__close {
|
||||
background: var(--surface-3, #3a3b3e);
|
||||
}
|
||||
Reference in new issue
Block a user