Bug 1376893 - Don't display the disabled reload button with less opacity since it is only disabled temporarily and causes flickering in the UI. r?johannh
MozReview-Commit-ID: FHbzB54SSqC
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -423,16 +423,24 @@ toolbar:not(#TabsToolbar) > #personal-bo
display: -moz-box;
}
#reload-button:not([displaystop]) + #stop-button,
#reload-button[displaystop] {
visibility: collapse;
}
+/* The reload-button is only disabled temporarily when it becomes visible
+ to prevent users from accidentally clicking it. We don't however need
+ to show this disabled state, as the flicker that it generates is short
+ enough to be visible but not long enough to explain anything to users. */
+#reload-button[disabled]:not(:-moz-window-inactive) > .toolbarbutton-icon {
+ opacity: 1 !important;
+}
+
#PanelUI-feeds > .feed-toolbarbutton:-moz-locale-dir(rtl) {
direction: rtl;
}
#panelMenu_bookmarksMenu > .bookmark-item {
max-width: none;
}