mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 20:12:52 +08:00
style: match KAAK password dialogs to reference
This commit is contained in:
1 parent
2f5cdcba90
commit
53324ef02b
12 files changed
+228
-12
No files matched your search
@@ -322,7 +322,7 @@
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
[data-ws-plugin-part="kaak-workspace.identity-entry"] {
|
||||
[data-ws-plugin-part="kaak-workspace.identity-entry"] {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
left: 0;
|
||||
@@ -3125,3 +3125,169 @@
|
||||
[data-ws-plugin-part="kaak-workspace.server-banner"] [data-ws-part="voice.server-banner.title"] { font-size: 11px; line-height: 15px; }
|
||||
[data-ws-plugin-part="kaak-workspace.server-banner"] [data-ws-part="voice.server-banner.body"] { margin-top: 3px; font-size: 10px; line-height: 14px; }
|
||||
}
|
||||
|
||||
[data-ws-part="auth.password.backdrop"] {
|
||||
padding: 16px;
|
||||
background: rgba(10, 11, 13, .54);
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
width: min(438px, calc(100vw - 32px));
|
||||
min-height: 204px;
|
||||
max-height: min(90dvh, 380px);
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
color: #f0f1f3;
|
||||
border: 1px solid #303136;
|
||||
border-radius: 16px;
|
||||
background: #242529;
|
||||
box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
|
||||
}
|
||||
[data-ws-part="auth.password.decoration"],
|
||||
[data-ws-part="auth.password.eyebrow"],
|
||||
[data-ws-part="auth.password.lead"],
|
||||
[data-ws-part="auth.password.label"],
|
||||
[data-ws-part="auth.password.field-icon"] {
|
||||
display: none;
|
||||
}
|
||||
[data-ws-part="auth.password.title"] {
|
||||
margin: 0 30px 18px 0;
|
||||
color: #f0f1f3;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: normal;
|
||||
line-height: 20px;
|
||||
}
|
||||
[data-ws-part="auth.password.form"] {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
}
|
||||
[data-ws-part="auth.password.field"] {
|
||||
box-sizing: border-box;
|
||||
height: 40px;
|
||||
min-height: 40px;
|
||||
gap: 0;
|
||||
padding: 0 15px;
|
||||
color: #d6d7db;
|
||||
border: 1px solid #3b3c40;
|
||||
border-radius: 12px;
|
||||
background: #242529;
|
||||
transition: border-color .16s ease, box-shadow .16s ease;
|
||||
}
|
||||
[data-ws-part="auth.password.field"]:focus-within {
|
||||
border-color: #6cbf00;
|
||||
background: #242529;
|
||||
box-shadow: 0 0 0 2px rgba(108, 191, 0, .2);
|
||||
}
|
||||
[data-ws-part="auth.password.field"] input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
color: #f0f1f3;
|
||||
outline: none;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-size: 13px;
|
||||
}
|
||||
[data-ws-part="auth.password.field"] input::placeholder {
|
||||
color: #777980;
|
||||
}
|
||||
[data-ws-part="auth.password.error"] {
|
||||
margin: 10px 0 0;
|
||||
padding: 8px 10px;
|
||||
color: #ff9999;
|
||||
border: 1px solid #57383a;
|
||||
border-radius: 9px;
|
||||
background: #342729;
|
||||
font-size: 12px;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 24px;
|
||||
margin-top: 47px;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] > button:first-child {
|
||||
min-height: 36px;
|
||||
padding: 0 12px;
|
||||
color: #aeb0b6;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] > button:first-child:hover:not(:disabled) {
|
||||
color: #f0f1f3;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] > button:last-child {
|
||||
box-sizing: border-box;
|
||||
width: 82px;
|
||||
height: 36px;
|
||||
min-height: 36px;
|
||||
padding: 0 10px;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
border-radius: 13px;
|
||||
background: #6cbf00;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background-color .16s ease;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] > button:last-child:hover:not(:disabled) {
|
||||
background: #7ac51a;
|
||||
}
|
||||
[data-ws-part="auth.password.actions"] > button:last-child:disabled {
|
||||
cursor: wait;
|
||||
opacity: 1;
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] > button {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 16px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
color: #777980;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
transition: color .16s ease, background-color .16s ease;
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] > button:hover:not(:disabled) {
|
||||
color: #f0f1f3;
|
||||
background: #303137;
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] > button > svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] > button:focus-visible,
|
||||
[data-ws-part="auth.password.actions"] > button:focus-visible {
|
||||
outline: 2px solid #8cda33;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
@media (max-width: 740px) {
|
||||
[data-ws-part="auth.password.backdrop"] {
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
}
|
||||
[data-ws-part="auth.password.dialog"] {
|
||||
width: min(438px, calc(100vw - 24px));
|
||||
padding: 20px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user