| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 flex: auto; | 100 flex: auto; |
| 101 width: 100%; | 101 width: 100%; |
| 102 height: 100%; | 102 height: 100%; |
| 103 } | 103 } |
| 104 | 104 |
| 105 iframe.panel.extension { | 105 iframe.panel.extension { |
| 106 display: block; | 106 display: block; |
| 107 height: 100%; | 107 height: 100%; |
| 108 } | 108 } |
| 109 | 109 |
| 110 .outline-disclosure { | |
| 111 padding: 0 0 0 4px; | |
| 112 margin: 0; | |
| 113 } | |
| 114 | |
| 115 .outline-disclosure li { | |
| 116 position: relative; | |
| 117 } | |
| 118 | |
| 119 .outline-disclosure li.hovered:not(.selected) .selection { | |
| 120 display: block; | |
| 121 left: 3px; | |
| 122 right: 3px; | |
| 123 background-color: rgba(56, 121, 217, 0.1); | |
| 124 border-radius: 5px; | |
| 125 } | |
| 126 | |
| 127 .outline-disclosure li .selection { | |
| 128 display: none; | |
| 129 z-index: -1; | |
| 130 margin-left: -10000px; | |
| 131 } | |
| 132 | |
| 133 .outline-disclosure li.selected .selection { | |
| 134 display: block; | |
| 135 background-color: #dadada; | |
| 136 } | |
| 137 | |
| 138 .outline-disclosure li.in-clipboard .highlight { | |
| 139 outline: 1px dotted darkgrey; | |
| 140 } | |
| 141 | |
| 142 .outline-disclosure li.elements-drag-over .selection { | |
| 143 display: block; | |
| 144 margin-top: -2px; | |
| 145 border-top: 2px solid rgb(56, 121, 217); | |
| 146 } | |
| 147 | |
| 148 ol.outline-disclosure:focus li.selected .selection { | |
| 149 background-color: rgb(56, 121, 217); | |
| 150 } | |
| 151 | |
| 152 ol.outline-disclosure:focus li.parent.selected::before { | |
| 153 background-color: white; | |
| 154 } | |
| 155 | |
| 156 ol.outline-disclosure, | |
| 157 .outline-disclosure ol { | |
| 158 list-style-type: none; | |
| 159 } | |
| 160 | |
| 161 .outline-disclosure-no-padding { | |
| 162 padding: 0; | |
| 163 } | |
| 164 | |
| 165 .outline-disclosure ol { | |
| 166 padding-left: 12px; | |
| 167 } | |
| 168 | |
| 169 .outline-disclosure li { | |
| 170 margin-top: 1px; | |
| 171 text-overflow: ellipsis; | |
| 172 white-space: nowrap; | |
| 173 } | |
| 174 | |
| 175 ol.outline-disclosure:focus li.selected { | |
| 176 color: white; | |
| 177 } | |
| 178 | |
| 179 ol.outline-disclosure:focus li.selected * { | |
| 180 color: inherit; | |
| 181 } | |
| 182 | |
| 183 .outline-disclosure li::before { | |
| 184 -webkit-user-select: none; | |
| 185 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
| 186 -webkit-mask-size: 352px 168px; | |
| 187 content: "aa"; | |
| 188 color: transparent; | |
| 189 text-shadow: none; | |
| 190 margin-right: -2px; | |
| 191 } | |
| 192 | |
| 193 .outline-disclosure li:not(.parent)::before { | |
| 194 background-color: transparent; | |
| 195 } | |
| 196 | |
| 197 @media (-webkit-min-device-pixel-ratio: 1.1) { | |
| 198 .outline-disclosure li::before { | |
| 199 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | |
| 200 } | |
| 201 } /* media */ | |
| 202 | |
| 203 .outline-disclosure li::before { | |
| 204 -webkit-mask-position: -4px -96px; | |
| 205 background-color: rgb(110, 110, 110); | |
| 206 } | |
| 207 | |
| 208 .outline-disclosure li.parent.expanded::before { | |
| 209 -webkit-mask-position: -20px -96px; | |
| 210 } | |
| 211 | |
| 212 .outline-disclosure ol.children { | |
| 213 display: none; | |
| 214 } | |
| 215 | |
| 216 .outline-disclosure ol.children.expanded { | |
| 217 display: block; | |
| 218 } | |
| 219 | |
| 220 .properties-accessor-property-name { | 110 .properties-accessor-property-name { |
| 221 font-style: italic; | 111 font-style: italic; |
| 222 } | 112 } |
| 223 | 113 |
| 224 .child-editing { | 114 .child-editing { |
| 225 color: #222 !important; | 115 color: #222 !important; |
| 226 text-decoration: none !important; | 116 text-decoration: none !important; |
| 227 overflow: visible !important; | 117 overflow: visible !important; |
| 228 } | 118 } |
| 229 | 119 |
| 230 .sidebar-tree, | |
| 231 .sidebar-tree .children { | |
| 232 position: relative; | |
| 233 padding: 0; | |
| 234 margin: 0; | |
| 235 list-style: none; | |
| 236 } | |
| 237 | |
| 238 .sidebar-tree-section { | |
| 239 position: relative; | |
| 240 height: 18px; | |
| 241 padding: 1px 10px 6px 10px; | |
| 242 white-space: nowrap; | |
| 243 margin-top: 1px; | |
| 244 color: rgb(92, 110, 129); | |
| 245 text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0; | |
| 246 } | |
| 247 | |
| 248 .sidebar-tree-item { | |
| 249 position: relative; | |
| 250 height: 36px; | |
| 251 padding: 0 5px 0 5px; | |
| 252 white-space: nowrap; | |
| 253 overflow-x: hidden; | |
| 254 overflow-y: hidden; | |
| 255 margin-top: 1px; | |
| 256 line-height: 34px; | |
| 257 border-top: 1px solid transparent; | |
| 258 } | |
| 259 | |
| 260 .sidebar-tree .children { | |
| 261 display: none; | |
| 262 } | |
| 263 | |
| 264 .sidebar-tree .children.expanded { | |
| 265 display: block; | |
| 266 } | |
| 267 | |
| 268 .sidebar-tree-section + .children > .sidebar-tree-item { | |
| 269 padding-left: 10px !important; | |
| 270 } | |
| 271 | |
| 272 .sidebar-tree-section + .children.small > .sidebar-tree-item { | |
| 273 padding-left: 17px !important; | |
| 274 } | |
| 275 | |
| 276 .sidebar-tree > .children > .sidebar-tree-item { | |
| 277 padding-left: 37px; | |
| 278 } | |
| 279 | |
| 280 .sidebar-tree > .children > .children > .sidebar-tree-item { | |
| 281 padding-left: 37px; | |
| 282 } | |
| 283 | |
| 284 .sidebar-tree.some-expandable > .sidebar-tree-item:not(.parent) .icon { | |
| 285 margin-left: 16px; | |
| 286 } | |
| 287 | |
| 288 .sidebar-tree-item .disclosure-button { | |
| 289 float: left; | |
| 290 width: 10px; | |
| 291 height: 10px; | |
| 292 border: 0; | |
| 293 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
| 294 -webkit-mask-size: 352px 168px; | |
| 295 -webkit-appearance: none; | |
| 296 background-color: rgba(0, 0, 0, 0.75); | |
| 297 position: relative; | |
| 298 top: 10px; | |
| 299 } | |
| 300 | |
| 301 @media (-webkit-min-device-pixel-ratio: 1.1) { | |
| 302 .sidebar-tree-item .disclosure-button { | |
| 303 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | |
| 304 } | |
| 305 } /* media */ | |
| 306 | |
| 307 .sidebar-tree-item .disclosure-button { | |
| 308 -webkit-mask-position: -4px -96px; | |
| 309 } | |
| 310 | |
| 311 .sidebar-tree-item.selected .disclosure-button { | |
| 312 background-color: white; | |
| 313 -webkit-mask-position: -4px -96px; | |
| 314 } | |
| 315 | |
| 316 .sidebar-tree-item.expanded .disclosure-button { | |
| 317 -webkit-mask-position: -20px -96px; | |
| 318 } | |
| 319 | |
| 320 .sidebar-tree-item.selected.expanded .disclosure-button { | |
| 321 background-color: white; | |
| 322 -webkit-mask-position: -20px -96px; | |
| 323 } | |
| 324 | |
| 325 .sidebar-tree-item .icon { | |
| 326 float: left; | |
| 327 width: 32px; | |
| 328 height: 32px; | |
| 329 margin-top: 1px; | |
| 330 margin-right: 3px; | |
| 331 } | |
| 332 | |
| 333 .sidebar-tree-item.wait .icon { | |
| 334 content: none; | |
| 335 } | |
| 336 | |
| 337 .sidebar-tree-item.wait .icon::before { | |
| 338 display: block; | |
| 339 width: 24px; | |
| 340 height: 24px; | |
| 341 margin: 4px; | |
| 342 border: 3px solid grey; | |
| 343 border-radius: 12px; | |
| 344 clip: rect(0, 15px, 15px, 0); | |
| 345 content: ""; | |
| 346 position: absolute; | |
| 347 -webkit-animation: spinner-animation 1s linear infinite; | |
| 348 box-sizing: border-box; | |
| 349 } | |
| 350 | |
| 351 .sidebar-tree-item.wait.small .icon::before { | |
| 352 width: 14px; | |
| 353 height: 14px; | |
| 354 margin: 1px; | |
| 355 clip: rect(0, 9px, 9px, 0); | |
| 356 border-width: 2px; | |
| 357 } | |
| 358 | |
| 359 .sidebar-tree-item.wait.selected .icon::before { | |
| 360 border-color: white; | |
| 361 } | |
| 362 | |
| 363 @-webkit-keyframes spinner-animation { | |
| 364 from { transform: rotate(0); } | |
| 365 to { transform: rotate(360deg); } | |
| 366 } | |
| 367 | |
| 368 li .status { | |
| 369 float: right; | |
| 370 height: 16px; | |
| 371 margin-top: 9px; | |
| 372 margin-left: 4px; | |
| 373 line-height: 1em; | |
| 374 } | |
| 375 | |
| 376 li .status:empty { | |
| 377 display: none; | |
| 378 } | |
| 379 | |
| 380 .sidebar-tree.small .sidebar-tree-item, | |
| 381 .sidebar-tree .children.small .sidebar-tree-item, | |
| 382 .sidebar-tree-item.small { | |
| 383 height: 20px; | |
| 384 } | |
| 385 | |
| 386 .sidebar-tree.small .sidebar-tree-item .icon, | |
| 387 .sidebar-tree .children.small .sidebar-tree-item .icon, | |
| 388 .sidebar-tree-item.small .icon { | |
| 389 width: 16px; | |
| 390 height: 16px; | |
| 391 } | |
| 392 | |
| 393 .sidebar-tree.small .sidebar-tree-item .status, | |
| 394 .sidebar-tree .children.small .sidebar-tree-item .status, | |
| 395 .sidebar-tree-item.small .status { | |
| 396 margin-top: 1px; | |
| 397 } | |
| 398 | |
| 399 .sidebar-tree-item.selected, | |
| 400 .-theme-selection-color { | |
| 401 color: white; | |
| 402 background-origin: padding-box; | |
| 403 background-clip: padding-box; | |
| 404 background-color: rgb(56, 121, 217); | |
| 405 } | |
| 406 | |
| 407 :focus .sidebar-tree-item.selected { | |
| 408 background-color: rgb(56, 121, 217); | |
| 409 } | |
| 410 | |
| 411 body.inactive .sidebar-tree-item.selected { | |
| 412 background-color: rgb(180,180,180); | |
| 413 } | |
| 414 | |
| 415 .sidebar-tree-item .titles { | |
| 416 display: flex; | |
| 417 flex-direction: column; | |
| 418 position: relative; | |
| 419 top: 5px; | |
| 420 line-height: 12px; | |
| 421 padding-bottom: 1px; | |
| 422 text-overflow: ellipsis; | |
| 423 overflow: hidden; | |
| 424 white-space: nowrap; | |
| 425 } | |
| 426 | |
| 427 .titles > .title-container { | |
| 428 display: flex; | |
| 429 } | |
| 430 | |
| 431 .sidebar-tree-item .titles.no-subtitle { | |
| 432 top: 10px; | |
| 433 } | |
| 434 | |
| 435 .sidebar-tree.small .sidebar-tree-item .titles, | |
| 436 .sidebar-tree .children.small .sidebar-tree-item .titles, | |
| 437 .sidebar-tree-item.small .titles { | |
| 438 top: 2px; | |
| 439 line-height: normal; | |
| 440 } | |
| 441 | |
| 442 .sidebar-tree:not(.small) .sidebar-tree-item:not(.small) .title::after, | |
| 443 .sidebar-tree .children:not(.small) .sidebar-tree-item .title::after { | |
| 444 content: "\A"; | |
| 445 white-space: pre; | |
| 446 } | |
| 447 | |
| 448 .sidebar-tree-item .subtitle { | |
| 449 font-size: 80%; | |
| 450 } | |
| 451 | |
| 452 .sidebar-tree.small .sidebar-tree-item .subtitle, | |
| 453 .sidebar-tree .children.small .sidebar-tree-item .subtitle, | |
| 454 .sidebar-tree-item.small .subtitle { | |
| 455 display: none; | |
| 456 } | |
| 457 | |
| 458 .sidebar-tree-item.selected .subtitle { | |
| 459 color: white; | |
| 460 } | |
| 461 | |
| 462 .drawer-toolbar { | 120 .drawer-toolbar { |
| 463 margin-right: -6px; | 121 margin-right: -6px; |
| 464 } | 122 } |
| OLD | NEW |