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
37c21a3a
Commit
37c21a3a
authored
Feb 06, 2014
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use Less' extend feature in btn-group-lg etc.
parent
87219cfe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
24 deletions
+9
-24
dist/css/bootstrap.css
dist/css/bootstrap.css
+6
-21
less/button-groups.less
less/button-groups.less
+3
-3
No files found.
dist/css/bootstrap.css
View file @
37c21a3a
...
@@ -2311,19 +2311,22 @@ fieldset[disabled] .btn-link:focus {
...
@@ -2311,19 +2311,22 @@ fieldset[disabled] .btn-link:focus {
color
:
#999
;
color
:
#999
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.btn-lg
{
.btn-lg
,
.btn-group-lg
>
.btn
{
padding
:
10px
16px
;
padding
:
10px
16px
;
font-size
:
18px
;
font-size
:
18px
;
line-height
:
1.33
;
line-height
:
1.33
;
border-radius
:
6px
;
border-radius
:
6px
;
}
}
.btn-sm
{
.btn-sm
,
.btn-group-sm
>
.btn
{
padding
:
5px
10px
;
padding
:
5px
10px
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
1.5
;
line-height
:
1.5
;
border-radius
:
3px
;
border-radius
:
3px
;
}
}
.btn-xs
{
.btn-xs
,
.btn-group-xs
>
.btn
{
padding
:
1px
5px
;
padding
:
1px
5px
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
1.5
;
line-height
:
1.5
;
...
@@ -3196,24 +3199,6 @@ input[type="button"].btn-block {
...
@@ -3196,24 +3199,6 @@ input[type="button"].btn-block {
.btn-group.open
.dropdown-toggle
{
.btn-group.open
.dropdown-toggle
{
outline
:
0
;
outline
:
0
;
}
}
.btn-group-xs
>
.btn
{
padding
:
1px
5px
;
font-size
:
12px
;
line-height
:
1.5
;
border-radius
:
3px
;
}
.btn-group-sm
>
.btn
{
padding
:
5px
10px
;
font-size
:
12px
;
line-height
:
1.5
;
border-radius
:
3px
;
}
.btn-group-lg
>
.btn
{
padding
:
10px
16px
;
font-size
:
18px
;
line-height
:
1.33
;
border-radius
:
6px
;
}
.btn-group
>
.btn
+
.dropdown-toggle
{
.btn-group
>
.btn
+
.dropdown-toggle
{
padding-right
:
8px
;
padding-right
:
8px
;
padding-left
:
8px
;
padding-left
:
8px
;
...
...
less/button-groups.less
View file @
37c21a3a
...
@@ -96,9 +96,9 @@
...
@@ -96,9 +96,9 @@
//
//
// Remix the default button sizing classes into new ones for easier manipulation.
// Remix the default button sizing classes into new ones for easier manipulation.
.btn-group-xs > .btn {
.btn-xs(
); }
.btn-group-xs > .btn {
&:extend(.btn-xs
); }
.btn-group-sm > .btn {
.btn-sm(
); }
.btn-group-sm > .btn {
&:extend(.btn-sm
); }
.btn-group-lg > .btn {
.btn-lg(
); }
.btn-group-lg > .btn {
&:extend(.btn-lg
); }
// Split button dropdowns
// Split button dropdowns
...
...
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