Bug 1354145 - remove dashed outlines for customization targets for photon, r?mikedeboer draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 27 Jun 2017 13:18:52 +0100
changeset 601988 92598ff6f3b62b78b2334623e7166acecd92b432
parent 601987 fa2066f3eb487b3e7ceefa3f0ee76dc774f35020
child 601989 2ecb386fb4112f7ee6e49534e9ae8aaad6aee6fb
push id66228
push usergijskruitbosch@gmail.com
push dateThu, 29 Jun 2017 08:56:09 +0000
reviewersmikedeboer
bugs1354145
milestone56.0a1
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;