forked from pool/MozillaFirefox
2eca26e225
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=642df78146bc951e87eddc45bdb1f446
149 lines
3.6 KiB
Diff
149 lines
3.6 KiB
Diff
From: Jakub Steiner <jimmac@novell.com>
|
|
Subject: make style compatible with dark themes
|
|
References:
|
|
https://bugzilla.novell.com/show_bug.cgi?id=503351
|
|
|
|
|
|
diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css
|
|
--- a/browser/base/content/browser.css
|
|
+++ b/browser/base/content/browser.css
|
|
@@ -4,42 +4,87 @@
|
|
searchbar {
|
|
-moz-binding: url("chrome://browser/content/search/search.xml#searchbar");
|
|
}
|
|
|
|
tabbrowser {
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser");
|
|
}
|
|
|
|
+ /* Remove focus lines from tabs */
|
|
+
|
|
+ .tabbrowser-tab > .tab-text {
|
|
+ border: 1px dotted transparent !important;
|
|
+ }
|
|
+
|
|
+
|
|
toolbar[printpreview="true"] {
|
|
-moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
|
|
}
|
|
|
|
toolbarpaletteitem[place="palette"] > toolbaritem > hbox[type="places"] {
|
|
display: none;
|
|
}
|
|
|
|
/* ::::: location bar ::::: */
|
|
#urlbar {
|
|
-moz-binding: url(chrome://browser/content/urlbarBindings.xml#urlbar);
|
|
+ -moz-appearance: textfield !important;
|
|
}
|
|
|
|
+ #urlbar .autocomplete-textbox-container {
|
|
+ background-color: -moz-Field !important;
|
|
+ -moz-appearance: none !important;
|
|
+ }
|
|
+
|
|
+ #urlbar > .autocomplete-history-dropmarker {
|
|
+ -moz-appearance: toolbarbutton-dropdown !important;
|
|
+ margin: 0px 3px 0px 5px !important;
|
|
+ }
|
|
+
|
|
#wrapper-urlbar-container #urlbar {
|
|
-moz-user-input: disabled;
|
|
cursor: -moz-grab;
|
|
}
|
|
|
|
#PopupAutoComplete {
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#browser-autocomplete-result-popup");
|
|
}
|
|
|
|
#PopupAutoCompleteRichResult {
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#urlbar-rich-result-popup");
|
|
}
|
|
|
|
+ #PopupAutoCompleteRichResult .autocomplete-richlistitem
|
|
+ {
|
|
+ background: -moz-Field !important;
|
|
+ }
|
|
+
|
|
+ #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected="true"]
|
|
+ {
|
|
+ background: Highlight !important;
|
|
+ }
|
|
+
|
|
+ #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected="true"],
|
|
+ #PopupAutoCompleteRichResult .autocomplete-richlistitem[selected="true"] *
|
|
+ {
|
|
+ color: HighlightText !important;
|
|
+ }
|
|
+
|
|
+ .ac-title
|
|
+ {
|
|
+ color: -moz-Fieldtext !important;
|
|
+ }
|
|
+
|
|
+ #PopupAutoComplete .autocomplete-treebody {
|
|
+ background-color: -moz-Field !important;
|
|
+ color: -moz-Fieldtext !important;
|
|
+ }
|
|
+
|
|
+
|
|
#page-report-button:not([blocked]) {
|
|
display: none;
|
|
}
|
|
|
|
#urlbar-throbber:not([busy="true"]),
|
|
#urlbar-throbber[busy="true"] + #page-proxy-favicon {
|
|
display: none;
|
|
}
|
|
@@ -59,16 +104,31 @@ toolbarpaletteitem[place="palette"] > to
|
|
visibility: collapse;
|
|
}
|
|
|
|
#identity-box > hbox {
|
|
max-width: 22em;
|
|
min-width: 1px;
|
|
}
|
|
|
|
+/* Identity/Bookmark pop-up improvements */
|
|
+
|
|
+ #identity-popup-container {
|
|
+ -moz-appearance: dialog !important;
|
|
+ }
|
|
+
|
|
+ #editBookmarkPanel {
|
|
+ -moz-appearance: dialog !important;
|
|
+ }
|
|
+
|
|
+ #editBMPanel_foldersExpander, #editBMPanel_tagsSelectorExpander {
|
|
+ -moz-appearance: menulist-button !important;
|
|
+ }
|
|
+
|
|
+
|
|
/* ::::: Unified Back-/Forward Button ::::: */
|
|
#back-forward-dropmarker > image ,
|
|
#back-forward-dropmarker > label {
|
|
display: none;
|
|
}
|
|
.unified-nav-current {
|
|
font-weight: bold;
|
|
}
|
|
@@ -154,8 +214,18 @@ window[chromehidden~="toolbar"] toolbar:
|
|
display: inline-block;
|
|
}
|
|
%endif
|
|
|
|
/* Bug 483950 - Hide domain name in status bar pending removal */
|
|
#security-button > label {
|
|
display: none;
|
|
}
|
|
+
|
|
+
|
|
+/* Support for Fission add-on */
|
|
+
|
|
+#urlbar[fission="fusion"] > #statusbar-icon > .progress-bar {
|
|
+ background-color: Highlight !important;
|
|
+ -moz-appearance: progresschunk !important;
|
|
+ opacity: 0.4 !important;
|
|
+ margin: 1px !important;
|
|
+}
|