| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2015 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 .animation-node-row { | 7 .animation-node-row { |
| 8 width: 100%; | 8 width: 100%; |
| 9 display: flex; | 9 display: flex; |
| 10 border-bottom: 1px dashed #ccc; | 10 border-bottom: 1px dashed #ccc; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .animation-node-row:first-child > .animation-node-description { |
| 14 line-height: 45px; |
| 15 } |
| 16 |
| 17 .animation-node-row:first-child > .animation-node-timeline { |
| 18 padding-top: 5px; |
| 19 } |
| 20 |
| 13 .animation-node-description { | 21 .animation-node-description { |
| 14 display: inline-block; | 22 display: inline-block; |
| 15 min-width: 200px; | 23 min-width: 200px; |
| 16 max-width: 200px; | 24 max-width: 200px; |
| 17 padding-left: 15px; | 25 padding-left: 15px; |
| 18 overflow: hidden; | 26 overflow: hidden; |
| 19 position: relative; | 27 position: relative; |
| 20 transform-style: preserve-3d; | 28 transform-style: preserve-3d; |
| 21 line-height: 40px; | 29 line-height: 40px; |
| 22 border-bottom: 1px solid hsl(0, 0%, 90%); | 30 border-bottom: 1px solid hsl(0, 0%, 90%); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 text-overflow: ellipsis; | 87 text-overflow: ellipsis; |
| 80 overflow: hidden; | 88 overflow: hidden; |
| 81 white-space: nowrap; | 89 white-space: nowrap; |
| 82 min-width: 50px; | 90 min-width: 50px; |
| 83 } | 91 } |
| 84 | 92 |
| 85 .animation-timeline-header { | 93 .animation-timeline-header { |
| 86 height: 44px; | 94 height: 44px; |
| 87 border-bottom: 1px solid #ccc; | 95 border-bottom: 1px solid #ccc; |
| 88 flex-shrink: 0; | 96 flex-shrink: 0; |
| 97 display: flex; |
| 89 } | 98 } |
| 90 | 99 |
| 91 .animation-timeline-header:after { | 100 .animation-timeline-header:after { |
| 92 content: ""; | 101 content: ""; |
| 93 height: 100%; | 102 height: 100%; |
| 94 position: absolute; | 103 position: absolute; |
| 95 width: 200px; | 104 width: 200px; |
| 96 left: 0; | 105 left: 0; |
| 97 background-color: hsl(0, 0%, 98%); | 106 background-color: hsl(0, 0%, 98%); |
| 98 z-index: -1; | 107 z-index: -1; |
| 99 border-right: 1px solid hsl(0, 0%, 90%); | 108 border-right: 1px solid hsl(0, 0%, 90%); |
| 100 } | 109 } |
| 101 | 110 |
| 102 .animation-controls { | 111 .animation-controls { |
| 103 width: 201px; | 112 flex: 0 0 200px; |
| 104 max-width: 201px; | |
| 105 padding: 10px; | 113 padding: 10px; |
| 106 height: 100%; | 114 height: 100%; |
| 107 line-height: 22px; | 115 line-height: 22px; |
| 108 background-color: hsl(0, 0%, 98%); | 116 background-color: hsl(0, 0%, 98%); |
| 109 border-right: 1px solid hsl(0, 0%, 90%); | 117 border-right: 1px solid hsl(0, 0%, 90%); |
| 110 } | 118 } |
| 111 | 119 |
| 112 .animation-timeline-markers { | 120 .animation-timeline-buffer { |
| 113 height: 100%; | 121 height: 100%; |
| 114 width: calc(100% - 200px); | 122 flex-grow: 1; |
| 115 display: inline-block; | 123 border-left: 1px solid #ccc; |
| 124 display: flex; |
| 125 padding: 0 2px; |
| 116 } | 126 } |
| 117 | 127 |
| 118 .animation-time-overlay { | 128 .animation-time-overlay { |
| 119 background-color: black; | 129 background-color: black; |
| 120 opacity: 0.05; | 130 opacity: 0.05; |
| 121 position: absolute; | 131 position: absolute; |
| 122 height: 100%; | 132 height: 100%; |
| 123 width: 100%; | 133 width: 100%; |
| 124 } | 134 } |
| 125 | 135 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 189 } |
| 180 | 190 |
| 181 .animation-scrubber { | 191 .animation-scrubber { |
| 182 opacity: 1; | 192 opacity: 1; |
| 183 position: absolute; | 193 position: absolute; |
| 184 left: 230px; | 194 left: 230px; |
| 185 height: calc(100% - 43px); | 195 height: calc(100% - 43px); |
| 186 width: calc(100% - 200px); | 196 width: calc(100% - 200px); |
| 187 top: 43px; | 197 top: 43px; |
| 188 border-left: 1px solid rgba(0,0,0,0.5); | 198 border-left: 1px solid rgba(0,0,0,0.5); |
| 199 display: none; |
| 189 } | 200 } |
| 190 | 201 |
| 191 .animation-scrubber.animation-timeline-end { | 202 .animation-scrubber.animation-timeline-end { |
| 192 border: none; | 203 border: none; |
| 193 } | 204 } |
| 194 | 205 |
| 195 .animation-scrubber-head { | 206 .animation-scrubber-head { |
| 196 background-color: rgba(0, 0, 0, 0.7); | 207 background-color: rgba(0, 0, 0, 0.7); |
| 197 width: 60px; | 208 width: 60px; |
| 198 height: 23px; | 209 height: 23px; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 background-color: rgba(0, 0, 0, 0.7); | 251 background-color: rgba(0, 0, 0, 0.7); |
| 241 } | 252 } |
| 242 | 253 |
| 243 .animation-timeline-end > .animation-timeline-timer { | 254 .animation-timeline-end > .animation-timeline-timer { |
| 244 visibility: hidden; | 255 visibility: hidden; |
| 245 } | 256 } |
| 246 | 257 |
| 247 svg.animation-timeline-grid { | 258 svg.animation-timeline-grid { |
| 248 position: absolute; | 259 position: absolute; |
| 249 left: 230px; | 260 left: 230px; |
| 261 top: 43px; |
| 250 } | 262 } |
| 251 | 263 |
| 252 rect.animation-timeline-grid-line { | 264 rect.animation-timeline-grid-line { |
| 253 fill: hsl(0, 0%, 90%); | 265 fill: hsl(0, 0%, 90%); |
| 254 } | 266 } |
| 255 | 267 |
| 256 .animation-timeline-row > svg.animation-ui { | 268 .animation-timeline-row > svg.animation-ui { |
| 257 position: absolute; | 269 position: absolute; |
| 258 } | 270 } |
| 259 | 271 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 padding-left: 230px; | 330 padding-left: 230px; |
| 319 padding-right: 30px; | 331 padding-right: 30px; |
| 320 text-align: center; | 332 text-align: center; |
| 321 position: absolute; | 333 position: absolute; |
| 322 font-size: 20px; | 334 font-size: 20px; |
| 323 line-height: 32px; | 335 line-height: 32px; |
| 324 align-items: center; justify-content: center; | 336 align-items: center; justify-content: center; |
| 325 width: 100%; | 337 width: 100%; |
| 326 height: calc(100% - 44px); | 338 height: calc(100% - 44px); |
| 327 display: flex; | 339 display: flex; |
| 328 } | 340 } |
| 341 |
| 342 .animation-buffer-preview { |
| 343 height: 35px; |
| 344 margin: 4px 2px; |
| 345 background-color: #F3F3F3; |
| 346 border-radius: 2px; |
| 347 flex: 1 1; |
| 348 padding: 4px; |
| 349 max-width: 100px; |
| 350 } |
| 351 .animation-buffer-preview.selected { |
| 352 background-color: hsl(217, 89%, 61%); |
| 353 } |
| 354 .animation-buffer-preview.selected > svg > line { |
| 355 stroke: white !important; |
| 356 } |
| 357 .animation-buffer-preview > svg > line { |
| 358 stroke-width: 1px; |
| 359 } |
| OLD | NEW |