Skip to content

Commit 06e9ddf

Browse files
authored
[4.0] input-group-append prepend (#34825)
This css class was removed in bootstrap 5 and we are not using the markup anywhere in the core so it makes no sense to keep it and keep maintaining css that isnt used. To test I guess code review, make sure the scss still compiles and confirm that the classes are not being used. NOTE: it is still used in plg_installer_webinstaller and that will be addressed in a sperate pr as it also requires upstream changes
1 parent b313355 commit 06e9ddf

File tree

4 files changed

+0
-83
lines changed

4 files changed

+0
-83
lines changed

administrator/templates/atum/scss/blocks/_form.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,6 @@ td .form-control {
133133
bottom: auto;
134134
}
135135

136-
.input-group-append {
137-
overflow: hidden;
138-
transform: translate3d(0, 0, 0);
139-
140-
[dir=ltr] & {
141-
border-top-right-radius: $border-radius;
142-
border-bottom-right-radius: $border-radius;
143-
}
144-
145-
[dir=rtl] & {
146-
border-top-left-radius: $border-radius;
147-
border-bottom-left-radius: $border-radius;
148-
}
149-
}
150-
151136
.input-group > .form-control[readonly] {
152137
margin-right: 1px;
153138
}

administrator/templates/atum/scss/template-rtl.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,6 @@ ul {
114114
}
115115
}
116116

117-
// SearchTools rounded corners
118-
.input-group > .input-group-prepend > .btn,
119-
.input-group > .input-group-prepend > .input-group-text,
120-
.input-group > .input-group-append:not(:last-child) > .btn,
121-
.input-group > .input-group-append:not(:last-child) > .input-group-text,
122-
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
123-
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
124-
@include border-start-radius($border-radius);
125-
@include border-end-radius(0);
126-
}
127-
128-
.input-group > .input-group-append > .btn,
129-
.input-group > .input-group-append > .input-group-text,
130-
.input-group > .input-group-prepend:not(:first-child) > .btn,
131-
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
132-
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
133-
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
134-
@include border-start-radius($border-radius);
135-
@include border-end-radius(0);
136-
}
137-
138117
.input-group > .form-control:not(:last-child),
139118
.input-group > .form-select:not(:last-child) {
140119
@include border-start-radius(0);

templates/cassiopeia/scss/blocks/_global.scss

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,6 @@ a {
8383

8484
.btn-group {
8585
margin-bottom: $cassiopeia-grid-gutter;
86-
> .input-group-append {
87-
> .btn-primary {
88-
@include border-end-radius($border-radius);
89-
@include border-start-radius(0);
90-
}
91-
> .btn-secondary {
92-
margin-left: $cassiopeia-grid-gutter/2;
93-
}
94-
}
95-
9686
> input {
9787
padding: $cassiopeia-grid-gutter/2;
9888
border: 1px solid $gray-400;
@@ -102,18 +92,6 @@ a {
10292
}
10393

10494
[dir="rtl"] .btn-group {
105-
> .input-group-append {
106-
> .btn-primary {
107-
@include border-start-radius($border-radius);
108-
@include border-end-radius(0);
109-
}
110-
111-
> .btn-secondary {
112-
margin-right: $cassiopeia-grid-gutter/2;
113-
margin-left: 0;
114-
}
115-
}
116-
11795
> input {
11896
@include border-end-radius($border-radius);
11997
@include border-start-radius(0);

templates/cassiopeia/scss/template-rtl.scss

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ body,
1414
float: right !important;
1515
}
1616

17-
.input-group-prepend .btn,
18-
.input-group-append .btn {
19-
right: -1px;
20-
}
21-
2217
.form-check {
2318
padding-right: 1.25rem;
2419
padding-left: 0;
@@ -72,26 +67,6 @@ body,
7267
}
7368
}
7469

75-
.input-group > .input-group-prepend > .btn,
76-
.input-group > .input-group-prepend > .input-group-text,
77-
.input-group > .input-group-append:not(:last-child) > .btn,
78-
.input-group > .input-group-append:not(:last-child) > .input-group-text,
79-
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
80-
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
81-
@include border-start-radius($border-radius);
82-
@include border-end-radius(0);
83-
}
84-
85-
.input-group > .input-group-append > .btn,
86-
.input-group > .input-group-append > .input-group-text,
87-
.input-group > .input-group-prepend:not(:first-child) > .btn,
88-
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
89-
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
90-
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
91-
@include border-start-radius($border-radius);
92-
@include border-end-radius(0);
93-
}
94-
9570
.input-group > .form-control:not(:last-child),
9671
.input-group > .form-select:not(:last-child) {
9772
@include border-start-radius(0);

0 commit comments

Comments
 (0)