Skip to content

Commit fc871a4

Browse files
committed
Merge branch '2.0.3-wip' of github.com:twitter/bootstrap into 2.0.3-wip
2 parents 73453c7 + 1c2db11 commit fc871a4

File tree

6 files changed

+27
-11
lines changed

6 files changed

+27
-11
lines changed

docs/assets/css/bootstrap.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,8 @@ input[type="hidden"] {
873873

874874
.radio,
875875
.checkbox {
876+
min-height: 18px;
876877
padding-left: 18px;
877-
overflow: auto;
878878
}
879879

880880
.radio input[type="radio"],
@@ -2694,6 +2694,11 @@ button.close {
26942694
color: rgba(255, 255, 255, 0.75);
26952695
}
26962696

2697+
.btn {
2698+
border-color: #ccc;
2699+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2700+
}
2701+
26972702
.btn-primary {
26982703
background-color: #0074cc;
26992704
*background-color: #0055cc;
@@ -3003,19 +3008,17 @@ input[type="submit"].btn.btn-mini {
30033008
}
30043009

30053010
.btn-group > .dropdown-toggle {
3006-
*padding-top: 3px;
3011+
*padding-top: 4px;
30073012
padding-right: 8px;
3008-
*padding-bottom: 3px;
3013+
*padding-bottom: 4px;
30093014
padding-left: 8px;
30103015
-webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
30113016
-moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
30123017
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
30133018
}
30143019

30153020
.btn-group > .btn-mini.dropdown-toggle {
3016-
*padding-top: 1px;
30173021
padding-right: 5px;
3018-
*padding-bottom: 1px;
30193022
padding-left: 5px;
30203023
}
30213024

@@ -4773,6 +4776,10 @@ a.badge:hover {
47734776
padding: 8px 15px;
47744777
}
47754778

4779+
.accordion-toggle {
4780+
cursor: pointer;
4781+
}
4782+
47764783
.accordion-inner {
47774784
padding: 9px 15px;
47784785
border-top: 1px solid #e5e5e5;

less/accordion.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
padding: 8px 15px;
2222
}
2323

24+
// General toggle styles
25+
.accordion-toggle {
26+
cursor: pointer;
27+
}
28+
2429
// Inner needs the styles because you can't animate properly with any styles on the element
2530
.accordion-inner {
2631
padding: 9px 15px;

less/button-groups.less

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
-moz-border-radius-bottomleft: 4px;
4242
border-bottom-left-radius: 4px;
4343
}
44+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
4445
.btn-group > .btn:last-child,
4546
.btn-group > .dropdown-toggle {
4647
-webkit-border-top-right-radius: 4px;
@@ -94,14 +95,12 @@
9495
padding-left: 8px;
9596
padding-right: 8px;
9697
.box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
97-
*padding-top: 3px;
98-
*padding-bottom: 3px;
98+
*padding-top: 4px;
99+
*padding-bottom: 4px;
99100
}
100101
.btn-group > .btn-mini.dropdown-toggle {
101102
padding-left: 5px;
102103
padding-right: 5px;
103-
*padding-top: 1px;
104-
*padding-bottom: 1px;
105104
}
106105
.btn-group > .btn-small.dropdown-toggle {
107106
*padding-top: 4px;

less/buttons.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@
131131

132132
// Set the backgrounds
133133
// -------------------------
134+
.btn {
135+
// reset here as of 2.0.3 due to Recess property order
136+
border-color: #ccc;
137+
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
138+
}
134139
.btn-primary {
135140
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
136141
}

less/forms.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ input[type="hidden"] {
173173
// Indent the labels to position radios/checkboxes as hanging
174174
.radio,
175175
.checkbox {
176+
min-height: 18px; // clear the floating input if there is no label text
176177
padding-left: 18px;
177-
overflow: auto; // clear the floating input if there is no label text
178178
}
179179
.radio input[type="radio"],
180180
.checkbox input[type="checkbox"] {

less/variables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
// -------------------------
7272
@btnBackground: @white;
7373
@btnBackgroundHighlight: darken(@white, 10%);
74-
@btnBorder: darken(@white, 20%);
74+
@btnBorder: #ccc;
7575

7676
@btnPrimaryBackground: @linkColor;
7777
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);

0 commit comments

Comments
 (0)