Files
WebSpeak-client-for-TeamSpeak/web/src/styles/skin-plugin.css
T

121 lines
3.7 KiB
CSS

.ws-runtime-plugin-host,
.ws-runtime-plugin-root {
display: grid;
grid-template-columns: minmax(0, 1fr);
min-width: 0;
}
.ws-skin-mount-slot { display: contents; }
.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: 2147483647;
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-surface {
display: block;
width: 100%;
min-height: var(--ws-viewport-height, 100vh);
}
/* Keep the skin-owned surface wrapper as the layout root; flatten its semantic
root node so the authored panel parts can participate in that layout. */
.ws-plugin-surface > [data-ws-plugin-part] { display: contents; }
.ws-plugin-host-widget {
min-width: 0;
min-height: 0;
}
.ws-plugin-host-widget[data-ws-plugin-widget="voice.screen-share-start"] { min-height: 44px; }
.skin-runtime-screen-share-start {
display: inline-flex;
min-width: 44px;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 12px;
border: 1px solid currentColor;
border-radius: 10px;
color: inherit;
background: transparent;
font: inherit;
cursor: pointer;
}
.skin-runtime-screen-share-start:disabled { cursor: not-allowed; opacity: .55; }
.skin-runtime-screen-share-start:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.ws-plugin-surface-recovery,
.ws-plugin-surface-reset {
position: fixed;
left: 12px;
z-index: 2147483647;
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-surface-recovery { bottom: 12px; }
.ws-plugin-surface-reset { bottom: 54px; }
.ws-plugin-surface-recovery:focus-visible,
.ws-plugin-surface-reset: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%; }
}