first part of syncing LCARStrek with Firefox 49/50 windows theme changes
[themes.git] / LCARStrek / devtools / common.css
index 0237525bbf332c2d3095ec614acb496d61f54b93..aead269a0b3aaadebb107ea3078d60e97f556749 100644 (file)
@@ -3,6 +3,8 @@
  * 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/. */
 
+@import url("splitters.css");
+
 /* LCARS-specific rules that should be limited to toolbox but there's no other place to put them */
 window {
   padding: 0;
@@ -26,43 +28,8 @@ notification {
   font-size: var(--monospace-font-size);
 }
 
-/* Bottom-docked toolbox minimize transition */
-.devtools-toolbox-bottom-iframe {
-  transition: margin-bottom .1s;
-}
-
-/* Splitters */
-
-.devtools-horizontal-splitter {
-  min-height: 3px;
-  height: 3px;
-  position: relative;
-}
-
-#devtools-side-splitter {
-  min-width: 0;
-  width: 3px;
-  border: none;
-  margin: 0 3px;
-  position: relative;
-  cursor: e-resize;
-}
-
-.devtools-horizontal-splitter.disabled,
-.devtools-side-splitter.disabled {
-  pointer-events: none;
-}
-
-/* In-tools sidebar */
-
-.devtools-toolbox-side-iframe {
-  min-width: 465px;
-}
-
-/* === BEGIN common.inc.css === */
 
 /* Autocomplete Popup */
-/* Dark and light theme */
 
 .devtools-autocomplete-popup {
   border-radius: 3px;
@@ -122,47 +89,26 @@ notification {
 .devtools-autocomplete-popup.light-theme {
 }
 
+.devtools-autocomplete-listbox.firebug-theme > richlistitem[selected],
+.devtools-autocomplete-listbox.firebug-theme > richlistitem:hover,
 .devtools-autocomplete-listbox.light-theme > richlistitem[selected],
 .devtools-autocomplete-listbox.light-theme > richlistitem:hover {
 /*  background-color: rgba(128,128,128,0.3); */
 }
 
+.devtools-autocomplete-listbox.firebug-theme > richlistitem[selected] > .autocomplete-value,
+.devtools-autocomplete-listbox:focus.firebug-theme > richlistitem[selected] > .initial-value,
 .devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
 .devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
 /*  color: #222;*/
 }
 
+.devtools-autocomplete-listbox.firebug-theme > richlistitem > label,
 .devtools-autocomplete-listbox.light-theme > richlistitem > label {
 /*  color: #666;*/
 }
 
-/* Responsive container */
-
-.devtools-responsive-container {
-  -moz-box-orient: horizontal;
-}
-
-@media (max-width: 700px) {
-  .devtools-responsive-container {
-    -moz-box-orient: vertical;
-  }
-
-  .devtools-responsive-container > .devtools-side-splitter {
-    border: 0;
-    margin: 3px 0;
-    min-height: 3px;
-    height: 3px;
-    /* In some edge case the cursor is not changed to n-resize */
-    cursor: n-resize;
-  }
-
-  .devtools-responsive-container > .devtools-sidebar-tabs {
-    min-height: 35vh;
-    max-height: 75vh;
-  }
-}
-
-/* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
+/* Tooltip widget (see devtools/client/shared/widgets/Tooltip.js) */
 
 .devtools-tooltip.devtools-tooltip-tooltip {
   /* If the tooltip uses a <tooltip> XUL element */
@@ -172,7 +118,6 @@ notification {
 }
 
 .devtools-tooltip .panel-arrowcontent {
-  /* If the tooltip uses a <panel> XUL element instead */
   padding: 4px;
 }
 
@@ -213,23 +158,6 @@ notification {
 /* Tooltip: Simple Text */
 
 .devtools-tooltip-simple-text {
-  background: #000000;
-  max-width: 400px;
-  margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
-  padding: 8px 12px;
-  white-space: pre-wrap;
-}
-
-.devtools-tooltip-simple-text:first-child {
-  margin-top: -4px;
-}
-
-.devtools-tooltip-simple-text:last-child {
-  margin-bottom: -4px;
-}
-
-.devtools-tooltip-simple-text {
-  background-color: #000000;
   max-width: 400px;
   margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
   padding: 8px 12px;
@@ -250,7 +178,7 @@ notification {
   width: 32px;
   height: 32px;
   margin: 6px;
-  -moz-margin-end: 20px;
+  margin-inline-end: 20px;
 }
 
 .devtools-tooltip-alert-icon {
@@ -264,7 +192,7 @@ notification {
 }
 
 .devtools-tooltip-variables-view-box .variable-or-property > .title {
-  -moz-padding-end: 6px;
+  padding-inline-end: 6px;
 }
 
 /* Tooltip: Tiles */
@@ -282,27 +210,7 @@ notification {
   background: transparent;
 }
 
-/* Eyedropper Widget */
-
-.devtools-eyedropper-panel {
-  pointer-events: none;
-  -moz-appearance: none;
-  width: 156px;
-  height: 120px;
-  background-color: transparent;
-  border: none;
-  padding: 0;
-}
-
-#color-value {
-  color: #FF9F00;
-}
-
-#color-value.highlight {
-  color: #FFCF00;
-}
-
-/* Links to source code, like displaying `myfile.js:45` */
+/* links to source code, like displaying `myfile.js:45` */
 
 .devtools-source-link {
   font-family: var(--monospace-font-family);
@@ -310,7 +218,6 @@ notification {
   cursor: pointer;
   white-space: nowrap;
   display: flex;
-  align-self: flex-start;
   text-decoration: none;
   font-size: 11px;
   width: 12em; /* probably should be changed for each tool */
@@ -333,5 +240,3 @@ notification {
   margin: 2px 0px;
   cursor: pointer;
 }
-
-/* === END common.inc.css === */