Bug 1302405 - Remove special styling for non-default Windows themes from panelUI.css. r=gijs
authorDão Gottwald <dao@mozilla.com>
Tue, 13 Sep 2016 20:15:51 +0200
changeset 357175 361caf6a23991b7b1e5a4e868ea675d67859ae4d
parent 357174 c4e8525415a07b7ea6c2ac9c8a190c0dee4f2144
child 357176 16c9625e4fa1c30aee3acb99912bb220b9b7e7d4
push id1324
push usermtabara@mozilla.com
push dateMon, 16 Jan 2017 13:07:44 +0000
treeherdermozilla-release@a01c49833940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1302405
milestone51.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 1302405 - Remove special styling for non-default Windows themes from panelUI.css. r=gijs
browser/themes/windows/customizableui/panelUI.css
--- a/browser/themes/windows/customizableui/panelUI.css
+++ b/browser/themes/windows/customizableui/panelUI.css
@@ -143,104 +143,8 @@ menu.subviewbutton > .menu-right:-moz-lo
       #edit-controls@inAnyPanel@ > toolbarbutton,
       #zoom-controls@inAnyPanel@ > toolbarbutton {
         border-radius: 0;
       }
     }
   }
 }
 
-@media not all and (-moz-windows-default-theme) {
-  #edit-controls@inAnyPanel@ > #copy-button,
-  #zoom-controls@inAnyPanel@ > #zoom-reset-button,
-  .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton {
-    border: 1px solid transparent;
-  }
-
-  panelview .toolbarbutton-1@buttonStateHover@,
-  .widget-overflow-list .toolbarbutton-1@buttonStateHover@,
-  .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton@buttonStateHover@ {
-    border-color: ThreeDLightShadow !important;
-  }
-
-  toolbarbutton.subviewbutton@buttonStateHover@,
-  menu.subviewbutton@menuStateHover@,
-  menuitem.subviewbutton@menuStateHover@ {
-    border-color: Highlight;
-  }
-
-  panelview:not(#PanelUI-mainView) .toolbarbutton-1@buttonStateHover@,
-  toolbarbutton.subviewbutton@buttonStateHover@,
-  menu.subviewbutton@menuStateHover@,
-  menuitem.subviewbutton@menuStateHover@,
-  .widget-overflow-list .toolbarbutton-1@buttonStateHover@ {
-    background-color: Highlight;
-    color: highlighttext;
-  }
-
-  panelview .toolbarbutton-1:-moz-any(@buttonStateActive@,[checked=true]),
-  toolbarbutton.subviewbutton@buttonStateActive@,
-  menu.subviewbutton@menuStateActive@,
-  menuitem.subviewbutton@menuStateActive@,
-  .widget-overflow-list .toolbarbutton-1@buttonStateActive@,
-  .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton@buttonStateActive@ {
-    background-color: Highlight;
-    border-color: ThreeDLightShadow;
-    color: highlighttext;
-    box-shadow: none;
-  }
-
-  panelview .toolbarbutton-1[disabled],
-  toolbarbutton.subviewbutton[disabled],
-  menu.subviewbutton[disabled],
-  menuitem.subviewbutton[disabled],
-  .widget-overflow-list .toolbarbutton-1[disabled],
-  .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton[disabled] {
-    text-shadow: none;
-  }
-
-  #PanelUI-fxa-label,
-  #PanelUI-help,
-  #PanelUI-customize {
-    border: 1px solid transparent;
-  }
-
-  #PanelUI-fxa-label:not([disabled]):hover,
-  #PanelUI-help:not([disabled]):hover,
-  #PanelUI-customize:hover,
-  #PanelUI-fxa-label:not([disabled]):hover:active,
-  #PanelUI-help:not([disabled]):hover:active,
-  #PanelUI-customize:hover:active {
-    border-color: ThreeDLightShadow;
-    box-shadow: none;
-  }
-
-  #BMB_bookmarksPopup .menu-text,
-  #BMB_bookmarksPopup menupopup {
-    color: -moz-FieldText;
-  }
-
-  #BMB_bookmarksPopup .subviewbutton[disabled=true] > .menu-text {
-    color: GrayText;
-  }
-
-  #BMB_bookmarksPopup menupopup[placespopup=true] > hbox {
-    box-shadow: none;
-    background: -moz-field;
-    border: 1px solid ThreeDShadow;
-  }
-
-  .subviewbutton.panel-subview-footer,
-  #BMB_bookmarksPopup .subviewbutton.panel-subview-footer {
-    color: ButtonText;
-  }
-
-  .subviewbutton@menuStateMenuActive@,
-  menuitem.panel-subview-footer@menuStateHover@,
-  .subviewbutton.panel-subview-footer@buttonStateHover@,
-  .subviewbutton.panel-subview-footer@buttonStateActive@,
-  .subviewbutton@menuStateHover@ > .menu-accel-container,
-  .PanelUI-subView .subviewbutton[shortcut]@buttonStateHover@::after,
-  #BMB_bookmarksPopup .panel-subview-footer@menuStateMenuActive@ > .menu-text {
-    background-color: Highlight;
-    color: highlighttext !important;
-  }
-}