Fix card flip flickering.

Closes #451.
This commit is contained in:
Oliver Hamlet
2015-08-17 19:24:15 +01:00
parent 3e08531042
commit d1a494aa9f
2 changed files with 5 additions and 8 deletions
+1 -2
View File
@@ -66,11 +66,10 @@ loot-clear-metadata
}
#front {
display: block;
transform: translateZ(1px);
backface-visibility: hidden;
}
#editor {
transform: rotateY(180deg) translateZ(-1px);
transform: rotateY(180deg);
display:none;
backface-visibility: hidden;
}
@@ -91,11 +91,8 @@ loot-editor-close
}
/* Misc Styling. */
:host {
background: #CFD4E9;
}
core-toolbar.medium-tall {
background: transparent;
background: #CFD4E9;
height: 104px;
}
core-toolbar > div {
@@ -108,9 +105,10 @@ loot-editor-close
vertical-align: inherit !important;
}
core-selector > * {
border-bottom: 4px solid #CFD4E9;
border: 4px solid #CFD4E9;
border-top: none;
background: white;
margin: 0 4px 4px 4px;
margin-bottom: 4px;
}
#main {
padding: 16px;