networkLogView.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. .network-log-grid.data-grid {
  2. border: none;
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. }
  9. .network-log-grid.data-grid table.data {
  10. background-size: 1px 82px;
  11. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0.05)));
  12. }
  13. .network-log-grid.data-grid.small table.data {
  14. background-size: 1px 42px;
  15. }
  16. .network-log-grid.data-grid td {
  17. line-height: 17px;
  18. height: 41px;
  19. border-left: 1px solid rgb(210, 210, 210);
  20. vertical-align: middle;
  21. }
  22. .network-log-grid.data-grid.small td {
  23. height: 21px;
  24. }
  25. .network-log-grid.data-grid th {
  26. border-bottom: 1px solid rgb(64%, 64%, 64%);
  27. height: 30px;
  28. }
  29. .network-log-grid.data-grid.small th {
  30. height: 22px;
  31. }
  32. .network-log-grid.data-grid th,
  33. .network-log-grid.data-grid th.sort-descending,
  34. .network-log-grid.data-grid th.sort-ascending {
  35. background: -webkit-gradient(linear, left top, left bottom, from(rgb(236, 236, 236)), to(rgb(217, 217, 217)));
  36. }
  37. .network-log-grid.data-grid .data-container {
  38. top: 31px;
  39. }
  40. .network-log-grid.data-grid.small .data-container {
  41. top: 23px;
  42. }
  43. .network-log-grid.data-grid select {
  44. -webkit-appearance: none;
  45. background-color: transparent;
  46. border: none;
  47. width: 100%;
  48. color: inherit;
  49. }
  50. .network-log-grid.data-grid.small tr.offscreen {
  51. height: 21px;
  52. }
  53. .network-log-grid.data-grid tr.offscreen {
  54. height: 41px;
  55. }
  56. .network-log-grid.data-grid tr.offscreen > td > div {
  57. display: none;
  58. }
  59. .network-log-grid.data-grid tr.filler {
  60. background-color: white;
  61. }
  62. .network-log-grid.data-grid tr:not(.filler) td.name-column {
  63. cursor: pointer;
  64. }
  65. #network-container:not(.brief-mode) .network-log-grid.data-grid td.name-column:hover {
  66. text-decoration: underline;
  67. }
  68. .network-log-grid.data-grid.small .network-graph-side {
  69. height: 14px;
  70. }
  71. .network-log-grid.data-grid th.sortable:active {
  72. background-image: none !important;
  73. }
  74. .network-cell-subtitle {
  75. font-weight: normal;
  76. color: gray;
  77. }
  78. .network-error-row,
  79. .network-error-row .network-cell-subtitle {
  80. color: rgb(230, 0, 0);
  81. }
  82. .initiator-column a {
  83. color: inherit;
  84. }
  85. .network-log-grid.data-grid tr.selected .network-cell-subtitle {
  86. color: white;
  87. }
  88. .network-log-grid tr.highlighted-row {
  89. -webkit-animation: "network-row-highlight-fadeout" 2s 0s;
  90. }
  91. @-webkit-keyframes network-row-highlight-fadeout {
  92. from {background-color: rgba(255, 255, 120, 1); }
  93. to { background-color: rgba(255, 255, 120, 0); }
  94. }
  95. .network-header-subtitle {
  96. color: gray;
  97. }
  98. .network-log-grid.data-grid.small .network-cell-subtitle,
  99. .network-log-grid.data-grid.small .network-header-subtitle {
  100. display: none;
  101. }
  102. /* Resource preview icons */
  103. .network-log-grid.data-grid .icon {
  104. content: url(Images/resourcePlainIcon.png);
  105. }
  106. .network-log-grid.data-grid.small .icon {
  107. content: url(Images/resourcePlainIconSmall.png);
  108. }
  109. .network-log-grid.data-grid .network-type-script .icon {
  110. content: url(Images/resourceJSIcon.png);
  111. }
  112. .network-log-grid.data-grid.small .network-type-script .icon {
  113. content: url(Images/resourceDocumentIconSmall.png);
  114. }
  115. .network-log-grid.data-grid .network-type-document .icon {
  116. content: url(Images/resourceDocumentIcon.png);
  117. }
  118. .network-log-grid.data-grid.small .network-type-document .icon {
  119. content: url(Images/resourceDocumentIconSmall.png);
  120. }
  121. .network-log-grid.data-grid .network-type-stylesheet .icon {
  122. content: url(Images/resourceCSSIcon.png);
  123. }
  124. .network-log-grid.data-grid.small .network-type-stylesheet .icon {
  125. content: url(Images/resourceDocumentIconSmall.png);
  126. }
  127. .network-log-grid.data-grid .network-type-image .icon {
  128. position: relative;
  129. background-image: url(Images/resourcePlainIcon.png);
  130. background-repeat: no-repeat;
  131. content: "";
  132. }
  133. .network-log-grid.data-grid.small .network-type-image .icon {
  134. background-image: url(Images/resourcePlainIconSmall.png);
  135. content: "";
  136. }
  137. .network-log-grid.data-grid .icon {
  138. float: left;
  139. width: 32px;
  140. height: 32px;
  141. margin-top: 1px;
  142. margin-right: 3px;
  143. }
  144. .network-log-grid.data-grid.small .icon {
  145. width: 16px;
  146. height: 16px;
  147. }
  148. .network-log-grid.data-grid .image-network-icon-preview {
  149. position: absolute;
  150. margin: auto;
  151. top: 3px;
  152. bottom: 4px;
  153. left: 5px;
  154. right: 5px;
  155. max-width: 18px;
  156. max-height: 21px;
  157. min-width: 1px;
  158. min-height: 1px;
  159. }
  160. .network-log-grid.data-grid.small .image-network-icon-preview {
  161. top: 2px;
  162. bottom: 1px;
  163. left: 3px;
  164. right: 3px;
  165. max-width: 8px;
  166. max-height: 11px;
  167. }
  168. /* Graph styles */
  169. .network-graph-side {
  170. position: relative;
  171. height: 36px;
  172. padding: 0;
  173. white-space: nowrap;
  174. margin-top: 1px;
  175. border-top: 1px solid transparent;
  176. overflow: hidden;
  177. }
  178. .network-graph-bar-area {
  179. position: absolute;
  180. top: 0;
  181. bottom: 0;
  182. }
  183. .network-graph-bar-area,
  184. .network-timeline-grid .resources-dividers,
  185. .network-timeline-grid .resources-event-dividers,
  186. .network-timeline-grid .resources-dividers-label-bar {
  187. right: 12px;
  188. left: 12px;
  189. }
  190. .network-graph-label {
  191. position: absolute;
  192. top: 0;
  193. bottom: 0;
  194. margin: auto -7px;
  195. height: 13px;
  196. line-height: 13px;
  197. font-size: 90%;
  198. color: rgba(0, 0, 0, 0.75);
  199. text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0;
  200. z-index: 150;
  201. overflow: hidden;
  202. text-align: center;
  203. opacity: 0;
  204. -webkit-transition: opacity 250ms ease-in-out;
  205. }
  206. .network-graph-side:hover .network-graph-label {
  207. opacity: 1;
  208. }
  209. .network-graph-label:empty {
  210. display: none;
  211. }
  212. .network-graph-label.waiting {
  213. margin-right: 5px;
  214. }
  215. .network-graph-label.waiting-right {
  216. margin-left: 5px;
  217. }
  218. .network-graph-label.before {
  219. color: rgba(0, 0, 0, 0.7);
  220. text-shadow: none;
  221. text-align: right;
  222. margin-right: 2px;
  223. }
  224. .network-graph-label.before::after {
  225. padding-left: 2px;
  226. height: 6px;
  227. content: url(Images/graphLabelCalloutLeft.png);
  228. }
  229. .network-graph-label.after {
  230. color: rgba(0, 0, 0, 0.7);
  231. text-shadow: none;
  232. text-align: left;
  233. margin-left: 2px;
  234. }
  235. .network-graph-label.after::before {
  236. padding-right: 2px;
  237. height: 6px;
  238. content: url(Images/graphLabelCalloutRight.png);
  239. }
  240. .network-graph-bar {
  241. position: absolute;
  242. top: 0;
  243. bottom: 0;
  244. margin: auto -7px;
  245. border-width: 6px 7px;
  246. height: 0;
  247. min-width: 14px;
  248. opacity: 0.65;
  249. -webkit-border-image: url(Images/timelinePillGray.png) 7 7 7 7;
  250. }
  251. .network-graph-bar.waiting,
  252. .network-graph-bar.waiting-right {
  253. opacity: 0.35;
  254. }
  255. /* Resource categories */
  256. .resource-cached .network-graph-bar {
  257. -webkit-border-image: url(Images/timelineHollowPillGray.png) 7 7 7 7;
  258. }
  259. .network-type-document .network-graph-bar {
  260. -webkit-border-image: url(Images/timelinePillBlue.png) 7 7 7 7;
  261. }
  262. .network-type-document.resource-cached .network-graph-bar {
  263. -webkit-border-image: url(Images/timelineHollowPillBlue.png) 7 7 7 7;
  264. }
  265. .network-type-stylesheet .network-graph-bar {
  266. -webkit-border-image: url(Images/timelinePillGreen.png) 7 7 7 7;
  267. }
  268. .network-type-stylesheet.resource-cached .network-graph-bar {
  269. -webkit-border-image: url(Images/timelineHollowPillGreen.png) 7 7 7 7;
  270. }
  271. .network-type-image .network-graph-bar {
  272. -webkit-border-image: url(Images/timelinePillPurple.png) 6 7 6 7;
  273. }
  274. .network-type-image.resource-cached .network-graph-bar {
  275. border-image: url(Images/timelineHollowPillPurple.png) 7 7 7 7;
  276. }
  277. .network-type-font .network-graph-bar {
  278. -webkit-border-image: url(Images/timelinePillRed.png) 7 7 7 7;
  279. }
  280. .network-type-font.resource-cached .network-graph-bar {
  281. -webkit-border-image: url(Images/timelineHollowPillRed.png) 7 7 7 7;
  282. }
  283. .network-type-script .network-graph-bar {
  284. -webkit-border-image: url(Images/timelinePillOrange.png) 7 7 7 7;
  285. }
  286. .network-type-script.resource-cached .network-graph-bar {
  287. -webkit-border-image: url(Images/timelineHollowPillOrange.png) 7 7 7 7;
  288. }
  289. .network-type-xhr .network-graph-bar {
  290. -webkit-border-image: url(Images/timelinePillYellow.png) 7 7 7 7;
  291. }
  292. .network-type-xhr.resource-cached .network-graph-bar {
  293. -webkit-border-image: url(Images/timelineHollowPillYellow.png) 7 7 7 7;
  294. }
  295. .network-type-websocket .network-graph-bar {
  296. -webkit-border-image: url(Images/timelinePillGray.png) 7 7 7 7;
  297. }
  298. .network-type-websocket.resource-cached .network-graph-bar {
  299. -webkit-border-image: url(Images/timelineHollowPillGray.png) 7 7 7 7;
  300. }
  301. .network-dim-cell {
  302. color: grey;
  303. }
  304. /* Dividers */
  305. .network-timeline-grid {
  306. position: absolute;
  307. top: 0;
  308. bottom: 0;
  309. left: 0;
  310. right: 14px; /* Keep in sync with td.corner width */
  311. pointer-events: none;
  312. }
  313. .data-grid td.timeline-column {
  314. padding-left: 0;
  315. padding-right: 0;
  316. }
  317. .network-event-divider-padding {
  318. position: absolute;
  319. width: 8px;
  320. top: 0;
  321. bottom: 0;
  322. pointer-events: auto;
  323. }
  324. .network-event-divider {
  325. position: absolute;
  326. width: 2px;
  327. top: 31px;
  328. bottom: 0;
  329. z-index: 300;
  330. }
  331. .network-timeline-grid.small .network-event-divider {
  332. top: 23px;
  333. }
  334. .network-red-divider {
  335. background-color: rgba(255, 0, 0, 0.5);
  336. }
  337. .network-blue-divider {
  338. background-color: rgba(0, 0, 255, 0.5);
  339. }
  340. .network-log-grid.data-grid .resources-dividers {
  341. z-index: 0;
  342. }
  343. .network-log-grid.data-grid .resources-dividers-label-bar {
  344. background-color: transparent;
  345. border: none;
  346. height: 30px;
  347. pointer-events: none;
  348. }
  349. .network-timeline-grid.small .resources-dividers-label-bar {
  350. height: 23px;
  351. }
  352. .network-timeline-grid .resources-divider-label {
  353. top: 0;
  354. margin-top: -5px;
  355. }
  356. .network-timeline-grid .resources-dividers-label-bar .resources-divider {
  357. top: 23px;
  358. }
  359. .network-timeline-grid.small .resources-dividers-label-bar .resources-divider {
  360. top: 15px;
  361. }
  362. .network-timeline-grid .resources-divider:first-child .resources-divider-label {
  363. display: none;
  364. }
  365. .network-timeline-grid .resources-dividers-label-bar .resources-divider:first-child {
  366. background-color: transparent;
  367. }
  368. /* Filters */
  369. .network-log-grid.data-grid table.data tr.revealed.network-item.filtered-out {
  370. display: none;
  371. }
  372. /* Summary */
  373. .network-log-grid.data-grid tr.filler td {
  374. padding-bottom: 20px !important;
  375. }
  376. .network-log-grid.data-grid .network-summary-bar {
  377. position: absolute;
  378. left: 0;
  379. right: 0;
  380. bottom: 0;
  381. background-color: rgb(101, 111, 130);
  382. }
  383. .network-log-grid.data-grid .network-summary-bar td {
  384. color: white;
  385. height: 20px !important;
  386. border: none;
  387. font-size: 110%;
  388. padding: 0 0 0 8px;
  389. white-space: pre;
  390. overflow : hidden;
  391. text-overflow : ellipsis;
  392. }
  393. .network-log-grid.data-grid .network-summary-bar .warning-icon-small {
  394. margin-right: 8px;
  395. }
  396. #network-container {
  397. position: absolute;
  398. top: 0;
  399. left: 0;
  400. bottom: 0;
  401. right: 0;
  402. width: 100%;
  403. height: 100%;
  404. overflow-y: auto;
  405. overflow-x: hidden;
  406. }
  407. /* Brief mode peculiarities. */
  408. #network-container.brief-mode .network-timeline-grid {
  409. display: none;
  410. }
  411. #network-container.brief-mode td,
  412. #network-container.brief-mode th {
  413. border-left: none;
  414. }
  415. #network-container.brief-mode .network-log-grid.data-grid .data-grid-resizer {
  416. display: none;
  417. }
  418. #network-container.brief-mode .network-timeline-grid {
  419. display: none;
  420. }
  421. #network-container:not(.brief-mode) .data-grid tr.selected {
  422. background-color: transparent;
  423. color: #222;
  424. }
  425. #network-container.brief-mode .data-grid .data-container {
  426. padding-right: 0;
  427. }