mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
82 lines
2.4 KiB
CSS
82 lines
2.4 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
.sidebar-panel {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Themed sidebars */
|
|
|
|
.sidebar-panel[lwt-sidebar] {
|
|
background-color: var(--lwt-sidebar-background-color);
|
|
color: var(--lwt-sidebar-text-color);
|
|
scrollbar-color: rgba(204,204,204,.5) rgba(230,230,235,.5);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar-brighttext] {
|
|
scrollbar-color: rgba(249,249,250,.4) rgba(20,20,25,.3);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar] .sidebar-placesTreechildren::-moz-tree-row(selected) {
|
|
background-color: hsla(0,0%,80%,.3);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar-brighttext] .sidebar-placesTreechildren::-moz-tree-row(selected) {
|
|
background-color: rgba(249,249,250,.1);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar-brighttext] .sidebar-placesTreechildren::-moz-tree-image(selected),
|
|
.sidebar-panel[lwt-sidebar-brighttext] .sidebar-placesTreechildren::-moz-tree-twisty(selected),
|
|
.sidebar-panel[lwt-sidebar-brighttext] .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
|
|
color: var(--lwt-sidebar-text-color);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar-highlight] .sidebar-placesTreechildren::-moz-tree-row(selected,focus) {
|
|
background-color: var(--lwt-sidebar-highlight-background-color);
|
|
}
|
|
|
|
.sidebar-panel[lwt-sidebar-highlight] .sidebar-placesTreechildren::-moz-tree-image(selected, focus),
|
|
.sidebar-panel[lwt-sidebar-highlight] .sidebar-placesTreechildren::-moz-tree-twisty(selected, focus),
|
|
.sidebar-panel[lwt-sidebar-highlight] .sidebar-placesTreechildren::-moz-tree-cell-text(selected, focus) {
|
|
color: var(--lwt-sidebar-highlight-text-color);
|
|
}
|
|
|
|
/* Sidebar tree */
|
|
|
|
.sidebar-placesTree {
|
|
-moz-appearance: none;
|
|
background-color: transparent;
|
|
color: inherit;
|
|
border: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* View button */
|
|
|
|
#viewButton {
|
|
-moz-appearance: none;
|
|
border-radius: 4px;
|
|
padding: 2px 4px;
|
|
color: inherit;
|
|
}
|
|
|
|
#viewButton:hover {
|
|
background-color: hsla(240, 5%, 5%, .1);
|
|
}
|
|
|
|
#viewButton[open] {
|
|
background-color: hsla(240, 5%, 5%, .15);
|
|
}
|
|
|
|
#viewButton > .button-box > .button-menu-dropmarker {
|
|
-moz-appearance: none !important;
|
|
display: -moz-box;
|
|
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-12.svg");
|
|
width: 12px;
|
|
height: 12px;
|
|
-moz-context-properties: fill;
|
|
fill: currentColor;
|
|
}
|