bootstrap-italia 2.7.8 → 2.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/bootstrap-italia.min.css +1 -1
- package/dist/css/bootstrap-italia.min.css.map +1 -1
- package/dist/js/bootstrap-italia.bundle.min.js +7 -7
- package/dist/js/bootstrap-italia.min.js +7 -7
- package/dist/plugins/input-label.js +4 -1
- package/dist/plugins/input-label.js.map +1 -1
- package/dist/plugins/input-number.js +15 -23
- package/dist/plugins/input-number.js.map +1 -1
- package/dist/plugins/input-search-autocomplete.js +6 -13
- package/dist/plugins/input-search-autocomplete.js.map +1 -1
- package/dist/plugins/input.js +8 -28
- package/dist/plugins/input.js.map +1 -1
- package/dist/plugins/select-autocomplete.js +25 -6
- package/dist/plugins/select-autocomplete.js.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
- package/src/js/plugins/input-label.js +4 -1
- package/src/js/plugins/input-number.js +15 -23
- package/src/js/plugins/input-search-autocomplete.js +6 -13
- package/src/js/plugins/input.js +8 -28
- package/src/js/plugins/select-autocomplete.js +25 -6
- package/src/js/version.js +1 -1
- package/src/scss/custom/_form-input-number.scss +20 -55
- package/src/scss/custom/_forms.scss +8 -2
- package/src/scss/custom/_just-validate.scss +50 -17
- package/src/scss/custom/_version.scss +1 -1
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
color: #d9364f;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
.input-group-text:has(+ .focus--mouse:not(.btn)),
|
|
12
|
+
.focus--mouse:not(.btn) + .input-group-text,
|
|
13
|
+
button:has(~ .focus--mouse:not(.btn)),
|
|
14
|
+
.focus--mouse:not(.btn) + button {
|
|
15
|
+
border-color: inherit !important;
|
|
16
|
+
box-shadow: none !important;
|
|
17
|
+
outline: none !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//same border color for element in input-group
|
|
21
|
+
.input-group-text:has(+ .is-invalid),
|
|
22
|
+
.is-invalid + .input-group-text,
|
|
23
|
+
button:has(~ .is-invalid),
|
|
24
|
+
.is-invalid + button {
|
|
25
|
+
border-color: #d9364f;
|
|
26
|
+
}
|
|
27
|
+
|
|
10
28
|
.sr-only-justvalidate-bi {
|
|
11
29
|
display: none;
|
|
12
30
|
}
|
|
@@ -15,20 +33,41 @@
|
|
|
15
33
|
padding-right: calc(1.5em + 0.75rem) !important;
|
|
16
34
|
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300cc85' viewBox='0 0 192 512'%3E%3Cpath d='M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z'/%3E%3C/svg%3E");
|
|
17
35
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
.input-group-text:has(+ .just-validate-success-field),
|
|
37
|
+
.just-validate-success-field + .input-group-text,
|
|
38
|
+
button:has(~ .just-validate-success-field),
|
|
39
|
+
.just-validate-success-field + button {
|
|
40
|
+
border-color: #008758;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//move buttons to make validation icon visible
|
|
44
|
+
.just-validate-success-field + .input-group-text.align-buttons,
|
|
45
|
+
.is-invalid + .input-group-text.align-buttons {
|
|
46
|
+
right: 30px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.is-invalid + .input-group-text.align-buttons {
|
|
50
|
+
bottom: 22px; //height of the form-feedback element
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.autocomplete__wrapper {
|
|
54
|
+
.form-feedback.just-validate-error-label {
|
|
55
|
+
position: absolute;
|
|
23
56
|
}
|
|
24
57
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
58
|
+
|
|
59
|
+
textarea {
|
|
60
|
+
&.form-control {
|
|
61
|
+
background-position: top 0.3em right 0.3em !important;
|
|
62
|
+
background-size: 37px 30% !important;
|
|
63
|
+
}
|
|
64
|
+
&.is-invalid {
|
|
65
|
+
border-bottom-style: solid;
|
|
66
|
+
border-bottom-width: 1px;
|
|
67
|
+
}
|
|
28
68
|
&.just-validate-success-field {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
background-position: right center;
|
|
69
|
+
border-bottom-style: solid;
|
|
70
|
+
border-bottom-width: 1px;
|
|
32
71
|
}
|
|
33
72
|
}
|
|
34
73
|
input[type='date'] {
|
|
@@ -36,9 +75,6 @@ input[type='date'] {
|
|
|
36
75
|
border-bottom: 1px solid #d9364f;
|
|
37
76
|
padding-right: calc(1.5em + 0.75rem) !important;
|
|
38
77
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f73e5a' viewBox='0 0 384 512'%3E%3Cpath d='M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z'/%3E%3C/svg%3E");
|
|
39
|
-
background-repeat: no-repeat;
|
|
40
|
-
background-size: 37px 21px;
|
|
41
|
-
background-position: right center;
|
|
42
78
|
}
|
|
43
79
|
}
|
|
44
80
|
input[type='checkbox'],
|
|
@@ -54,9 +90,6 @@ select {
|
|
|
54
90
|
border-bottom: 1px solid #d9364f;
|
|
55
91
|
}
|
|
56
92
|
&.just-validate-success-field {
|
|
57
|
-
background-repeat: no-repeat;
|
|
58
|
-
background-size: 77px 21px;
|
|
59
|
-
background-position: right center;
|
|
60
93
|
border-bottom: 1px solid #008758;
|
|
61
94
|
}
|
|
62
95
|
}
|