View | Details | Raw Unified | Return to bug 36545
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css (-5 / +35 lines)
Lines 1-15 Link Here
1
.form-field {
1
.form-field {
2
  margin: 5px 0;
2
    align-items: center;
3
    display: flex;
4
    gap: .5em;
5
    margin: 5px 0;
3
}
6
}
4
7
5
.form-field > * {
8
.form-field > * {
6
  vertical-align: middle;
9
  vertical-align: middle;
7
}
10
}
8
11
12
#itemsearchform p {
13
    margin-left: 6em;
14
}
15
16
label {
17
    margin-bottom: 0;
18
}
19
9
.form-field-label {
20
.form-field-label {
10
  display: inline-block;
21
    display: inline-block;
11
  text-align: right;
22
    font-weight: bold;
12
  width: 10em;
23
    text-align: right;
24
    width: 10em;
13
}
25
}
14
26
15
.form-field-conjunction[disabled] {
27
.form-field-conjunction[disabled] {
Lines 37-40 th select { Link Here
37
49
38
th#items_title {
50
th#items_title {
39
  min-width: 12em;
51
  min-width: 12em;
40
}
52
}
53
54
#itemsearchform select,
55
input[type="text"] {
56
    background-color: #FFF;
57
    border: 1px solid #AAAAAA;
58
    border-radius: 4px;
59
    color: #495057;
60
    display: inline-block;
61
    font-size: 1.5rem;
62
    height: calc( 1.5em + .75rem + 2px );
63
    line-height: 1.5;
64
    padding: .375rem .75rem;
65
}
66
67
.select2.select2-container.select2-container--default {
68
    flex-grow: 1;
69
    max-width: 60%;
70
}
(-)a/koha-tmpl/intranet-tmpl/prog/css/select2.css (+16 lines)
Lines 28-30 Link Here
28
.select2-container--default .select2-selection--single .select2-selection__arrow b {
28
.select2-container--default .select2-selection--single .select2-selection__arrow b {
29
    border-color: #565656 transparent transparent transparent;
29
    border-color: #565656 transparent transparent transparent;
30
}
30
}
31
32
.select2-container--default .select2-selection--multiple .select2-selection__choice {
33
    background-color: #F7F7F7;
34
    margin-bottom: 2px;
35
    padding: 3px 8px;
36
}
37
38
.select2-container--default .select2-selection--multiple .select2-selection__clear {
39
    color: #888;
40
    font-size: 125%;
41
    margin-top: 3px;
42
}
43
44
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
45
    margin-right: 3px;
46
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-2 / +3 lines)
Lines 726-732 Link Here
726
            let selectFields = document.querySelectorAll('select[multiple]');
726
            let selectFields = document.querySelectorAll('select[multiple]');
727
            selectFields.forEach((selectField) => {
727
            selectFields.forEach((selectField) => {
728
                selectField.style.minWidth = '320px';
728
                selectField.style.minWidth = '320px';
729
                $(selectField).select2();
729
                $(selectField).select2({
730
                    closeOnSelect: false,
731
                });
730
            });
732
            });
731
        });
733
        });
732
    </script>
734
    </script>
733
- 

Return to bug 36545