Commit 1e07c066 authored by Jacob Thornton's avatar Jacob Thornton
Browse files

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

parents 0255f47e ad78caa7
Showing with 32 additions and 3 deletions
+32 -3
...@@ -951,6 +951,14 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec ...@@ -951,6 +951,14 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
} }
.form-horizontal .control-group { .form-horizontal .control-group {
margin-bottom: 18px; margin-bottom: 18px;
*zoom: 1;
}
.form-horizontal .control-group:before, .form-horizontal .control-group:after {
display: table;
content: "";
}
.form-horizontal .control-group:after {
clear: both;
} }
.form-horizontal .control-group > label { .form-horizontal .control-group > label {
float: left; float: left;
...@@ -1970,7 +1978,7 @@ table .span12 { ...@@ -1970,7 +1978,7 @@ table .span12 {
.navbar-search .search-query :-moz-placeholder { .navbar-search .search-query :-moz-placeholder {
color: #eeeeee; color: #eeeeee;
} }
.navbar-search .search-query::-webkit-input-placeholder { .navbar-search .search-query ::-webkit-input-placeholder {
color: #eeeeee; color: #eeeeee;
} }
.navbar-search .search-query:hover { .navbar-search .search-query:hover {
...@@ -2092,6 +2100,7 @@ table .span12 { ...@@ -2092,6 +2100,7 @@ table .span12 {
color: #ffffff; color: #ffffff;
} }
.navbar .nav.pull-right .dropdown-menu { .navbar .nav.pull-right .dropdown-menu {
left: auto;
right: 0; right: 0;
} }
.navbar .nav.pull-right .dropdown-menu:before { .navbar .nav.pull-right .dropdown-menu:before {
...@@ -2485,6 +2494,12 @@ table .span12 { ...@@ -2485,6 +2494,12 @@ table .span12 {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff; color: #ffffff;
} }
.btn.primary.active,
.btn.danger.active,
.btn.success.active,
.btn.info.active {
color: rgba(255, 255, 255, 0.75);
}
.btn.primary { .btn.primary {
background-color: #0074cc; background-color: #0074cc;
background-image: -moz-linear-gradient(top, #0088cc, #0055cc); background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
...@@ -2629,6 +2644,7 @@ table .span12 { ...@@ -2629,6 +2644,7 @@ table .span12 {
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
background-color: #e6e6e6; background-color: #e6e6e6;
background-color: #d9d9d9 \9; background-color: #d9d9d9 \9;
color: rgba(0, 0, 0, 0.5);
} }
.btn.disabled, .btn[disabled] { .btn.disabled, .btn[disabled] {
cursor: default; cursor: default;
...@@ -2746,7 +2762,10 @@ button.btn.small, input[type="submit"].btn.small { ...@@ -2746,7 +2762,10 @@ button.btn.small, input[type="submit"].btn.small {
-moz-border-radius-bottomright: 6px; -moz-border-radius-bottomright: 6px;
border-bottom-right-radius: 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,
.btn-group .btn.active {
z-index: 2; z-index: 2;
} }
.btn-group .dropdown-toggle { .btn-group .dropdown-toggle {
......
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
// 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,
.btn-group .btn:focus, .btn-group .btn:focus,
.btn-group .btn:active { .btn-group .btn:active,
.btn-group .btn.active {
z-index: 2; z-index: 2;
} }
......
...@@ -18,6 +18,12 @@ ...@@ -18,6 +18,12 @@
text-shadow: 0 -1px 0 rgba(0,0,0,.25); text-shadow: 0 -1px 0 rgba(0,0,0,.25);
color: @white color: @white
} }
&.primary.active,
&.danger.active,
&.success.active,
&.info.active {
color: rgba(255,255,255,.75);
}
&.primary { &.primary {
.buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground, 15)); .buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground, 15));
} }
...@@ -81,6 +87,7 @@ ...@@ -81,6 +87,7 @@
.box-shadow(@shadow); .box-shadow(@shadow);
background-color: darken(@white, 10%); background-color: darken(@white, 10%);
background-color: darken(@white, 15%) e("\9"); background-color: darken(@white, 15%) e("\9");
color: rgba(0,0,0,.5);
} }
&.disabled, &.disabled,
&[disabled] { &[disabled] {
......
...@@ -505,6 +505,7 @@ select:focus:required:invalid { ...@@ -505,6 +505,7 @@ select:focus:required:invalid {
// Increase spacing between groups // Increase spacing between groups
.control-group { .control-group {
margin-bottom: @baseLineHeight; margin-bottom: @baseLineHeight;
.clearfix();
} }
// Float the labels left // Float the labels left
.control-group > label { .control-group > label {
......
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
// Right aligned menus need alt position // Right aligned menus need alt position
.navbar .nav.pull-right .dropdown-menu { .navbar .nav.pull-right .dropdown-menu {
left: auto;
right: 0; right: 0;
&:before { &:before {
left: auto; left: auto;
......
Supports Markdown
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