зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1385518 - Update sidebar styling for dark theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4823 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c6885f5391
Коммит
2c14b75a07
|
@ -1045,6 +1045,8 @@ BrowserGlue.prototype = {
|
|||
toolbar_field_border: "rgba(249, 249, 250, 0.2)",
|
||||
ntp_background: "#2A2A2E",
|
||||
ntp_text: "rgb(249, 249, 250)",
|
||||
sidebar: "#19191a",
|
||||
sidebar_text: "rgb(249, 249, 250)",
|
||||
author: vendorShortName,
|
||||
}, {
|
||||
useInDarkMode: true,
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.sidebar-placesTreechildren::-moz-tree-row(selected) {
|
||||
.sidebar-panel:not([lwt-sidebar]) .sidebar-placesTreechildren::-moz-tree-row(selected) {
|
||||
-moz-appearance: -moz-mac-source-list-selection;
|
||||
-moz-font-smoothing-background-color: -moz-mac-source-list-selection;
|
||||
}
|
||||
|
||||
.sidebar-placesTreechildren::-moz-tree-row(selected,focus) {
|
||||
.sidebar-panel:not([lwt-sidebar-highlight]) .sidebar-placesTreechildren::-moz-tree-row(selected,focus) {
|
||||
-moz-appearance: -moz-mac-active-source-list-selection;
|
||||
-moz-font-smoothing-background-color: -moz-mac-active-source-list-selection;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
}
|
||||
|
||||
.sidebar-panel[lwt-sidebar-brighttext] .sidebar-placesTreechildren::-moz-tree-row(selected) {
|
||||
-moz-appearance: none;
|
||||
background-color: rgba(249,249,250,.1);
|
||||
}
|
||||
|
||||
|
@ -30,7 +29,6 @@
|
|||
}
|
||||
|
||||
.sidebar-panel[lwt-sidebar-highlight] .sidebar-placesTreechildren::-moz-tree-row(selected,focus) {
|
||||
-moz-appearance: none;
|
||||
background-color: var(--lwt-sidebar-highlight-background-color);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче