gecko-dev/browser/themes/shared/aboutSessionRestore.css
2018-11-22 19:47:27 +00:00

111 lines
2.4 KiB
CSS

%if 0
/* 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/. */
%endif
.description-wrapper {
background-image: url("chrome://browser/skin/illustrations/error-session-restore.svg");
background-repeat: no-repeat;
background-size: 38%;
padding-inline-start: 38%;
background-position: left center;
min-height: 300px;
}
.title {
background-image: none;
}
.description-wrapper:dir(rtl) {
background-position: right center;
}
#tabsToggle:dir(rtl):after {
background-position: left center;
}
#tabsToggle {
cursor: pointer;
color: #0a84ff !important;
-moz-context-properties: fill;
fill: currentColor;
border: none;
padding: 0;
margin: 0;
padding-inline-end: 45px;
font: inherit;
position: relative;
}
#tabsToggle:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
background-repeat: no-repeat;
background-size: 20px;
background-position: right center;
}
#tabsToggle:not(.show-tabs):after {
transform: scaleY(-1);
}
#tabsToggle:hover {
background-color: transparent;
}
#tabsToggle.show-tabs > #hideTabs,
#tabsToggle:not(.show-tabs) > #showTabs {
display: none;
}
.tree-container:not(.expanded) {
visibility: collapse;
}
.button-container {
text-align: end;
}
treechildren::-moz-tree-image(icon),
treechildren::-moz-tree-image(noicon) {
padding-right: 2px;
margin: 0 2px;
width: 16px;
height: 16px;
}
treechildren::-moz-tree-image(noicon) {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
-moz-context-properties: fill;
fill: currentColor;
}
treechildren::-moz-tree-image(container, noicon) {
list-style-image: url("chrome://browser/skin/window.svg");
}
treechildren::-moz-tree-image(checked) {
list-style-image: url("chrome://global/skin/icons/check.svg");
-moz-context-properties: fill, stroke;
fill: #2292d0;
}
treechildren::-moz-tree-image(checked, selected) {
fill: white;
stroke: #0095dd;
}
treechildren::-moz-tree-image(partial) {
list-style-image: url("chrome://global/skin/icons/check-partial.svg");
-moz-context-properties: fill, stroke;
fill: #2292d0;
}
treechildren::-moz-tree-image(partial, selected) {
fill: white;
stroke: #0095dd;
}