160 lines
3.0 KiB
CSS
160 lines
3.0 KiB
CSS
/* ==========================================================
|
||
PRODUCT ADDER – Dropdown & Form Styles
|
||
========================================================== */
|
||
|
||
/* ─── Select Wrapper ─── */
|
||
.auth__select__wrap {
|
||
width: min(520px, 100%);
|
||
display: grid;
|
||
gap: 6px;
|
||
justify-self: center;
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.auth__select__label {
|
||
font-size: 0.95rem;
|
||
color: #ffffff;
|
||
}
|
||
|
||
.auth__select {
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
padding: 12px 40px 12px 12px;
|
||
border: 1px solid #5e6075;
|
||
border-radius: 5px;
|
||
background-color: #1e2537;
|
||
color: #ffffff;
|
||
outline: none;
|
||
appearance: none;
|
||
transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
|
||
background-image:
|
||
linear-gradient(45deg, transparent 50%, #cbd5f5 50%),
|
||
linear-gradient(135deg, #cbd5f5 50%, transparent 50%),
|
||
linear-gradient(to right, #1e2537, #1e2537);
|
||
background-position:
|
||
calc(100% - 18px) calc(1em + 2px),
|
||
calc(100% - 13px) calc(1em + 2px),
|
||
100% 0;
|
||
background-size: 5px 5px, 5px 5px, 2.5em 100%;
|
||
background-repeat: no-repeat;
|
||
}
|
||
|
||
.auth__select:focus {
|
||
border-color: rgba(37, 99, 235, 0.75);
|
||
box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
|
||
}
|
||
|
||
.auth__select option {
|
||
background: #1e2537;
|
||
color: #ffffff;
|
||
}
|
||
|
||
/* ─── Product Adder Layout ─── */
|
||
.auth {
|
||
min-height: 100vh;
|
||
display: grid;
|
||
place-items: start center;
|
||
padding: 32px 16px;
|
||
gap: 16px;
|
||
}
|
||
|
||
.auth__grid {
|
||
width: min(1100px, 100%);
|
||
display: grid;
|
||
grid-template-columns: 1fr;
|
||
gap: 20px;
|
||
}
|
||
|
||
.auth__card {
|
||
background: #1f2937;
|
||
border: 1px solid #5e6075;
|
||
border-radius: 5px;
|
||
padding: 18px;
|
||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
|
||
}
|
||
|
||
.auth__header {
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.auth__title {
|
||
margin: 0;
|
||
font-size: 1.1rem;
|
||
color: #ffffff;
|
||
}
|
||
|
||
.auth__form {
|
||
display: grid;
|
||
gap: 8px;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.auth__form label {
|
||
font-size: 0.95rem;
|
||
color: #ffffff;
|
||
}
|
||
|
||
.auth__input {
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
padding: 10px 12px;
|
||
border: 1px solid #5e6075;
|
||
border-radius: 5px;
|
||
background: #1e2537;
|
||
color: #ffffff;
|
||
outline: none;
|
||
transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
|
||
}
|
||
|
||
.auth__input:focus {
|
||
border-color: rgba(37, 99, 235, 0.75);
|
||
box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
|
||
}
|
||
|
||
.auth__input::placeholder {
|
||
color: #cbd5e1;
|
||
}
|
||
|
||
textarea.auth__input {
|
||
min-height: 80px;
|
||
resize: vertical;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.auth__card .auth__form:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
/* ─── Responsive ─── */
|
||
@media (max-width: 720px) {
|
||
.auth {
|
||
padding: 24px 12px;
|
||
}
|
||
|
||
.auth__card {
|
||
padding: 16px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.auth {
|
||
padding: 1rem 0.5rem;
|
||
}
|
||
|
||
.auth__card {
|
||
padding: 1rem;
|
||
}
|
||
|
||
.auth__grid {
|
||
gap: 1rem;
|
||
}
|
||
|
||
.auth__title {
|
||
font-size: 1.05rem;
|
||
}
|
||
|
||
.auth__select__wrap {
|
||
margin-top: 0.5rem;
|
||
}
|
||
}
|