chore: initialize orderPRO with docs, i18n and scss asset pipeline
This commit is contained in:
214
resources/scss/login.scss
Normal file
214
resources/scss/login.scss
Normal file
@@ -0,0 +1,214 @@
|
||||
:root {
|
||||
--c-primary: #6690f4;
|
||||
--c-primary-dark: #3164db;
|
||||
--c-bg: #f4f6f9;
|
||||
--c-surface: #ffffff;
|
||||
--c-text: #4e5e6a;
|
||||
--c-text-strong: #2d3748;
|
||||
--c-border: #e2e8f0;
|
||||
--c-muted: #718096;
|
||||
--c-danger: #cc0000;
|
||||
--focus-ring: 0 0 0 3px rgba(102, 144, 244, 0.15);
|
||||
--shadow-card: 0 20px 50px rgba(22, 34, 58, 0.14);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Roboto", "Segoe UI", sans-serif;
|
||||
color: var(--c-text);
|
||||
background: var(--c-bg);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.bg-orb {
|
||||
position: fixed;
|
||||
width: 460px;
|
||||
height: 460px;
|
||||
border-radius: 999px;
|
||||
filter: blur(28px);
|
||||
z-index: 0;
|
||||
opacity: 0.45;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.bg-orb-left {
|
||||
top: -200px;
|
||||
left: -180px;
|
||||
background: radial-gradient(circle, rgba(102, 144, 244, 0.48) 0%, rgba(102, 144, 244, 0) 70%);
|
||||
}
|
||||
|
||||
.bg-orb-right {
|
||||
right: -200px;
|
||||
bottom: -220px;
|
||||
background: radial-gradient(circle, rgba(30, 42, 58, 0.36) 0%, rgba(30, 42, 58, 0) 70%);
|
||||
}
|
||||
|
||||
.login-page {
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 32px 20px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
width: 100%;
|
||||
max-width: 430px;
|
||||
background: var(--c-surface);
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow-card);
|
||||
padding: 34px 30px 28px;
|
||||
animation: card-enter 420ms ease-out;
|
||||
}
|
||||
|
||||
.login-header {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.login-badge {
|
||||
display: inline-block;
|
||||
margin: 0 0 14px;
|
||||
padding: 5px 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #d9e2ff;
|
||||
background: #eef2ff;
|
||||
color: #3f5faf;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
color: var(--c-text-strong);
|
||||
font-size: clamp(1.6rem, 2.5vw, 1.9rem);
|
||||
line-height: 1.15;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.login-subtitle {
|
||||
margin: 10px 0 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.55;
|
||||
color: var(--c-muted);
|
||||
}
|
||||
|
||||
.alert-error {
|
||||
margin-bottom: 18px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #fed7d7;
|
||||
background: #fff5f5;
|
||||
color: var(--c-danger);
|
||||
font-size: 13px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.alert-error-placeholder {
|
||||
opacity: 0.56;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.field-label {
|
||||
color: var(--c-text-strong);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
input[type="email"],
|
||||
input[type="password"] {
|
||||
width: 100%;
|
||||
height: 46px;
|
||||
border: 2px solid var(--c-border);
|
||||
border-radius: 8px;
|
||||
padding: 0 14px;
|
||||
font: inherit;
|
||||
color: var(--c-text-strong);
|
||||
background: #ffffff;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
input[type="email"]::placeholder,
|
||||
input[type="password"]::placeholder {
|
||||
color: #cbd5e0;
|
||||
}
|
||||
|
||||
input[type="email"]:focus,
|
||||
input[type="password"]:focus {
|
||||
outline: none;
|
||||
border-color: var(--c-primary);
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
margin-top: 2px;
|
||||
height: 48px;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
font: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
background: var(--c-primary);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, transform 0.1s ease;
|
||||
}
|
||||
|
||||
.submit-btn:hover {
|
||||
background: var(--c-primary-dark);
|
||||
}
|
||||
|
||||
.submit-btn:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.submit-btn:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
@keyframes card-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.login-page {
|
||||
padding: 18px 14px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
padding: 24px 20px 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.55rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user