Commit f8c0efbc authored by Jacob Thornton's avatar Jacob Thornton

Merge branch '2.0-wip' of https://github.com/twitter/bootstrap into 2.0-wip

Conflicts:
	bootstrap.css
parents 2d092dfe 553030ca
...@@ -42,7 +42,7 @@ watch: ...@@ -42,7 +42,7 @@ watch:
echo "Watching less files..."; \ echo "Watching less files..."; \
watchr -e "watch('lib/.*\.less') { system 'make' }"; \ watchr -e "watch('lib/.*\.less') { system 'make' }"; \
else \ else \
echo "You must have the watchr installed in order to watch Bootstrap less files."; \ echo "You must have the watchr installed in order to watch Bootstrap Less files."; \
echo "You can install it by running: gem install watchr"; \ echo "You can install it by running: gem install watchr"; \
fi fi
......
...@@ -6,7 +6,7 @@ ...@@ -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 Dec 25 21:24:32 PST 2011 * Date: Mon Jan 2 16:04:30 PST 2012
*/ */
html, body { html, body {
margin: 0; margin: 0;
...@@ -491,7 +491,7 @@ address { ...@@ -491,7 +491,7 @@ address {
} }
code, pre { code, pre {
padding: 0 3px 2px; padding: 0 3px 2px;
font-family: "Menlo", Monaco, Courier New, monospace; font-family: Menlo, Monaco, Courier New, monospace;
font-size: 12px; font-size: 12px;
color: #404040; color: #404040;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
...@@ -602,8 +602,9 @@ select, input[type=file] { ...@@ -602,8 +602,9 @@ select, input[type=file] {
} }
select { select {
background-color: #ffffff; background-color: #ffffff;
vertical-align: middle;
} }
select[multiple] { select[multiple], select[size] {
height: inherit; height: inherit;
} }
input[type=image] { input[type=image] {
...@@ -904,23 +905,20 @@ textarea[readonly] { ...@@ -904,23 +905,20 @@ textarea[readonly] {
display: block; display: block;
max-width: 600px; max-width: 600px;
} }
.inline-inputs { .input-prepend, .input-append {
color: #808080; zoom: 1;
}
.inline-inputs span, .inline-inputs input {
display: inline-block;
}
.inline-inputs input.mini {
width: 60px;
}
.inline-inputs input.small {
width: 90px;
} }
.inline-inputs span { .input-prepend:before,
padding: 0 2px 0 1px; .input-append:before,
.input-prepend:after,
.input-append:after {
display: table;
*display: inline;
content: "";
zoom: 1;
} }
.input-prepend, .input-append { .input-prepend:after, .input-append:after {
overflow: hidden; clear: both;
} }
.input-prepend input, .input-append input { .input-prepend input, .input-append input {
-webkit-border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0;
...@@ -928,8 +926,6 @@ textarea[readonly] { ...@@ -928,8 +926,6 @@ textarea[readonly] {
border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0;
} }
.input-prepend .add-on, .input-append .add-on { .input-prepend .add-on, .input-append .add-on {
position: relative;
z-index: 2;
float: left; float: left;
display: block; display: block;
width: auto; width: auto;
...@@ -1004,7 +1000,7 @@ th, td { ...@@ -1004,7 +1000,7 @@ th, td {
padding: 8px; padding: 8px;
line-height: 18px; line-height: 18px;
text-align: left; text-align: left;
border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;
} }
th { th {
font-weight: bold; font-weight: bold;
...@@ -1013,9 +1009,6 @@ th { ...@@ -1013,9 +1009,6 @@ th {
td { td {
vertical-align: top; vertical-align: top;
} }
tbody tr:last-child th, tbody tr:last-child td {
border-bottom: 0;
}
.condensed-table th, .condensed-table td { .condensed-table th, .condensed-table td {
padding: 4px 5px; padding: 4px 5px;
} }
...@@ -1206,10 +1199,6 @@ table { ...@@ -1206,10 +1199,6 @@ table {
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
} }
.navbar a {
color: #bfbfbf;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.navbar .brand a:hover, .navbar ul .active > a { .navbar .brand a:hover, .navbar ul .active > a {
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
...@@ -1234,6 +1223,9 @@ table { ...@@ -1234,6 +1223,9 @@ table {
color: #ffffff; color: #ffffff;
background-color: transparent; background-color: transparent;
} }
.navbar .btn {
margin-top: 5px;
}
.navbar-search { .navbar-search {
position: relative; position: relative;
float: left; float: left;
...@@ -1315,7 +1307,9 @@ table { ...@@ -1315,7 +1307,9 @@ table {
float: none; float: none;
padding: 10px 10px 11px; padding: 10px 10px 11px;
line-height: 19px; line-height: 19px;
color: #bfbfbf;
text-decoration: none; text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
} }
.nav a:hover { .nav a:hover {
color: #ffffff; color: #ffffff;
...@@ -1383,104 +1377,6 @@ table { ...@@ -1383,104 +1377,6 @@ table {
.topbar ul .dropdown-menu li a { .topbar ul .dropdown-menu li a {
padding: 4px 15px; padding: 4px 15px;
} }
.dropdown {
position: relative;
}
.dropdown-toggle:after {
display: inline-block;
width: 0;
height: 0;
margin-top: 8px;
margin-left: 6px;
text-indent: -99999px;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #ffffff;
filter: alpha(opacity=30);
-moz-opacity: 0.3;
opacity: 0.3;
content: "↓";
}
.dropdown:hover .dropdown-toggle:after {
filter: alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}
.dropdown-menu {
position: absolute;
top: 40px;
z-index: 900;
float: left;
display: none;
min-width: 160px;
max-width: 220px;
_width: 160px;
padding: 6px 0;
margin-left: 0;
margin-right: 0;
background-color: #ffffff;
border-color: #999;
border-color: rgba(0, 0, 0, 0.2);
border-style: solid;
border-width: 0 1px 1px;
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
zoom: 1;
}
.dropdown-menu li {
float: none;
display: block;
background-color: none;
}
.dropdown-menu .divider {
height: 1px;
margin: 5px 0;
overflow: hidden;
background-color: #eee;
border-bottom: 1px solid #ffffff;
}
.topbar .dropdown-menu a, .dropdown-menu a {
display: block;
padding: 4px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: #808080;
text-shadow: 0 1px 0 #ffffff;
}
.topbar .dropdown-menu a:hover, .dropdown-menu a:hover {
color: #404040;
text-decoration: none;
background-color: #dddddd;
background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));
background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd));
background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
background-image: linear-gradient(top, #eeeeee, #dddddd);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0);
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
}
.dropdown.open .dropdown-toggle {
color: #ffffff;
background: #ccc;
background: rgba(0, 0, 0, 0.3);
}
.dropdown.open .dropdown-menu {
display: block;
}
.hero-unit { .hero-unit {
padding: 60px; padding: 60px;
margin-bottom: 30px; margin-bottom: 30px;
...@@ -1732,6 +1628,23 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { ...@@ -1732,6 +1628,23 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
-moz-border-radius-bottomright: 4px; -moz-border-radius-bottomright: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
} }
.btn-group .btn.large:first-child {
margin-left: 0;
-webkit-border-top-left-radius: 6px;
-moz-border-radius-topleft: 6px;
border-top-left-radius: 6px;
-webkit-border-bottom-left-radius: 6px;
-moz-border-radius-bottomleft: 6px;
border-bottom-left-radius: 6px;
}
.btn-group .btn.large:last-child {
-webkit-border-top-right-radius: 6px;
-moz-border-radius-topright: 6px;
border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-bottomright: 6px;
border-bottom-right-radius: 6px;
}
.btn-group .btn:hover, .btn-group .btn:focus, .btn-group .btn:active { .btn-group .btn:hover, .btn-group .btn:focus, .btn-group .btn:active {
z-index: 2; z-index: 2;
} }
...@@ -2327,7 +2240,11 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { ...@@ -2327,7 +2240,11 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
margin: 18px 0; margin: 18px 0;
} }
.pagination ul { .pagination ul {
float: left; display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
margin: 0; margin: 0;
border: 1px solid #ddd; border: 1px solid #ddd;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
...@@ -2363,6 +2280,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { ...@@ -2363,6 +2280,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
.pagination .next a { .pagination .next a {
border: 0; border: 0;
} }
.pagination.centered {
text-align: center;
}
.modal-backdrop { .modal-backdrop {
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -2694,6 +2614,16 @@ a.thumbnail:hover { ...@@ -2694,6 +2614,16 @@ a.thumbnail:hover {
.horizontal-form .form-actions { .horizontal-form .form-actions {
padding-left: 0; padding-left: 0;
} }
.modal {
position: fixed;
top: 20px;
left: 20px;
right: 20px;
width: auto;
}
.modal .close {
padding: 10px;
}
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.container { .container {
...@@ -2703,7 +2633,7 @@ a.thumbnail:hover { ...@@ -2703,7 +2633,7 @@ a.thumbnail:hover {
.row { .row {
margin-left: 0; margin-left: 0;
} }
[class*="span"] { .row > [class*="span"] {
float: none; float: none;
display: block; display: block;
width: auto; width: auto;
......
This diff is collapsed.
...@@ -22,6 +22,7 @@ body { ...@@ -22,6 +22,7 @@ body {
body > .navbar-fixed .brand { body > .navbar-fixed .brand {
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
margin-left: 20px;
float: right; float: right;
font-weight: bold; font-weight: bold;
color: #000; color: #000;
......
...@@ -646,25 +646,24 @@ ...@@ -646,25 +646,24 @@
<tr> <tr>
<td>1</td> <td>1</td>
<td colspan="2">Some One</td> <td colspan="2">Some One</td>
<td>English</td> <td>HTML</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 rowspan="2">Javascript</td>
</tr> </tr>
</tr> </tr>
<td>3</td> <td>3</td>
<td>Joe</td> <td>Joe</td>
<td>Sixpack</td> <td>Sixpack</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>CSS</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -894,7 +893,17 @@ Form states ...@@ -894,7 +893,17 @@ Form states
<span class="add-on">@</span> <span class="add-on">@</span>
<input class="input-small" id="prependedInput" name="prependedInput" size="16" type="text"> <input class="input-small" id="prependedInput" name="prependedInput" size="16" type="text">
</div> </div>
<span class="help-block">Here's some help text</span> <p class="help-block">Here's some help text</p>
</div>
</fieldset>
<fieldset class="control-group">
<label class="control-label" for="appendedInput">Appended text</label>
<div class="controls">
<div class="input-append">
<input class="input-small" id="appendedInput" name="appendedInput" size="16" type="text">
<span class="add-on">.00</span>
</div>
<p class="help-block">Here's more help text</p>
</div> </div>
</fieldset> </fieldset>
<fieldset class="control-group"> <fieldset class="control-group">
......
...@@ -716,7 +716,7 @@ ...@@ -716,7 +716,7 @@
<p><a class="btn js-btn" href="./javascript.html#modal">Get the javascript &raquo;</a></p> <p><a class="btn js-btn" href="./javascript.html#modal">Get the javascript &raquo;</a></p>
</div> </div>
<div class="span9"> <div class="span9">
<div class="well" style="background-color: #888; border: none; padding: 40px;"> <div class="well" style="background-color: #888; border: none; ">
<!-- Modal --> <!-- Modal -->
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
<div class="modal-header"> <div class="modal-header">
......
...@@ -93,13 +93,15 @@ input[type=file] { ...@@ -93,13 +93,15 @@ input[type=file] {
line-height: @baseLineHeight * 1.5; line-height: @baseLineHeight * 1.5;
} }
// Chrome on Linux needs background color // Chrome on Linux and Mobile Safari need background-color
select { select {
background-color: @white; background-color: @white;
vertical-align: middle;
} }
// Make multiple select elements height not fixed // Make multiple select elements height not fixed
select[multiple] { select[multiple],
select[size] {
height: inherit; height: inherit;
} }
...@@ -218,7 +220,7 @@ textarea[readonly] { ...@@ -218,7 +220,7 @@ textarea[readonly] {
border-color: @borderColor; border-color: @borderColor;
&:focus { &:focus {
border-color: darken(@borderColor, 10%); border-color: darken(@borderColor, 10%);
.box-shadow(0 0 6px lighten(@borderColor, 20%); .box-shadow(0 0 6px lighten(@borderColor, 20%));
} }
} }
// Give a small background color for input-prepend/-append // Give a small background color for input-prepend/-append
...@@ -298,40 +300,17 @@ textarea[readonly] { ...@@ -298,40 +300,17 @@ textarea[readonly] {
// INLINE FIELDS
// -------------
.inline-inputs {
color: @gray;
span, input {
display: inline-block;
}
input.mini {
width: 60px;
}
input.small {
width: 90px;
}
span {
padding: 0 2px 0 1px;
}
}
// INPUT GROUPS // INPUT GROUPS
// ------------ // ------------
// Allow us to put symbols and text within the input field for a cleaner look // Allow us to put symbols and text within the input field for a cleaner look
.input-prepend, .input-prepend,
.input-append { .input-append {
overflow: hidden; .clearfix(); // Clear the float to prevent wrapping
input { input {
.border-radius(0 3px 3px 0); .border-radius(0 3px 3px 0);
} }
.add-on { .add-on {
position: relative;
z-index: 2;
float: left; float: left;
display: block; display: block;
width: auto; width: auto;
......
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
margin-right: auto; margin-right: auto;
} }
// IE7 inline-block
.ie7-inline-block() {
*display: inline; /* IE7 inline-block hack */
*zoom: 1;
}
// Sizing shortcuts // Sizing shortcuts
.size(@height: 5px, @width: 5px) { .size(@height: 5px, @width: 5px) {
width: @width; width: @width;
...@@ -48,13 +54,13 @@ ...@@ -48,13 +54,13 @@
#font { #font {
#family { #family {
.serif() { .serif() {
font-family: "Georgia", Times New Roman, Times, serif; font-family: Georgia, "Times New Roman", Times, serif;
} }
.sans-serif() { .sans-serif() {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
} }
.monospace() { .monospace() {
font-family: "Menlo", Monaco, Courier New, monospace; font-family: Menlo, Monaco, Courier New, monospace;
} }
} }
.shorthand(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) { .shorthand(@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight) {
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
&.fade { opacity: 0; } &.fade { opacity: 0; }
} }
.modal-backdrop, .modal-backdrop.fade.in { .modal-backdrop,
.modal-backdrop.fade.in {
.opacity(80); .opacity(80);
} }
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
height: @baseLineHeight * 2; height: @baseLineHeight * 2;
margin: @baseLineHeight 0; margin: @baseLineHeight 0;
ul { ul {
float: left; display: inline-block;
.ie7-inline-block();
margin: 0; margin: 0;
border: 1px solid #ddd; border: 1px solid #ddd;
border: 1px solid rgba(0,0,0,.15); border: 1px solid rgba(0,0,0,.15);
...@@ -37,4 +38,9 @@ ...@@ -37,4 +38,9 @@
.next a { .next a {
border: 0; border: 0;
} }
// Centered
&.centered {
text-align: center;
}
} }
...@@ -24,11 +24,6 @@ ...@@ -24,11 +24,6 @@
} }
// Text and links // Text and links
.navbar { .navbar {
// Links get text-shadow
a {
color: @grayLight;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
// Hover and active states // Hover and active states
.brand a:hover, .brand a:hover,
ul .active > a { ul .active > a {
...@@ -57,6 +52,10 @@ ...@@ -57,6 +52,10 @@
background-color: transparent; background-color: transparent;
} }
} }
// Buttons in navbar
.btn {
margin-top: 5px; // make buttons vertically centered in navbar
}
} }
// Navbar search // Navbar search
...@@ -146,7 +145,9 @@ ...@@ -146,7 +145,9 @@
float: none; float: none;
padding: 10px 10px 11px; padding: 10px 10px 11px;
line-height: 19px; line-height: 19px;
color: @grayLight;
text-decoration: none; text-decoration: none;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
&:hover { &:hover {
color: @white; color: @white;
text-decoration: none; text-decoration: none;
...@@ -213,101 +214,6 @@ ...@@ -213,101 +214,6 @@
padding: 4px 15px; padding: 4px 15px;
} }
// Dropdown Menus
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
.dropdown {
position: relative;
}
// The link that is clicked to toggle the dropdown
.dropdown-toggle:after {
display: inline-block;
width: 0;
height: 0;
margin-top: 8px;
margin-left: 6px;
text-indent: -99999px;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid @white;
.opacity(30);
content: "&darr;";
}
.dropdown:hover .dropdown-toggle:after {
.opacity(100);
}
// The dropdown menu (ul)
.dropdown-menu {
position: absolute;
top: 40px;
z-index: 900;
float: left;
display: none; // None by default, but block on "open" of the menu
min-width: 160px;
max-width: 220px;
_width: 160px;
padding: 6px 0;
margin-left: 0; // override default ul styles
margin-right: 0;
background-color: @white;
border-color: #999;
border-color: rgba(0,0,0,.2);
border-style: solid;
border-width: 0 1px 1px;
.border-radius(0 0 6px 6px);
.box-shadow(0 2px 4px rgba(0,0,0,.2));
.background-clip(padding-box);
zoom: 1; // do we need this?
// Unfloat any li's to make them stack
li {
float: none;
display: block;
background-color: none;
}
// Dividers (basically an hr) within the dropdown
.divider {
height: 1px;
margin: 5px 0;
overflow: hidden;
background-color: #eee;
border-bottom: 1px solid @white;
}
}
.topbar .dropdown-menu, .dropdown-menu {
// Links within the dropdown menu
a {
display: block;
padding: 4px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: @gray;
text-shadow: 0 1px 0 @white;
// Hover state
&:hover {
color: @grayDark;
text-decoration: none;
#gradient > .vertical(#eeeeee, #dddddd);
@shadow: inset 0 1px 0 rgba(0,0,0,.025), inset 0 -1px rgba(0,0,0,.025);
.box-shadow(@shadow);
}
}
}
// Open state for the dropdown
.dropdown.open {
.dropdown-toggle {
color: @white;
background: #ccc;
background: rgba(0,0,0,.3);
}
.dropdown-menu {
display: block;
}
}
...@@ -493,6 +399,7 @@ input[type=submit].btn { ...@@ -493,6 +399,7 @@ input[type=submit].btn {
float: left; float: left;
margin-left: -1px; margin-left: -1px;
.border-radius(0); .border-radius(0);
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
&:first-child { &:first-child {
margin-left: 0; margin-left: 0;
-webkit-border-top-left-radius: 4px; -webkit-border-top-left-radius: 4px;
...@@ -510,6 +417,24 @@ input[type=submit].btn { ...@@ -510,6 +417,24 @@ input[type=submit].btn {
-moz-border-radius-bottomright: 4px; -moz-border-radius-bottomright: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
} }
// Reset corners for large buttons
&.large:first-child {
margin-left: 0;
-webkit-border-top-left-radius: 6px;
-moz-border-radius-topleft: 6px;
border-top-left-radius: 6px;
-webkit-border-bottom-left-radius: 6px;
-moz-border-radius-bottomleft: 6px;
border-bottom-left-radius: 6px;
}
&.large:last-child {
-webkit-border-top-right-radius: 6px;
-moz-border-radius-topright: 6px;
border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-bottomright: 6px;
border-bottom-right-radius: 6px;
}
} }
// On hover/focus/active, bring the proper btn to front // On hover/focus/active, bring the proper btn to front
.btn-group .btn:hover, .btn-group .btn:hover,
......
/*!
* Bootstrap @VERSION for Print
*
* Copyright 2011 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: @DATE
*/
// HIDE UNECESSARY COMPONENTS
// --------------------------
.navbar-fixed {
display: none;
}
\ No newline at end of file
...@@ -43,6 +43,18 @@ ...@@ -43,6 +43,18 @@
.horizontal-form .form-actions { .horizontal-form .form-actions {
padding-left: 0; padding-left: 0;
} }
// Modals
.modal {
position: fixed;
top: 20px;
left: 20px;
right: 20px;
width: auto;
.close {
padding: 10px;
}
}
} }
...@@ -60,7 +72,7 @@ ...@@ -60,7 +72,7 @@
margin-left: 0; margin-left: 0;
} }
// Make all columns even // Make all columns even
[class*="span"] { .row > [class*="span"] {
float: none; float: none;
display: block; display: block;
width: auto; width: auto;
......
...@@ -17,7 +17,7 @@ td { ...@@ -17,7 +17,7 @@ td {
padding: 8px; padding: 8px;
line-height: @baseLineHeight; line-height: @baseLineHeight;
text-align: left; text-align: left;
border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;
} }
th { th {
font-weight: bold; font-weight: bold;
...@@ -26,10 +26,6 @@ th { ...@@ -26,10 +26,6 @@ th {
td { td {
vertical-align: top; vertical-align: top;
} }
tbody tr:last-child th,
tbody tr:last-child td {
border-bottom: 0;
}
// CONDENSED TABLE W/ HALF PADDING // CONDENSED TABLE W/ HALF PADDING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment