#requests-menu-toolbar {
}
+#requests-menu-toolbar > .toolbar-box > .toolbar-startcap,
+#requests-menu-toolbar > .toolbar-box > .toolbar-endcap {
+ display: none;
+}
+
.requests-menu-header {
text-align: center;
}
+.requests-menu-header:first-child {
+ -moz-padding-start: 4px;
+ -moz-margin-start: 4px;
+}
+
.requests-menu-subitem {
- padding: 0 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-status-and-method {
- width: 8em;
+.requests-menu-header-button,
+#requests-menu-status-button {
+ background-color: transparent;
+ border-radius: 0;
+ min-width: 10px;
+ margin: 0;
+ transition: background-color 0.1s ease-in-out;
}
-.requests-menu-status {
- background-color: #A09090;
- width: 10px;
- height: 10px;
- -moz-margin-start: 4px;
- -moz-margin-end: 2px;
- border-radius: 20px;
- border: 1px solid #000000;
- transition: background-color 0.5s ease-in-out;
+.requests-menu-header-button > .button-box,
+#requests-menu-status-button > .button-box {
+ border-radius: 0;
}
-.requests-menu-status[code^="1"] {
- background-color: #9C9CFF;
+.requests-menu-header-button:hover {
+ background-color: #FFCF00;
}
-.requests-menu-status[code^="2"] {
+.requests-menu-header-button:hover:active {
+ background-color: #FF9F00;
+}
+
+.requests-menu-header-button:not(:active)[sorted] {
background-color: #008484;
}
-.requests-menu-status[code^="3"] {
- background-color: #FF9F00;
+.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-status[code^="4"] {
- background-color: #FF0000;
+.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[code^="5"] {
- background-color: #6000CF;
+#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 {
+ width: 10px;
+ height: 10px;
+ margin: 0px 2px;
}
.requests-menu-method {
width: 8em;
}
-.requests-menu-header.requests-menu-waterfall {
+/* Network requests table: status codes */
+
+.requests-menu-status {
+ background-color: #A09090;
+ border-radius: 20px;
+ border: 1px solid #000000;
+ transition: background-color 0.5s ease-in-out;
+}
+
+.requests-menu-status[code^="1"] {
+ background-color: #9C9CFF;
+}
+
+.requests-menu-status[code^="2"] {
+ background-color: #008484;
+}
+
+.requests-menu-status[code^="3"] {
+ background-color: #FF9F00;
+}
+
+.requests-menu-status[code^="4"] {
+ background-color: #FF0000;
+}
+
+.requests-menu-status[code^="5"] {
+ background-color: #6000CF;
+}
+
+/* Network requests table: waterfall header */
+
+#requests-menu-waterfall-label {
-moz-padding-start: 8px;
-moz-padding-end: 8px;
- text-align: center;
}
-/* Network request waterfall */
+.requests-menu-timings-division {
+ width: 100px;
+ padding-top: 1px;
+ -moz-padding-start: 4px;
+ -moz-border-start: 1px dotted #000000;
+ font-size: 90%;
+ text-align: left;
+ pointer-events: none;
+}
+
+.requests-menu-timings-division:not(:first-child) {
+ -moz-margin-start: -100px !important; /* Don't affect layout. */
+}
+
+/* Network requests table: waterfall items */
.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 {
background: rgba(255,159,0,0.1);
}
+.side-menu-widget-item-contents {
+ padding: 0px 4px;
+}
+
/* Network request details */
#details-pane {
#timings-tabpanel .requests-menu-timings-total {
transition: transform 0.2s ease-out;
}
+
+/* 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 button. */
+ }
+
+ #details-pane {
+ max-width: none;
+ margin: 0 !important;
+ /* To prevent all the margin hacks to hide the sidebar. */
+ }
+
+ .requests-menu-status-and-method {
+ width: 14vw;
+ }
+
+ .requests-menu-file,
+ .requests-menu-domain {
+ width: 30vw;
+ min-width: 10em;
+ }
+
+ .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. */
+ }
+}