Bug 1392222 - Update sidebar background on Linux. r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Mon, 21 Aug 2017 15:56:36 +0530
changeset 649792 02da5d3fe3ce33c04d8b6449a52dfcba721435cb
parent 648260 04bee69b3274bd8d5cf52d54a0a5cc14dbe8693a
child 727199 912368f31532cd3272271c0cbba305a2ca49c824
push id75161
push usernhnt11@gmail.com
push dateMon, 21 Aug 2017 10:27:10 +0000
reviewersdao
bugs1392222
milestone57.0a1
Bug 1392222 - Update sidebar background on Linux. r=dao MozReview-Commit-ID: FGALbnmyyLd
browser/themes/linux/browser.css
browser/themes/linux/places/places.css
toolkit/themes/linux/global/global.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -648,18 +648,19 @@ html|span.ac-emphasize-text-url {
 #editBMPanel_folderTree {
   min-width: 27em;
 }
 
 /* Content area */
 
 %include ../shared/sidebar.inc.css
 
-#sidebar {
-  background-color: Window;
+#sidebar-box {
+  background-color: -moz-Field;
+  color: -moz-FieldText;
 }
 
 #sidebar-header {
   border-bottom: 1px solid ThreeDShadow;
 }
 
 .sidebar-splitter {
   border-color: ThreeDShadow;
--- a/browser/themes/linux/places/places.css
+++ b/browser/themes/linux/places/places.css
@@ -1,14 +1,19 @@
 /* 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/. */
 
 /* Sidebars */
 
+:root {
+  -moz-appearance: none;
+  background-color: transparent;
+}
+
 #sidebar-search-container {
   padding: 4px;
 }
 
 #search-box {
   margin: 0;
 }
 
--- a/toolkit/themes/linux/global/global.css
+++ b/toolkit/themes/linux/global/global.css
@@ -121,18 +121,16 @@ statusbarpanel {
 .statusbarpanel-menu-iconic {
   padding: 0 1px;
 }
 
 /* XXXBlake yeah, shoot me -- these don't belong here.  I'll move them later. */
 
 sidebarheader {
   min-height: 25px;
-  background-color: -moz-Dialog;
-  color: -moz-dialogText;
   text-shadow: none;
 }
 
 sidebarheader > label {
   padding-inline-start: 4px;
 }
 
 .toolbar-focustarget {
@@ -160,33 +158,33 @@ statusbarpanel:-moz-lwtheme {
 }
 
 .inset {
   border: 1px solid ThreeDShadow;
   border-right-color: ThreeDHighlight;
   border-bottom-color: ThreeDHighlight;
   margin: 0 5px 5px;
 }
-  
+
 .outset {
   border: 1px solid ThreeDShadow;
   border-left-color: ThreeDHighlight;
   border-top-color: ThreeDHighlight;
 }
 
 separator:not([orient="vertical"]) {
   height: 1.5em;
 }
 separator[orient="vertical"] {
   width: 1.5em;
 }
 
 separator.thin:not([orient="vertical"]) {
   height: 0.5em;
-}  
+}
 separator.thin[orient="vertical"] {
   width: 0.5em;
 }
 
 separator.groove:not([orient="vertical"]) {
   border-top: 1px solid ThreeDShadow;
   border-bottom: 1px solid ThreeDHighlight;
   height: 0;
@@ -199,17 +197,17 @@ separator.groove[orient="vertical"] {
   width: 0;
   margin-left: 0.4em;
   margin-right: 0.4em;
 }
 
 .small-margin {
   margin: 1px 2px;
 }
-    
+
 .plain {
   -moz-appearance: none;
   margin: 0 !important;
   border: none;
   padding: 0;
 }
 
 description,
@@ -300,9 +298,9 @@ popupnotificationcontent {
 }
 
 .autoscroller[scrolldir="EW"] {
   background-position: right bottom;
 }
 
 /* :::::: Close button icons ::::: */
 
-%include ../../shared/close-icon.inc.css
\ No newline at end of file
+%include ../../shared/close-icon.inc.css