Bug 924201 - urlbar-container should not have separators drawn between its toolbar buttons on OS X. r=Gijs.
authorMike Conley <mconley@mozilla.com>
Mon, 07 Oct 2013 16:20:32 -0400
changeset 170395 b6b9e744baebe0e9bff937ce9e0b6f3139067ecd
parent 170394 646cc8771af8b97f9dd07f607d8faf82b7558c20
child 170396 ffbb0944e1de21bedbcd39d507f3a98bd7cb871a
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs924201
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 924201 - urlbar-container should not have separators drawn between its toolbar buttons on OS X. r=Gijs.
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -386,18 +386,24 @@ toolbarbutton.bookmark-item > menupopup 
   margin: 0;
 }
 
 .toolbarbutton-1,
 #restore-button {
   margin: 0 4px;
 }
 
+/**
+ * Draw seperators before toolbar button dropmarkers, as well as between
+ * consecutive toolbarbutton-1's within a toolbaritem. We special-case
+ * the urlbar-container, since the back and forward buttons certainly do
+ * not need a separator between them.
+ */
 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker::before,
-#nav-bar toolbaritem > .toolbarbutton-1 + .toolbarbutton-1::before {
+#nav-bar toolbaritem:not(#urlbar-container) > .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);