Minor fix in base module's fonts, added demos for buttons and labels
This commit is contained in:
parent
54fd3d467d
commit
6b3db97a89
|
@ -450,6 +450,48 @@
|
|||
</form></pre>
|
||||
</div><br>
|
||||
|
||||
<h2 id="button">Buttons</h2>
|
||||
<p>Use the <code>.btn</code> class on <code><button></code>, <code><a></code>, <code><label></code> or similar elements to give them a unique style. Color variants are provided (<code>.red</code>, <code>.green</code> and <code>.blue</code>), as well as size variants (<code>.sm</code> and <code>.lg</code>).</p>
|
||||
|
||||
<h3>Button styles and variants</h3>
|
||||
<div class="panel" ><h4 class="head">Example</h4><br>
|
||||
<button class="btn">Default button</button>
|
||||
<button class="btn red">Red button</button>
|
||||
<button class="btn green">Green button</button>
|
||||
<button class="btn blue">Blue button</button>
|
||||
<button class="btn sm">Small button</button>
|
||||
<button class="btn lg">Large button</button><br><br>
|
||||
<pre class="panelcode"><button class="btn">Default button</button>
|
||||
<button class="btn red">Red button</button>
|
||||
<button class="btn green">Green button</button>
|
||||
<button class="btn blue">Blue button</button>
|
||||
<button class="btn sm">Small button</button>
|
||||
<button class="btn lg">Large button</button></pre>
|
||||
</div><br>
|
||||
|
||||
<h2 id="label">Labels & Badges</h2>
|
||||
<p>Use the <code>.lbl</code> or <code>.bdg</code> class on any elements to style them like labels or badges. Color variants are provided (<code>.red</code>, <code>.green</code> and <code>.blue</code>) for both of these styles.</p>
|
||||
|
||||
<h3>Labels and badge styles</h3>
|
||||
<div class="panel" ><h4 class="head">Example</h4><br>
|
||||
<span class="lbl">Label</span>
|
||||
<span class="lbl red">Red label</span>
|
||||
<span class="lbl green">Green label</span>
|
||||
<span class="lbl blue">Blue label</span>
|
||||
<span class="bdg">12</span>
|
||||
<span class="bdg red">3</span>
|
||||
<span class="bdg green">45</span>
|
||||
<span class="bdg blue">6</span><br><br>
|
||||
<pre class="panelcode"><span class="lbl">Label</span>
|
||||
<span class="lbl red">Red label</span>
|
||||
<span class="lbl green">Green label</span>
|
||||
<span class="lbl blue">Blue label</span>
|
||||
|
||||
<span class="bdg">12</span>
|
||||
<span class="bdg red">3</span>
|
||||
<span class="bdg green">45</span>
|
||||
<span class="bdg blue">6</span></pre>
|
||||
</div><br>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -234,7 +234,7 @@ button, input, hr {
|
|||
Style for buttons and input elements.
|
||||
*/
|
||||
button, input, optgroup, select, textarea {
|
||||
font-family: '"Helvetica Neue", Helvetica, sans-serif';
|
||||
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
||||
font-size: 100%;
|
||||
line-height: 1.2;
|
||||
margin: 0; }
|
||||
|
|
2
flavors/mini-default.min.css
vendored
2
flavors/mini-default.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -83,7 +83,7 @@ ul, ol {
|
|||
Styles for code and preformatted.
|
||||
*/
|
||||
samp, kbd, code, pre{
|
||||
font-family: $code-fonts;
|
||||
font-family: #{$code-fonts};
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
kbd, code, pre {
|
||||
|
@ -224,7 +224,7 @@ button, input, hr {
|
|||
Style for buttons and input elements.
|
||||
*/
|
||||
button, input, optgroup, select, textarea {
|
||||
font-family: $button-fonts;
|
||||
font-family: #{$button-fonts};
|
||||
font-size: $button-font-size;
|
||||
line-height: $base-line-height * $button-line-height-multiplier;
|
||||
margin: $button-margin;
|
||||
|
|
Loading…
Reference in a new issue