Added transition to tooltip display.

This commit is contained in:
Oliver Hamlet
2014-12-27 12:57:53 +00:00
parent 043706de4a
commit 9c037e1bab
+9
View File
@@ -57,3 +57,12 @@ core-drawer-panel::shadow #drawer {
#settingsDialog loot-dropdown-menu::shadow paper-dropdown-menu {
padding-top: 4px;
}
/* Add a transition to the core-tooltip tooltips. */
html /deep/ core-tooltip::shadow .core-tooltip {
opacity: 0;
transition: opacity 0.3s, visibility 0s 0.3s;
}
html /deep/ core-tooltip:hover:not([disabled])::shadow .core-tooltip {
opacity: 1;
transition-delay: 0s;
}