test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco in magic_stylez-0.0.0.99 vs test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco in magic_stylez-0.0.330
- old
+ new
@@ -1,85 +1,147 @@
-<div class="fullpage-table" id="banner-one">
+<div class="fullpage-table" id="banner-berlin">
<div class="table-row">
- <div class="banner-box responsive-hero with-footer with-header fill berlin">
- <div class="banner-header">
- <div class="corset">
- <h1 class="loud">Fullpage Table</h1>
- </div>
+ <div class="cell table-cell header-cell">
+
+ <div class="corset center_text">
+ <p class="highlight no-press">Header</p>
</div>
- <div class="banner-content">
- <div class="corset">
- <p class="loud">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
- <div class="well">
- surounding element (i.e. body) needs the following <em>css</em>:
- <br/>
- <code>width: 100%; height: 100%;</code>
- </div>
- </div>
+ </div>
+ </div>
+ <div class="table-row">
+ <div class="cell table-cell content-cell fill">
+
+ <div class="corset responsive-hero center_text">
+ <h1 class="loud white-clr upcase">FullPage Table</h1>
+ <p class="loud white-clr">
+ FullPage-Tables always use full page size!
+ </p>
</div>
- <div class="banner-footer" id="sign_up_banner">
- <div class="corset">
- <div class="row">
- <div class="col-sm-4 col-sm-offset-4">
- <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
- <button class="btn btn-success btn-block help_arrow" data-text="Go click me!">
- Click Me
- </button>
- </div>
+ </div>
+ </div>
+ <div class="table-row">
+ <div class="cell table-cell footer-cell">
+
+ <div class="corset center_text">
+ <div class="row">
+ <div class="col-sm-4 col-sm-offset-4">
+ <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!">
+ Click Me
+ </button>
</div>
</div>
</div>
</div>
</div>
</div>
+<div class="clearfix"></div>
+
+
<div class="section shine-top">
<div class="corset">
<h2>Usage</h2>
<pre>
<code>
-<div class="fullpage-table" id="front-banner">
- <div class="table-row"><br/> <div class="banner-box responsive-hero with-footer with-header fill wood"><br/> <div class="banner-header"><br/> <div class="corset"><br/> <h1 class="loud">Fullpage Table</h1><br/> </div><br/> </div><br/> <br/> <div class="banner-content"><br/> <div class="corset"><br/> <p class="loud">This is a fullpage-table, it allways uses fullpage-height (if content fits in).</p><br/> </div><br/> </div><br/> <br/> <div class="banner-footer" id="sign_up_banner"><br/> <div class="corset"><br/> <div class="row"><br/> <div class="col-sm-4 col-sm-offset-4"><br/> <a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a><br/> </div><br/> </div><br/> </div><br/> </div><br/> <br/> </div><br/> </div><br/></div>
+<div class="fullpage-table" id="banner-one"><br/> <div class="table-row"><br/> <div class="header-cell bright"><br/> <div class="corset center_text"><br/> <h1 class="loud">Fullpage Table</h1><br/> </div><br/> </div><br/> </div><br/> <div class="table-row"><br/> <div class="content-cell fill"><br/> <div class="corset responsive-hero center_text"><br/> <br/> <p class="loud ">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p><br/> <div class="well"><br/> surounding element (i.e. body) needs the following <em>css</em>:<br/> <br/><br/> <code>width: 100%; height: 100%;</code><br/> </div><br/> <br/> </div><br/> </div><br/> </div><br/> <div class="table-row"><br/> <div class="footer-cell bright"><br/> <div class="corset center_text"><br/> <br/> <div class="row"><br/> <div class="col-sm-4 col-sm-offset-4"><br/> <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>--><br/> <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!"><br/> Click Me<br/> </button><br/> </div><br/> </div><br/> <br/> </div><br/> </div><br/> </div><br/></div><br/>
</code>
</pre>
</div>
</div>
-<div class="fullpage-table" id="banner-two">
+<div class="fullpage-table" id="banner-one">
+
<div class="table-row">
- <div class="banner-box responsive-hero with-footer with-header fill berlin fixed-bg">
- <div class="banner-header">
- <div class="corset">
- <h1 class="loud">Fullpage Table <small>with fixed Background</small></h1>
- </div>
+ <div class="header-cell bright">
+ <div class="corset center_text">
+ <h1 class="loud">Fullpage Table</h1>
</div>
-
- <div class="banner-content">
- <div class="corset">
- <p class="loud">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
+ </div>
+ </div>
+ <div class="table-row">
+ <div class="content-cell fill">
+ <div class="corset responsive-hero center_text">
+
+ <p class="loud ">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
+ <div class="well">
+ surounding element (i.e. body) needs the following <em>css</em>:
<br/>
- <div class="well">
- <strong>!!!</strong> fixed background doesn't work on chrome browser (Version 35.x - 39.x) <strong>!!!</strong>
- </div>
+ <code>width: 100%; height: 100%;</code>
</div>
+
</div>
-
- <div class="banner-footer" id="sign_up_banner">
- <div class="corset">
- <div class="row">
- <div class="col-sm-4 col-sm-offset-4">
- <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
- <button class="btn btn-success btn-block help_arrow" data-text="Go click me!">
- Click Me
- </button>
- </div>
+ </div>
+ </div>
+ <div class="table-row">
+ <div class="footer-cell bright">
+ <div class="corset center_text">
+
+ <div class="row">
+ <div class="col-sm-4 col-sm-offset-4">
+ <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
+ <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!">
+ Click Me
+ </button>
</div>
</div>
+
</div>
-
</div>
</div>
-</div>
\ No newline at end of file
+</div>
+
+
+<div class="section">
+ <div class="corset">
+ <h2>Sizes:</h2>
+
+ <p>For <code>.header-cell</code>, <code>.content-cell</code> and <code>.footer-cell</code> within the <code>fullpage-table</code>.
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Class</th>
+ <th>Padding-Top</th>
+ <th>Padding-Bottom</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th> </th>
+ <td>20px</td>
+ <td>20px</td>
+ </tr>
+ <tr>
+ <th>.xs<br/>.flat</th>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <th>.sm</th>
+ <td>10px</td>
+ <td>10px</td>
+ </tr>
+ <tr>
+ <th>.lg</th>
+ <td>30px</td>
+ <td>30px</td>
+ </tr>
+ <tr>
+ <th>.xl</th>
+ <td>40px</td>
+ <td>40px</td>
+ </tr>
+ <tr>
+ <th>.dark</th>
+ <td colspan="2">Dark Background (<code>$fullpageDarkBG</code>)</td>
+ </tr>
+ <tr>
+ <th>.bright</th>
+ <td colspan="2">Bright Background (<code>$fullpageBrightBG</code>)</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>