mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat(skin): add v3 declarative plugin components
This commit is contained in:
1 parent
02441410a0
commit
eabc78f36a
30 files changed
+2483
-308
No files matched your search
@@ -0,0 +1,57 @@
|
||||
.ws-plugin-consent-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 2147483647;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 20px;
|
||||
background: rgba(8, 12, 18, .76);
|
||||
color: #f7fbff;
|
||||
font: 14px/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.ws-plugin-access-toggle {
|
||||
position: fixed;
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
z-index: 2147483000;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #8197ac;
|
||||
border-radius: 999px;
|
||||
color: #f7fbff;
|
||||
background: #182331eF;
|
||||
box-shadow: 0 4px 18px #0006;
|
||||
font: 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ws-plugin-access-toggle:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
|
||||
|
||||
.ws-plugin-consent {
|
||||
width: min(640px, 100%);
|
||||
max-height: min(86vh, 800px);
|
||||
overflow-y: auto;
|
||||
padding: 24px;
|
||||
border: 1px solid rgba(165, 196, 220, .38);
|
||||
border-radius: 16px;
|
||||
background: #151d28;
|
||||
box-shadow: 0 28px 90px #0009;
|
||||
}
|
||||
|
||||
.ws-plugin-consent h2 { margin: 0 0 10px; font-size: 20px; }
|
||||
.ws-plugin-consent p { margin: 0 0 16px; color: #c0ccd8; }
|
||||
.ws-plugin-consent-item { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: #202c39; }
|
||||
.ws-plugin-consent-item ul { margin: 7px 0 0; padding-left: 20px; color: #c7d5e1; }
|
||||
.ws-plugin-consent-note { margin-top: 18px !important; font-size: 12px; }
|
||||
.ws-plugin-consent-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
|
||||
.ws-plugin-consent-actions button { min-height: 40px; padding: 0 14px; border-radius: 8px; font: inherit; cursor: pointer; }
|
||||
.ws-plugin-consent-actions .secondary { color: #e3eaf1; background: #303c49; }
|
||||
.ws-plugin-consent-actions .primary { color: #fff; background: #2563eb; font-weight: 700; }
|
||||
.ws-plugin-consent-actions button:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.ws-plugin-consent { padding: 18px; }
|
||||
.ws-plugin-consent-actions { flex-direction: column-reverse; }
|
||||
.ws-plugin-consent-actions button { width: 100%; }
|
||||
}
|
||||
Reference in new issue
Block a user