mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
947b83a0ed
Make sure you have the hotlooks.json in the /dist folder !
457 lines
9.0 KiB
CSS
457 lines
9.0 KiB
CSS
.nitro-login-view {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: #6eadc8;
|
|
z-index: 100;
|
|
}
|
|
|
|
.nitro-login-view .login-layer {
|
|
position: absolute;
|
|
background-repeat: no-repeat;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nitro-login-view .login-background {
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-repeat: repeat-x;
|
|
background-position: center top;
|
|
}
|
|
|
|
.nitro-login-view .login-sun {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 600px;
|
|
height: 600px;
|
|
background-size: contain;
|
|
background-position: center top;
|
|
}
|
|
|
|
.nitro-login-view .login-drape {
|
|
top: 0;
|
|
left: 0;
|
|
width: 190px;
|
|
height: 220px;
|
|
z-index: 3;
|
|
}
|
|
|
|
.nitro-login-view .login-left {
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-position: left bottom;
|
|
background-size: auto;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.nitro-login-view .login-right-repeat {
|
|
top: 0;
|
|
right: 0;
|
|
width: 400px;
|
|
height: 100%;
|
|
background-repeat: repeat-y;
|
|
background-position: right top;
|
|
}
|
|
|
|
.nitro-login-view .login-right {
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 400px;
|
|
height: 100%;
|
|
background-position: right bottom;
|
|
}
|
|
|
|
/* ─── Foreground Login Card Stack ─── */
|
|
|
|
.nitro-login-view .login-stack {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 8vw;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
width: 260px;
|
|
z-index: 50;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.nitro-login-card {
|
|
background: #a2bfd1;
|
|
border: 2px solid #3f6a85;
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
color: #0a2e45;
|
|
font-family: Ubuntu, 'Helvetica Neue', Arial, sans-serif;
|
|
box-shadow: inset 0 2px rgba(255, 255, 255, 0.35), 0 4px 6px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.nitro-login-card .card-title {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
background: #3f6a85;
|
|
padding: 4px 26px;
|
|
margin: -12px -14px 10px -14px;
|
|
border-radius: 6px 6px 0 0;
|
|
font-size: 13px;
|
|
letter-spacing: 0.5px;
|
|
text-shadow: 0 1px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.nitro-login-card .card-title .nitro-card-close-button {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 6px;
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nitro-login-card .card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.nitro-login-card .field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nitro-login-card .field label {
|
|
font-size: 11px;
|
|
color: #0a2e45;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nitro-login-card .field input {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
border-radius: 20px;
|
|
border: 1px solid #7595ac;
|
|
background: #ffffff;
|
|
color: #0a2e45;
|
|
font-size: 12px;
|
|
outline: none;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.nitro-login-card .field input:focus {
|
|
border-color: #3f6a85;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(63, 106, 133, 0.3);
|
|
}
|
|
|
|
.nitro-login-card .submit-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.nitro-login-card button.ok-button {
|
|
cursor: pointer;
|
|
background: #ffffff;
|
|
border: 1px solid #3f6a85;
|
|
border-radius: 4px;
|
|
padding: 3px 16px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #0a2e45;
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 1px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.nitro-login-card button.ok-button:hover {
|
|
background: #e9f1f7;
|
|
}
|
|
|
|
.nitro-login-card button.ok-button:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.nitro-login-card .forgot {
|
|
display: block;
|
|
text-align: center;
|
|
margin-top: 6px;
|
|
font-size: 11px;
|
|
color: #134b6e;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nitro-login-card .error-line {
|
|
color: #a81a12;
|
|
background: #fde6e4;
|
|
border: 1px solid #e0a7a2;
|
|
border-radius: 4px;
|
|
padding: 4px 6px;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nitro-login-card .info-line {
|
|
color: #0a4d2e;
|
|
background: #e5f5ec;
|
|
border: 1px solid #a4d4b8;
|
|
border-radius: 4px;
|
|
padding: 4px 6px;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nitro-login-card .register-card-body a {
|
|
color: #134b6e;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nitro-login-card .turnstile-slot {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 4px;
|
|
min-height: 65px;
|
|
}
|
|
|
|
.nitro-login-card .turnstile-slot iframe {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.nitro-login-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 200;
|
|
}
|
|
|
|
.nitro-login-modal .dialog {
|
|
width: 320px;
|
|
max-width: calc(100% - 40px);
|
|
}
|
|
|
|
.nitro-login-modal .dialog.dialog-avatar {
|
|
width: 400px;
|
|
}
|
|
|
|
/* ─── Multi-step register dialog ─── */
|
|
|
|
.nitro-login-card .register-intro {
|
|
background: #eef4f8;
|
|
border: 1px solid #b6cfdd;
|
|
border-radius: 4px;
|
|
padding: 6px 8px;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
color: #0a2e45;
|
|
}
|
|
|
|
.nitro-login-card .step-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.nitro-login-card .step-footer-split {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nitro-login-card .step-indicator {
|
|
font-size: 11px;
|
|
color: #134b6e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nitro-login-card .back-button {
|
|
background: #d5e2eb;
|
|
}
|
|
|
|
/* ─── Avatar builder (pre-login) ─── */
|
|
|
|
.nitro-login-card .gender-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 22px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nitro-login-card .gender-row label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nitro-login-card .avatar-builder {
|
|
display: grid;
|
|
grid-template-columns: 74px 1fr 74px;
|
|
gap: 6px;
|
|
align-items: stretch;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
#ffffff 0,
|
|
#ffffff 8px,
|
|
#e5ecf1 8px,
|
|
#e5ecf1 16px
|
|
);
|
|
border: 1px solid #7595ac;
|
|
border-radius: 6px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.nitro-login-card .avatar-part-col,
|
|
.nitro-login-card .avatar-color-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nitro-login-card .avatar-part-row,
|
|
.nitro-login-card .avatar-color-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 3px;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.nitro-login-card .arrow-btn {
|
|
width: 16px;
|
|
height: 20px;
|
|
line-height: 1;
|
|
padding: 0;
|
|
border: 1px solid #7595ac;
|
|
border-radius: 3px;
|
|
background: #ffffff;
|
|
color: #0a2e45;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 1px rgba(0, 0, 0, 0.15);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nitro-login-card .arrow-btn:hover {
|
|
background: #e9f1f7;
|
|
}
|
|
|
|
.nitro-login-card .part-preview {
|
|
flex: 1;
|
|
height: 44px;
|
|
border: 1px solid #7595ac;
|
|
border-radius: 3px;
|
|
background: #ffffff;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.nitro-login-card .part-preview img {
|
|
image-rendering: pixelated;
|
|
image-rendering: -moz-crisp-edges;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
max-width: none;
|
|
height: auto;
|
|
}
|
|
|
|
.nitro-login-card .part-preview-hr img,
|
|
.nitro-login-card .part-preview-hd img {
|
|
width: 40px;
|
|
height: auto;
|
|
}
|
|
|
|
.nitro-login-card .part-preview-ch img {
|
|
width: 50px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.nitro-login-card .part-preview-lg img {
|
|
width: 50px;
|
|
margin-top: -8px;
|
|
}
|
|
|
|
.nitro-login-card .part-preview-sh img {
|
|
width: 50px;
|
|
margin-top: -22px;
|
|
}
|
|
|
|
.nitro-login-card .color-swatch {
|
|
flex: 1;
|
|
height: 18px;
|
|
border: 1px solid #7595ac;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.nitro-login-card .avatar-preview {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
min-height: 130px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nitro-login-card .avatar-preview img {
|
|
max-width: 100%;
|
|
max-height: 140px;
|
|
image-rendering: pixelated;
|
|
image-rendering: -moz-crisp-edges;
|
|
}
|
|
|
|
.nitro-login-card .hot-looks-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.nitro-login-card .server-offline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
.nitro-login-card .server-offline .retry-link {
|
|
background: #ffffff;
|
|
border: 1px solid #3f6a85;
|
|
border-radius: 4px;
|
|
padding: 2px 10px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #0a2e45;
|
|
cursor: pointer;
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 1px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.nitro-login-card .server-offline .retry-link:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.nitro-login-card .hot-looks-button {
|
|
padding: 4px 14px;
|
|
font-size: 11px;
|
|
}
|
|
|