Chris Craik | b122baf | 2015-03-05 13:58:42 -0800 | [diff] [blame^] | 1 | /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | * Use of this source code is governed by a BSD-style license that can be |
| 3 | * found in the LICENSE file. |
| 4 | */ |
| 5 | |
| 6 | x-timeline-view { |
| 7 | -webkit-flex-direction: column; |
| 8 | cursor: default; |
| 9 | display: -webkit-flex; |
| 10 | font-family: sans-serif; |
| 11 | padding: 0; |
| 12 | } |
| 13 | |
| 14 | x-timeline-view > .control > .title { |
| 15 | font-size: 14px; |
| 16 | height: 22px; |
| 17 | padding-left: 2px; |
| 18 | padding-right: 8px; |
| 19 | padding-top: 2px; |
| 20 | flex: 1 0 auto; |
| 21 | } |
| 22 | |
| 23 | x-timeline-view > .control { |
| 24 | background-color: #e6e6e6; |
| 25 | background-image: -webkit-gradient(linear, |
| 26 | 0 0, |
| 27 | 0 100%, |
| 28 | from(#E5E5E5), |
| 29 | to(#D1D1D1)); |
| 30 | flex: 0 0 auto; |
| 31 | overflow-x: auto; |
| 32 | } |
| 33 | |
| 34 | x-timeline-view > .control > .bar { |
| 35 | display: flex; |
| 36 | } |
| 37 | |
| 38 | x-timeline-view > .control::-webkit-scrollbar{ |
| 39 | height: 0px; |
| 40 | } |
| 41 | |
| 42 | x-timeline-view > .control > .bar > #right-controls { |
| 43 | margin-left: auto; |
| 44 | } |
| 45 | |
| 46 | x-timeline-view > .control > #collapsing-controls { |
| 47 | display: -webkit-flex; |
| 48 | } |
| 49 | |
| 50 | x-timeline-view > .control .controls { |
| 51 | display: -webkit-flex; |
| 52 | flex: 0 0 auto; |
| 53 | } |
| 54 | |
| 55 | x-timeline-view > .control > .bar > span { |
| 56 | padding-left: 5px; |
| 57 | padding-right: 10px; |
| 58 | } |
| 59 | |
| 60 | x-timeline-view > .control > .bar > .controls button, |
| 61 | x-timeline-view > .control > .bar > .controls label { |
| 62 | font-size: 14px; |
| 63 | height: 22px; |
| 64 | margin: 1px 2px 1px 2px; |
| 65 | } |
| 66 | |
| 67 | x-timeline-view > .control > .bar > .spacer { |
| 68 | -webkit-flex: 1 1 auto; |
| 69 | } |
| 70 | |
| 71 | x-timeline-view > middle-container { |
| 72 | -webkit-flex: 1 1 auto; |
| 73 | -webkit-flex-direction: row; |
| 74 | border-bottom: 1px solid #8e8e8e; |
| 75 | display: -webkit-flex; |
| 76 | min-height: 0; |
| 77 | } |
| 78 | |
| 79 | x-timeline-view > middle-container > track-view-container { |
| 80 | -webkit-flex: 1 1 auto; |
| 81 | display: -webkit-flex; |
| 82 | min-height: 0; |
| 83 | min-width: 0; |
| 84 | } |
| 85 | |
| 86 | x-timeline-view > middle-container > track-view-container > * { |
| 87 | -webkit-flex: 1 1 auto; |
| 88 | } |
| 89 | |
| 90 | x-timeline-view > middle-container > x-timeline-view-side-panel-container { |
| 91 | -webkit-flex: 0 0 auto; |
| 92 | } |
| 93 | |
| 94 | x-timeline-view > x-drag-handle { |
| 95 | -webkit-flex: 0 0 auto; |
| 96 | } |
| 97 | |
| 98 | x-timeline-view > tracing-analysis-view { |
| 99 | -webkit-flex: 0 0 auto; |
| 100 | } |
| 101 | |
| 102 | x-timeline-view .selection { |
| 103 | margin: 2px; |
| 104 | } |
| 105 | |
| 106 | x-timeline-view .selection ul { |
| 107 | margin: 0; |
| 108 | } |
| 109 | |
| 110 | .button { |
| 111 | background-color: #f8f8f8; |
| 112 | border: 1px solid rgba(0, 0, 0, 0.5); |
| 113 | color: rgba(0,0,0,0.8); |
| 114 | font-size: 14px; |
| 115 | height: 19px; |
| 116 | margin: 1px; |
| 117 | min-width: 23px; |
| 118 | text-align: center; |
| 119 | } |
| 120 | |
| 121 | .button:hover { |
| 122 | background-color: rgba(255, 255, 255, 1.0); |
| 123 | border: 1px solid rgba(0, 0, 0, 0.8); |
| 124 | box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4); |
| 125 | color: rgba(0, 0, 0, 1); |
| 126 | } |
| 127 | |
| 128 | .view-info-button { |
| 129 | padding-left: 4px; |
| 130 | padding-right: 4px; |
| 131 | width: auto; |
| 132 | } |
| 133 | |
| 134 | .view-info-button:hover { |
| 135 | border: solid 1px; |
| 136 | } |
| 137 | |
| 138 | .metadata-dialog-text { |
| 139 | font-family: monospace; |
| 140 | overflow: auto; |
| 141 | white-space: pre; |
| 142 | } |
| 143 | |
| 144 | .view-help-text { |
| 145 | -webkit-flex: 1 1 auto; |
| 146 | -webkit-flex-direction: row; |
| 147 | display: -webkit-flex; |
| 148 | width: 700px; |
| 149 | } |
| 150 | .view-help-text .column { |
| 151 | width: 50%; |
| 152 | } |
| 153 | .view-help-text h2 { |
| 154 | font-size: 1.2em; |
| 155 | margin: 0; |
| 156 | margin-top: 5px; |
| 157 | text-align: center; |
| 158 | } |
| 159 | .view-help-text h3 { |
| 160 | margin: 0; |
| 161 | margin-left: 126px; |
| 162 | margin-top: 10px; |
| 163 | } |
| 164 | .view-help-text .pair { |
| 165 | -webkit-flex: 1 1 auto; |
| 166 | -webkit-flex-direction: row; |
| 167 | display: -webkit-flex; |
| 168 | } |
| 169 | .view-help-text .command { |
| 170 | font-family: monospace; |
| 171 | margin-right: 5px; |
| 172 | text-align: right; |
| 173 | width: 150px; |
| 174 | } |
| 175 | .view-help-text .action { |
| 176 | font-size: 0.9em; |
| 177 | text-align: left; |
| 178 | width: 200px; |
| 179 | } |
| 180 | .view-help-text .mouse-mode-icon { |
| 181 | border: 1px solid #888; |
| 182 | border-radius: 3px; |
| 183 | box-shadow: inset 0 0 2px rgba(0,0,0,0.3); |
| 184 | display: inline-block; |
| 185 | height: 26px; |
| 186 | margin-right: 1px; |
| 187 | position: relative; |
| 188 | top: 4px; |
| 189 | width: 27px; |
| 190 | zoom: 0.75; |
| 191 | } |
| 192 | .view-help-text .mouse-mode-icon.pan-mode { |
| 193 | background-position: -1px -11px; |
| 194 | } |
| 195 | .view-help-text .mouse-mode-icon.select-mode { |
| 196 | background-position: -1px -41px; |
| 197 | } |
| 198 | .view-help-text .mouse-mode-icon.zoom-mode { |
| 199 | background-position: -1px -71px; |
| 200 | } |
| 201 | .view-help-text .mouse-mode-icon.timing-mode { |
| 202 | background-position: -1px -101px; |
| 203 | } |
| 204 | |