Ensure that data output color is readable on row selection. Fixes #5687

This commit is contained in:
Nikhil Mohite
2020-07-21 18:54:06 +05:30
committed by Akshay Joshi
parent 28a4359020
commit 5f619ae40a
4 changed files with 17 additions and 6 deletions

View File

@@ -118,17 +118,19 @@ legend {
.btn-ternary {
@include button-variant($color-ternary, $color-fg);
border-color: $color-ternary;
}
.btn-ternary[disabled] {
background-color: $btn-ternary-disabled-bg !important;
background-color: $btn-ternary-disabled-bg;
color: $btn-ternary-disabled-fg !important;
border-color: btn-ternary-disabled-border-color !important;
border-color: $btn-ternary-disabled-border-color;
label {
background-color: $btn-ternary-disabled-bg !important;
background-color: $btn-ternary-disabled-bg;
color: $btn-ternary-disabled-fg !important;
border-color: btn-ternary-disabled-border-color !important;
border-color: $btn-ternary-disabled-border-color;
}
}
@@ -418,3 +420,11 @@ td.switch-cell > div.toggle {
td.pga-ex-exclusive-2, td.pga-ex-inclusive-2 {
color: color-yiq($explain-sev-2-bg);
}
#datagrid .slick-header .slick-header-column.selected {
color: color-yiq($color-primary)
}
.editor-text {
color: color-yiq($color-bg);
}

View File

@@ -219,7 +219,7 @@ $table-hover-border-color: $color-primary;
$table-hover-border: $panel-border-width solid $color-primary !important;
$table-hover-bg-color: $color-primary-light !default;
$datagrid-bg: $color-gray-light !default;
$datagrid-selected-color : $color-primary-fg !default;
$datagrid-selected-color: $color-fg !default;
$tree-text-fg: $color-fg !default;
$tree-text-hover-fg: $color-fg !default;

View File

@@ -113,3 +113,5 @@ $btn-primary-icon-disable-bg: $color-secondary;
$btn-ternary-disabled-fg: $color-fg;
$color-success-hover-fg: $color-fg;
$datagrid-selected-color: $color-primary-fg;

View File

@@ -149,7 +149,6 @@ li.CodeMirror-hint-active {
#datagrid .slick-header .slick-header-column.selected {
background-color: $color-primary;
color: $datagrid-selected-color;
}
.slick-row .slick-cell {
border-bottom: $panel-border;