xmosaicframe: add animation when displaying menu (related to #290425)

authorSamuel Trégouët <samuel.tregouet@logilab.fr>
changesetfc571211964f
branchdefault
phasepublic
hiddenno
parent revision#c9a281b0b5c5 xmosaicframe: move frame menu from top to right (related to #290425)
child revision#b17731194cfb xmosaicframe: display view menu as a buttons list (instead of dropdown)
files modified by this revision
components/xmosaicframe/xmosaicframe.html
# HG changeset patch
# User Samuel Trégouët <samuel.tregouet@logilab.fr>
# Date 1428049007 -7200
# Fri Apr 03 10:16:47 2015 +0200
# Node ID fc571211964f51ceed625ee304fe08151fff9a60
# Parent c9a281b0b5c5c9d0aa9b8a9b4cb76ecdb62d116f
xmosaicframe: add animation when displaying menu (related to #290425)

diff --git a/components/xmosaicframe/xmosaicframe.html b/components/xmosaicframe/xmosaicframe.html
@@ -40,16 +40,19 @@
1    #mosaic-frame-content {
2      margin: 15px;
3    }
4 
5    .mosaic-sidebar {
6 -    display: none;
7      position: relative;
8 +    transition: transform;
9 +    transition-duration: 0.5s;
10 +    transform-origin: right;
11 +    transform: scaleX(0);
12    }
13 
14    #panel:hover .mosaic-sidebar {
15 -    display: block;
16 +    transform: scaleX(1);
17    }
18    </style>
19 
20    <form>
21      <div class="form-group">