Files
marketplaces/src/app/components/delivery-selector/delivery-selector.component.scss

83 lines
1.5 KiB
SCSS
Raw Normal View History

2026-06-21 23:13:01 +04:00
:host {
display: block;
}
.delivery-selector {
margin-top: 12px;
padding: 12px;
border-radius: 12px;
border: 1px solid #d3dad9;
background: #fafbfb;
}
.delivery-label {
display: block;
margin-bottom: 8px;
font-size: var(--font-size-sm, 0.8125rem);
2026-06-21 23:13:01 +04:00
font-weight: 700;
color: #3f5f5c;
}
.delivery-control select {
width: 100%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid #c9d5d3;
background: #fff;
color: #1f2937;
font-size: var(--font-size-base, 0.875rem);
2026-06-21 23:13:01 +04:00
line-height: 1.4;
}
.delivery-control select:focus {
outline: none;
border-color: #497671;
box-shadow: 0 0 0 3px rgba(73, 118, 113, 0.12);
}
.delivery-meta {
display: grid;
gap: 4px;
margin-top: 10px;
font-size: 0.82rem;
color: #697777;
line-height: 1.45;
}
.delivery-chip {
display: inline-flex;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
font-size: var(--font-size-sm, 0.8125rem);
2026-06-21 23:13:01 +04:00
font-weight: 700;
}
.delivery-chip--digital {
color: #2563eb;
background: rgba(37, 99, 235, 0.12);
}
:host-context(.cart-container.alt) .delivery-selector {
2026-06-21 23:13:01 +04:00
border-color: #d1fae5;
background: #f9fffc;
}
:host-context(.cart-container.alt) .delivery-label {
2026-06-21 23:13:01 +04:00
color: #047857;
}
:host-context(.cart-container.alt) .delivery-control select {
2026-06-21 23:13:01 +04:00
border-color: #bbf7d0;
}
:host-context(.cart-container.alt) .delivery-control select:focus {
2026-06-21 23:13:01 +04:00
border-color: #10b981;
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
:host-context(.cart-container.alt) .delivery-meta {
2026-06-21 23:13:01 +04:00
color: #4b5563;
}