Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
1c2db11d
Commit
1c2db11d
authored
Apr 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ie7 button group toggles and button borders
parent
805ca034
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+3
-4
less/button-groups.less
less/button-groups.less
+2
-4
less/buttons.less
less/buttons.less
+3
-1
No files found.
docs/assets/css/bootstrap.css
View file @
1c2db11d
...
@@ -2696,6 +2696,7 @@ button.close {
...
@@ -2696,6 +2696,7 @@ button.close {
.btn
{
.btn
{
border-color
:
#ccc
;
border-color
:
#ccc
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
}
}
.btn-primary
{
.btn-primary
{
...
@@ -3007,9 +3008,9 @@ input[type="submit"].btn.btn-mini {
...
@@ -3007,9 +3008,9 @@ input[type="submit"].btn.btn-mini {
}
}
.btn-group
>
.dropdown-toggle
{
.btn-group
>
.dropdown-toggle
{
*
padding-top
:
3
px
;
*
padding-top
:
4
px
;
padding-right
:
8px
;
padding-right
:
8px
;
*
padding-bottom
:
3
px
;
*
padding-bottom
:
4
px
;
padding-left
:
8px
;
padding-left
:
8px
;
-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
);
-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
);
-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
);
-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
);
...
@@ -3017,9 +3018,7 @@ input[type="submit"].btn.btn-mini {
...
@@ -3017,9 +3018,7 @@ input[type="submit"].btn.btn-mini {
}
}
.btn-group
>
.btn-mini.dropdown-toggle
{
.btn-group
>
.btn-mini.dropdown-toggle
{
*
padding-top
:
1px
;
padding-right
:
5px
;
padding-right
:
5px
;
*
padding-bottom
:
1px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
...
...
less/button-groups.less
View file @
1c2db11d
...
@@ -95,14 +95,12 @@
...
@@ -95,14 +95,12 @@
padding-left: 8px;
padding-left: 8px;
padding-right: 8px;
padding-right: 8px;
.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)");
.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)");
*padding-top:
3
px;
*padding-top:
4
px;
*padding-bottom:
3
px;
*padding-bottom:
4
px;
}
}
.btn-group > .btn-mini.dropdown-toggle {
.btn-group > .btn-mini.dropdown-toggle {
padding-left: 5px;
padding-left: 5px;
padding-right: 5px;
padding-right: 5px;
*padding-top: 1px;
*padding-bottom: 1px;
}
}
.btn-group > .btn-small.dropdown-toggle {
.btn-group > .btn-small.dropdown-toggle {
*padding-top: 4px;
*padding-top: 4px;
...
...
less/buttons.less
View file @
1c2db11d
...
@@ -132,7 +132,9 @@
...
@@ -132,7 +132,9 @@
// Set the backgrounds
// Set the backgrounds
// -------------------------
// -------------------------
.btn {
.btn {
border-color: #ccc; // reset here as of 2.0.3 due to Recess property order
// reset here as of 2.0.3 due to Recess property order
border-color: #ccc;
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
}
}
.btn-primary {
.btn-primary {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment