2017-09-22 18:57:32 +03:00
|
|
|
/* 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/. */
|
|
|
|
|
2017-10-16 02:45:12 +03:00
|
|
|
:root {
|
|
|
|
--breadcrumb-id-class-color: #909090;
|
2019-03-01 16:43:31 +03:00
|
|
|
--breadcrumb-pseudo-class-text-color: var(--yellow-70) ;
|
2017-10-16 02:45:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-dark:root {
|
2019-04-18 22:18:43 +03:00
|
|
|
--breadcrumb-id-class-color: var(--theme-text-color-strong);
|
2019-03-01 16:43:31 +03:00
|
|
|
--breadcrumb-pseudo-class-text-color: var(--yellow-50);
|
2017-10-16 02:45:12 +03:00
|
|
|
}
|
|
|
|
|
2017-09-22 18:57:32 +03:00
|
|
|
/* Inspector HTMLBreadcrumbs */
|
|
|
|
|
|
|
|
.breadcrumbs-widget-container {
|
2019-08-23 19:45:22 +03:00
|
|
|
margin-right: 3px;
|
2017-09-22 18:57:32 +03:00
|
|
|
max-height: 24px; /* Set max-height for proper sizing on linux */
|
|
|
|
height: 24px; /* Set height to prevent starting small waiting for content */
|
|
|
|
}
|
|
|
|
|
2019-08-23 19:45:22 +03:00
|
|
|
.breadcrumbs-widget-container:-moz-locale-dir(rtl) {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
2017-09-22 18:57:32 +03:00
|
|
|
.scrollbutton-up,
|
|
|
|
.scrollbutton-down {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
|
|
|
list-style-image: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-09-28 18:33:32 +03:00
|
|
|
visibility: collapse;
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbutton-up > .toolbarbutton-icon,
|
|
|
|
.scrollbutton-down > .toolbarbutton-icon {
|
|
|
|
-moz-appearance: none;
|
2017-11-08 20:42:03 +03:00
|
|
|
width: 20px;
|
2017-09-22 18:57:32 +03:00
|
|
|
height: 16px;
|
2017-11-08 20:42:03 +03:00
|
|
|
background-size: 16px;
|
|
|
|
background-position: center;
|
2017-09-22 18:57:32 +03:00
|
|
|
background-repeat: no-repeat;
|
2017-11-08 20:42:03 +03:00
|
|
|
background-image: url("images/breadcrumbs-scrollbutton.svg");
|
2017-09-22 18:57:32 +03:00
|
|
|
list-style-image: none;
|
|
|
|
padding: 0;
|
|
|
|
|
2017-11-08 20:42:03 +03:00
|
|
|
-moz-context-properties: fill;
|
|
|
|
fill: var(--theme-toolbar-color);
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
2017-11-08 20:42:03 +03:00
|
|
|
.scrollbutton-up:not([disabled]):active:hover,
|
|
|
|
.scrollbutton-down:not([disabled]):active:hover {
|
|
|
|
background-color: var(--theme-toolbar-hover);
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbutton-up[disabled] > .toolbarbutton-icon,
|
|
|
|
.scrollbutton-down[disabled] > .toolbarbutton-icon {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Draw shadows to indicate there is more content 'behind' scrollbuttons. */
|
2019-08-23 19:45:22 +03:00
|
|
|
.scrollbutton-up {
|
2019-08-28 20:45:06 +03:00
|
|
|
border-right: solid 1px var(--theme-splitter-color);
|
2017-09-22 18:57:32 +03:00
|
|
|
border-left: solid 1px transparent;
|
|
|
|
box-shadow: 3px 0px 3px -3px var(--theme-sidebar-background);
|
|
|
|
}
|
|
|
|
|
2019-08-23 19:45:22 +03:00
|
|
|
.scrollbutton-down {
|
2017-09-22 18:57:32 +03:00
|
|
|
border-right: solid 1px transparent;
|
2019-08-28 20:45:06 +03:00
|
|
|
border-left: solid 1px var(--theme-splitter-color);
|
2017-09-22 18:57:32 +03:00
|
|
|
box-shadow: -3px 0px 3px -3px var(--theme-sidebar-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbutton-up[disabled],
|
|
|
|
.scrollbutton-down[disabled] {
|
|
|
|
box-shadow: none;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2019-08-23 19:45:22 +03:00
|
|
|
.scrollbutton-down > .toolbarbutton-icon {
|
2017-09-22 18:57:32 +03:00
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-widget-item {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
2017-09-24 17:59:43 +03:00
|
|
|
margin-inline-start: 10px;
|
|
|
|
margin-inline-end: 1px;
|
2019-09-25 23:16:33 +03:00
|
|
|
padding: 0;
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-widget-item > .button-box {
|
|
|
|
border: none;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[platform="win"] .breadcrumbs-widget-item:-moz-focusring > .button-box {
|
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-widget-item:first-child::before {
|
|
|
|
/* The first crumb does not need any separator before itself */
|
|
|
|
content: unset;
|
|
|
|
}
|
|
|
|
|
2017-09-24 17:59:43 +03:00
|
|
|
.breadcrumbs-widget-item:not(:first-child)::before {
|
|
|
|
content: url(chrome://devtools/skin/images/breadcrumbs-divider.svg);
|
|
|
|
background: none;
|
|
|
|
position: relative;
|
|
|
|
left: -3px;
|
|
|
|
margin: 0 4px 0 -1px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id {
|
|
|
|
color: var(--theme-highlight-purple);
|
|
|
|
}
|
|
|
|
|
2017-09-22 18:57:32 +03:00
|
|
|
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
|
|
|
|
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
|
|
|
|
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
|
2017-09-24 17:59:43 +03:00
|
|
|
color: var(--theme-highlight-blue);
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-dark .breadcrumbs-widget-item {
|
|
|
|
color: var(--theme-selection-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-light .breadcrumbs-widget-item {
|
|
|
|
color: var(--theme-body-color);
|
|
|
|
}
|
|
|
|
|
2017-10-16 02:45:12 +03:00
|
|
|
.breadcrumbs-widget-item-id,
|
2017-09-22 18:57:32 +03:00
|
|
|
.breadcrumbs-widget-item-classes {
|
2017-10-16 02:45:12 +03:00
|
|
|
color: var(--breadcrumb-id-class-color);
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-widget-item-pseudo-classes {
|
2019-03-01 16:43:31 +03:00
|
|
|
color: var(--breadcrumb-pseudo-class-text-color);
|
2017-09-22 18:57:32 +03:00
|
|
|
}
|