mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-03 03:29:21 +01:00
resolve conflicts
This commit is contained in:
commit
23ec21d049
60
bootstrap-1.0.0.css
vendored
60
bootstrap-1.0.0.css
vendored
@ -6,7 +6,7 @@
|
|||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* 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:38:48 PDT 2011
|
* Date: Sun Aug 21 20:50:48 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).
|
||||||
@ -121,6 +121,26 @@ aside {
|
|||||||
.container:after {
|
.container:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
/*.button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) {
|
||||||
|
display: inline-block;
|
||||||
|
#gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%));
|
||||||
|
padding: @padding;
|
||||||
|
text-shadow: @textShadow;
|
||||||
|
color: @textColor;
|
||||||
|
font-size: @fontSize;
|
||||||
|
line-height: @baseline;
|
||||||
|
border: 1px solid;
|
||||||
|
border-color: #ccc #ccc #bbb;
|
||||||
|
border-color: borderColor borderColor fadein(@borderColor, 15%);
|
||||||
|
.border-radius(@borderRadius);
|
||||||
|
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
&:hover {
|
||||||
|
background-position: 0 -15px;
|
||||||
|
color: @textColor;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}*/
|
||||||
/*
|
/*
|
||||||
* Scaffolding
|
* Scaffolding
|
||||||
* Basic and global styles for generating a grid system, structural layout, and page templates
|
* Basic and global styles for generating a grid system, structural layout, and page templates
|
||||||
@ -339,7 +359,7 @@ html, body {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
margin: 60px 0 0;
|
margin: 0;
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -375,6 +395,7 @@ a {
|
|||||||
color: #0069d6;
|
color: #0069d6;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
|
font-weight: inherit;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #0050a3;
|
color: #0050a3;
|
||||||
@ -392,28 +413,24 @@ a:hover {
|
|||||||
background-image: linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
|
background-image: linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
|
||||||
padding: 4px 14px;
|
padding: 4px 14px;
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
||||||
color: #333333;
|
color: #333;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
border: 1px solid;
|
border: 1px solid #ccc;
|
||||||
border-color: #ccc #ccc #bbb;
|
border-bottom-color: #bbb;
|
||||||
border-color: borderColor borderColor rgba(0, 0, 0, 0.25);
|
|
||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
-moz-border-radius: 4px;
|
-moz-border-radius: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
-webkit-transition: 0.1s linear all;
|
|
||||||
-moz-transition: 0.1s linear all;
|
|
||||||
transition: 0.1s linear all;
|
|
||||||
}
|
}
|
||||||
.btn:hover {
|
.btn:hover {
|
||||||
background-position: 0 -15px;
|
background-position: 0 -15px;
|
||||||
color: #333333;
|
color: #333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.btn.primary {
|
.primary {
|
||||||
background-color: #0064cd;
|
background-color: #0064cd;
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
|
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
|
||||||
@ -423,6 +440,20 @@ a:hover {
|
|||||||
background-image: -webkit-linear-gradient(#049cdb, #0064cd);
|
background-image: -webkit-linear-gradient(#049cdb, #0064cd);
|
||||||
background-image: -o-linear-gradient(#049cdb, #0064cd);
|
background-image: -o-linear-gradient(#049cdb, #0064cd);
|
||||||
background-image: linear-gradient(#049cdb, #0064cd);
|
background-image: linear-gradient(#049cdb, #0064cd);
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
|
border: 1px solid #004b9a;
|
||||||
|
border-bottom-color: #003f81;
|
||||||
|
}
|
||||||
|
.primary:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
-webkit-transition: 0.1s linear all;
|
||||||
|
-moz-transition: 0.1s linear all;
|
||||||
|
transition: 0.1s linear all;
|
||||||
|
}
|
||||||
|
.btn.primary {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
border-color: #0064cd #0064cd #003f81;
|
border-color: #0064cd #0064cd #003f81;
|
||||||
@ -977,6 +1008,13 @@ form.form-stacked .inputs-list li label {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
form.form-stacked .error {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-left: -10px;
|
||||||
|
}
|
||||||
form.form-stacked .actions {
|
form.form-stacked .actions {
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
|
10
bootstrap-1.0.0.min.css
vendored
10
bootstrap-1.0.0.min.css
vendored
@ -40,15 +40,16 @@ header,section,footer,article,aside{display:block;}
|
|||||||
.row .offset11{margin-left:680px !important;}.row .offset11:first-child{margin-left:660px !important;}
|
.row .offset11{margin-left:680px !important;}.row .offset11:first-child{margin-left:660px !important;}
|
||||||
.row .offset12{margin-left:740px !important;}.row .offset12:first-child{margin-left:720px !important;}
|
.row .offset12{margin-left:740px !important;}.row .offset12:first-child{margin-left:720px !important;}
|
||||||
html,body{background-color:#fff;}
|
html,body{background-color:#fff;}
|
||||||
body{margin:60px 0 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;text-rendering:optimizeLegibility;}
|
body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;text-rendering:optimizeLegibility;}
|
||||||
div.container{width:940px;margin:0 auto;}
|
div.container{width:940px;margin:0 auto;}
|
||||||
div.container-fluid{padding:0 20px;zoom:1;}div.container-fluid:before,div.container-fluid:after{display:table;content:"";}
|
div.container-fluid{padding:0 20px;zoom:1;}div.container-fluid:before,div.container-fluid:after{display:table;content:"";}
|
||||||
div.container-fluid:after{clear:both;}
|
div.container-fluid:after{clear:both;}
|
||||||
div.container-fluid div.sidebar{float:left;width:220px;}
|
div.container-fluid div.sidebar{float:left;width:220px;}
|
||||||
div.container-fluid div.content{min-width:700px;max-width:1180px;margin-left:240px;}
|
div.container-fluid div.content{min-width:700px;max-width:1180px;margin-left:240px;}
|
||||||
a{color:#0069d6;text-decoration:none;line-height:inherit;}a:hover{color:#0050a3;text-decoration:underline;}
|
a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#0050a3;text-decoration:underline;}
|
||||||
.btn{display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, color-stop(0.25, #ffffff), #e6e6e6);background-image:-moz-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-ms-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);background-image:-o-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);background-image:linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);padding:4px 14px;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);color:#333333;font-size:13px;line-height:18px;border:1px solid;border-color:#ccc #ccc #bbb;border-color:borderColor borderColor rgba(0, 0, 0, 0.25);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-webkit-transition:0.1s linear all;-moz-transition:0.1s linear all;transition:0.1s linear all;}.btn:hover{background-position:0 -15px;color:#333333;text-decoration:none;}
|
.btn{display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, color-stop(0.25, #ffffff), #e6e6e6);background-image:-moz-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-ms-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);background-image:-o-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);background-image:linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);padding:4px 14px;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);color:#333;font-size:13px;line-height:18px;border:1px solid #ccc;border-bottom-color:#bbb;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);}.btn:hover{background-position:0 -15px;color:#333;text-decoration:none;}
|
||||||
.btn.primary{background-color:#0064cd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));background-image:-moz-linear-gradient(#049cdb, #0064cd);background-image:-ms-linear-gradient(#049cdb, #0064cd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));background-image:-webkit-linear-gradient(#049cdb, #0064cd);background-image:-o-linear-gradient(#049cdb, #0064cd);background-image:linear-gradient(#049cdb, #0064cd);color:#fff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#0064cd #0064cd #003f81;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}.btn.primary:hover{color:#fff;}
|
.primary{background-color:#0064cd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));background-image:-moz-linear-gradient(#049cdb, #0064cd);background-image:-ms-linear-gradient(#049cdb, #0064cd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));background-image:-webkit-linear-gradient(#049cdb, #0064cd);background-image:-o-linear-gradient(#049cdb, #0064cd);background-image:linear-gradient(#049cdb, #0064cd);color:#fff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border:1px solid #004b9a;border-bottom-color:#003f81;}.primary:hover{color:#fff;}
|
||||||
|
.btn{-webkit-transition:0.1s linear all;-moz-transition:0.1s linear all;transition:0.1s linear all;}.btn.primary{color:#fff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#0064cd #0064cd #003f81;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}.btn.primary:hover{color:#fff;}
|
||||||
.btn.large{font-size:16px;line-height:28px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
|
.btn.large{font-size:16px;line-height:28px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
|
||||||
.btn.small{padding-right:9px;padding-left:9px;font-size:11px;}
|
.btn.small{padding-right:9px;padding-left:9px;font-size:11px;}
|
||||||
.btn.disabled{background-image:none;filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;cursor:default;}
|
.btn.disabled{background-image:none;filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;cursor:default;}
|
||||||
@ -131,6 +132,7 @@ form.form-stacked legend{margin-left:0;}
|
|||||||
form.form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;}
|
form.form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;}
|
||||||
form.form-stacked .clearfix{margin-bottom:9px;}form.form-stacked .clearfix div.input{margin-left:0;}
|
form.form-stacked .clearfix{margin-bottom:9px;}form.form-stacked .clearfix div.input{margin-left:0;}
|
||||||
form.form-stacked .inputs-list{margin-bottom:0;}form.form-stacked .inputs-list li{padding-top:0;}form.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;}
|
form.form-stacked .inputs-list{margin-bottom:0;}form.form-stacked .inputs-list li{padding-top:0;}form.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;}
|
||||||
|
form.form-stacked .error{padding-top:10px;padding-bottom:10px;padding-left:10px;margin-top:0;margin-left:-10px;}
|
||||||
form.form-stacked .actions{margin-left:-20px;padding-left:20px;}
|
form.form-stacked .actions{margin-left:-20px;padding-left:20px;}
|
||||||
table{width:100%;margin-bottom:18px;padding:0;border-collapse:separate;font-size:13px;}table th,table td{padding:10px 10px 9px;line-height:13.5px;text-align:left;vertical-align:middle;border-bottom:1px solid #ddd;}
|
table{width:100%;margin-bottom:18px;padding:0;border-collapse:separate;font-size:13px;}table th,table td{padding:10px 10px 9px;line-height:13.5px;text-align:left;vertical-align:middle;border-bottom:1px solid #ddd;}
|
||||||
table th{padding-top:9px;font-weight:bold;border-bottom-width:2px;}
|
table th{padding-top:9px;font-weight:bold;border-bottom-width:2px;}
|
||||||
|
@ -44,7 +44,7 @@ section {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
#masthead {
|
#masthead {
|
||||||
margin-top: -20px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
#masthead h1,
|
#masthead h1,
|
||||||
#masthead p {
|
#masthead p {
|
||||||
@ -146,34 +146,6 @@ div.quickstart form textarea {
|
|||||||
.show-grid:hover .column, .show-grid:hover .columns {
|
.show-grid:hover .column, .show-grid:hover .columns {
|
||||||
background: rgba(0, 0, 0, 0.25);
|
background: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
/* Hashgrid.js grid (press G & H to view)
|
|
||||||
-------------------------------------------------- */
|
|
||||||
#grid {
|
|
||||||
width: 980px;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 50%;
|
|
||||||
margin-left: -490px;
|
|
||||||
}
|
|
||||||
#grid div.vert {
|
|
||||||
background-color: rgba(0, 206, 209, 0.075);
|
|
||||||
width: 39px;
|
|
||||||
border: solid darkturquoise;
|
|
||||||
border-width: 0 1px;
|
|
||||||
margin-right: 19px;
|
|
||||||
}
|
|
||||||
#grid div.vert.first-line {
|
|
||||||
margin-left: 19px;
|
|
||||||
}
|
|
||||||
#grid div.horiz {
|
|
||||||
height: 19px;
|
|
||||||
border-bottom: 1px solid rgba(255, 0, 0, 0.1);
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
#grid div.horiz:nth-child(5n) {
|
|
||||||
border-color: rgba(255, 0, 0, 0.25);
|
|
||||||
}
|
|
||||||
/* Render mini layout previews
|
/* Render mini layout previews
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
div.mini-layout {
|
div.mini-layout {
|
||||||
@ -199,7 +171,9 @@ div.mini-layout div.mini-layout-body {
|
|||||||
width: 450px;
|
width: 450px;
|
||||||
height: 340px;
|
height: 340px;
|
||||||
}
|
}
|
||||||
div.mini-layout.fluid div.mini-layout-sidebar, div.mini-layout.fluid div.mini-layout-header, div.mini-layout.fluid div.mini-layout-body {
|
div.mini-layout.fluid div.mini-layout-sidebar,
|
||||||
|
div.mini-layout.fluid div.mini-layout-header,
|
||||||
|
div.mini-layout.fluid div.mini-layout-body {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
div.mini-layout.fluid div.mini-layout-sidebar {
|
div.mini-layout.fluid div.mini-layout-sidebar {
|
||||||
|
1309
docs/index.html
1309
docs/index.html
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
<body onload="prettyPrint();">
|
<body onload="prettyPrint();">
|
||||||
|
|
||||||
|
<!-- Topbar
|
||||||
|
================================================== -->
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<div class="fill">
|
<div class="fill">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@ -52,6 +54,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Masthead (blueprinty thing)
|
||||||
|
================================================== -->
|
||||||
<div id="masthead">
|
<div id="masthead">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@ -65,6 +69,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Quickstart options
|
||||||
|
================================================== -->
|
||||||
<div class="quickstart">
|
<div class="quickstart">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -94,6 +100,10 @@
|
|||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- About Bootstrap
|
||||||
|
================================================== -->
|
||||||
<section id="about">
|
<section id="about">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>About Bootstrap <small>Brief history, browser support, and more</small></h1>
|
<h1>About Bootstrap <small>Brief history, browser support, and more</small></h1>
|
||||||
@ -128,6 +138,10 @@
|
|||||||
</div> <!-- /row -->
|
</div> <!-- /row -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Grid system
|
||||||
|
================================================== -->
|
||||||
<section id="grid-system">
|
<section id="grid-system">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
|
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
|
||||||
@ -230,11 +244,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Layouts (Default and fluid)
|
||||||
|
================================================== -->
|
||||||
<section id="layouts">
|
<section id="layouts">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Layouts <small>Basic templates to create webpages</small></h1>
|
<h1>Layouts <small>Basic templates to create webpages</small></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Fixed layout -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Fixed layout</h2>
|
<h2>Fixed layout</h2>
|
||||||
@ -252,7 +269,9 @@
|
|||||||
</body>
|
</body>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<!-- Fluid layout -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Fluid layout</h2>
|
<h2>Fluid layout</h2>
|
||||||
@ -276,286 +295,291 @@
|
|||||||
</body>
|
</body>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Typography
|
||||||
|
================================================== -->
|
||||||
<section id="typography">
|
<section id="typography">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
|
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<!-- Headings & Paragraph Copy -->
|
||||||
<div class="span4 columns">
|
<div class="row">
|
||||||
<h2>Headings and copy</h2>
|
<div class="span4 columns">
|
||||||
<p>A standard typographic hierarchy for structuring your webpages.</p>
|
<h2>Headings and copy</h2>
|
||||||
|
<p>A standard typographic hierarchy for structuring your webpages.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span4 columns">
|
||||||
|
<h1>h1. Heading 1</h1>
|
||||||
|
<h2>h2. Heading 2</h2>
|
||||||
|
<h3>h3. Heading 3</h3>
|
||||||
|
<h4>h4. Heading 4</h4>
|
||||||
|
<h5>h5. Heading 5</h5>
|
||||||
|
<h6>h6. Heading 6</h6>
|
||||||
|
</div>
|
||||||
|
<div class="span8 columns">
|
||||||
|
<h3>Example paragraph</h3>
|
||||||
|
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||||||
|
<h1>Example heading <small>Has sub-heading…</small></h1>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4 columns">
|
|
||||||
<h1>h1. Heading 1</h1>
|
|
||||||
<h2>h2. Heading 2</h2>
|
|
||||||
<h3>h3. Heading 3</h3>
|
|
||||||
<h4>h4. Heading 4</h4>
|
|
||||||
<h5>h5. Heading 5</h5>
|
|
||||||
<h6>h6. Heading 6</h6>
|
|
||||||
</div>
|
|
||||||
<div class="span8 columns">
|
|
||||||
<h3>Example paragraph</h3>
|
|
||||||
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
||||||
<h1>Example heading <small>Has sub-heading…</small></h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
<!-- Misc Elements -->
|
||||||
<div class="span4 columns">
|
<div class="row">
|
||||||
<h2>Misc. elements</h2>
|
<div class="span4 columns">
|
||||||
<p>Using emphasis, addresses, & abbreviations</p>
|
<h2>Misc. elements</h2>
|
||||||
<p>
|
<p>Using emphasis, addresses, & abbreviations</p>
|
||||||
<code><strong></code>
|
<p>
|
||||||
<code><em></code>
|
<code><strong></code>
|
||||||
<code><address></code>
|
<code><em></code>
|
||||||
<code><abbr></code>
|
<code><address></code>
|
||||||
</p>
|
<code><abbr></code>
|
||||||
</div>
|
</p>
|
||||||
<div class="span12 columns">
|
</div>
|
||||||
<h4>When to use</h4>
|
<div class="span12 columns">
|
||||||
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <code><strong></code> for importance and <code><em></code> for <em>stress</em> emphasis.</p>
|
<h4>When to use</h4>
|
||||||
<h3>Emphasis in a paragraph</h3>
|
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <code><strong></code> for importance and <code><em></code> for <em>stress</em> emphasis.</p>
|
||||||
<p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
|
<h3>Emphasis in a paragraph</h3>
|
||||||
<p><strong>Note:</strong> It's still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don't come with inherent styles anymore. <code><b></code> is meant to highlight words or phrases without conveying additional importance, while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
<p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
|
||||||
<h3>Addresses</h3>
|
<p><strong>Note:</strong> It's still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don't come with inherent styles anymore. <code><b></code> is meant to highlight words or phrases without conveying additional importance, while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
||||||
<p>The <code><address></code> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:</p>
|
<h3>Addresses</h3>
|
||||||
<address>
|
<p>The <code><address></code> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:</p>
|
||||||
<strong>Twitter, Inc.</strong><br />
|
<address>
|
||||||
795 Folsom Ave, Suite 600<br />
|
<strong>Twitter, Inc.</strong><br />
|
||||||
San Francisco, CA 94107<br />
|
795 Folsom Ave, Suite 600<br />
|
||||||
<abbr title="Phone">P:</abbr> (123) 456-7890
|
San Francisco, CA 94107<br />
|
||||||
</address>
|
<abbr title="Phone">P:</abbr> (123) 456-7890
|
||||||
<p><strong>Note:</strong> Each line in an <code><address></code> must end with a line-break (<code><br /></code>) or be wrapped in a block-level tag (e.g., <code><p></code>) to properly structure the content.</p>
|
</address>
|
||||||
<h3>Abbreviations</h3>
|
<p><strong>Note:</strong> Each line in an <code><address></code> must end with a line-break (<code><br /></code>) or be wrapped in a block-level tag (e.g., <code><p></code>) to properly structure the content.</p>
|
||||||
<p>For abbreviations and acronyms, use the <code><abbr></code> tag (<code><acronym></code> is deprecated in <abbr title="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
|
<h3>Abbreviations</h3>
|
||||||
</div>
|
<p>For abbreviations and acronyms, use the <code><abbr></code> tag (<code><acronym></code> is deprecated in <abbr title="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div> <!-- /row -->
|
||||||
|
|
||||||
<div class="row">
|
<!-- Blockquotes -->
|
||||||
<div class="span4 columns">
|
<div class="row">
|
||||||
<h2>Blockquotes</h2>
|
<div class="span4 columns">
|
||||||
<p>
|
<h2>Blockquotes</h2>
|
||||||
<code><blockquote></code>
|
<p>
|
||||||
<code><p></code>
|
<code><blockquote></code>
|
||||||
<code><small></code>
|
<code><p></code>
|
||||||
</p>
|
<code><small></code>
|
||||||
</div>
|
</p>
|
||||||
<div class="span12 columns">
|
</div>
|
||||||
<p>Be sure to wrap your <code><blockquote></code> around <code><p></code> and <code><small></code> tags. When citing a source, use the <code><small></code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
|
<div class="span12 columns">
|
||||||
<blockquote>
|
<p>Be sure to wrap your <code><blockquote></code> around <code><p></code> and <code><small></code> tags. When citing a source, use the <code><small></code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…</p>
|
<blockquote>
|
||||||
<small>Dr. Julius Hibbert</small>
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…</p>
|
||||||
</blockquote>
|
<small>Dr. Julius Hibbert</small>
|
||||||
</div>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<h2>Lists</h2>
|
||||||
<h2>Lists</h2>
|
<div class="row">
|
||||||
<div class="row">
|
<div class="span4 columns">
|
||||||
<div class="span4 columns">
|
<h4>Unordered <code><ul></code></h4>
|
||||||
<h4>Unordered <code><ul></code></h4>
|
<ul>
|
||||||
<ul>
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Consectetur adipiscing elit</li>
|
||||||
<li>Consectetur adipiscing elit</li>
|
<li>Integer molestie lorem at massa</li>
|
||||||
<li>Integer molestie lorem at massa</li>
|
<li>Facilisis in pretium nisl aliquet</li>
|
||||||
<li>Facilisis in pretium nisl aliquet</li>
|
<li>Nulla volutpat aliquam velit
|
||||||
<li>Nulla volutpat aliquam velit
|
<ul>
|
||||||
<ul>
|
<li>Phasellus iaculis neque</li>
|
||||||
<li>Phasellus iaculis neque</li>
|
<li>Purus sodales ultricies</li>
|
||||||
<li>Purus sodales ultricies</li>
|
<li>Vestibulum laoreet porttitor sem</li>
|
||||||
<li>Vestibulum laoreet porttitor sem</li>
|
<li>Ac tristique libero volutpat at</li>
|
||||||
<li>Ac tristique libero volutpat at</li>
|
</ul>
|
||||||
</ul>
|
</li>
|
||||||
</li>
|
<li>Faucibus porta lacus fringilla vel</li>
|
||||||
<li>Faucibus porta lacus fringilla vel</li>
|
<li>Aenean sit amet erat nunc</li>
|
||||||
<li>Aenean sit amet erat nunc</li>
|
<li>Eget porttitor lorem</li>
|
||||||
<li>Eget porttitor lorem</li>
|
</ul>
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
<div class="span4 columns">
|
||||||
<div class="span4 columns">
|
<h4>Unstyled <code><ul.unstyled></code></h4>
|
||||||
<h4>Unstyled <code><ul.unstyled></code></h4>
|
<ul class="unstyled">
|
||||||
<ul class="unstyled">
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Consectetur adipiscing elit</li>
|
||||||
<li>Consectetur adipiscing elit</li>
|
<li>Integer molestie lorem at massa</li>
|
||||||
<li>Integer molestie lorem at massa</li>
|
<li>Facilisis in pretium nisl aliquet</li>
|
||||||
<li>Facilisis in pretium nisl aliquet</li>
|
<li>Nulla volutpat aliquam velit
|
||||||
<li>Nulla volutpat aliquam velit
|
<ul>
|
||||||
<ul>
|
<li>Phasellus iaculis neque</li>
|
||||||
<li>Phasellus iaculis neque</li>
|
<li>Purus sodales ultricies</li>
|
||||||
<li>Purus sodales ultricies</li>
|
<li>Vestibulum laoreet porttitor sem</li>
|
||||||
<li>Vestibulum laoreet porttitor sem</li>
|
<li>Ac tristique libero volutpat at</li>
|
||||||
<li>Ac tristique libero volutpat at</li>
|
</ul>
|
||||||
</ul>
|
</li>
|
||||||
</li>
|
<li>Faucibus porta lacus fringilla vel</li>
|
||||||
<li>Faucibus porta lacus fringilla vel</li>
|
<li>Aenean sit amet erat nunc</li>
|
||||||
<li>Aenean sit amet erat nunc</li>
|
<li>Eget porttitor lorem</li>
|
||||||
<li>Eget porttitor lorem</li>
|
</ul>
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
<div class="span4 columns">
|
||||||
<div class="span4 columns">
|
<h4>Ordered <code><ol></code></h4>
|
||||||
<h4>Ordered <code><ol></code></h4>
|
<ol>
|
||||||
<ol>
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
<li>Consectetur adipiscing elit</li>
|
||||||
<li>Consectetur adipiscing elit</li>
|
<li>Integer molestie lorem at massa</li>
|
||||||
<li>Integer molestie lorem at massa</li>
|
<li>Facilisis in pretium nisl aliquet</li>
|
||||||
<li>Facilisis in pretium nisl aliquet</li>
|
<li>Nulla volutpat aliquam velit</li>
|
||||||
<li>Nulla volutpat aliquam velit</li>
|
<li>Faucibus porta lacus fringilla vel</li>
|
||||||
<li>Faucibus porta lacus fringilla vel</li>
|
<li>Aenean sit amet erat nunc</li>
|
||||||
<li>Aenean sit amet erat nunc</li>
|
<li>Eget porttitor lorem</li>
|
||||||
<li>Eget porttitor lorem</li>
|
</ol>
|
||||||
</ol>
|
</div>
|
||||||
</div>
|
<div class="span4 columns">
|
||||||
<div class="span4 columns">
|
<h4>Description <code>dl</code></h4>
|
||||||
<h4>Description <code>dl</code></h4>
|
<dl>
|
||||||
<dl>
|
<dt>Description lists</dt>
|
||||||
<dt>Description lists</dt>
|
<dd>A description list is perfect for defining terms.</dd>
|
||||||
<dd>A description list is perfect for defining terms.</dd>
|
<dt>Euismod</dt>
|
||||||
<dt>Euismod</dt>
|
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
|
||||||
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
|
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
|
||||||
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
|
<dt>Malesuada porta</dt>
|
||||||
<dt>Malesuada porta</dt>
|
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
|
||||||
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
|
</dl>
|
||||||
</dl>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
<section id="tables">
|
|
||||||
<div class="page-header">
|
|
||||||
<h1>Tables <small>For, you guessed it, tabular data</small></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
<!-- Tables
|
||||||
<div class="span4 columns">
|
================================================== -->
|
||||||
<h2>Building tables</h2>
|
<section id="tables">
|
||||||
<p>
|
<div class="page-header">
|
||||||
<code><table></code>
|
<h1>Tables <small>For, you guessed it, tabular data</small></h1>
|
||||||
<code><thead></code>
|
|
||||||
<code><tbody></code>
|
|
||||||
<code><tr></code>
|
|
||||||
<code><th></code>
|
|
||||||
<code><td></code>
|
|
||||||
<code><colspan></code>
|
|
||||||
<code><caption></code>
|
|
||||||
</p>
|
|
||||||
<p>Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.</p>
|
|
||||||
<p>Always wrap your column headers in a <code><thead></code> such that hierarchy is <code><thead></code> > <code><tr></code> > <code><th></code>.</p>
|
|
||||||
<p>Similar to the column headers, all your table’s body content should be wrapped in a <code><tbody></code> so your hierarchy is <code><tbody></code> > <code><tr></code> > <code><td></code>.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 columns">
|
<!-- Table structure -->
|
||||||
<h3>Example: Default table styles</h3>
|
<div class="row">
|
||||||
<p>All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.</p>
|
<div class="span4 columns">
|
||||||
<table>
|
<h2>Building tables</h2>
|
||||||
<thead>
|
<p>
|
||||||
<tr>
|
<code><table></code>
|
||||||
<th>#</th>
|
<code><thead></code>
|
||||||
<th>First Name</th>
|
<code><tbody></code>
|
||||||
<th>Last Name</th>
|
<code><tr></code>
|
||||||
<th>Language</th>
|
<code><th></code>
|
||||||
</tr>
|
<code><td></code>
|
||||||
</thead>
|
<code><colspan></code>
|
||||||
<tbody>
|
<code><caption></code>
|
||||||
<tr>
|
</p>
|
||||||
<td>1</td>
|
<p>Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.</p>
|
||||||
<td>Some</td>
|
<p>Always wrap your column headers in a <code><thead></code> such that hierarchy is <code><thead></code> > <code><tr></code> > <code><th></code>.</p>
|
||||||
<td>One</td>
|
<p>Similar to the column headers, all your table’s body content should be wrapped in a <code><tbody></code> so your hierarchy is <code><tbody></code> > <code><tr></code> > <code><td></code>.</p>
|
||||||
<td>English</td>
|
</div>
|
||||||
</tr>
|
<div class="span12 columns">
|
||||||
<tr>
|
<h3>Example: Default table styles</h3>
|
||||||
<td>2</td>
|
<p>All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.</p>
|
||||||
<td>Joe</td>
|
<table>
|
||||||
<td>Sixpack</td>
|
<thead>
|
||||||
<td>English</td>
|
<tr>
|
||||||
</tr>
|
<th>#</th>
|
||||||
<tr>
|
<th>First Name</th>
|
||||||
<td>3</td>
|
<th>Last Name</th>
|
||||||
<td>Stu</td>
|
<th>Language</th>
|
||||||
<td>Dent</td>
|
</tr>
|
||||||
<td>Code</td>
|
</thead>
|
||||||
</tr>
|
<tbody>
|
||||||
</tbody>
|
<tr>
|
||||||
</table>
|
<td>1</td>
|
||||||
|
<td>Some</td>
|
||||||
|
<td>One</td>
|
||||||
|
<td>English</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>2</td>
|
||||||
|
<td>Joe</td>
|
||||||
|
<td>Sixpack</td>
|
||||||
|
<td>English</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>3</td>
|
||||||
|
<td>Stu</td>
|
||||||
|
<td>Dent</td>
|
||||||
|
<td>Code</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<table class="common-table">
|
<table class="common-table">
|
||||||
...
|
...
|
||||||
</table></pre>
|
</table></pre>
|
||||||
|
<h3>Example: Zebra-striped</h3>
|
||||||
<h3>Example: Zebra-striped</h3>
|
<p>Get a little fancy with your tables by adding zebra-striping—just add the <code>.zebra-striped</code> class.</p>
|
||||||
<p>Get a little fancy with your tables by adding zebra-striping—just add the <code>.zebra-striped</code> class.</p>
|
<table class="zebra-striped">
|
||||||
<table class="zebra-striped">
|
<thead>
|
||||||
<thead>
|
<tr>
|
||||||
<tr>
|
<th>#</th>
|
||||||
<th>#</th>
|
<th>First Name</th>
|
||||||
<th>First Name</th>
|
<th>Last Name</th>
|
||||||
<th>Last Name</th>
|
<th>Language</th>
|
||||||
<th>Language</th>
|
</tr>
|
||||||
</tr>
|
</thead>
|
||||||
</thead>
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>1</td>
|
||||||
<td>1</td>
|
<td>Some</td>
|
||||||
<td>Some</td>
|
<td>One</td>
|
||||||
<td>One</td>
|
<td>English</td>
|
||||||
<td>English</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>2</td>
|
||||||
<td>2</td>
|
<td>Joe</td>
|
||||||
<td>Joe</td>
|
<td>Sixpack</td>
|
||||||
<td>Sixpack</td>
|
<td>English</td>
|
||||||
<td>English</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>3</td>
|
||||||
<td>3</td>
|
<td>Stu</td>
|
||||||
<td>Stu</td>
|
<td>Dent</td>
|
||||||
<td>Dent</td>
|
<td>Code</td>
|
||||||
<td>Code</td>
|
</tr>
|
||||||
</tr>
|
</tbody>
|
||||||
</tbody>
|
</table>
|
||||||
</table>
|
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<table class="common-table zebra-striped">
|
<table class="common-table zebra-striped">
|
||||||
...
|
...
|
||||||
</table></pre>
|
</table></pre>
|
||||||
|
<h3>Example: Zebra-striped w/ TableSorter.js</h3>
|
||||||
<h3>Example: Zebra-striped w/ TableSorter.js</h3>
|
<p>Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via <a href="http://jquery.com">jQuery</a> and the <a href="http://tablesorter.com/docs/">Tablesorter</a> plugin. <strong>Click any column’s header to change the sort.</strong></p>
|
||||||
<p>Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via <a href="http://jquery.com">jQuery</a> and the <a href="http://tablesorter.com/docs/">Tablesorter</a> plugin. <strong>Click any column’s header to change the sort.</strong></p>
|
<table class="zebra-striped" id="sortTableExample">
|
||||||
<table class="zebra-striped" id="sortTableExample">
|
<thead>
|
||||||
<thead>
|
<tr>
|
||||||
<tr>
|
<th>#</th>
|
||||||
<th>#</th>
|
<th class="yellow">First Name</th>
|
||||||
<th class="yellow">First Name</th>
|
<th class="blue">Last Name</th>
|
||||||
<th class="blue">Last Name</th>
|
<th class="green">Language</th>
|
||||||
<th class="green">Language</th>
|
</tr>
|
||||||
</tr>
|
</thead>
|
||||||
</thead>
|
<tbody>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>1</td>
|
||||||
<td>1</td>
|
<td>Your</td>
|
||||||
<td>Your</td>
|
<td>One</td>
|
||||||
<td>One</td>
|
<td>English</td>
|
||||||
<td>English</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>2</td>
|
||||||
<td>2</td>
|
<td>Joe</td>
|
||||||
<td>Joe</td>
|
<td>Sixpack</td>
|
||||||
<td>Sixpack</td>
|
<td>English</td>
|
||||||
<td>English</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>3</td>
|
||||||
<td>3</td>
|
<td>Stu</td>
|
||||||
<td>Stu</td>
|
<td>Dent</td>
|
||||||
<td>Dent</td>
|
<td>Code</td>
|
||||||
<td>Code</td>
|
</tr>
|
||||||
</tr>
|
</tbody>
|
||||||
</tbody>
|
</table>
|
||||||
</table>
|
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<script src="js/jquery/jquery.tablesorter.min.js"></script>
|
<script src="js/jquery/jquery.tablesorter.min.js"></script>
|
||||||
<script >
|
<script >
|
||||||
@ -566,308 +590,312 @@
|
|||||||
<table class="common-table zebra-striped">
|
<table class="common-table zebra-striped">
|
||||||
...
|
...
|
||||||
</table></pre>
|
</table></pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Forms
|
||||||
|
================================================== -->
|
||||||
<section id="forms">
|
<section id="forms">
|
||||||
|
<div class="page-header">
|
||||||
<div class="page-header">
|
<h1>Forms</h1>
|
||||||
<h1>Forms</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="span4 columns">
|
|
||||||
<h2>Default styles</h2>
|
|
||||||
<p>All forms are given default styles to present them in a readable and scalable way. Styles are provided for text inputs, select lists, textareas, radio buttons and checkboxes, and buttons.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 columns">
|
<div class="row">
|
||||||
<form>
|
<div class="span4 columns">
|
||||||
<fieldset>
|
<h2>Default styles</h2>
|
||||||
<legend>Example form legend</legend>
|
<p>All forms are given default styles to present them in a readable and scalable way. Styles are provided for text inputs, select lists, textareas, radio buttons and checkboxes, and buttons.</p>
|
||||||
<div class="clearfix">
|
</div>
|
||||||
<label for="">X-Large Input</label>
|
<div class="span12 columns">
|
||||||
<div class="input">
|
|
||||||
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="">Select</label>
|
|
||||||
<div class="input">
|
|
||||||
<select>
|
|
||||||
<option>1</option>
|
|
||||||
<option>2</option>
|
|
||||||
<option>3</option>
|
|
||||||
<option>4</option>
|
|
||||||
<option>5</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="">Select</label>
|
|
||||||
<div class="input">
|
|
||||||
<select class="medium">
|
|
||||||
<option>1</option>
|
|
||||||
<option>2</option>
|
|
||||||
<option>3</option>
|
|
||||||
<option>4</option>
|
|
||||||
<option>5</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label>Uneditable Input</label>
|
|
||||||
<div class="input">
|
|
||||||
<span class="uneditable-input">Some Value Here</span>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="disabledInput">Disabled Input</label>
|
|
||||||
<div class="input">
|
|
||||||
<input class="xlarge disabled" id="disabledInput" name="disabledInput" size="30" type="text" placeholder="Disabled input here… carry on." disabled />
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix error">
|
|
||||||
<label for="xlInput">X-Large Input</label>
|
|
||||||
<div class="input">
|
|
||||||
<input class="xlarge error" id="xlInput" name="xlInput" size="30" type="text" />
|
|
||||||
<span class="help-inline">Small snippet of help text</span>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
</fieldset>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Example form legend</legend>
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="prependedInput">Prepended Text</label>
|
|
||||||
<div class="input">
|
|
||||||
<div class="input-prepend">
|
|
||||||
<span class="add-on">@</span>
|
|
||||||
<input class="medium" id="prependedInput" name="prependedInput" size="16" type="text" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="prependedInput2">Prepended Checkbox</label>
|
|
||||||
<div class="input">
|
|
||||||
<div class="input-prepend">
|
|
||||||
<label class="add-on"><input type="checkbox" name="" id="" value="" /></label>
|
|
||||||
<input class="mini" id="prependedInput2" name="prependedInput2" size="16" type="text" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="appendedInput">Appended Checkbox</label>
|
|
||||||
<div class="input">
|
|
||||||
<div class="input-append">
|
|
||||||
<input class="mini" id="appendedInput" name="appendedInput" size="16" type="text" />
|
|
||||||
<label class="add-on active"><input type="checkbox" name="" id="" value="" checked="checked" /></label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="xlInput">File Input</label>
|
|
||||||
<div class="input">
|
|
||||||
<input class="input-file" id="fileInput" name="fileInput" type="file" />
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
</fieldset>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Example form legend</legend>
|
|
||||||
<div class="clearfix">
|
|
||||||
<label id="optionsCheckboxes">List of Options</label>
|
|
||||||
<div class="input">
|
|
||||||
<ul class="inputs-list">
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
|
||||||
<span>Option one is this and that—be sure to include why it’s great</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
|
||||||
<span>Option two can also be checked and included in form results</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
|
||||||
<span>Option three can—yes, you guessed it—also be checked and included in form results</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label class="disabled">
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option2" disabled />
|
|
||||||
<span>Option four cannot be checked as it is disabled.</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label>Date Range</label>
|
|
||||||
<div class="input">
|
|
||||||
<div class="inline-inputs">
|
|
||||||
<input class="small" type="text" value="May 1, 2011" />
|
|
||||||
<input class="mini" type="text" value="12:00am" />
|
|
||||||
to
|
|
||||||
<input class="small" type="text" value="May 8, 2011" />
|
|
||||||
<input class="mini" type="text" value="11:59pm" />
|
|
||||||
<span class="help-inline">All times are shown as Pacific Standard Time (GMT -08:00).</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="textarea">Textarea</label>
|
|
||||||
<div class="input">
|
|
||||||
<textarea class="xxlarge" id="textarea" name="textarea"></textarea>
|
|
||||||
<span class="help-block">
|
|
||||||
Block of help text to describe the field above if need be.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label id="optionsRadio">List of Options</label>
|
|
||||||
<div class="input">
|
|
||||||
<ul class="inputs-list">
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
|
||||||
<span>Option one is this and that—be sure to include why it’s great</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
|
||||||
<span>Option two can also be checked and included in form results</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="actions">
|
|
||||||
<button type="submit" class="btn primary">Save Changes</button>
|
|
||||||
<button type="reset" class="btn">Cancel</button>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="span4 columns">
|
|
||||||
<h2>Stacked forms</h2>
|
|
||||||
<p>Add <code>.form-stacked</code> to your form’s HTML and you’ll have labels on top of their fields instead of to their left. This works great if your forms are short or you have two columns of inputs for heavier forms.</p>
|
|
||||||
</div>
|
|
||||||
<div class="span12 columns">
|
|
||||||
<form action="" class="form-stacked">
|
|
||||||
<fieldset>
|
|
||||||
<legend>Example form legend</legend>
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="">X-Large Input</label>
|
|
||||||
<div class="input">
|
|
||||||
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="">Select</label>
|
|
||||||
<div class="input">
|
|
||||||
<select>
|
|
||||||
<option>1</option>
|
|
||||||
<option>2</option>
|
|
||||||
<option>3</option>
|
|
||||||
<option>4</option>
|
|
||||||
<option>5</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
</fieldset>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Example form legend</legend>
|
|
||||||
<div class="clearfix">
|
|
||||||
<label id="optionsCheckboxes">List of Options</label>
|
|
||||||
<div class="input">
|
|
||||||
<ul class="inputs-list">
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
|
||||||
<span>Option one is this and that—be sure to include why it’s great</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
|
||||||
<span>Option two can also be checked and included in form results</span>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div> <!-- /clearfix -->
|
|
||||||
</fieldset>
|
|
||||||
<div class="actions">
|
|
||||||
<button type="submit" class="btn primary">Save Changes</button>
|
|
||||||
<button type="reset" class="btn">Cancel</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="span4 columns">
|
|
||||||
<h2>Buttons</h2>
|
|
||||||
<p>As a convention, buttons are used for actions while links are used for objects. For instance, "Download" could be a button and "recent activity" could be a link.</p>
|
|
||||||
<p>All buttons default to a light gray style, but a blue <code>.primary</code> class is available. Plus, rolling your own styles is easy peasy.</p>
|
|
||||||
</div>
|
|
||||||
<div class="span12 columns">
|
|
||||||
<h3>Example buttons</h3>
|
|
||||||
<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>
|
|
||||||
<div class="well" style="padding: 14px 19px;">
|
|
||||||
<form>
|
<form>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Example form legend</legend>
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="">X-Large Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="">Select</label>
|
||||||
|
<div class="input">
|
||||||
|
<select>
|
||||||
|
<option>1</option>
|
||||||
|
<option>2</option>
|
||||||
|
<option>3</option>
|
||||||
|
<option>4</option>
|
||||||
|
<option>5</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="">Select</label>
|
||||||
|
<div class="input">
|
||||||
|
<select class="medium">
|
||||||
|
<option>1</option>
|
||||||
|
<option>2</option>
|
||||||
|
<option>3</option>
|
||||||
|
<option>4</option>
|
||||||
|
<option>5</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label>Uneditable Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<span class="uneditable-input">Some Value Here</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="disabledInput">Disabled Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="xlarge disabled" id="disabledInput" name="disabledInput" size="30" type="text" placeholder="Disabled input here… carry on." disabled />
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix error">
|
||||||
|
<label for="xlInput">X-Large Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="xlarge error" id="xlInput" name="xlInput" size="30" type="text" />
|
||||||
|
<span class="help-inline">Small snippet of help text</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Example form legend</legend>
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="prependedInput">Prepended Text</label>
|
||||||
|
<div class="input">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<span class="add-on">@</span>
|
||||||
|
<input class="medium" id="prependedInput" name="prependedInput" size="16" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="prependedInput2">Prepended Checkbox</label>
|
||||||
|
<div class="input">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<label class="add-on"><input type="checkbox" name="" id="" value="" /></label>
|
||||||
|
<input class="mini" id="prependedInput2" name="prependedInput2" size="16" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="appendedInput">Appended Checkbox</label>
|
||||||
|
<div class="input">
|
||||||
|
<div class="input-append">
|
||||||
|
<input class="mini" id="appendedInput" name="appendedInput" size="16" type="text" />
|
||||||
|
<label class="add-on active"><input type="checkbox" name="" id="" value="" checked="checked" /></label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="xlInput">File Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="input-file" id="fileInput" name="fileInput" type="file" />
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Example form legend</legend>
|
||||||
|
<div class="clearfix">
|
||||||
|
<label id="optionsCheckboxes">List of Options</label>
|
||||||
|
<div class="input">
|
||||||
|
<ul class="inputs-list">
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
||||||
|
<span>Option one is this and that—be sure to include why it’s great</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
||||||
|
<span>Option two can also be checked and included in form results</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
||||||
|
<span>Option three can—yes, you guessed it—also be checked and included in form results</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label class="disabled">
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option2" disabled />
|
||||||
|
<span>Option four cannot be checked as it is disabled.</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<span class="help-block">
|
||||||
|
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label>Date Range</label>
|
||||||
|
<div class="input">
|
||||||
|
<div class="inline-inputs">
|
||||||
|
<input class="small" type="text" value="May 1, 2011" />
|
||||||
|
<input class="mini" type="text" value="12:00am" />
|
||||||
|
to
|
||||||
|
<input class="small" type="text" value="May 8, 2011" />
|
||||||
|
<input class="mini" type="text" value="11:59pm" />
|
||||||
|
<span class="help-inline">All times are shown as Pacific Standard Time (GMT -08:00).</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="textarea">Textarea</label>
|
||||||
|
<div class="input">
|
||||||
|
<textarea class="xxlarge" id="textarea" name="textarea"></textarea>
|
||||||
|
<span class="help-block">
|
||||||
|
Block of help text to describe the field above if need be.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label id="optionsRadio">List of Options</label>
|
||||||
|
<div class="input">
|
||||||
|
<ul class="inputs-list">
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
||||||
|
<span>Option one is this and that—be sure to include why it’s great</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
||||||
|
<span>Option two can also be checked and included in form results</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="actions">
|
||||||
|
<button type="submit" class="btn primary">Save Changes</button>
|
||||||
|
<button type="reset" class="btn">Cancel</button>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="span4 columns">
|
||||||
|
<h2>Stacked forms</h2>
|
||||||
|
<p>Add <code>.form-stacked</code> to your form’s HTML and you’ll have labels on top of their fields instead of to their left. This works great if your forms are short or you have two columns of inputs for heavier forms.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span12 columns">
|
||||||
|
<form action="" class="form-stacked">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Example form legend</legend>
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="">X-Large Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="">Select</label>
|
||||||
|
<div class="input">
|
||||||
|
<select>
|
||||||
|
<option>1</option>
|
||||||
|
<option>2</option>
|
||||||
|
<option>3</option>
|
||||||
|
<option>4</option>
|
||||||
|
<option>5</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Example form legend</legend>
|
||||||
|
<div class="clearfix error">
|
||||||
|
<label for="xlInput">X-Large Input</label>
|
||||||
|
<div class="input">
|
||||||
|
<input class="xlarge error" id="xlInput" name="xlInput" size="30" type="text" />
|
||||||
|
<span class="help-inline">Small snippet of help text</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<label id="optionsCheckboxes">List of Options</label>
|
||||||
|
<div class="input">
|
||||||
|
<ul class="inputs-list">
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option1" />
|
||||||
|
<span>Option one is this and that—be sure to include why it’s great</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" name="optionsCheckboxes" value="option2" />
|
||||||
|
<span>Option two can also be checked and included in form results</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<span class="help-block">
|
||||||
|
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /clearfix -->
|
||||||
|
</fieldset>
|
||||||
|
<div class="actions">
|
||||||
|
<button type="submit" class="btn primary">Save Changes</button>
|
||||||
|
<button type="reset" class="btn">Cancel</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="span4 columns">
|
||||||
|
<h2>Buttons</h2>
|
||||||
|
<p>As a convention, buttons are used for actions while links are used for objects. For instance, "Download" could be a button and "recent activity" could be a link.</p>
|
||||||
|
<p>All buttons default to a light gray style, but a blue <code>.primary</code> class is available. Plus, rolling your own styles is easy peasy.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span12 columns">
|
||||||
|
<h3>Example buttons</h3>
|
||||||
|
<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>
|
||||||
|
<div class="well" style="padding: 14px 19px;">
|
||||||
<button type="submit" class="btn primary">Submit</button>
|
<button type="submit" class="btn primary">Submit</button>
|
||||||
<button type="submit" class="btn">Cancel</button>
|
<button type="submit" class="btn">Cancel</button>
|
||||||
</form>
|
</div>
|
||||||
|
<h3>Alternate sizes</h3>
|
||||||
|
<p>Fancy larger or smaller buttons? Have at it!</p>
|
||||||
|
<div class="well">
|
||||||
|
<a href="#" class="btn large primary">Primary action</a>
|
||||||
|
<a href="#" class="btn large">Action</a>
|
||||||
|
</div>
|
||||||
|
<div class="well" style="padding: 16px 19px;">
|
||||||
|
<a href="#" class="btn small primary">Primary action</a>
|
||||||
|
<a href="#" class="btn small">Action</a>
|
||||||
|
</div>
|
||||||
|
<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>
|
||||||
|
<h4>Links</h4>
|
||||||
|
<div class="well">
|
||||||
|
<a href="#" class="btn large primary disabled">Primary action</a>
|
||||||
|
<a href="#" class="btn large disabled">Action</a>
|
||||||
|
</div>
|
||||||
|
<h4>Buttons</h4>
|
||||||
|
<div class="well">
|
||||||
|
<button class="btn large primary" disabled>Primary action</button>
|
||||||
|
<button class="btn large" disabled>Action</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3>Alternate sizes</h3>
|
</div> <!-- /row -->
|
||||||
<p>Fancy larger or smaller buttons? Have at it!</p>
|
|
||||||
<div class="well">
|
|
||||||
<a href="#" class="btn large primary">Primary action</a>
|
|
||||||
<a href="#" class="btn large">Action</a>
|
|
||||||
</div>
|
|
||||||
<div class="well" style="padding: 16px 19px;">
|
|
||||||
<a href="#" class="btn small primary">Primary action</a>
|
|
||||||
<a href="#" class="btn small">Action</a>
|
|
||||||
</div>
|
|
||||||
<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><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>
|
|
||||||
<div class="well">
|
|
||||||
<a href="#" class="btn large primary disabled">Primary action</a>
|
|
||||||
<a href="#" class="btn large disabled">Action</a>
|
|
||||||
</div>
|
|
||||||
<h4>Buttons</h4>
|
|
||||||
<div class="well">
|
|
||||||
<form>
|
|
||||||
<button class="btn large primary disabled" disabled>Primary action</button>
|
|
||||||
<button class="btn large disabled" disabled>Action</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Navigation
|
||||||
|
================================================== -->
|
||||||
<section id="navigation">
|
<section id="navigation">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Navigation</h1>
|
<h1>Navigation</h1>
|
||||||
@ -875,6 +903,30 @@
|
|||||||
<h2>Fixed topbar</h2>
|
<h2>Fixed topbar</h2>
|
||||||
<div class="topbar-wrapper" style="z-index: 5;">
|
<div class="topbar-wrapper" style="z-index: 5;">
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
|
<div class="container">
|
||||||
|
<h3><a href="#">Project Name</a></h3>
|
||||||
|
<ul>
|
||||||
|
<li class="active"><a href="#">Home</a></li>
|
||||||
|
<li><a href="#">Link</a></li>
|
||||||
|
<li><a href="#">Link</a></li>
|
||||||
|
<li><a href="#">Link</a></li>
|
||||||
|
</ul>
|
||||||
|
<form action="">
|
||||||
|
<input type="text" placeholder="Search" />
|
||||||
|
</form>
|
||||||
|
<ul class="nav secondary-nav">
|
||||||
|
<li class="menu">
|
||||||
|
<a href="#" class="menu">Dropdown</a>
|
||||||
|
<ul class="menu-dropdown">
|
||||||
|
<li><a href="#">Secondary link</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">Another link</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
=======
|
||||||
|
>>>>>>> .merge_file_ugVE3k
|
||||||
<div class="fill">
|
<div class="fill">
|
||||||
<div class="container fixed">
|
<div class="container fixed">
|
||||||
<h3><a href="#">Project Name</a></h3>
|
<h3><a href="#">Project Name</a></h3>
|
||||||
@ -919,20 +971,20 @@
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Tabs and pills</h2>
|
<h2>Tabs and pills</h2>
|
||||||
<p>Create simple secondary navigation with a <code><ul></code>. Swap between tabs or pills by adding the appropriate class.</p>
|
<p>Create simple secondary navigation with a <code><ul></code>. Swap between tabs or pills by adding the appropriate class.</p>
|
||||||
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>
|
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 columns">
|
<div class="span12 columns">
|
||||||
<ul class="tabs">
|
<ul class="tabs">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Profile</a></li>
|
<li><a href="#">Profile</a></li>
|
||||||
<li><a href="#">Messages</a></li>
|
<li><a href="#">Messages</a></li>
|
||||||
<li><a href="#">Settings</a></li>
|
<li><a href="#">Settings</a></li>
|
||||||
<li><a href="#">Contact</a></li>
|
<li><a href="#">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="tabs">
|
<ul class="tabs">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
@ -942,13 +994,13 @@
|
|||||||
<li><a href="#">Contact</a></li>
|
<li><a href="#">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
<ul class="pills">
|
<ul class="pills">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Profile</a></li>
|
<li><a href="#">Profile</a></li>
|
||||||
<li><a href="#">Messages</a></li>
|
<li><a href="#">Messages</a></li>
|
||||||
<li><a href="#">Settings</a></li>
|
<li><a href="#">Settings</a></li>
|
||||||
<li><a href="#">Contact</a></li>
|
<li><a href="#">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="pills">
|
<ul class="pills">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
@ -958,56 +1010,57 @@
|
|||||||
<li><a href="#">Contact</a></li>
|
<li><a href="#">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
|
|
||||||
<div class="row">
|
<!-- Pagination -->
|
||||||
<div class="span4 columns">
|
<div class="row">
|
||||||
<h2>Pagination</h2>
|
<div class="span4 columns">
|
||||||
<p>Ultra simplistic and minimally styled pagination inspired by Rdio. The large block is hard to miss, easily scalable, and provides large click areas.</p>
|
<h2>Pagination</h2>
|
||||||
</div>
|
<p>Ultra simplistic and minimally styled pagination inspired by Rdio. The large block is hard to miss, easily scalable, and provides large click areas.</p>
|
||||||
<div class="span12 columns">
|
|
||||||
<div class="pagination">
|
|
||||||
<ul>
|
|
||||||
<li class="prev disabled"><a href="#">← Previous</a></li>
|
|
||||||
<li class="active"><a href="#">1</a></li>
|
|
||||||
<li><a href="#">2</a></li>
|
|
||||||
<li><a href="#">3</a></li>
|
|
||||||
<li><a href="#">4</a></li>
|
|
||||||
<li><a href="#">5</a></li>
|
|
||||||
<li class="next"><a href="#">Next →</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="pagination">
|
|
||||||
<ul>
|
|
||||||
<li class="prev"><a href="#">← Previous</a></li>
|
|
||||||
<li class="active"><a href="#">10</a></li>
|
|
||||||
<li><a href="#">11</a></li>
|
|
||||||
<li><a href="#">12</a></li>
|
|
||||||
<li class="disabled"><a href="#">…</a></li>
|
|
||||||
<li><a href="#">19</a></li>
|
|
||||||
<li><a href="#">20</a></li>
|
|
||||||
<li><a href="#">21</a></li>
|
|
||||||
<li class="next"><a href="#">Next →</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="pagination">
|
|
||||||
<ul>
|
|
||||||
<li class="prev"><a href="#">← Previous</a></li>
|
|
||||||
<li><a href="#">10</a></li>
|
|
||||||
<li><a href="#">11</a></li>
|
|
||||||
<li><a href="#">12</a></li>
|
|
||||||
<li><a href="#">13</a></li>
|
|
||||||
<li><a href="#">14</a></li>
|
|
||||||
<li class="active"><a href="#">15</a></li>
|
|
||||||
<li><a href="#">16</a></li>
|
|
||||||
<li><a href="#">17</a></li>
|
|
||||||
<li><a href="#">18</a></li>
|
|
||||||
<li><a href="#">19</a></li>
|
|
||||||
<li><a href="#">20</a></li>
|
|
||||||
<li class="next"><a href="#">Next →</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="span12 columns">
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li class="prev disabled"><a href="#">← Previous</a></li>
|
||||||
|
<li class="active"><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li class="next"><a href="#">Next →</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li class="prev"><a href="#">← Previous</a></li>
|
||||||
|
<li class="active"><a href="#">10</a></li>
|
||||||
|
<li><a href="#">11</a></li>
|
||||||
|
<li><a href="#">12</a></li>
|
||||||
|
<li class="disabled"><a href="#">…</a></li>
|
||||||
|
<li><a href="#">19</a></li>
|
||||||
|
<li><a href="#">20</a></li>
|
||||||
|
<li><a href="#">21</a></li>
|
||||||
|
<li class="next"><a href="#">Next →</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li class="prev"><a href="#">← Previous</a></li>
|
||||||
|
<li><a href="#">10</a></li>
|
||||||
|
<li><a href="#">11</a></li>
|
||||||
|
<li><a href="#">12</a></li>
|
||||||
|
<li><a href="#">13</a></li>
|
||||||
|
<li><a href="#">14</a></li>
|
||||||
|
<li class="active"><a href="#">15</a></li>
|
||||||
|
<li><a href="#">16</a></li>
|
||||||
|
<li><a href="#">17</a></li>
|
||||||
|
<li><a href="#">18</a></li>
|
||||||
|
<li><a href="#">19</a></li>
|
||||||
|
<li><a href="#">20</a></li>
|
||||||
|
<li class="next"><a href="#">Next →</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
<ul>
|
<ul>
|
||||||
@ -1021,17 +1074,20 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Alerts & Messages
|
||||||
|
================================================== -->
|
||||||
<section id="alerts">
|
<section id="alerts">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Alerts & Errors <small>Styles for success, warning, and error messages or alerts</small></h1>
|
<h1>Alerts & Errors <small>Styles for success, warning, and error messages or alerts</small></h1>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Basic alert messages -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Basic alerts</h2>
|
<h2>Basic alerts</h2>
|
||||||
@ -1055,7 +1111,8 @@
|
|||||||
<p><strong>Heads up!</strong> This is an alert that needs your attention, but it’s not a huge priority just yet.</p>
|
<p><strong>Heads up!</strong> This is an alert that needs your attention, but it’s not a huge priority just yet.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
|
<!-- Block messages -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Block messages</h2>
|
<h2>Block messages</h2>
|
||||||
@ -1083,10 +1140,12 @@
|
|||||||
<p><a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a></p>
|
<p><a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /row -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Popovers
|
||||||
|
================================================== -->
|
||||||
<section id="popovers">
|
<section id="popovers">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Popovers <small>Components for displaying content in modals, tooltips, and popovers</small></h1>
|
<h1>Popovers <small>Components for displaying content in modals, tooltips, and popovers</small></h1>
|
||||||
@ -1116,6 +1175,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> <!-- /row -->
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<!-- Tooltips -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Tool Tips</h2>
|
<h2>Tool Tips</h2>
|
||||||
@ -1148,6 +1208,7 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||||||
</div>
|
</div>
|
||||||
</div> <!-- /row -->
|
</div> <!-- /row -->
|
||||||
|
|
||||||
|
<!-- Popovers -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 columns">
|
<div class="span4 columns">
|
||||||
<h2>Popovers</h2>
|
<h2>Popovers</h2>
|
||||||
@ -1165,11 +1226,7 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<<<<<<< HEAD
|
|
||||||
<img class="large-bird" src="assets/img/bird.png" width="220px" height="145px">
|
<img class="large-bird" src="assets/img/bird.png" width="220px" height="145px">
|
||||||
=======
|
|
||||||
<img class="large-bird" src="assets/img/bird.png" width="220px" height="151px">
|
|
||||||
>>>>>>> 842ad01fce710c50dc9c0174ab790f91e66c46b1
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1178,6 +1235,8 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Using Bootstrap w/ Less
|
||||||
|
================================================== -->
|
||||||
<section id="less">
|
<section id="less">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
|
<h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
|
||||||
@ -1334,6 +1393,8 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||||||
|
|
||||||
</div> <!-- /container -->
|
</div> <!-- /container -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -342,6 +342,13 @@ form.form-stacked {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.error {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-left: -10px;
|
||||||
|
}
|
||||||
.actions {
|
.actions {
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
|
@ -145,43 +145,43 @@
|
|||||||
// Border Radius
|
// Border Radius
|
||||||
.border-radius(@radius: 5px) {
|
.border-radius(@radius: 5px) {
|
||||||
-webkit-border-radius: @radius;
|
-webkit-border-radius: @radius;
|
||||||
-moz-border-radius: @radius;
|
-moz-border-radius: @radius;
|
||||||
border-radius: @radius;
|
border-radius: @radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Drop shadows
|
// Drop shadows
|
||||||
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
||||||
-webkit-box-shadow: @shadow;
|
-webkit-box-shadow: @shadow;
|
||||||
-moz-box-shadow: @shadow;
|
-moz-box-shadow: @shadow;
|
||||||
box-shadow: @shadow;
|
box-shadow: @shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transitions
|
// Transitions
|
||||||
.transition(@transition) {
|
.transition(@transition) {
|
||||||
-webkit-transition: @transition;
|
-webkit-transition: @transition;
|
||||||
-moz-transition: @transition;
|
-moz-transition: @transition;
|
||||||
transition: @transition;
|
transition: @transition;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background clipping
|
// Background clipping
|
||||||
.background-clip(@clip) {
|
.background-clip(@clip) {
|
||||||
-webkit-background-clip: @clip;
|
-webkit-background-clip: @clip;
|
||||||
-moz-background-clip: @clip;
|
-moz-background-clip: @clip;
|
||||||
background-clip: @clip;
|
background-clip: @clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
// CSS3 Content Columns
|
// CSS3 Content Columns
|
||||||
.content-columns(@columnCount, @columnGap: 20px) {
|
.content-columns(@columnCount, @columnGap: 20px) {
|
||||||
-webkit-column-count: @columnCount;
|
-webkit-column-count: @columnCount;
|
||||||
-webkit-column-gap: @columnGap;
|
-moz-column-count: @columnCount;
|
||||||
-moz-column-count: @columnCount;
|
column-count: @columnCount;
|
||||||
-moz-column-gap: @columnGap;
|
-webkit-column-gap: @columnGap;
|
||||||
column-count: @columnCount;
|
-moz-column-gap: @columnGap;
|
||||||
column-gap: @columnGap;
|
column-gap: @columnGap;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
.button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) {
|
/*.button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
#gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%));
|
#gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%));
|
||||||
padding: @padding;
|
padding: @padding;
|
||||||
@ -200,7 +200,7 @@
|
|||||||
color: @textColor;
|
color: @textColor;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Add an alphatransparency value to any background or border color (via Elyse Holladay)
|
// Add an alphatransparency value to any background or border color (via Elyse Holladay)
|
||||||
#translucent {
|
#translucent {
|
||||||
@ -262,6 +262,6 @@
|
|||||||
.opacity(@opacity: 100) {
|
.opacity(@opacity: 100) {
|
||||||
filter: e(%("alpha(opacity=%d)", @opacity));
|
filter: e(%("alpha(opacity=%d)", @opacity));
|
||||||
-khtml-opacity: @opacity / 100;
|
-khtml-opacity: @opacity / 100;
|
||||||
-moz-opacity: @opacity / 100;
|
-moz-opacity: @opacity / 100;
|
||||||
opacity: @opacity / 100;
|
opacity: @opacity / 100;
|
||||||
}
|
}
|
@ -51,7 +51,7 @@ html, body {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
margin: 60px 0 0; // Add margin to the top of the page for the topbar
|
margin: 0;
|
||||||
#font > .sans-serif(normal,@basefont,@baseline);
|
#font > .sans-serif(normal,@basefont,@baseline);
|
||||||
color: @gray;
|
color: @gray;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@ -87,6 +87,7 @@ a {
|
|||||||
color: @linkColor;
|
color: @linkColor;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
|
font-weight: inherit;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: @linkColorHover;
|
color: @linkColorHover;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
@ -95,10 +96,40 @@ a {
|
|||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
.btn {
|
.btn {
|
||||||
.button();
|
display: inline-block;
|
||||||
|
#gradient > .vertical-three-colors(#fff, #fff, 0.25, darken(#fff, 10%));
|
||||||
|
padding: 4px 14px;
|
||||||
|
text-shadow: 0 1px 1px rgba(255,255,255,.75);
|
||||||
|
color: #333;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: @baseline;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-bottom-color: #bbb;
|
||||||
|
.border-radius(4px);
|
||||||
|
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
&:hover {
|
||||||
|
background-position: 0 -15px;
|
||||||
|
color: #333;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.primary {
|
||||||
|
#gradient > .vertical(#049CDB, #0064CD);
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||||
|
border: 1px solid darken(#0064CD, 10%);
|
||||||
|
border-bottom-color: darken(#0064CD, 15%);
|
||||||
|
&:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
//.button(#1174C6);
|
||||||
.transition(.1s linear all);
|
.transition(.1s linear all);
|
||||||
&.primary {
|
&.primary {
|
||||||
#gradient > .vertical(@blue, @blueDark);
|
//#gradient > .vertical(@blue, @blueDark);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||||
border-color: @blueDark @blueDark darken(@blueDark, 15%);
|
border-color: @blueDark @blueDark darken(@blueDark, 15%);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user