fifth and final part of synching LCARStrek with windows theme changes in Firefox...
[themes.git] / LCARStrek / browser / devtools / netmonitor.css
index 810cf2d2d0e7b0da86cba709452bf1295a3a8609..b1e7b189c049400896df2d673c4eebbc58098678 100644 (file)
@@ -7,13 +7,13 @@ window {
   padding: 0;
 }
 
   padding: 0;
 }
 
-/* Network requests table */
-
 #body {
   background-color: #000000;
 }
 
 #body {
   background-color: #000000;
 }
 
-.requests-menu-empty-notice {
+/* Network requests table */
+
+#requests-menu-empty-notice {
   background-color: #A09090;
   border-radius: 8px;
   padding: 12px;
   background-color: #A09090;
   border-radius: 8px;
   padding: 12px;
@@ -24,29 +24,117 @@ window {
 #requests-menu-toolbar {
 }
 
 #requests-menu-toolbar {
 }
 
-.requests-menu-header {
-  text-align: center;
+#requests-menu-toolbar > .toolbar-box > .toolbar-startcap,
+#requests-menu-toolbar > .toolbar-box > .toolbar-endcap {
+  display: none;
+}
+
+.requests-menu-header:first-child {
+  -moz-padding-start: 4px;
+  -moz-margin-start: 4px;
 }
 
 .requests-menu-subitem {
 }
 
 .requests-menu-subitem {
-  padding: 4px;
+  padding: 4px;
 }
 
 }
 
-.requests-menu-header:not(:last-of-type),
+.requests-menu-header:not(:last-child),
 .requests-menu-subitem:not(:last-child) {
   -moz-border-end: 1px solid #9C9CFF;
 }
 
 .requests-menu-subitem:not(:last-child) {
   -moz-border-end: 1px solid #9C9CFF;
 }
 
+.requests-menu-header-button,
+#requests-menu-status-button {
+  background-color: transparent;
+  border-radius: 0;
+  min-width: 20px;
+  margin: 0;
+  font-weight: inherit !important;
+  transition: background-color 0.1s ease-in-out;
+}
+
+.requests-menu-header-button > .button-box,
+#requests-menu-status-button > .button-box {
+  border-radius: 0;
+  -moz-padding-start: 0;
+  -moz-padding-end: 0;
+  border: 0;
+}
+
+.requests-menu-header-button:hover {
+  background-color: #FFCF00;
+}
+
+.requests-menu-header-button:hover:active {
+  background-color: #FF9F00;
+}
+
+.requests-menu-header-button:not(:active)[sorted] {
+  background-color: #008484;
+}
+
+.requests-menu-header-button:not(:active)[sorted=ascending] {
+  background-image: radial-gradient(farthest-side at center top, rgba(0,0,0,.7), rgba(0,0,0,0.3));
+  background-size: 100% 1px;
+  background-repeat: no-repeat;
+}
+
+.requests-menu-header-button:not(:active)[sorted=descending] {
+  background-image: radial-gradient(farthest-side at center bottom, rgba(0,0,0,.7), rgba(0,0,0,0.3));
+  background-size: 100% 1px;
+  background-repeat: no-repeat;
+  background-position: bottom;
+}
+
+#requests-menu-status-button {
+  border: none;
+}
+
+#requests-menu-status-button > .button-box {
+  padding: 0;
+}
+
+/* Network requests table: specific column dimensions */
+
 .requests-menu-status-and-method {
   width: 8em;
 }
 
 .requests-menu-status {
 .requests-menu-status-and-method {
   width: 8em;
 }
 
 .requests-menu-status {
-  background-color: #A09090;
   width: 10px;
   height: 10px;
   width: 10px;
   height: 10px;
-  -moz-margin-start: 4px;
-  -moz-margin-end: 2px;
+  margin: 0px 2px;
+}
+
+.requests-menu-method {
+  text-align: center;
+  font-weight: 600;
+}
+
+.requests-menu-file {
+  width: 16em;
+}
+
+.requests-menu-domain {
+  width: 16em;
+}
+
+.requests-menu-type {
+  text-align: center;
+  width: 4em;
+}
+
+.requests-menu-size {
+  text-align: center;
+  width: 8em;
+}
+
+/* Network requests table: status codes */
+
+.requests-menu-status {
+  background-color: #A09090;
+  -moz-margin-start: 5px;
+  -moz-margin-end: 5px;
   border-radius: 20px;
   border: 1px solid #000000;
   transition: background-color 0.5s ease-in-out;
   border-radius: 20px;
   border: 1px solid #000000;
   transition: background-color 0.5s ease-in-out;
@@ -72,58 +160,68 @@ window {
   background-color: #6000CF;
 }
 
   background-color: #6000CF;
 }
 
-.requests-menu-method {
-  text-align: center;
-  font-weight: 600;
-}
+/* Network requests table: waterfall header */
 
 
-.requests-menu-file {
-  width: 16em;
+#requests-menu-waterfall-label {
+  -moz-padding-start: 8px;
+  -moz-padding-end: 8px;
 }
 
 }
 
-.requests-menu-domain {
-  width: 16em;
+.requests-menu-timings-division {
+  width: 100px;
+  padding-top: 1px;
+  -moz-padding-start: 4px;
+  -moz-border-start: 1px dotted #000000;
+  font-size: 90%;
+  pointer-events: none;
 }
 
 }
 
-.requests-menu-type {
-  text-align: center;
-  width: 4em;
+.requests-menu-timings-division:not(:first-child) {
+  -moz-margin-start: -100px !important; /* Don't affect layout. */
 }
 
 }
 
-.requests-menu-size {
-  text-align: center;
-  width: 8em;
+.requests-menu-timings-division:-moz-locale-dir(ltr) {
+  transform-origin: left center;
 }
 
 }
 
-.requests-menu-header.requests-menu-waterfall {
-  -moz-padding-start: 8px;
-  -moz-padding-end: 8px;
-  text-align: center;
+.requests-menu-timings-division:-moz-locale-dir(rtl) {
+  transform-origin: right center;
 }
 
 }
 
-/* Network request waterfall */
+/* Network requests table: waterfall items */
 
 .requests-menu-subitem.requests-menu-waterfall {
   -moz-padding-start: 4px;
   -moz-padding-end: 4px;
 
 .requests-menu-subitem.requests-menu-waterfall {
   -moz-padding-start: 4px;
   -moz-padding-end: 4px;
-  background-size: 5px;
-  background-image:
-    -moz-linear-gradient(left,
-      transparent 25%,
-      rgba(156,156,255,0.1) 25%,
-      rgba(156,156,255,0.1) 75%,
-      transparent 75%);
+  background-repeat: repeat-y; /* Background created on a <canvas> in js. */
+  margin-top: -1px; /* Compensate borders. */
+  margin-bottom: -1px;
 }
 
 }
 
-.requests-menu-timings {
+.requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) {
+  background-position: right center;
+}
+
+.requests-menu-timings:-moz-locale-dir(ltr) {
+   transform-origin: left center;
+}
+
+.requests-menu-timings:-moz-locale-dir(rtl) {
+  transform-origin: right center;
+}
+
+.requests-menu-timings-total:-moz-locale-dir(ltr) {
   transform-origin: left center;
 }
 
   transform-origin: left center;
 }
 
+.requests-menu-timings-total:-moz-locale-dir(rtl) {
+  transform-origin: right center;
+}
+
 .requests-menu-timings-total {
   -moz-padding-start: 8px;
   font-size: 85%;
   font-weight: 600;
 .requests-menu-timings-total {
   -moz-padding-start: 8px;
   font-size: 85%;
   font-weight: 600;
-  transform-origin: left center;
 }
 
 .requests-menu-timings-cap {
 }
 
 .requests-menu-timings-cap {
@@ -134,16 +232,33 @@ window {
 
 .requests-menu-timings-cap.start {
   -moz-border-end: none;
 
 .requests-menu-timings-cap.start {
   -moz-border-end: none;
+}
+
+.requests-menu-timings-cap.end {
+  -moz-border-start: none;
+}
+
+.requests-menu-timings-cap.start:-moz-locale-dir(ltr) {
   border-radius: 4px 0 0 4px;
   transform-origin: right center;
 }
 
   border-radius: 4px 0 0 4px;
   transform-origin: right center;
 }
 
-.requests-menu-timings-cap.end {
+.requests-menu-timings-cap.start:-moz-locale-dir(rtl) {
   -moz-border-start: none;
   border-radius: 0 4px 4px 0;
   transform-origin: left center;
 }
 
   -moz-border-start: none;
   border-radius: 0 4px 4px 0;
   transform-origin: left center;
 }
 
+.requests-menu-timings-cap.end:-moz-locale-dir(ltr) {
+  border-radius: 0 4px 4px 0;
+  transform-origin: left center;
+}
+
+.requests-menu-timings-cap.end:-moz-locale-dir(rtl) {
+  border-radius: 4px 0 0 4px;
+  transform-origin: right center;
+}
+
 .requests-menu-timings-box {
   height: 10px;
   border-top: 1px solid #FFCF00;
 .requests-menu-timings-box {
   height: 10px;
   border-top: 1px solid #FFCF00;
@@ -180,6 +295,12 @@ window {
   background-color: #A09090;
 }
 
   background-color: #A09090;
 }
 
+/* SideMenuWidget */
+
+.side-menu-widget-container {
+  box-shadow: none !important;
+}
+
 .side-menu-widget-item:nth-child(even) {
   background: rgba(255,159,0,0.1);
 }
 .side-menu-widget-item:nth-child(even) {
   background: rgba(255,159,0,0.1);
 }
@@ -225,7 +346,6 @@ window {
 
 .tabpanel-summary-value {
   -moz-padding-start: 3px;
 
 .tabpanel-summary-value {
   -moz-padding-start: 3px;
-  font-family: "Liberation Mono", Consolas, "Courier New", monospace;
 }
 
 /* Headers tabpanel */
 }
 
 /* Headers tabpanel */
@@ -239,8 +359,20 @@ window {
   padding-top: 2px;
 }
 
   padding-top: 2px;
 }
 
+#headers-summary-resend {
+  margin: 0 6px;
+/*  min-height: 20px;*/
+}
+
 /* Response tabpanel */
 
 /* Response tabpanel */
 
+#response-content-info-header {
+  background-color: #A09090;
+  color: #000000;
+  margin: 0;
+  padding: 5px 8px;
+}
+
 #response-content-image-box {
   padding-top: 10px;
   padding-bottom: 10px;
 #response-content-image-box {
   padding-top: 10px;
   padding-bottom: 10px;
@@ -266,3 +398,121 @@ window {
 #timings-tabpanel .requests-menu-timings-total {
   transition: transform 0.2s ease-out;
 }
 #timings-tabpanel .requests-menu-timings-total {
   transition: transform 0.2s ease-out;
 }
+
+/* Custom request form */
+
+#custom-pane {
+  padding: 0.6em 0.5em;
+}
+
+.custom-header {
+  font-size: 1.1em;
+}
+
+.custom-section {
+  margin-top: 0.5em;
+}
+
+#custom-method-value {
+  width: 4.5em;
+}
+
+/* Footer */
+
+#requests-menu-footer {
+  border-top: 1px solid #9C9CFF;
+  padding-top: 3px;
+}
+
+.requests-menu-footer-button,
+.requests-menu-footer-label {
+  min-width: 1em;
+  margin: 0;
+  -moz-margin-end: 3px;
+  border: none;
+  padding: 0px 1.5vw;
+/*  color: #fff;*/
+}
+
+.requests-menu-footer-spacer {
+  min-width: 2px;
+}
+
+.requests-menu-footer-spacer,
+.requests-menu-footer-button {
+}
+
+.requests-menu-footer-button {
+}
+
+.requests-menu-footer-button:hover {
+}
+
+.requests-menu-footer-button:hover:active {
+}
+
+.requests-menu-footer-button:not(:active)[checked] {
+}
+
+.requests-menu-footer-label {
+  font-weight: 600;
+}
+
+/* Responsive sidebar */
+@media (max-width: 700px) {
+  #requests-menu-toolbar {
+    height: 24px;
+  }
+
+  .requests-menu-header-button {
+    min-height: 23px; /* Remaining 1px comes from border of the toolbar. */
+  }
+
+  .requests-menu-footer-button,
+  .requests-menu-footer-label {
+    padding: 0px 2vw;
+  }
+
+  #details-pane {
+    max-width: none;
+    margin: 0 !important;
+    /* To prevent all the margin hacks to hide the sidebar. */
+  }
+
+  .requests-menu-status-and-method {
+    width: 16vw;
+  }
+
+  .requests-menu-file,
+  .requests-menu-domain {
+    width: 30vw;
+  }
+
+  .requests-menu-type {
+    width: 8vw;
+  }
+
+  .requests-menu-size {
+    width: 16vw;
+    border-width: 0 !important;
+    box-shadow: none !important;
+    /* The "Timeline" header is not visible anymore, and thus the
+       right border and box-shadow of "Size" column should be hidden. */
+  }
+}
+
+@media (min-width: 701px) {
+  #network-table[type-overflows] .requests-menu-domain {
+    border-width: 0 !important;
+    box-shadow: none !important;
+    /* The "Type" header is not visible anymore, and thus the
+       right border and box-shadow of "Domain" column should be hidden. */
+  }
+
+  #network-table[domain-overflows] .requests-menu-file {
+    border-width: 0 !important;
+    box-shadow: none !important;
+    /* The "Domain" header is not visible anymore, and thus the
+       right border and box-shadow of "File" column should be hidden. */
+  }
+}