diff options
author | John Postlethwait <john.postlethwait@nebula.com> | 2012-05-11 23:37:35 -0700 |
---|---|---|
committer | John Postlethwait <john.postlethwait@nebula.com> | 2012-06-07 14:32:43 -0700 |
commit | 0074328fbbac6967d5dda2f3b0f3f98a91d17a01 (patch) | |
tree | 5eea54c65561786fbd88641dc65d85ac521a51b2 /openstack_dashboard/static/bootstrap/less/component-animations.less | |
parent | 187785b28d7cfeb3fb4f87b67d71bc3dcf1f1354 (diff) | |
download | tuskar-ui-0074328fbbac6967d5dda2f3b0f3f98a91d17a01.tar.gz |
Updating Horizon to use LESS.
This changes all of the Bootstrap CSS and Horizon
CSS to use LESS. Horizon's specific CSS will be
organized into separate files in another commit,
as it is outside the scope of this BP.
We are also now packing LESS 1.3.0 directly within
Horizon.
Implementation of Blueprint transition-to-lesscss
Change-Id: Ie4be8b28ab3ce04ea21d7d5cd49c2ccb66bd8ade
Diffstat (limited to 'openstack_dashboard/static/bootstrap/less/component-animations.less')
-rw-r--r-- | openstack_dashboard/static/bootstrap/less/component-animations.less | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openstack_dashboard/static/bootstrap/less/component-animations.less b/openstack_dashboard/static/bootstrap/less/component-animations.less new file mode 100644 index 00000000..4f2a4fd1 --- /dev/null +++ b/openstack_dashboard/static/bootstrap/less/component-animations.less @@ -0,0 +1,18 @@ +// COMPONENT ANIMATIONS +// -------------------- + +.fade { + .transition(opacity .15s linear); + opacity: 0; + &.in { + opacity: 1; + } +} + +.collapse { + .transition(height .35s ease); + position:relative; + overflow:hidden; + height: 0; + &.in { height: auto; } +} |