Bug 1476590 - Increase netmonitor table text contrast in dark theme and for cached rows. r=gl

This commit is contained in:
fvsch 2018-07-31 00:40:33 +02:00
parent 2d10ea4e86
commit 0ac3f7e222
2 changed files with 5 additions and 2 deletions

View File

@ -48,6 +48,7 @@
width: 100%;
height: 100%;
overflow: hidden;
color: var(--table-text-color);
}
.requests-list-wrapper {
@ -590,8 +591,8 @@
background-color: var(--theme-selection-background-hover);
}
.request-list-item.fromCache > .requests-list-column:not(.requests-list-waterfall) {
opacity: 0.6;
.request-list-item:not(.selected).fromCache > .requests-list-column:not(.requests-list-waterfall) {
opacity: 0.7;
}
/* Responsive web design support */

View File

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
:root.theme-dark {
--table-text-color: var(--grey-40);
--table-splitter-color: rgba(255,255,255,0.15);
--table-zebra-background: rgba(255,255,255,0.05);
@ -21,6 +22,7 @@
:root.theme-light {
--theme-body-color: var(--grey-70);
--table-text-color: var(--grey-70);
--table-splitter-color: rgba(0,0,0,0.15);
--table-zebra-background: rgba(0,0,0,0.05);