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
2729d157
Commit
2729d157
authored
Mar 23, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #2625 manually: account for dropup caret on large button
parent
b8d8ab1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-3
less/button-groups.less
less/button-groups.less
+9
-4
No files found.
docs/assets/bootstrap.zip
View file @
2729d157
No preview for this file type
docs/assets/css/bootstrap.css
View file @
2729d157
...
@@ -2419,9 +2419,13 @@ input[type="submit"].btn.btn-mini {
...
@@ -2419,9 +2419,13 @@ input[type="submit"].btn.btn-mini {
}
}
.btn-large
.caret
{
.btn-large
.caret
{
margin-top
:
6px
;
margin-top
:
6px
;
border-left
:
5px
solid
transparent
;
border-left-width
:
5px
;
border-right
:
5px
solid
transparent
;
border-right-width
:
5px
;
border-top
:
5px
solid
#000000
;
border-top-width
:
5px
;
}
.dropup
.btn-large
.caret
{
border-bottom
:
5px
solid
#000000
;
border-top
:
0
;
}
}
.btn-primary
.caret
,
.btn-primary
.caret
,
.btn-warning
.caret
,
.btn-warning
.caret
,
...
...
less/button-groups.less
View file @
2729d157
...
@@ -148,7 +148,6 @@
...
@@ -148,7 +148,6 @@
}
}
// Reposition the caret
// Reposition the caret
.btn .caret {
.btn .caret {
margin-top: 7px;
margin-top: 7px;
...
@@ -167,12 +166,18 @@
...
@@ -167,12 +166,18 @@
}
}
.btn-large .caret {
.btn-large .caret {
margin-top: 6px;
margin-top: 6px;
border-left: 5px solid transparent;
border-left-width: 5px;
border-right: 5px solid transparent;
border-right-width: 5px;
border-top: 5px solid @black;
border-top-width: 5px;
}
// Upside down carets for .dropup
.dropup .btn-large .caret {
border-bottom: 5px solid @black;
border-top: 0;
}
}
// Account for other colors
// Account for other colors
.btn-primary,
.btn-primary,
.btn-warning,
.btn-warning,
...
...
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