* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sun Aug 21 20:30:19 PDT 2011
* Date: Sun Aug 21 20:33:21 PDT 2011
*/
*/
/* Reset.less
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code><a></code>, <code><button></code>, and select <code><input></code> elements. Here’s how it looks:</p>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code><a></code>, <code><button></code>, and select <code><input></code> elements. Here’s how it looks:</p>
<p>Fancy larger or smaller buttons? Have at it!</p>
<p>Fancy larger or smaller buttons? Have at it!</p>
...
@@ -846,6 +850,7 @@
...
@@ -846,6 +850,7 @@
</div>
</div>
<h3>Disabled state</h3>
<h3>Disabled state</h3>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code><button></code> elements.</p>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code><button></code> elements.</p>
<p><strong>Note:</strong> If you're developing for older browsers like IE8 or below -- you're going to want to use the <code>.disabled</code> class for <code><button></code> elements as well.
<h4>Links</h4>
<h4>Links</h4>
<divclass="well">
<divclass="well">
<ahref="#"class="btn large primary disabled">Primary action</a>
<ahref="#"class="btn large primary disabled">Primary action</a>
...
@@ -853,8 +858,10 @@
...
@@ -853,8 +858,10 @@
</div>
</div>
<h4>Buttons</h4>
<h4>Buttons</h4>
<divclass="well">
<divclass="well">
<buttonclass="btn large primary"disabled>Primary action</button>
<form>
<buttonclass="btn large"disabled>Action</button>
<buttonclass="btn large primary disabled"disabled>Primary action</button>
<buttonclass="btn large disabled"disabled>Action</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -869,28 +876,30 @@
...
@@ -869,28 +876,30 @@
<h2>Fixed topbar</h2>
<h2>Fixed topbar</h2>
<divclass="topbar-wrapper"style="z-index: 5;">
<divclass="topbar-wrapper"style="z-index: 5;">
<divclass="topbar">
<divclass="topbar">
<divclass="container fixed">
<divclass="fill">
<h3><ahref="#">Project Name</a></h3>
<divclass="container fixed">
<ul>
<h3><ahref="#">Project Name</a></h3>
<liclass="active"><ahref="#">Home</a></li>
<ul>
<li><ahref="#">Link</a></li>
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="#">Link</a></li>
<li><ahref="#">Link</a></li>
<li><ahref="#">Link</a></li>
<li><ahref="#">Link</a></li>
</ul>
<li><ahref="#">Link</a></li>
<formaction="">
</ul>
<inputtype="text"placeholder="Search"/>
<formaction="">
</form>
<inputtype="text"placeholder="Search"/>
<ulclass="nav secondary-nav">
</form>
<liclass="menu">
<ulclass="nav secondary-nav">
<ahref="#"class="menu">Dropdown</a>
<liclass="menu">
<ulclass="menu-dropdown">
<ahref="#"class="menu">Dropdown</a>
<li><ahref="#">Secondary link</a></li>
<ulclass="menu-dropdown">
<li><ahref="#">Something else here</a></li>
<li><ahref="#">Secondary link</a></li>
<liclass="divider"></li>
<li><ahref="#">Something else here</a></li>
<li><ahref="#">Another link</a></li>
<liclass="divider"></li>
</ul>
<li><ahref="#">Another link</a></li>
</li>
</ul>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div><!-- topbar-wrapper -->
</div><!-- topbar-wrapper -->
...
@@ -1089,7 +1098,7 @@
...
@@ -1089,7 +1098,7 @@
<p>Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.</p>
<p>Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.</p>