mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that data output color is readable on row selection. Fixes #5687
This commit is contained in:
committed by
Akshay Joshi
parent
28a4359020
commit
5f619ae40a
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user