first part of syncing LCARStrek with Firefox 49/50 devtools theme changes
[themes.git] / LCARStrek / devtools / netmonitor.css
index fe378ec64c552ea40abeeee1ea1e07a9d42a9c20..4fc5be8d7c77dfd9c57236ba8a6fd6b7454963d8 100644 (file)
@@ -7,8 +7,6 @@ window {
   padding: 0;
 }
 
-/* === BEGIN netmonitor.inc.css === */
-
 :root.theme-dark,
 :root.theme-light {
   --table-splitter-color: #A09090;
@@ -18,7 +16,7 @@ window {
   --timing-dns-color: #E7ADE7; /* pink */
   --timing-connect-color: #FF9F00; /* orange */
   --timing-send-color: #FFCF00; /* light blue */
-  --timig-wait-color: #9C9CFF; /* blue grey */
+  --timing-wait-color: #9C9CFF; /* blue grey */
   --timing-receive-color: #A09090; /* green */
 
   --sort-ascending-image: url(chrome://devtools/skin/images/sort-arrows.svg#ascending);
@@ -42,6 +40,13 @@ window {
   list-style-image: url("images/profiler-stopwatch.svg");
 }
 
+/* Make sure the icon is visible on Linux (to overwrite a rule
+  in xul.css that hides the icon if there is no label.
+  See also bug 1278050. */
+#requests-menu-perf-notice-button .button-icon {
+  display: block;
+}
+
 #requests-menu-perf-notice-button .button-text {
   display: none;
 }
@@ -49,7 +54,6 @@ window {
 #requests-menu-reload-notice-button {
   min-height: 26px;
   margin: 0;
-  background-color: var(--theme-toolbar-background);
 }
 
 /* Network requests table */
@@ -74,8 +78,8 @@ window {
 .requests-menu-header-button {
   background-color: transparent;
   border-image: linear-gradient(transparent 15%,
-                                var(--theme-splitter-color) 15%,
-                                var(--theme-splitter-color) 85%,
+                                var(--theme-toolbar-background) 15%,
+                                var(--theme-toolbar-background) 85%,
                                 transparent 85%) 1 1;
   border-style: solid;
   border-width: 0;
@@ -173,7 +177,7 @@ window {
   width: calc(1em + 4px);
   height: calc(1em + 4px);
   margin: -4px 0px;
-  -moz-margin-end: 4px;
+  margin-inline-end: 4px;
 }
 
 .requests-menu-icon {
@@ -187,7 +191,7 @@ window {
 .requests-security-state-icon {
   width: 16px;
   height: 16px;
-  -moz-margin-end: 4px;
+  margin-inline-end: 4px;
   cursor: pointer;
 }
 
@@ -218,6 +222,24 @@ window {
   width: 8vw;
 }
 
+.requests-menu-cause {
+  max-width: 8em;
+  width: 8vw;
+}
+
+.requests-menu-cause-stack {
+  background-color: var(--theme-body-color-alt);
+  color: var(--theme-body-background);
+  font-size: 8px;
+  font-weight: bold;
+  line-height: 10px;
+  border-radius: 3px;
+  padding: 0 2px;
+  margin: 0;
+  margin-inline-end: 3px;
+  -moz-user-select: none;
+}
+
 .requests-menu-transferred {
   max-width: 8em;
   text-align: center;
@@ -227,17 +249,17 @@ window {
 /* Network requests table: status codes */
 
 .requests-menu-status-code {
-  -moz-margin-start: 3px !important;
+  margin-inline-start: 3px !important;
   width: 3em;
-  -moz-margin-end: -3em !important;
+  margin-inline-end: -3em !important;
 }
 
 .requests-menu-status-icon {
   background-color: #A09090;
   height: 10px;
   width: 10px;
-  -moz-margin-start: 5px;
-  -moz-margin-end: 5px;
+  margin-inline-start: 5px;
+  margin-inline-end: 5px;
   border-radius: 20px;
   border: 1px solid #000000;
   transition: background-color 0.5s ease-in-out;
@@ -332,8 +354,8 @@ window {
 /* Network requests table: waterfall items */
 
 .requests-menu-subitem.requests-menu-waterfall {
-  -moz-padding-start: 0px;
-  -moz-padding-end: 4px;
+  padding-inline-start: 0px;
+  padding-inline-end: 4px;
   /* Background created on a <canvas> in js. */
   /* @see devtools/client/netmonitor/netmonitor-view.js */
   background-image: -moz-element(#waterfall-background);
@@ -362,7 +384,7 @@ window {
 }
 
 .requests-menu-timings-total {
-  -moz-padding-start: 4px;
+  padding-inline-start: 4px;
   font-size: 85%;
   font-weight: 600;
 }
@@ -429,7 +451,7 @@ window {
   list-style-image: var(--theme-pane-collapse-image);
 }
 
-#details-pane-toggle[pane-collapsed] {
+#details-pane-toggle.pane-collapsed {
   list-style-image: var(--theme-pane-expand-image);
 }
 
@@ -454,14 +476,14 @@ window {
 }
 
 .tabpanel-summary-label {
-  -moz-padding-start: 4px;
-  -moz-padding-end: 3px;
+  padding-inline-start: 4px;
+  padding-inline-end: 3px;
   font-weight: 600;
 }
 
 .tabpanel-summary-value {
   color: inherit;
-  -moz-padding-start: 3px;
+  padding-inline-start: 3px;
 }
 
 /* Headers tabpanel */
@@ -477,12 +499,12 @@ window {
 
 #headers-summary-resend {
   margin-top: -10px;
-  -moz-margin-end: 6px;
+  margin-inline-end: 6px;
 }
 
 #toggle-raw-headers {
   margin-top: -10px;
-  -moz-margin-end: 6px;
+  margin-inline-end: 6px;
 }
 
 .raw-response-textarea {
@@ -539,7 +561,7 @@ window {
 /* Security tabpanel */
 
 .security-info-section {
-  -moz-padding-start: 1em;
+  padding-inline-start: 1em;
 }
 
 #security-tabpanel {
@@ -549,7 +571,7 @@ window {
 .security-warning-icon {
   background-image: url("images/alerticon-warning.png");
   background-size: 13px 12px;
-  -moz-margin-start: 5px;
+  margin-inline-start: 5px;
   vertical-align: top;
   width: 13px;
   height: 12px;
@@ -589,6 +611,8 @@ window {
   padding: 0 5px;
   margin: 2px;
   color: var(--theme-body-color);*/
+  margin-top: 0;
+  margin-bottom: 0;
 }
 
 .requests-menu-filter-button:hover {
@@ -602,13 +626,10 @@ window {
 /* Performance analysis buttons */
 
 #requests-menu-network-summary-button {
-  background: none;
   box-shadow: none;
   border-color: transparent;
-  list-style-image: url("images/profiler-stopwatch.svg");
-  -moz-padding-end: 0;
+  list-style-image: url("images/profiler-stopwatch-tbutton.svg");
   cursor: pointer;
-  margin-inline-end: 1em;
   min-width: 0;
 }
 
@@ -631,7 +652,7 @@ window {
   border-radius: 0;
   border-top: none;
   border-bottom: none;
-  -moz-border-start: none;
+  border-inline-start: none;
 }
 
 #network-statistics-view-splitter {
@@ -649,13 +670,13 @@ window {
 }
 
 #network-statistics-charts .pie-chart-container {
-  -moz-margin-start: 3vw;
-  -moz-margin-end: 1vw;
+  margin-inline-start: 3vw;
+  margin-inline-end: 1vw;
 }
 
 #network-statistics-charts .table-chart-container {
-  -moz-margin-start: 1vw;
-  -moz-margin-end: 3vw;
+  margin-inline-start: 1vw;
+  margin-inline-end: 3vw;
 }
 
 .chart-colored-blob[name=html] {