index.html 43.6 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1001
1002
1003
1004
1005
1006
1007
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div> <!-- topbar-wrapper -->
  <div class="row">
1008
1009
    <div class="span5 columns">
      <h4>What is it</h4>
Mark Otto's avatar
Mark Otto committed
1010
1011
      <p>Our topbar is a fixed bar that houses a website's logo or name, primary navigation, and search form.</p>
    </div>
1012
1013
1014
1015
    <div class="span5 columns">
      <h4>Customizable</h4>
      <p>All elements within, and the entire topbar as well, are optional. You can choose to include a logo/name, nav, search, and a secondary nav&mdash;or any combination of that.</p>
    </div>
Mark Otto's avatar
Mark Otto committed
1016
    <div class="span6 columns">
1017
1018
      <h4>Dropdowns included</h4>
      <p>As part of the main navigation, we've included the ability for you to add dropdowns to your nav. Check out the secondary nav above (right aligned) to see how it's done.</p>
Mark Otto's avatar
Mark Otto committed
1019
1020
1021
1022
    </div>
  </div>

  <br />
1023
1024
1025

<div class="row">
  <div class="span4 columns">
Mark Otto's avatar
Mark Otto committed
1026
    <h2>Tabs and pills</h2>
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
    <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>
  </div>
  <div class="span12 columns">
<ul class="tabs">
  <li class="active"><a href="">Home</a></li>
  <li><a href="">Profile</a></li>
  <li><a href="">Messages</a></li>
  <li><a href="">Settings</a></li>
  <li><a href="">Contact</a></li>
</ul>
<pre class="html">
&lt;ul class="tabs"&gt;
  &lt;li class="active"&gt;&lt;a href=""&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Profile&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Messages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<ul class="pills">
  <li class="active"><a href="">Home</a></li>
  <li><a href="">Profile</a></li>
  <li><a href="">Messages</a></li>
  <li><a href="">Settings</a></li>
  <li><a href="">Contact</a></li>
</ul>
<pre class="html">
&lt;ul class="pills"&gt;
  &lt;li class="active"&gt;&lt;a href=""&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Profile&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Messages&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=""&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
  </div>
</div>

<div class="row">
  <div class="span4 columns">
Mark Otto's avatar
Mark Otto committed
1068
    <h2>Pagination</h2>
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
    <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>
  <div class="span12 columns">
    <div class="pagination">
      <ul>
        <li class="prev disabled"><a href="">&larr; 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 &rarr;</a></li>
      </ul>
    </div>
    <div class="pagination">
      <ul>
        <li class="prev"><a href="">&larr; 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 &rarr;</a></li>
      </ul>
    </div>
    <div class="pagination">
      <ul>
        <li class="prev"><a href="">&larr; 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 &rarr;</a></li>
      </ul>
    </div>
<pre class="html">
&lt;div class="pagination"&gt;
  &lt;ul&gt;
    &lt;li class="prev disabled"&gt;&lt;a href=""&gt;&amp;larr; Previous&lt;/a&gt;&lt;/li>
    &lt;li class="active"&gt;&lt;a href=""&gt;1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=""&gt;2&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=""&gt;3&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=""&gt;4&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=""&gt;5&lt;/a&gt;&lt;/li&gt;
    &lt;li class="next"&gt;&lt;a href=""&gt;Next &amp;rarr;&lt;/a&gt;&lt;/li>
  &lt;/ul&gt;
&lt;/div&gt;
</pre>
  </div>
</div>

</section>



1133
1134
<section id="alerts">
  <div class="page-header">
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
    <h1>Alerts &amp; Errors <small>Styles for success, warning, and error messages or alerts</small></h1>
  </div>
  <div class="row">
    <div class="span4 columns">
      <h2>Basic alerts</h2>
      <p>One-line messages for highlighting the failure, possible failure, or success of an action. Particularly useful for forms.</p>
    </div>
    <div class="span12 columns">
      <div class="alert-message error">
        <a class="close" href="#">&times;</a>
        <p><strong>Oh snap!</strong> Change this and that and try again.</p>
      </div>
      <div class="alert-message warning">
        <a class="close" href="#">&times;</a>
        <p><strong>Holy gaucamole!</strong> Best check yo self, you're not looking too good.</p>
      </div>
      <div class="alert-message success">
        <a class="close" href="#">&times;</a>
        <p><strong>Well done!</strong> You successfully read this alert message.</p>
      </div>
      <div class="alert-message info">
        <a class="close" href="#">&times;</a>
        <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 class="row">
    <div class="span4 columns">
      <h2>Block messages</h2>
      <p>For messages that require a bit of explanation, we have paragraph style alerts. These are perfect for bubbling up longer error messages, warning a user of a pending action, or just presenting information for more emphasis on the page.</p>
    </div>
    <div class="span12 columns">
      <div class="alert-message block-message error">
        <a class="close" href="#">&times;</a>
        <p><strong>Oh snap! You got an error!</strong> Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
        <p><a class="btn small" href="#">Take This Action</a> <a class="btn small" href="#">Or Do This</a></p>
      </div>
      <div class="alert-message block-message warning">
        <a class="close" href="#">&times;</a>
        <p><strong>Holy gaucamole! This is a warning!</strong> Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
        <p><a class="btn small" href="#">Take This Action</a> <a class="btn small" href="#">Or Do This</a></p>
      </div>
      <div class="alert-message block-message success">
        <a class="close" href="#">&times;</a>
        <p><strong>Well done!</strong> You successfully read this alert message. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas faucibus mollis interdum.</p>
        <p><a class="btn small" href="#">Take This Action</a> <a class="btn small" href="#">Or Do This</a></p>
      </div>
      <div class="alert-message block-message info">
        <a class="close" href="#">&times;</a>
        <p><strong>Heads up!</strong> This is an alert that needs your attention, but it's not a huge priority just yet.</p>
        <p><a class="btn small" href="#">Take This Action</a> <a class="btn small" href="#">Or Do This</a></p>
      </div>
    </div>
  </div>
</section>


Jacob Thornton's avatar
Jacob Thornton committed
1192
1193
<section id="modals">
  <div class="page-header">
1194
    <h1>Modals <small>Rules and conditions for displaying content in dialog boxes</small></h1>
Jacob Thornton's avatar
Jacob Thornton committed
1195
1196
1197
  </div>
  <div class="row">
    <div class="span4 columns">
1198
1199
      <h2>Example modal</h2>
      <p>Modals&mdash;dialogs or lightboxes&mdash;are great for contextual actions in situations where it's important that the background context be maintained.</p>
Jacob Thornton's avatar
Jacob Thornton committed
1200
1201
    </div>
    <div class="span12 columns">
1202
      <div class="well" style="background-color: rgba(0,0,0,0.5); border: none; padding: 40px;">
1203
        <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
Jacob Thornton's avatar
Jacob Thornton committed
1204
          <div class="modal-header">
1205
            <h3>Add new Tweet</h3>
Jacob Thornton's avatar
Jacob Thornton committed
1206
1207
1208
            <a href="#" class="close">&times;</a>
          </div>
          <div class="modal-body">
1209
            <p>One fine body...</p>
Jacob Thornton's avatar
Jacob Thornton committed
1210
1211
          </div>
          <div class="modal-footer">
1212
1213
            <a href="" class="btn primary">Primary</a>
            <a href="" class="btn secondary">Secondary</a>
Jacob Thornton's avatar
Jacob Thornton committed
1214
1215
1216
1217
1218
1219
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
1220

Mark Otto's avatar
Mark Otto committed
1221

1222
1223
1224
1225
1226
    </div> <!-- /container -->

    <div id="footer">
      <div class="inner">
        <div class="container">
1227
1228
1229
1230
          <p>
            Designed and built <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>, like bosses.<br />
            Open-sourced under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
          </p>
1231
1232
        </div>
      </div>
1233
1234
1235
    </div>

  </body>
1236
</html>
For faster browsing, not all history is shown. View entire blame