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/accordion.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/accordion.less')
-rw-r--r-- | openstack_dashboard/static/bootstrap/less/accordion.less | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/openstack_dashboard/static/bootstrap/less/accordion.less b/openstack_dashboard/static/bootstrap/less/accordion.less new file mode 100644 index 00000000..11a36b54 --- /dev/null +++ b/openstack_dashboard/static/bootstrap/less/accordion.less @@ -0,0 +1,28 @@ +// ACCORDION +// --------- + + +// Parent container +.accordion { + margin-bottom: @baseLineHeight; +} + +// Group == heading + body +.accordion-group { + margin-bottom: 2px; + border: 1px solid #e5e5e5; + .border-radius(4px); +} +.accordion-heading { + border-bottom: 0; +} +.accordion-heading .accordion-toggle { + display: block; + padding: 8px 15px; +} + +// Inner needs the styles because you can't animate properly with any styles on the element +.accordion-inner { + padding: 9px 15px; + border-top: 1px solid #e5e5e5; +} |