Bug 1354145 - remove dashed outlines for customization targets for photon, r=mikedeboer
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 27 Jun 2017 13:18:52 +0100
changeset 366580 0896f6d55565f5a9ff866520fbbe6e3b47b074f3
parent 366579 55fd64a8515a06c675feb11241bf3ffbf0a2640a
child 366581 518a396f9e783431fffad19b77cf83df44e0b5f8
push id45668
push usergijskruitbosch@gmail.com
push dateThu, 29 Jun 2017 09:04:56 +0000
treeherderautoland@99e8731d94f0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer
bugs1354145
milestone56.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 1354145 - remove dashed outlines for customization targets for photon, r=mikedeboer MozReview-Commit-ID: 9SeuqazFMQl
browser/themes/shared/customizableui/customizeMode.inc.css
--- a/browser/themes/shared/customizableui/customizeMode.inc.css
+++ b/browser/themes/shared/customizableui/customizeMode.inc.css
@@ -34,16 +34,17 @@
   margin-left: 2em;
   margin-right: 2em;
 }
 
 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
   pointer-events: none;
 }
 
+%ifndef MOZ_PHOTON_THEME
 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
 #PanelUI-contents > .panel-customization-placeholder {
   -moz-outline-radius: 2.5px;
   outline: 1px dashed transparent;
 }
 
 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
   /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
@@ -90,18 +91,19 @@
   transition: outline-color 250ms linear;
   outline-color: var(--panel-separator-color);
 }
 
 #PanelUI-contents > .panel-customization-placeholder {
   cursor: auto;
   outline-offset: -5px;
 }
+%endif
 
-#main-window[customizing] .customization-target:not(#PanelUI-contents) {
+#main-window[customizing] .customization-target:not(#PanelUI-contents):not(#widget-overflow-fixed-list) {
   min-width: 100px;
   padding-left: 10px;
   padding-right: 10px;
 }
 
 #customization-container {
   background-color: -moz-field;
   color: -moz-fieldText;