Set right class to remaining dropdown elements

This commit is contained in:
Alex Tselegidis 2024-07-07 11:51:30 +02:00
parent 8dab03f38a
commit 2b081a85ac
4 changed files with 13 additions and 7 deletions

View file

@ -25,7 +25,7 @@
<?= lang('timezone') ?>
</label>
<?php component('timezone_dropdown', [
'attributes' => 'id="select-timezone" class="form-control" value="UTC"',
'attributes' => 'id="select-timezone" class="form-select" value="UTC"',
'grouped_timezones' => $grouped_timezones,
]); ?>
</div>

View file

@ -7,7 +7,7 @@
<div id="calendar-filter" class="col-md-3">
<div class="calendar-filter-items">
<select id="select-filter-item"
class="form-control col"
class="form-select col"
data-tippy-content="<?= lang('select_filter_item_hint') ?>"
aria-label="Filter">
<!-- JS -->

View file

@ -427,7 +427,8 @@ body .popover-body a {
color: #dc3545;
}
.has-error .form-control {
.has-error .form-control,
.has-error .form-select {
border-color: #dc3545;
}

View file

@ -196,7 +196,9 @@ body legend {
}
.backend-page .form-control:disabled,
.backend-page .form-control[readonly] {
.backend-page .form-control[readonly],
.backend-page .form-select:disabled,
.backend-page .form-select[readonly] {
background-color: #fff;
color: #666;
border-color: #fff;
@ -610,7 +612,8 @@ body .form-horizontal .controls {
text-align: right;
}
#calendar-page #calendar-filter .form-group .form-control {
#calendar-page #calendar-filter .form-group .form-control,
#calendar-page #calendar-filter .form-group .form-select {
max-width: 300px;
margin-bottom: 0;
}
@ -845,7 +848,8 @@ body .form-horizontal .controls {
#working-plan-exceptions-breaks {
table-layout: fixed;
.form-control {
.form-control,
.form-select {
width: 100% !important;
}
}
@ -997,7 +1001,8 @@ body .form-horizontal .controls {
margin-left: 12px;
}
#booking-settings-page .fields-row .form-control {
#booking-settings-page .fields-row .form-control,
#booking-settings-page .fields-row .form-select {
border: 1px dashed #999 !important;
}