99 lines
1.8 KiB
CSS
99 lines
1.8 KiB
CSS
/* filepath: website_sale_aplicoop/static/src/css/components/forms.css */
|
|
|
|
/**
|
|
* Form and input component styles
|
|
*/
|
|
|
|
label {
|
|
font-weight: 600;
|
|
color: #2d3748;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
border-color: #cbd5e0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
|
}
|
|
|
|
input[type="number"],
|
|
input[type="text"],
|
|
select {
|
|
background-color: #ffffff;
|
|
color: #212529;
|
|
border: 1px solid #ced4da;
|
|
}
|
|
|
|
input[type="number"]:focus,
|
|
input[type="text"]:focus,
|
|
select:focus {
|
|
outline: 2px solid #667eea;
|
|
outline-offset: 0;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.form-check {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem 1.25rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.form-check-input {
|
|
margin-right: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Compact search and filter inputs */
|
|
#realtime-search-input,
|
|
#realtime-category-select {
|
|
font-size: 0.95rem;
|
|
padding: 0.375rem 0.75rem;
|
|
height: auto;
|
|
}
|
|
|
|
#realtimeSearch-filters .form-control,
|
|
#realtimeSearch-filters .form-select {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.form-check-label {
|
|
margin: 0;
|
|
}
|
|
|
|
#home-delivery-checkbox {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
cursor: pointer;
|
|
border: 2px solid #0d6efd;
|
|
border-radius: 0.25rem;
|
|
margin-right: 0.75rem;
|
|
}
|
|
|
|
#home-delivery-checkbox:checked {
|
|
background-color: #0d6efd;
|
|
border-color: #0d6efd;
|
|
}
|
|
|
|
#home-delivery-checkbox:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
}
|
|
|
|
.form-check-label[for="home-delivery-checkbox"] {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #212529;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.help-text-sm {
|
|
font-size: 0.85rem;
|
|
}
|