Skip to content

Commit cccb7af

Browse files
committed
Improvements on dark theme (datatable filters).
1 parent 90dfba2 commit cccb7af

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

source/src/main/webapp/css/global/crb_style2.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,9 +1571,30 @@ table.dataTable thead th input {
15711571
}
15721572

15731573
.popover{
1574+
color: var(--crb-black-color);
1575+
background-color: var(--crb-white-color);
1576+
border-color: var(--crb-grey-color);
15741577
width: 600px;
15751578
}
15761579

1580+
.panel-body {
1581+
color: var(--crb-black-color);
1582+
background-color: var(--crb-white-color);
1583+
border-color: var(--crb-grey-color);
1584+
}
1585+
1586+
.dropdown-menu{
1587+
color: var(--crb-black-color);
1588+
background-color: var(--crb-white-color);
1589+
border-color: var(--crb-grey-color);
1590+
}
1591+
1592+
.popover-title{
1593+
color: var(--crb-black-color);
1594+
background-color: var(--crb-white-color);
1595+
border-color: var(--crb-grey-color);
1596+
}
1597+
15771598
@keyframes blink {
15781599
from, to {
15791600
opacity: 1

source/src/main/webapp/js/global/table-filter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,14 +588,14 @@ function privateDisplayColumnSearch(tableId, contentUrl, oSettings, clientSide)
588588
if (currentColumn.like == null || !currentColumn.like) {
589589
//Add selectAll/unSelectAll button
590590
$("#" + tableId + "_wrapper .popover-title").after(
591-
$('<button>').attr('class', 'glyphicon glyphicon-check')
591+
$('<button>').attr('class', 'glyphicon glyphicon-check btn-default')
592592
.attr('type', 'button')
593593
.attr('title', 'select all').attr('name', 'selectAll')
594594
.attr('data-type', 'custom').on('click', function () {
595595
$(this).parent().parent().find("[type='checkbox']:visible").prop('checked', true);
596596
}));
597597
$("#" + tableId + "_wrapper .popover-title").after(
598-
$('<button>').attr('class', 'glyphicon glyphicon-unchecked')
598+
$('<button>').attr('class', 'glyphicon glyphicon-unchecked btn-default')
599599
.attr('type', 'button')
600600
.attr('title', 'unselect all').attr('name', 'unSelectAll')
601601
.attr('data-type', 'custom').on('click', function () {

source/src/main/webapp/js/pages/TestCaseList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function renderOptionsForTestCaseList(data) {
174174
contentToAdd += "</div>";
175175

176176
contentToAdd += "<div class='btn-group'>";
177-
contentToAdd += "<button id='btnGroupDropIO' type='button' class='btn btn-secondary dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>Import / Export <span class='caret'></span></button>";
177+
contentToAdd += "<button id='btnGroupDropIO' type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>Import / Export <span class='caret'></span></button>";
178178
contentToAdd += "<div class='dropdown-menu' aria-labelledby='btnGroupDropIO'>";
179179
contentToAdd += "<button id='exportTestCaseMenuButton' type='button' class='btn btn-default' name='buttonExport'><span class='glyphicon glyphicon-export'></span> " + doc.getDocLabel("page_testcaselist", "btn_export") + "</button>";
180180
// contentToAdd += "<button id='exportTestCaseMenuButtonSingleFile' type='button' class='btn btn-default' name='buttonExport'><span class='glyphicon glyphicon-export'></span> " + doc.getDocLabel("page_testcaselist", "btn_export1file") + "</button>";

0 commit comments

Comments
 (0)