Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | |
|
pfeldman
2013/08/09 09:24:52
Copyright is a valuable thing - do not erase it.
| |
| 3 * | |
| 4 * Redistribution and use in source and binary forms, with or without | |
| 5 * modification, are permitted provided that the following conditions are | |
| 6 * met: | |
| 7 * | |
| 8 * * Redistributions of source code must retain the above copyright | |
| 9 * notice, this list of conditions and the following disclaimer. | |
| 10 * * Redistributions in binary form must reproduce the above | |
| 11 * copyright notice, this list of conditions and the following disclaimer | |
| 12 * in the documentation and/or other materials provided with the | |
| 13 * distribution. | |
| 14 * * Neither the name of Google Inc. nor the names of its | |
| 15 * contributors may be used to endorse or promote products derived from | |
| 16 * this software without specific prior written permission. | |
| 17 * | |
| 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 29 */ | |
| 30 | |
| 31 .layers.panel .outline-disclosure { | 1 .layers.panel .outline-disclosure { |
| 32 z-index: 10; | 2 z-index: 10; |
| 33 } | 3 } |
| 34 | 4 |
| 35 div.outline-disclosure > ol { | 5 div.outline-disclosure > ol { |
| 36 margin-left: -12px; | 6 margin-left: -12px; |
| 37 } | 7 } |
| 38 | 8 |
| 39 .layers.panel .outline-disclosure ol.children { | 9 .layers.panel .outline-disclosure ol.children { |
| 40 position: static; | 10 position: static; |
| 41 padding-left: 12px; | 11 padding-left: 12px; |
| 42 } | 12 } |
| 13 | |
| 14 .layers-3d-view { | |
| 15 overflow: hidden; | |
| 16 } | |
| 17 | |
| 18 .layers-3d-view .rotating-container { | |
| 19 -webkit-transform-style: preserve-3d; | |
| 20 } | |
| 21 | |
| 22 .layers-3d-view .layer-container { | |
| 23 position: absolute; | |
| 24 opacity: 0.8; | |
| 25 border: 1px solid rgba(40, 40, 40, 0.8); | |
| 26 -webkit-transform: translateZ(20px); | |
| 27 -webkit-transform-style: preserve-3d; | |
| 28 } | |
| 29 | |
| 30 .layer-container .side-wall { | |
| 31 position: absolute; | |
| 32 background-color: inherit; | |
| 33 top: 0px; | |
| 34 right: 0px; | |
| 35 bottom: 0px; | |
| 36 left: 0px; | |
| 37 height: 4px; | |
| 38 width: 4px; | |
| 39 -webkit-transform-origin: 0 0; | |
| 40 border: solid black 1px; | |
| 41 } | |
| 42 | |
| 43 .layer-container .back-wall { | |
| 44 -webkit-transform: translateZ(-4px); | |
| 45 background-color: inherit; | |
| 46 } | |
| 47 | |
| 48 .layer-container .side-wall.top { | |
| 49 width: auto; | |
| 50 bottom: auto; | |
| 51 -webkit-transform: rotateX(-90deg); | |
| 52 } | |
| 53 | |
| 54 .layer-container .side-wall.bottom { | |
| 55 width: auto; | |
| 56 top: auto; | |
| 57 -webkit-transform: translateY(4px) rotateX(-90deg); | |
| 58 } | |
| 59 | |
| 60 .layer-container .side-wall.left { | |
| 61 height: auto; | |
| 62 right: auto; | |
| 63 -webkit-transform: rotateY(90deg); | |
| 64 } | |
| 65 | |
| 66 .layer-container .side-wall.right { | |
| 67 height: auto; | |
| 68 left: auto; | |
| 69 -webkit-transform: translateX(4px) rotateY(90deg); | |
| 70 } | |
| OLD | NEW |