From e269415cf45b2917807be22e6a35452bf913e0d0 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Tue, 10 Feb 2015 13:27:41 +0000 Subject: [PATCH] Added flip effect for editor open icon. --- resources/report/html/loot-plugin-item.html | 34 +++++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/resources/report/html/loot-plugin-item.html b/resources/report/html/loot-plugin-item.html index 7c0e6876..4726597b 100644 --- a/resources/report/html/loot-plugin-item.html +++ b/resources/report/html/loot-plugin-item.html @@ -21,6 +21,26 @@ margin-left: 16px; } + /* Flip effect for user metadata / editor open icons. */ + #flipper { + transform-style: preserve-3d; + transition: 0.6s; + overflow: visible; + } + :host([data-editor-open]) #flipper { + transform: rotateY(180deg); + } + #hasUserEdits, #editorIsOpen { + backface-visibility: hidden; + display: block; + } + #hasUserEdits { + transform: translateZ(1px); + } + #editorIsOpen { + transform: rotateY(180deg) translateZ(-1px); + } + /* paper-item (two-line) */ paper-item.two-line { /* Two-line items should be 72px high according to Material Design. @@ -99,12 +119,14 @@
- - - - - - +
+ + + + + + +