| OLD | NEW |
| (Empty) |
| 1 /* | |
| 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 | |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 .animation-node-row { | |
| 8 width: 100%; | |
| 9 display: flex; | |
| 10 border-bottom: 1px dashed #ccc; | |
| 11 } | |
| 12 | |
| 13 .animation-node-description { | |
| 14 display: inline-block; | |
| 15 min-width: 200px; | |
| 16 max-width: 200px; | |
| 17 padding-left: 15px; | |
| 18 overflow: hidden; | |
| 19 position: relative; | |
| 20 transform-style: preserve-3d; | |
| 21 line-height: 40px; | |
| 22 } | |
| 23 | |
| 24 .animation-node-row:nth-child(odd) { | |
| 25 background-color: hsla(0, 0%, 0%, 0.05); | |
| 26 } | |
| 27 | |
| 28 .animation-timeline-row { | |
| 29 height: 40px; | |
| 30 position: relative; | |
| 31 } | |
| 32 | |
| 33 path.animation-keyframe { | |
| 34 fill-opacity: 0.3; | |
| 35 } | |
| 36 | |
| 37 line.animation-line { | |
| 38 stroke-width: 2px; | |
| 39 stroke-linecap: round; | |
| 40 fill: none; | |
| 41 } | |
| 42 | |
| 43 line.animation-delay-line { | |
| 44 stroke-width: 2px; | |
| 45 stroke-dasharray: 6, 4; | |
| 46 } | |
| 47 | |
| 48 circle.animation-endpoint, circle.animation-keyframe-point { | |
| 49 stroke-width: 2px; | |
| 50 } | |
| 51 | |
| 52 circle.animation-endpoint, circle.animation-keyframe-point { | |
| 53 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); | |
| 54 transform: scale(1); | |
| 55 transform-origin: 50% 50%; | |
| 56 } | |
| 57 | |
| 58 circle.animation-endpoint:hover, circle.animation-keyframe-point:hover { | |
| 59 transform: scale(1.2); | |
| 60 } | |
| 61 | |
| 62 circle.animation-endpoint:active, circle.animation-keyframe-point:active { | |
| 63 transform: scale(1); | |
| 64 } | |
| 65 | |
| 66 circle.animation-keyframe-point { | |
| 67 fill: white; | |
| 68 } | |
| 69 | |
| 70 .animation-name { | |
| 71 position: absolute; | |
| 72 top: 15px; | |
| 73 color: #333; | |
| 74 text-align: center; | |
| 75 margin-left: -8px; | |
| 76 text-overflow: ellipsis; | |
| 77 overflow: hidden; | |
| 78 white-space: nowrap; | |
| 79 } | |
| 80 | |
| 81 .animation-timeline-header { | |
| 82 height: 44px; | |
| 83 border-bottom: 1px solid #ccc; | |
| 84 flex-shrink: 0; | |
| 85 } | |
| 86 | |
| 87 .animation-controls { | |
| 88 width: 200px; | |
| 89 max-width: 200px; | |
| 90 padding: 10px; | |
| 91 height: 100%; | |
| 92 line-height: 22px; | |
| 93 } | |
| 94 | |
| 95 .animation-timeline-markers { | |
| 96 height: 100%; | |
| 97 width: calc(100% - 200px); | |
| 98 display: inline-block; | |
| 99 } | |
| 100 | |
| 101 .animation-time-overlay { | |
| 102 background-color: black; | |
| 103 opacity: 0.05; | |
| 104 position: absolute; | |
| 105 height: 100%; | |
| 106 width: 100%; | |
| 107 } | |
| 108 | |
| 109 input.animation-playback-slider { | |
| 110 width: 68px; | |
| 111 margin-left: 12px; | |
| 112 -webkit-appearance: none; | |
| 113 position: absolute; | |
| 114 top: 18px; | |
| 115 } | |
| 116 | |
| 117 input[type=range].animation-playback-slider::-webkit-slider-runnable-track { | |
| 118 height: 4px; | |
| 119 border-radius: 2px; | |
| 120 cursor: pointer; | |
| 121 background: #c8c8c8; | |
| 122 } | |
| 123 | |
| 124 input[type=range].animation-playback-slider:focus::-webkit-slider-runnable-track
{ | |
| 125 background: #b8b8b8; | |
| 126 } | |
| 127 | |
| 128 input[type=range].animation-playback-slider::-webkit-slider-thumb { | |
| 129 -webkit-appearance: none; | |
| 130 cursor: pointer; | |
| 131 margin-top: -4px; | |
| 132 cursor: pointer; | |
| 133 width: 12px; | |
| 134 height: 12px; | |
| 135 border-radius: 12px; | |
| 136 background-color: rgb(248, 248, 248); | |
| 137 border: 1px solid #999; | |
| 138 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.24); | |
| 139 } | |
| 140 | |
| 141 .animation-playback-label { | |
| 142 width: 34px; | |
| 143 text-align: right; | |
| 144 font-family: 'DejaVu Sans'; | |
| 145 display: inline-block; | |
| 146 } | |
| 147 | |
| 148 .animation-scrubber { | |
| 149 opacity: 1; | |
| 150 position: absolute; | |
| 151 left: 200px; | |
| 152 height: calc(100% - 43px); | |
| 153 width: calc(100% - 200px); | |
| 154 top: 43px; | |
| 155 border-left: 1px solid rgba(0,0,0,0.5); | |
| 156 } | |
| 157 | |
| 158 .animation-scrubber-head { | |
| 159 background-color: rgba(0, 0, 0, 0.5); | |
| 160 width: 50px; | |
| 161 height: 23px; | |
| 162 color: white; | |
| 163 line-height: 23px; | |
| 164 text-align: center; | |
| 165 border-radius: 5px; | |
| 166 position: relative; | |
| 167 top: -29px; | |
| 168 left: -26px; | |
| 169 font-size: 10px; | |
| 170 visibility: visible; | |
| 171 } | |
| 172 | |
| 173 .animation-timeline-capturing > .animation-scrubber-head { | |
| 174 visibility: hidden; | |
| 175 } | |
| 176 | |
| 177 .animation-timeline-end > .animation-scrubber-head { | |
| 178 visibility: visible; | |
| 179 } | |
| 180 | |
| 181 .animation-timeline-end > .animation-scrubber-arrow, | |
| 182 .animation-timeline-capturing > .animation-scrubber-arrow { | |
| 183 visibility: hidden; | |
| 184 } | |
| 185 | |
| 186 .animation-scrubber-arrow { | |
| 187 width: 21px; | |
| 188 height: 25px; | |
| 189 position: absolute; | |
| 190 top: -6px; | |
| 191 left: -7px; | |
| 192 -webkit-clip-path: polygon(0 0, 6px 6px, 12px 0px, 0px 0px); | |
| 193 background-color: rgba(0, 0, 0, 0.5); | |
| 194 } | |
| 195 | |
| 196 .animation-timeline-timer { | |
| 197 width: 22px; | |
| 198 height: 22px; | |
| 199 position: relative; | |
| 200 top: -51px; | |
| 201 left: -11px; | |
| 202 border-radius: 22px; | |
| 203 border: 1px solid #7B7B7B; | |
| 204 visibility: hidden; | |
| 205 background-color: white; | |
| 206 } | |
| 207 | |
| 208 .animation-timeline-capturing > .animation-timeline-timer { | |
| 209 visibility: visible; | |
| 210 } | |
| 211 | |
| 212 .animation-timeline-end > .animation-timeline-timer { | |
| 213 visibility: hidden; | |
| 214 } | |
| 215 | |
| 216 .timer-hemisphere { | |
| 217 width: 50%; | |
| 218 height: 100%; | |
| 219 position: absolute; | |
| 220 background: #808080; | |
| 221 } | |
| 222 | |
| 223 .timer-spinner { | |
| 224 border-radius: 20px 0 0 20px; | |
| 225 z-index: 200; | |
| 226 border-right: none; | |
| 227 transform-origin: 10px 10px; | |
| 228 will-change: transform; | |
| 229 } | |
| 230 | |
| 231 .timer-filler { | |
| 232 border-radius: 0 20px 20px 0; | |
| 233 z-index: 100; | |
| 234 border-left: none; | |
| 235 left: 50%; | |
| 236 opacity: 0; | |
| 237 } | |
| 238 | |
| 239 .timer-mask { | |
| 240 width: 50%; | |
| 241 height: 100%; | |
| 242 position: absolute; | |
| 243 z-index: 300; | |
| 244 opacity: 1; | |
| 245 background: white; | |
| 246 border-radius: 20px 0 0 20px; | |
| 247 } | |
| 248 | |
| 249 svg.animation-timeline-grid { | |
| 250 position: absolute; | |
| 251 left: 200px; | |
| 252 } | |
| 253 | |
| 254 rect.animation-timeline-grid-line { | |
| 255 fill: #eee; | |
| 256 } | |
| 257 | |
| 258 rect.animation-timeline-grid-line:first-child { | |
| 259 fill: #ccc; | |
| 260 } | |
| 261 | |
| 262 .animation-timeline-row > svg.animation-ui { | |
| 263 position: absolute; | |
| 264 } | |
| 265 | |
| 266 .animation-node-timeline { | |
| 267 flex-grow: 1; | |
| 268 } | |
| 269 | |
| 270 .animation-node-description > div { | |
| 271 position: absolute; | |
| 272 top: 50%; | |
| 273 transform: translateY(-50%); | |
| 274 max-height: 100%; | |
| 275 } | |
| 276 | |
| 277 .animation-node-row.animation-node-removed { | |
| 278 background-color: #fff0f0; | |
| 279 } | |
| 280 | |
| 281 svg.animation-ui g:first-child { | |
| 282 opacity: 1; | |
| 283 } | |
| 284 | |
| 285 .animation-tail-iterations { | |
| 286 opacity: 0.5; | |
| 287 } | |
| 288 | |
| 289 svg.animation-ui.animation-ui-canceled { | |
| 290 -webkit-filter: grayscale(100%); | |
| 291 transition: -webkit-filter 100ms cubic-bezier(0, 0, 0.2, 1); | |
| 292 } | |
| 293 | |
| 294 .animation-keyframe-step line { | |
| 295 stroke-width: 2; | |
| 296 stroke-opacity: 0.3; | |
| 297 } | |
| 298 | |
| 299 text.animation-timeline-grid-label { | |
| 300 font-size: 10px; | |
| 301 fill: #999; | |
| 302 } | |
| 303 | |
| 304 .animation-timeline-rows { | |
| 305 flex-grow: 1; | |
| 306 overflow-y: auto; | |
| 307 z-index: 1; | |
| 308 overflow-x: hidden; | |
| 309 } | |
| 310 | |
| 311 .toolbar.animation-controls-toolbar { | |
| 312 float: right; | |
| 313 } | |
| 314 | |
| 315 .animation-node-row.animation-node-selected { | |
| 316 background-color: hsla(218, 78%, 66%, 0.1); | |
| 317 } | |
| OLD | NEW |