diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 00:31:39 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 00:31:39 +0200 |
commit | 77ba80f434366c75ae0b73d561b843ff367ebd84 (patch) | |
tree | 471fe12e439809a412b90cf8adc1b4b0d89a9568 /skins/vector/components/animations.less | |
parent | 3c17e63c47e55f5070e3c7049d300f3e6164f190 (diff) | |
download | mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.gz mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.bz2 mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.xz mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.zip |
Fix layout
Diffstat (limited to 'skins/vector/components/animations.less')
-rw-r--r-- | skins/vector/components/animations.less | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/skins/vector/components/animations.less b/skins/vector/components/animations.less new file mode 100644 index 0000000..9163779 --- /dev/null +++ b/skins/vector/components/animations.less @@ -0,0 +1,28 @@ +/* Animate between standard and high definition layouts */ +body.vector-animateLayout { + div#content, + div#footer, + #left-navigation { + .transition(margin-left 250ms, padding 250ms;); + } + + #p-logo { + .transition(left 250ms); + } + + #mw-panel { + .transition(padding-right 250ms); + } + + #p-search { + .transition(margin-right 250ms); + } + + #p-personal { + .transition(right 250ms); + } + + #mw-head-base { + .transition(margin-left 250ms); + } +} |