From c877146a907a47dc9c88507a58a8048b8b5f1562 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 22 Nov 2016 19:45:02 +0100 Subject: [PATCH] some teaks based on observations when using the theme and errors reported in Firefox Browser Toolbox --- LCARStrek/browser/browser.css | 16 ++++++++++------ LCARStrek/devtools/boxmodel.css | 2 ++ LCARStrek/devtools/inspector.css | 2 ++ LCARStrek/devtools/toolbars.css | 3 ++- LCARStrek/devtools/widgets.css | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 657620f7..367e69a2 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -1839,13 +1839,12 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, } .urlbar-input-box, - #urlbar-display-box { padding-inline-start: 4px; - border-inline-start: 1px solid var(--urlbar-separator-color); +/* border-inline-start: 1px solid var(--urlbar-separator-color); border-inline-end: 1px solid var(--urlbar-separator-color); border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%); - border-image-slice: 1; + border-image-slice: 1; */ } #urlbar-icons { @@ -2199,7 +2198,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box #identity-box:hover:active, #identity-box[open=true] { - background-color: #FF9F00; + background-color: #A09090; color: #000000; } @@ -2217,6 +2216,12 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box color: #000000; } +#identity-box:hover > image, +#identity-box:hover:active > image, +#identity-box[open=true] > image { + filter: url(chrome://global/skin/icons/filters.svg#active-icon-state); +} + /* autocomplete */ #treecolAutoCompleteImage { @@ -2849,7 +2854,6 @@ richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type- } .tab-icon-overlay[soundplaying] { - display: -moz-box; list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio"); } @@ -4251,7 +4255,7 @@ html|*#gcli-output-frame { } .devtools-responsiveui-close:hover { - filter: url(images/filters.svg#checked-icon-state); + filter: url(chrome://devtools/skin/images/filters.svg#checked-icon-state); } .devtools-responsiveui-rotate { diff --git a/LCARStrek/devtools/boxmodel.css b/LCARStrek/devtools/boxmodel.css index e38963c6..11128eba 100644 --- a/LCARStrek/devtools/boxmodel.css +++ b/LCARStrek/devtools/boxmodel.css @@ -2,6 +2,8 @@ * 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/ */ +@import url(variables.css); /* No idea why this is needed but we get error messages without it */ + #boxmodel-wrapper { border-bottom-style: solid; border-bottom-width: 1px; diff --git a/LCARStrek/devtools/inspector.css b/LCARStrek/devtools/inspector.css index 1d5f1f67..b99c2215 100644 --- a/LCARStrek/devtools/inspector.css +++ b/LCARStrek/devtools/inspector.css @@ -2,6 +2,8 @@ * 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/. */ +@import url(variables.css); /* No idea why this is needed but we get error messages without it */ + :root { --eyedropper-image: url(images/command-eyedropper.svg); } diff --git a/LCARStrek/devtools/toolbars.css b/LCARStrek/devtools/toolbars.css index ee12919a..e7d2ed62 100644 --- a/LCARStrek/devtools/toolbars.css +++ b/LCARStrek/devtools/toolbars.css @@ -56,7 +56,8 @@ /* HTML Checkboxes - a lot copied from global/in-content/common.css */ /* Hide the actual checkbox */ -input[type="checkbox"]:not(#browser-style-checkbox) { /* not() is workaround for old placement of checkbox in label */ +input[type="checkbox"]:not(#browser-style-checkbox), +#browser-style-checkbox:not([label]) { /* not()s are workaround for old placement of checkbox in label */ opacity: 0; width: 0; pointer-events: none; diff --git a/LCARStrek/devtools/widgets.css b/LCARStrek/devtools/widgets.css index 686a686e..67d6790a 100644 --- a/LCARStrek/devtools/widgets.css +++ b/LCARStrek/devtools/widgets.css @@ -344,7 +344,7 @@ } .breadcrumbs-widget-item-classes { - color: var(#402800); /* --theme-content-color1 */ + color: #402800; /* --theme-content-color1 */ } .breadcrumbs-widget-item-pseudo-classes { -- 2.35.3