Files
shopit-front/src/app/features/componentes-test/pages/reutilizables-test-page/reutilizables-test-page.component.scss

201 lines
3.3 KiB
SCSS

:host {
display: block;
min-height: 100dvh;
}
.app-shell {
display: grid;
place-items: center;
min-height: 100dvh;
padding: 1.5rem;
}
.component-demo {
width: min(100%, 64rem);
border: 0;
}
.eyebrow {
display: inline-block;
margin-bottom: 0.75rem;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #6c757d;
}
h1 {
margin-bottom: 0.75rem;
}
.button-grid {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.button-showcase {
display: grid;
gap: 1.25rem;
}
.button-group {
display: grid;
gap: 0.75rem;
}
.button-group h2 {
margin: 0;
font-size: 1rem;
font-weight: 700;
}
.button-grid--single-char app-button {
min-width: 3rem;
}
.section-divider {
margin: 2rem 0;
}
.input-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.input-field {
display: grid;
gap: 0;
}
.file-field {
display: grid;
gap: 0.75rem;
}
.file-field {
display: grid;
gap: 0.75rem;
}
@media (max-width: 991.98px) {
.input-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 767.98px) {
.input-grid {
grid-template-columns: minmax(0, 1fr);
}
}
.configuracion-tennant {
margin-top: 2rem;
.tenant-logo-card {
display: flex;
flex-direction: column;
gap: 0.5rem;
&__label {
font-size: 0.875rem;
font-weight: 600;
color: #495057;
}
&__container {
display: flex;
align-items: center;
justify-content: center;
height: 120px;
border-radius: 8px;
border: 1px solid #dee2e6;
padding: 1rem;
overflow: hidden;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
&:hover {
transform: translateY(-2px);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.08);
}
}
&__img {
max-height: 100%;
max-width: 100%;
object-fit: contain;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
&__placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #6c757d;
font-size: 0.875rem;
i {
font-size: 2rem;
opacity: 0.6;
}
}
}
.header-footer-bg {
background-color: var(--tenant-header-footer-bg, #f8f9fa);
}
.color-swatch-card {
display: flex;
flex-direction: column;
border-radius: 8px;
border: 1px solid #dee2e6;
overflow: hidden;
background-color: #ffffff;
transition: transform 0.2s ease, box-shadow 0.2s ease;
&:hover {
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}
&__preview {
height: 80px;
width: 100%;
border-bottom: 1px solid #dee2e6;
transition: opacity 0.2s ease;
&:hover {
opacity: 0.95;
}
}
&__body {
padding: 0.75rem 1rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
&__title {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 700;
color: #6c757d;
}
&__value {
font-size: 0.875rem;
color: #212529;
font-family: var(--bs-font-monospace);
}
}
}