By default AdminFlare uses stacked-left layout.
To use centered layout add .centered-layout
to <body>
.
To use fluid layout add .fluid-layout
to <body>
.
For a multi column layout, create a .row-fluid
and add the appropriate number of .span*
columns. As this is a 12-column grid, each .span*
spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).
<div class="row-fluid"> <div class="span1">1</div> <div class="span1">1</div> <div class="span1">1</div> ... </div> ...
Move columns to the right using .offset*
classes. Each class increases the left margin of a column by a whole column. For example, .offset4
moves .span4
over four columns.
<div class="row-fluid"> <div class="span6">...</div> <div class="span4 offset2">...</div> </div> ...
To nest your content with the default grid, add a new .row-fluid
and set of .span*
columns within an existing .span*
column. Nested rows should include a set of columns that add up to the number of columns of its parent.
<div class="row-fluid"> <div class="span9"> Level 1 column <div class="row-fluid"> <div class="span6">Level 2</div> <div class="span3">Level 2</div> </div> </div> </div>
Boxes that follows a .box-header
can be collapsed by clicking on the hide link. If you need a non-collapsible box, just add a .non-collapsible
to the .box
.
<h3 class="box-header"> Box Example </h3> <div class="box"> <div class="span3">Column 1</div> <div class="span6">Column 2</div> <div class="span3">Column 3</div> </div>
<h3 class="box-header"> Non-bordered Box Example </h3> <div class="box no-border non-collapsible"> <div class="span3">Column 1</div> <div class="span6">Column 2</div> <div class="span3">Column 3</div> </div>