Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .request-headers-view { | 7 .request-headers-view { |
| 8 -webkit-user-select: text; | 8 -webkit-user-select: text; |
| 9 overflow: auto; | 9 overflow: auto; |
| 10 } | 10 } |
| 11 | 11 |
| 12 .request-headers-view .outline-disclosure { | |
| 13 -webkit-padding-start: 4px; | |
| 14 flex-grow: 1; | |
| 15 overflow-y: auto; | |
| 16 } | |
| 17 | |
| 18 .request-headers-view .outline-disclosure > ol { | |
| 19 padding-bottom: 5px; | |
| 20 } | |
| 21 | |
| 22 .request-headers-view .outline-disclosure > .parent { | |
| 23 -webkit-user-select: none; | |
| 24 font-weight: bold; | |
| 25 color: #616161; | |
| 26 margin-top: -1px; | |
| 27 height: 20px; | |
| 28 border-top: solid 1px #e0e0e0; | |
| 29 display: flex; | |
| 30 align-items: center; | |
| 31 } | |
| 32 | |
| 33 .request-headers-view .outline-disclosure li.parent::before { | |
| 34 position: static; | |
| 35 width: 13px; | |
| 36 height: 9px; | |
| 37 -webkit-mask-position: -4px -98px; | |
| 38 background-image: none; | |
| 39 opacity: 1; | |
| 40 } | |
| 41 | |
| 42 .request-headers-view .outline-disclosure li.parent.expanded::before { | |
| 43 -webkit-mask-position: -20px -98px; | |
| 44 } | |
| 45 | |
| 46 .request-headers-view .properties-tree li.parent { | |
| 47 margin-left: 10px; | |
| 48 } | |
| 49 | |
| 50 .request-headers-view .outline-disclosure .children li { | |
| 51 white-space: nowrap; | |
| 52 margin-left: 10px; | |
| 53 } | |
| 54 | |
| 55 .request-headers-view .outline-disclosure .children li::before { | |
| 56 display: none; | |
| 57 } | |
| 58 | |
| 59 .request-headers-view .outline-disclosure .caution { | |
| 60 margin-left: 4px; | |
| 61 display: inline-block; | |
| 62 font-weight: bold; | |
| 63 } | |
| 64 | |
| 65 .request-headers-view .outline-disclosure li.expanded .header-count { | |
| 66 display: none; | |
| 67 } | |
| 68 | |
| 69 .request-headers-view .outline-disclosure li .header-toggle { | |
| 70 display: none; | |
| 71 } | |
| 72 | |
| 73 .request-headers-view .outline-disclosure li .status-from-cache { | |
| 74 color: gray; | |
| 75 } | |
| 76 | |
| 77 .request-headers-view .outline-disclosure li.expanded .header-toggle { | |
| 78 display: inline; | |
| 79 margin-left: 30px; | |
| 80 font-weight: normal; | |
| 81 color: rgb(45%, 45%, 45%); | |
| 82 } | |
| 83 | |
| 84 .request-headers-view .outline-disclosure li .header-toggle:hover { | |
| 85 color: rgb(20%, 20%, 45%); | |
| 86 cursor: pointer; | |
| 87 } | |
| 88 | |
| 89 .request-headers-view .outline-disclosure .header-name { | |
| 90 color: rgb(33%, 33%, 33%); | |
| 91 display: inline-block; | |
| 92 margin-right: 0.5em; | |
| 93 font-weight: bold; | |
| 94 vertical-align: top; | |
| 95 white-space: pre-wrap; | |
| 96 } | |
| 97 | |
| 98 .request-headers-view .outline-disclosure .header-value { | |
| 99 display: inline; | |
| 100 margin-right: 1em; | |
| 101 white-space: pre-wrap; | |
| 102 word-break: break-all; | |
| 103 margin-top: 1px; | |
| 104 } | |
| 105 | |
| 106 .request-headers-view .outline-disclosure .empty-request-header { | |
| 107 color: rgba(33%, 33%, 33%, 0.5); | |
| 108 } | |
| 109 | |
| 110 .resource-status-image { | 12 .resource-status-image { |
| 111 margin-top: -2px; | 13 margin-top: -2px; |
| 112 margin-right: 3px; | 14 margin-right: 3px; |
| 113 } | 15 } |
| 114 | 16 |
| 115 .request-headers-view .filter-input { | 17 .request-headers-view .filter-input { |
| 116 outline: none !important; | 18 outline: none !important; |
| 117 border: none; | 19 border: none; |
| 118 border-bottom: solid 1px #ccc; | 20 border-bottom: solid 1px #ccc; |
| 119 flex: 0 0 19px; | 21 flex: 0 0 19px; |
| 120 padding: 0 4px; | 22 padding: 0 4px; |
| 121 } | 23 } |
| 24 | |
| 25 .request-headers-tree { | |
| 26 padding: 0 0 0 4px; | |
|
allada
2016/09/09 01:40:40
Do we need to explicitly set padding to 0 for non-
dgozman
2016/09/09 02:27:50
I'll follow up with removing default padding from
| |
| 27 flex-grow: 1; | |
| 28 overflow-y: auto; | |
| 29 margin: 0; | |
| 30 } | |
| OLD | NEW |