From db29970e3eae9c90636e83b6d03446287809221c Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Tue, 10 Sep 2013 12:59:38 -0400 Subject: [PATCH] Bug 859776 - Apply the Australis toolbar button design to split buttons on OS X. r=mconley --- browser/themes/osx/browser.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/browser/themes/osx/browser.css b/browser/themes/osx/browser.css index 7425b6744ca1..25309b85974e 100644 --- a/browser/themes/osx/browser.css +++ b/browser/themes/osx/browser.css @@ -402,6 +402,27 @@ toolbarbutton.bookmark-item > menupopup { margin: 0 4px; } +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker::before, +#nav-bar toolbaritem > .toolbarbutton-1 + .toolbarbutton-1::before { + content: ""; + display: -moz-box; + position: absolute; + top: calc(50% - 9px); + width: 1px; + height: 18px; + -moz-margin-end: -1px; + background-image: linear-gradient(hsla(210,54%,20%,.2) 0, hsla(210,54%,20%,.2) 18px); + background-clip: padding-box; + background-position: center; + background-repeat: no-repeat; + background-size: 1px 18px; + box-shadow: 0 0 0 1px hsla(0,0%,100%,.2); +} + +#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + -moz-margin-start: 10px; +} + @media not all and (min-resolution: 2dppx) { %include ../shared/toolbarbuttons.inc.css %include ../shared/menupanel.inc.css