Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1811)

Unified Diff: Source/devtools/front_end/layersPanel.css

Issue 22602002: DevTools: add 3D layer view to Layer panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nuked LayerTreeModel.js from inspector.html Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/LayersPanel.js ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/layersPanel.css
diff --git a/Source/devtools/front_end/layersPanel.css b/Source/devtools/front_end/layersPanel.css
index 2261f0ce16dad6880aafdda5337633aea57cdab0..3763b73962aebf5e540c1778f64e0e4b8d346508 100644
--- a/Source/devtools/front_end/layersPanel.css
+++ b/Source/devtools/front_end/layersPanel.css
@@ -39,3 +39,61 @@ div.outline-disclosure > ol {
.layers.panel .outline-disclosure ol.children {
padding-left: 12px;
}
+
+.layers-3d-view {
+ overflow: hidden;
+}
+
+.layers-3d-view .rotating-container {
+ -webkit-transform-style: preserve-3d;
+}
+
+.layers-3d-view .layer-container {
+ position: absolute;
+ opacity: 0.8;
+ border: 1px solid rgba(40, 40, 40, 0.8);
+ -webkit-transform: translateZ(20px);
+ -webkit-transform-style: preserve-3d;
+}
+
+.layer-container .side-wall {
+ position: absolute;
+ background-color: inherit;
+ top: 0px;
+ right: 0px;
+ bottom: 0px;
+ left: 0px;
+ height: 4px;
+ width: 4px;
+ -webkit-transform-origin: 0 0;
+ border: solid black 1px;
+}
+
+.layer-container .back-wall {
+ -webkit-transform: translateZ(-4px);
+ background-color: inherit;
+}
+
+.layer-container .side-wall.top {
+ width: auto;
+ bottom: auto;
+ -webkit-transform: rotateX(-90deg);
+}
+
+.layer-container .side-wall.bottom {
+ width: auto;
+ top: auto;
+ -webkit-transform: translateY(4px) rotateX(-90deg);
+}
+
+.layer-container .side-wall.left {
+ height: auto;
+ right: auto;
+ -webkit-transform: rotateY(90deg);
+}
+
+.layer-container .side-wall.right {
+ height: auto;
+ left: auto;
+ -webkit-transform: translateX(4px) rotateY(90deg);
+}
« no previous file with comments | « Source/devtools/front_end/LayersPanel.js ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698