Geizkragen/assets/css/productAdder.css

129 lines
2.5 KiB
CSS

/* assets/css/productAdder.css
Dropdown-Styles fuer productAdder.php
*/
.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: var(--gh-muted);
}
.auth__select {
width: 100%;
box-sizing: border-box;
padding: 12px 40px 12px 12px;
border: 1px solid var(--gh-border);
border-radius: 5px;
background-color: #1e2537;
color: var(--gh-text);
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: var(--gh-focus);
}
.auth__select option {
background: #1e2537;
color: var(--gh-text);
}
.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 var(--gh-border);
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: var(--gh-text);
}
.auth__form {
display: grid;
gap: 8px;
margin-bottom: 12px;
}
.auth__form label {
font-size: 0.95rem;
color: var(--gh-muted);
}
.auth__input {
width: 100%;
box-sizing: border-box;
padding: 10px 12px;
border: 1px solid var(--gh-border);
border-radius: 5px;
background: #1e2537;
color: var(--gh-text);
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: var(--gh-focus);
}
.auth__input::placeholder {
color: var(--gh-muted);
}
.auth__card .auth__form:last-child {
margin-bottom: 0;
}
@media (max-width: 720px) {
.auth {
padding: 24px 12px;
}
.auth__card {
padding: 16px;
}
}