Skip to content
Snippets Groups Projects
Commit 51baf54e authored by Lata's avatar Lata
Browse files

Bug 1717260 - Its hard to distinguish which item is in focus on Library...

Bug 1717260 - Its hard to distinguish which item is in focus on Library window. r=mak,desktop-theme-reviewers,Itiel

Differential Revision: https://phabricator.services.mozilla.com/D172775
parent a46b4ef3
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,10 @@
--organizer-hover-background: SelectedItem;
--organizer-hover-color: SelectedItemText;
--organizer-selected-background: SelectedItem;
--organizer-selected-color: SelectedItemText;
--organizer-selected-background: -moz-cellhighlight;
--organizer-selected-color: -moz-cellhighlighttext;
--organizer-focus-selected-background: SelectedItem;
--organizer-focus-selected-color: SelectedItemText;
--organizer-outline-color: SelectedItem;
--organizer-separator-color: ThreeDDarkShadow;
......@@ -40,6 +42,8 @@
--organizer-hover-color: var(--organizer-color);
--organizer-selected-background: rgb(207,207,216);
--organizer-selected-color: var(--organizer-color);
--organizer-focus-selected-background: rgb(0,97,224);
--organizer-focus-selected-color: rgb(251,251,254);
--organizer-outline-color: rgb(0,97,224);
--organizer-separator-color: var(--organizer-pane-field-border-color);
......@@ -64,6 +68,8 @@
--organizer-hover-background: rgb(82,82,94);
--organizer-selected-background: rgb(91,91,102);
--organizer-focus-selected-background: color-mix(in srgb, rgb(0,221,255) 80%, currentColor);
--organizer-focus-selected-color: rgb(43,42,51);
--organizer-outline-color: rgb(0,221,255);
--organizer-toolbar-field-background: rgb(28,27,34);
......@@ -251,6 +257,11 @@ treechildren::-moz-tree-row(selected) {
border: 1px solid transparent;
}
treechildren::-moz-tree-row(selected, focus) {
background-color: var(--organizer-focus-selected-background);
color: var(--organizer-focus-selected-color);
}
treechildren::-moz-tree-image(hover),
treechildren::-moz-tree-twisty(hover),
treechildren::-moz-tree-cell-text(hover) {
......@@ -263,6 +274,12 @@ treechildren::-moz-tree-cell-text(selected) {
color: var(--organizer-selected-color);
}
treechildren::-moz-tree-image(selected, focus),
treechildren::-moz-tree-twisty(selected, focus),
treechildren::-moz-tree-cell-text(selected, focus) {
color: var(--organizer-focus-selected-color);
}
treechildren::-moz-tree-separator {
height: 1px;
border-color: var(--organizer-separator-color);
......@@ -276,6 +293,10 @@ treechildren::-moz-tree-separator(selected) {
border-color: var(--organizer-selected-color);
}
treechildren::-moz-tree-separator(selected, focus) {
border-color: var(--organizer-focus-selected-color);
}
/* Info box */
#infoBox:not([hidden="true"]) {
display: block;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment