Bug 1291049 - remove chrome urls from common.css draft
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 11 Oct 2016 22:06:51 +0200
changeset 423863 8532f9f90bb51c9040ba19d45c451df8ab977604
parent 423862 37332fcb08c1b3650cbc55771b08b046b7ddd7fe
child 423864 af1c6e870a0476c1835cdf058669eb3c004e0933
child 423867 bf7796062fb48fa6f4b6ea88d85069940313f556
push id32011
push userjdescottes@mozilla.com
push dateTue, 11 Oct 2016 20:09:36 +0000
bugs1291049
milestone52.0a1
Bug 1291049 - remove chrome urls from common.css MozReview-Commit-ID: 64r6ShX24VZ
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -342,25 +342,25 @@ checkbox:-moz-focusring {
 
 .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
   margin-inline-end: 4px;
 }
 
 .devtools-menulist > .menulist-dropmarker {
   -moz-appearance: none;
   display: -moz-box;
-  list-style-image: url("chrome://devtools/skin/images/dropmarker.svg");
+  list-style-image: url(images/dropmarker.svg);
   -moz-box-align: center;
   min-width: 16px;
 }
 
 .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
 .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
   -moz-appearance: none !important;
-  list-style-image: url("chrome://devtools/skin/images/dropmarker.svg");
+  list-style-image: url(images/dropmarker.svg);
   -moz-box-align: center;
   padding: 0 3px;
 }
 
 /* Icon-only buttons */
 .devtools-button:empty::before,
 .devtools-toolbarbutton:not([label]):not([disabled]) > image {
   opacity: 0.8;
@@ -445,17 +445,17 @@ checkbox:-moz-focusring {
 }
 .theme-light .devtools-toolbarbutton:not([disabled])[label][checked=true],
 .theme-light .devtools-toolbarbutton:not([disabled])[label][open],
 .theme-light .devtools-button:not(:empty)[checked=true] {
   background: rgba(76, 158, 217, .3); /* Select highlight blue */
 }
 
 :root {
-  --clear-icon-url: url("chrome://devtools/skin/images/clear.svg");
+  --clear-icon-url: url(images/clear.svg);
 }
 
 .devtools-button.devtools-clear-icon::before {
   background-image: var(--clear-icon-url);
 }
 
 .devtools-button.devtools-filter-icon::before {
   background-image: var(--filter-image);
@@ -657,40 +657,40 @@ checkbox:-moz-focusring {
 }
 
 .devtools-searchinput-clear:dir(rtl) {
   right: unset;
   left: 7px;
 }
 
 .theme-dark .devtools-searchinput-clear {
-  background-image: url("chrome://devtools/skin/images/search-clear-dark.svg");
+  background-image: url(images/search-clear-dark.svg);
 }
 
 .theme-light .devtools-searchinput-clear {
-  background-image: url("chrome://devtools/skin/images/search-clear-light.svg");
+  background-image: url(images/search-clear-light.svg);
 }
 
 .devtools-style-searchbox-no-match + .devtools-searchinput-clear {
-  background-image: url("chrome://devtools/skin/images/search-clear-failed.svg") !important;
+  background-image: url(images/search-clear-failed.svg) !important;
 }
 
 .devtools-searchinput-clear:hover {
   background-position: -16px 0;
 }
 
 .theme-dark .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear,
 .theme-dark .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
-  list-style-image: url("chrome://devtools/skin/images/search-clear-dark.svg");
+  list-style-image: url(images/search-clear-dark.svg);
   -moz-image-region: rect(0, 16px, 16px, 0);
 }
 
 .theme-light .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear,
 .theme-light .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
-  list-style-image: url("chrome://devtools/skin/images/search-clear-light.svg");
+  list-style-image: url(images/search-clear-light.svg);
   -moz-image-region: rect(0, 16px, 16px, 0);
 }
 
 .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear,
 .devtools-filterinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
   margin-bottom: 0;
 }
 
@@ -699,17 +699,17 @@ checkbox:-moz-focusring {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
 /* Twisty and checkbox controls */
 .theme-twisty, .theme-checkbox {
   width: 14px;
   height: 14px;
   background-repeat: no-repeat;
-  background-image: url("chrome://devtools/skin/images/controls.png");
+  background-image: url(images/controls.png);
   background-size: 56px 28px;
 }
 
 .theme-twisty {
   cursor: pointer;
   background-position: 0 -14px;
 }
 
@@ -750,17 +750,17 @@ checkbox:-moz-focusring {
 }
 
 .theme-checkbox[checked] {
   background-position: -42px 0;
 }
 
 @media (min-resolution: 1.1dppx) {
   .theme-twisty, .theme-checkbox {
-    background-image: url("chrome://devtools/skin/images/controls@2x.png");
+    background-image: url(images/controls@2x.png);
   }
 }
 
 /* Throbbers */
 .devtools-throbber::before {
   content: "";
   display: inline-block;
   vertical-align: bottom;