From 3ad70d91dcb075d32c55eeba7ba75d15a7fcb187 Mon Sep 17 00:00:00 2001 From: Antonius32 Date: Sat, 21 Nov 2015 21:09:56 +0100 Subject: Add a "History Menu button" to the Navigation toolbar --- browser/themes/linux/browser.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'browser/themes/linux') diff --git a/browser/themes/linux/browser.css b/browser/themes/linux/browser.css index 74f942442..6e400bb7b 100644 --- a/browser/themes/linux/browser.css +++ b/browser/themes/linux/browser.css @@ -634,10 +634,15 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(0px 24px 24px 0px); } -#history-button { +#history-button, +#history-menu-button { -moz-image-region: rect(0px 48px 24px 24px); } +#history-menu-button.toolbarbutton-1 { + -moz-box-orient: horizontal; +} + #bookmarks-button, #bookmarks-menu-button { -moz-image-region: rect(0px 72px 24px 48px); @@ -800,7 +805,8 @@ toolbar[iconsize="small"] #downloads-button { } toolbar[iconsize="small"] #webrtc-status-button /* temporary placeholder (bug 824825) */, -toolbar[iconsize="small"] #history-button { +toolbar[iconsize="small"] #history-button, +toolbar[iconsize=small] > #history-menu-button { -moz-image-region: rect(0px 32px 16px 16px); } @@ -1538,6 +1544,16 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- opacity: .4; } +/* history menu-button */ + +#history-menu-button[disabled] > .toolbarbutton-icon, +#history-menu-button[disabled] > .toolbarbutton-menu-dropmarker, +#history-menu-button[disabled] > .toolbarbutton-menubutton-dropmarker, +#history-menu-button[disabled] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#history-menu-button > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + /* Bookmarking panel */ #editBookmarkPanelStarIcon { list-style-image: url("chrome://browser/skin/places/starred48.png"); -- cgit v1.2.3