Bug 1387043 - Remove obsolete rules from browser/themes/osx/compacttheme.css. r?ntim draft
authorDão Gottwald <dao@mozilla.com>
Thu, 03 Aug 2017 15:37:09 +0200
changeset 620496 fe508424df690f3a7fda8f1aed3dd1ee8c3fb7b4
parent 620338 63e261ce8cb04c913d2e6b19ea451b7078d24dc1
child 640709 8f58775d16299c1eac1234d11193a851a211cf9d
push id72052
push userdgottwald@mozilla.com
push dateThu, 03 Aug 2017 13:37:45 +0000
reviewersntim
bugs1387043
milestone57.0a1
Bug 1387043 - Remove obsolete rules from browser/themes/osx/compacttheme.css. r?ntim MozReview-Commit-ID: DSanC17BM71
browser/themes/osx/compacttheme.css
--- a/browser/themes/osx/compacttheme.css
+++ b/browser/themes/osx/compacttheme.css
@@ -1,69 +1,11 @@
 % This Source Code Form is subject to the terms of the Mozilla Public
 % License, v. 2.0. If a copy of the MPL was not distributed with this
 % file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 %include ../shared/compacttheme.inc.css
 
-/* Use only 1px separator between nav toolbox and page content */
-#navigator-toolbox::after {
-  border-top-style: none;
-  margin-top: -1px;
-}
-
-/* Include extra space on left/right for dragging since there is no space above
-   the tabs */
-#main-window[tabsintitlebar] #TabsToolbar {
-  padding-left: 50px;
-  padding-right: 50px;
-  margin-bottom: 0; /* Don't overlap the inner highlight at the top of the nav-bar */
-}
-
-/* Don't use the default background for tabs toolbar */
-#TabsToolbar {
-  -moz-appearance: none !important;
-}
-
 /* Get rid of 1px bright strip at the top of window */
 #main-window[tabsintitlebar] #titlebar-content {
   background: var(--chrome-background-color);
 }
 
-%ifndef MOZ_PHOTON_THEME
-/* Resize things so that the native titlebar is in line with the tabs */
-#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
-#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button {
-  margin-top: 6px;
-}
-%endif
-/* Prevent the hover styling from on the identity icon from overlapping the
-   urlbar border. */
-#identity-box {
-  margin-top: -1px !important;
-  margin-bottom: -1px !important;
-  padding-top: 3px !important;
-  padding-bottom: 3px !important;
-}
-
-#PanelUI-button {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-
-.findbar-closebutton:-moz-lwtheme-brighttext:not(:hover),
-/* Tab styling - make sure to use an inverted icon for the selected tab
-   (brighttext only covers the unselected tabs) */
-.tab-close-button[selected=true]:not(:hover) {
-  -moz-image-region: rect(0, 64px, 16px, 48px);
-}
-@media (min-resolution: 2dppx) {
-  .findbar-closebutton:-moz-lwtheme-brighttext :not(:hover),
-  .tab-close-button[selected=true]:not(:hover) {
-    -moz-image-region: rect(0, 128px, 32px, 96px);
-  }
-}
-
-.ac-type-icon {
-  /* Left-align the type icon in awesomebar popup results with the icon in the
-     urlbar. */
-  margin-inline-start: 14px;
-}