Skip to content

Commit b25924c

Browse files
Merge pull request #18502 from MauricioFauth/select-all-arrow-image
Fix select all arrow image dark color issue with Bootstrap theme
2 parents 59d1785 + 0b1a743 commit b25924c

File tree

24 files changed

+60
-30
lines changed

24 files changed

+60
-30
lines changed
-102 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

public/themes/bootstrap/scss/_common.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,6 @@ td .icon {
153153
margin: 0;
154154
}
155155

156-
.selectallarrow {
157-
margin-right: 0.3em;
158-
margin-left: 0.6em;
159-
}
160-
161156
.with-selected {
162157
margin-left: 2em;
163158
}

public/themes/bootstrap/scss/_icons.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44
padding: 0 !important;
55
width: 16px;
66
height: 16px;
7+
background-repeat: no-repeat;
78
}
89

910
.icon_fulltext {
1011
width: 50px;
1112
height: 19px;
1213
}
1314

15+
.ic_select_all_arrow {
16+
width: 38px;
17+
height: 22px;
18+
margin-right: 1rem;
19+
background-image: url('../img/select-all-arrow.svg');
20+
21+
&[dir=rtl] {
22+
transform: scaleX(-1);
23+
}
24+
}
25+
1426
.ic_asc_order {
1527
background-image: url('../img/asc_order.png');
1628
}
@@ -682,6 +694,10 @@
682694
}
683695

684696
@include color-mode(dark) {
697+
.ic_select_all_arrow {
698+
background-image: url('../img/dark/select-all-arrow.svg');
699+
}
700+
685701
.ic_asc_order {
686702
background-image: url('../img/asc_order.png');
687703
}
-145 Bytes
Binary file not shown.
File renamed without changes.

public/themes/metro/scss/_common.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,6 @@ img.lightbulb {
472472
color: inherit !important;
473473
}
474474

475-
.selectallarrow {
476-
margin-right: 0.3em;
477-
margin-left: 0.6em;
478-
}
479-
480475
.with-selected {
481476
margin-left: 2em;
482477
}

public/themes/metro/scss/_icons.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44
padding: 0 !important;
55
width: 16px;
66
height: 16px;
7+
background-repeat: no-repeat;
78
}
89

910
.icon_fulltext {
1011
width: 50px;
1112
height: 19px;
1213
}
1314

15+
.ic_select_all_arrow {
16+
width: 38px;
17+
height: 22px;
18+
margin-right: 1rem;
19+
background-image: url('../img/select-all-arrow.png');
20+
21+
&[dir=rtl] {
22+
transform: scaleX(-1);
23+
}
24+
}
25+
1426
.ic_asc_order {
1527
background-image: url('../img/asc_order.png');
1628
}
-102 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)