Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 | * |
| 4 | * Redistribution and use in source and binary forms, with or without |
| 5 | * modification, are permitted provided that the following conditions are |
| 6 | * met: |
| 7 | * |
| 8 | * * Redistributions of source code must retain the above copyright |
| 9 | * notice, this list of conditions and the following disclaimer. |
| 10 | * * Redistributions in binary form must reproduce the above |
| 11 | * copyright notice, this list of conditions and the following disclaimer |
| 12 | * in the documentation and/or other materials provided with the |
| 13 | * distribution. |
| 14 | * * Neither the name of Google Inc. nor the names of its |
| 15 | * contributors may be used to endorse or promote products derived from |
| 16 | * this software without specific prior written permission. |
| 17 | * |
| 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 19 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 20 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 21 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 22 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | */ |
| 30 | |
| 31 | .network-log-grid.data-grid { |
| 32 | border: none; |
| 33 | flex: auto; |
| 34 | } |
| 35 | |
| 36 | .network-summary-bar { |
| 37 | flex: 0 0 27px; |
| 38 | line-height: 27px; |
| 39 | padding-left: 5px; |
| 40 | background-color: #eee; |
| 41 | border-top: 1px solid #ccc; |
| 42 | white-space: nowrap; |
| 43 | text-overflow: ellipsis; |
| 44 | overflow: hidden; |
| 45 | } |
| 46 | |
Joey Arhar | a86c14e | 2019-03-12 03:20:50 | [diff] [blame^] | 47 | .panel.network .toolbar.network-summary-bar { |
| 48 | border-bottom: 0px; |
| 49 | } |
| 50 | |
Joel Einbinder | 7fbe24c | 2019-01-24 05:19:01 | [diff] [blame] | 51 | .network-summary-bar span[is=dt-icon-label] { |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 52 | margin-right: 6px; |
| 53 | } |
| 54 | |
| 55 | .network-summary-bar > * { |
| 56 | flex: none; |
| 57 | } |
| 58 | |
| 59 | .network-log-grid.data-grid table.data { |
| 60 | background: transparent; |
| 61 | } |
| 62 | |
| 63 | .network-log-grid.data-grid td { |
| 64 | height: 41px; |
| 65 | border-left: 1px solid #e1e1e1; |
| 66 | vertical-align: middle; |
| 67 | } |
| 68 | |
| 69 | .network-log-grid.data-grid .corner { |
| 70 | display: none; |
| 71 | } |
| 72 | |
| 73 | .network-log-grid.data-grid.small td { |
| 74 | height: 21px; |
| 75 | } |
| 76 | |
| 77 | .network-waterfall-header, .network-log-grid.data-grid th { |
| 78 | border-bottom: 1px solid rgb(205, 205, 205); |
| 79 | border-left: 1px solid rgb(205, 205, 205); |
| 80 | } |
| 81 | |
| 82 | .network-waterfall-header, .network-log-grid.data-grid .header-container { |
| 83 | height: 31px; |
| 84 | background-color: var(--toolbar-bg-color); |
| 85 | } |
| 86 | |
| 87 | .network-log-grid.data-grid .data-container { |
| 88 | top: 31px; |
| 89 | } |
| 90 | |
| 91 | .network-waterfall-header.small, .network-log-grid.data-grid.small .header-container { |
| 92 | height: 27px; |
| 93 | } |
| 94 | |
| 95 | .network-log-grid.data-grid.small .data-container { |
| 96 | top: 27px; |
| 97 | } |
| 98 | |
| 99 | .network-log-grid.data-grid select { |
| 100 | -webkit-appearance: none; |
| 101 | border: none; |
| 102 | width: 100%; |
| 103 | color: inherit; |
| 104 | } |
| 105 | |
| 106 | .network-log-grid.data-grid .name-column { |
| 107 | cursor: pointer; |
| 108 | } |
| 109 | |
| 110 | .network-log-grid.data-grid .waterfall-column { |
| 111 | padding: 1px 0; |
| 112 | } |
| 113 | |
| 114 | .network-log-grid.data-grid .waterfall-column .sort-order-icon-container { |
| 115 | right: 15px; |
| 116 | pointer-events: none; |
| 117 | } |
| 118 | |
| 119 | .network-log-grid.data-grid th.sortable:active { |
| 120 | background-image: none !important; |
| 121 | } |
| 122 | |
| 123 | .network-cell-subtitle { |
| 124 | font-weight: normal; |
| 125 | color: gray; |
| 126 | } |
| 127 | |
| 128 | .network-badge { |
| 129 | margin-right: 4px; |
| 130 | } |
| 131 | |
| 132 | .network-error-row, |
| 133 | .network-error-row .network-cell-subtitle { |
| 134 | color: rgb(230, 0, 0); |
| 135 | } |
| 136 | |
| 137 | .initiator-column .devtools-link { |
| 138 | color: inherit; |
| 139 | } |
| 140 | |
| 141 | .network-log-grid.data-grid tr.selected, |
| 142 | .network-log-grid.data-grid tr.selected .network-cell-subtitle, |
| 143 | .network-log-grid.data-grid tr.selected .network-dim-cell { |
| 144 | color: inherit !important; |
| 145 | } |
| 146 | |
| 147 | .network-log-grid.data-grid:focus tr.selected, |
| 148 | .network-log-grid.data-grid:focus tr.selected .network-cell-subtitle, |
| 149 | .network-log-grid.data-grid:focus tr.selected .network-dim-cell { |
| 150 | color: var(--selection-fg-color) !important; |
| 151 | } |
| 152 | |
| 153 | .network-log-grid tr.highlighted-row { |
| 154 | -webkit-animation: network-row-highlight-fadeout 2s 0s; |
| 155 | } |
| 156 | |
| 157 | @-webkit-keyframes network-row-highlight-fadeout { |
| 158 | from {background-color: rgba(255, 255, 120, 1); } |
| 159 | to { background-color: rgba(255, 255, 120, 0); } |
| 160 | } |
| 161 | |
| 162 | .network-header-subtitle { |
| 163 | color: gray; |
| 164 | } |
| 165 | |
| 166 | .network-log-grid.data-grid.small .network-cell-subtitle, |
| 167 | .network-log-grid.data-grid.small .network-header-subtitle { |
| 168 | display: none; |
| 169 | } |
| 170 | |
| 171 | /* Resource preview icons */ |
| 172 | |
| 173 | .network-log-grid.data-grid .icon { |
| 174 | content: url(Images/resourcePlainIcon.png); |
| 175 | } |
| 176 | |
| 177 | .network-log-grid.data-grid.small .icon { |
| 178 | content: url(Images/resourcePlainIconSmall.png); |
| 179 | } |
| 180 | |
| 181 | .network-log-grid.data-grid .icon.script { |
| 182 | content: url(Images/resourceJSIcon.png); |
| 183 | } |
| 184 | |
| 185 | .network-log-grid.data-grid.small .icon.script { |
| 186 | content: url(Images/resourceDocumentIconSmall.png); |
| 187 | } |
| 188 | |
| 189 | .network-log-grid.data-grid .icon.document { |
| 190 | content: url(Images/resourceDocumentIcon.png); |
| 191 | } |
| 192 | |
| 193 | .network-log-grid.data-grid.small .icon.document { |
| 194 | content: url(Images/resourceDocumentIconSmall.png); |
| 195 | } |
| 196 | |
| 197 | .network-log-grid.data-grid .icon.stylesheet { |
| 198 | content: url(Images/resourceCSSIcon.png); |
| 199 | } |
| 200 | |
| 201 | .network-log-grid.data-grid.small .icon.stylesheet { |
| 202 | content: url(Images/resourceDocumentIconSmall.png); |
| 203 | } |
| 204 | |
| 205 | .network-log-grid.data-grid .icon.media { |
| 206 | content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */ |
| 207 | } |
| 208 | |
| 209 | .network-log-grid.data-grid.small .icon.media { |
| 210 | content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */ |
| 211 | } |
| 212 | .network-log-grid.data-grid .icon.texttrack { |
| 213 | content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */ |
| 214 | } |
| 215 | |
| 216 | .network-log-grid.data-grid.small .icon.texttrack { |
| 217 | content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */ |
| 218 | } |
| 219 | |
| 220 | .network-log-grid.data-grid .icon.image { |
| 221 | position: relative; |
| 222 | background-image: url(Images/resourcePlainIcon.png); |
| 223 | background-repeat: no-repeat; |
| 224 | content: ""; |
| 225 | } |
| 226 | |
| 227 | .network-log-grid.data-grid.small .icon.image { |
| 228 | background-image: url(Images/resourcePlainIconSmall.png); |
| 229 | content: ""; |
| 230 | } |
| 231 | |
| 232 | .network-log-grid.data-grid .icon { |
| 233 | float: left; |
| 234 | width: 32px; |
| 235 | height: 32px; |
| 236 | margin-top: 1px; |
| 237 | margin-right: 3px; |
| 238 | } |
| 239 | |
| 240 | .network-log-grid.data-grid.small .icon { |
| 241 | width: 16px; |
| 242 | height: 16px; |
| 243 | } |
| 244 | |
| 245 | .network-log-grid.data-grid .image-network-icon-preview { |
| 246 | position: absolute; |
| 247 | margin: auto; |
| 248 | top: 3px; |
| 249 | bottom: 4px; |
| 250 | left: 5px; |
| 251 | right: 5px; |
| 252 | max-width: 18px; |
| 253 | max-height: 21px; |
| 254 | min-width: 1px; |
| 255 | min-height: 1px; |
| 256 | } |
| 257 | |
| 258 | .network-log-grid.data-grid.small .image-network-icon-preview { |
| 259 | top: 2px; |
| 260 | bottom: 1px; |
| 261 | left: 3px; |
| 262 | right: 3px; |
| 263 | max-width: 8px; |
| 264 | max-height: 11px; |
| 265 | } |
| 266 | |
| 267 | .network-dim-cell { |
| 268 | color: grey; |
| 269 | } |
| 270 | |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 271 | .network-frame-divider { |
| 272 | width: 2px; |
| 273 | background-color: #FCCC49; |
| 274 | z-index: 10; |
| 275 | visibility: hidden; |
| 276 | } |
| 277 | |
| 278 | #network-container:not(.brief-mode) .data-container { |
| 279 | overflow: hidden; |
| 280 | } |
| 281 | |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 282 | .network-log-grid.data-grid .resources-dividers { |
| 283 | z-index: 0; |
| 284 | } |
| 285 | |
| 286 | .network-log-grid.data-grid .resources-dividers-label-bar { |
| 287 | background-color: transparent; |
| 288 | border: none; |
| 289 | height: 30px; |
| 290 | pointer-events: none; |
| 291 | } |
| 292 | |
| 293 | #network-container { |
| 294 | overflow: hidden; |
| 295 | } |
| 296 | |
| 297 | .network-status-pane { |
| 298 | color: #777; |
| 299 | background-color: white; |
| 300 | z-index: 500; |
| 301 | display: flex; |
| 302 | justify-content: center; |
| 303 | align-items: center; |
| 304 | text-align: center; |
| 305 | padding: 0 20px; |
| 306 | overflow: auto; |
| 307 | } |
| 308 | |
| 309 | .network-status-pane > .recording-hint { |
| 310 | font-size: 14px; |
| 311 | text-align: center; |
| 312 | line-height: 28px; |
| 313 | } |
| 314 | |
| 315 | .network-waterfall-header { |
| 316 | position: absolute; |
| 317 | border-left: 0px; |
| 318 | width: 100%; |
| 319 | display: table; |
| 320 | z-index: 200; |
| 321 | } |
| 322 | |
| 323 | .network-waterfall-header:hover { |
| 324 | background-color: hsla(0, 0%, 10%, 0.1); |
| 325 | } |
| 326 | |
| 327 | .network-waterfall-header div { |
| 328 | display: table-cell; |
| 329 | line-height: 14px; |
| 330 | margin: auto 0px; |
| 331 | vertical-align: middle; |
| 332 | text-align: left; |
| 333 | font-weight: normal; |
| 334 | padding: 0px 4px; |
| 335 | } |
| 336 | |
| 337 | .network-waterfall-header .sort-order-icon-container { |
| 338 | position: absolute; |
| 339 | top: 1px; |
| 340 | right: 0; |
| 341 | bottom: 1px; |
| 342 | display: flex; |
| 343 | align-items: center; |
| 344 | } |
| 345 | |
| 346 | .network-waterfall-header .sort-order-icon { |
| 347 | align-items: center; |
| 348 | margin-right: 4px; |
| 349 | margin-bottom: -2px; |
| 350 | } |
| 351 | |
| 352 | .network-frame-group-icon { |
| 353 | display: inline-block; |
| 354 | margin: -8px -2px; |
| 355 | } |
| 356 | |
| 357 | .network-frame-group-badge { |
| 358 | margin-right: 4px; |
| 359 | } |