зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1438458 - Differentiate hover and selected colors in the devtools autocomplete popup - r=nchevobbe
MozReview-Commit-ID: GNFea0JLBQ2 --HG-- extra : rebase_source : fe8b8a93830f26eb0976d0825aa0861a8b6da406
This commit is contained in:
Родитель
b4fed9e95d
Коммит
62e98d1fe8
|
@ -157,24 +157,8 @@ html|button, html|select {
|
|||
background-image: linear-gradient(to bottom, hsla(209,18%,18%,0.9), hsl(210,11%,16%));
|
||||
}
|
||||
|
||||
.devtools-autocomplete-listbox .autocomplete-selected,
|
||||
.devtools-autocomplete-listbox .autocomplete-item:hover {
|
||||
background-color: rgba(128,128,128,0.3);
|
||||
}
|
||||
|
||||
.theme-dark .devtools-autocomplete-listbox .autocomplete-selected,
|
||||
.theme-dark .devtools-autocomplete-listbox .autocomplete-item:hover {
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.devtools-autocomplete-listbox .autocomplete-selected > .autocomplete-value,
|
||||
.devtools-autocomplete-listbox:focus .autocomplete-selected > .initial-value {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.theme-dark .devtools-autocomplete-listbox .autocomplete-selected > .autocomplete-value,
|
||||
.theme-dark .devtools-autocomplete-listbox:focus .autocomplete-selected > .initial-value {
|
||||
color: hsl(208,100%,60%);
|
||||
background: var(--theme-selection-background-hover);
|
||||
}
|
||||
|
||||
.devtools-autocomplete-listbox .autocomplete-item > span {
|
||||
|
@ -185,8 +169,18 @@ html|button, html|select {
|
|||
color: #ccc;
|
||||
}
|
||||
|
||||
.theme-dark .devtools-autocomplete-listbox .autocomplete-selected > span {
|
||||
color: #eee;
|
||||
.devtools-autocomplete-listbox .autocomplete-selected,
|
||||
.devtools-autocomplete-listbox .autocomplete-selected:hover {
|
||||
background-color: var(--theme-selection-background);
|
||||
color: var(--theme-selection-color);
|
||||
}
|
||||
|
||||
.devtools-autocomplete-listbox .autocomplete-selected > span {
|
||||
color: var(--theme-selection-color);
|
||||
}
|
||||
|
||||
.devtools-autocomplete-listbox .autocomplete-selected > .initial-value {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Autocomplete list clone used for accessibility. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче