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
704d713a
Commit
704d713a
authored
Dec 27, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
border radius on large button toolbar
parent
53c6dbff
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
1 deletion
+38
-1
bootstrap.css
bootstrap.css
+18
-1
bootstrap.min.css
bootstrap.min.css
+2
-0
lib/patterns.less
lib/patterns.less
+18
-0
No files found.
bootstrap.css
View file @
704d713a
...
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Tue Dec 27 17:
02:48
CST 2011
* Date: Tue Dec 27 17:
38:27
CST 2011
*/
html
,
body
{
margin
:
0
;
...
...
@@ -1628,6 +1628,23 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
-moz-border-radius-bottomright
:
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
{
z-index
:
2
;
}
...
...
bootstrap.min.css
View file @
704d713a
...
...
@@ -221,6 +221,8 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
.btn-group
:after
{
clear
:
both
;}
.btn-group
.btn
{
position
:
relative
;
float
:
left
;
margin-left
:
-1px
;
-webkit-border-radius
:
0
;
-moz-border-radius
:
0
;
border-radius
:
0
;}
.btn-group
.btn
:first-child
{
margin-left
:
0
;
-webkit-border-top-left-radius
:
4px
;
-moz-border-radius-topleft
:
4px
;
border-top-left-radius
:
4px
;
-webkit-border-bottom-left-radius
:
4px
;
-moz-border-radius-bottomleft
:
4px
;
border-bottom-left-radius
:
4px
;}
.btn-group
.btn
:last-child
{
-webkit-border-top-right-radius
:
4px
;
-moz-border-radius-topright
:
4px
;
border-top-right-radius
:
4px
;
-webkit-border-bottom-right-radius
:
4px
;
-moz-border-radius-bottomright
:
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
{
z-index
:
2
;}
.close
{
float
:
right
;
font-size
:
20px
;
font-weight
:
bold
;
line-height
:
13.5px
;
color
:
#000000
;
text-shadow
:
0
1px
0
#ffffff
;
filter
:
alpha
(
opacity
=
20
);
-moz-opacity
:
0.2
;
opacity
:
0.2
;}
.close
:hover
{
color
:
#000000
;
text-decoration
:
none
;
filter
:
alpha
(
opacity
=
40
);
-moz-opacity
:
0.4
;
opacity
:
0.4
;}
.alert-message
{
position
:
relative
;
padding
:
7px
15px
;
margin-bottom
:
18px
;
color
:
#404040
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
background-color
:
#eedc94
;
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#fceec1
),
to
(
#eedc94
));
background-image
:
-moz-linear-gradient
(
top
,
#fceec1
,
#eedc94
);
background-image
:
-ms-linear-gradient
(
top
,
#fceec1
,
#eedc94
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
#fceec1
),
color-stop
(
100%
,
#eedc94
));
background-image
:
-webkit-linear-gradient
(
top
,
#fceec1
,
#eedc94
);
background-image
:
-o-linear-gradient
(
top
,
#fceec1
,
#eedc94
);
background-image
:
linear-gradient
(
top
,
#fceec1
,
#eedc94
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#fceec1'
,
endColorstr
=
'#eedc94'
,
GradientType
=
0
);
border-color
:
#eedc94
#eedc94
#e4c652
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
border-width
:
1px
;
border-style
:
solid
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.25
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.25
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.25
);}
.alert-message
.close
{
*
margin-top
:
3px
;}
...
...
lib/patterns.less
View file @
704d713a
...
...
@@ -417,6 +417,24 @@ input[type=submit].btn {
-moz-border-radius-bottomright: 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
.btn-group .btn:hover,
...
...
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