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
4b3fb308
Commit
4b3fb308
authored
Nov 02, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaks to icons defaults and in buttons improve vertical align
parent
72198a59
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 deletions
+13
-14
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-9
less/buttons.less
less/buttons.less
+3
-3
less/glyphicons.less
less/glyphicons.less
+3
-2
No files found.
docs/assets/css/bootstrap.css
View file @
4b3fb308
...
@@ -2162,8 +2162,9 @@ table th[class*="span"],
...
@@ -2162,8 +2162,9 @@ table th[class*="span"],
}
}
[
class
^=
"glyphicon-"
]
:before
{
[
class
^=
"glyphicon-"
]
:before
{
display
:
inline-block
;
font-family
:
'Glyphicons Halflings'
;
font
:
normal
12px
/
1
'Glyphicons Halflings'
;
font-style
:
normal
;
line-height
:
1
;
}
}
.glyphicon-glass
:before
{
.glyphicon-glass
:before
{
...
@@ -3237,16 +3238,13 @@ button.close {
...
@@ -3237,16 +3238,13 @@ button.close {
border-radius
:
3px
;
border-radius
:
3px
;
}
}
.btn-large
[
class
^=
"glyphicon-"
]
::before
{
.btn
[
class
^=
"glyphicon-"
]
::before
{
font-size
:
14px
;
vertical-align
:
-2px
;
}
.btn-small
[
class
^=
"glyphicon-"
]
::before
{
font-size
:
10px
;
}
}
.btn-small
[
class
^=
"glyphicon-"
]
::before
,
.btn-mini
[
class
^=
"glyphicon-"
]
::before
{
.btn-mini
[
class
^=
"glyphicon-"
]
::before
{
font-size
:
9
px
;
vertical-align
:
-1
px
;
}
}
.btn-block
{
.btn-block
{
...
...
less/buttons.less
View file @
4b3fb308
...
@@ -95,9 +95,9 @@
...
@@ -95,9 +95,9 @@
// Icons in buttons
// Icons in buttons
// -------------------------
// -------------------------
.btn
-large [class^="glyphicon-"]::before { font-size: 14
px; }
.btn
[class^="glyphicon-"]::before { vertical-align: -2
px; }
.btn-small [class^="glyphicon-"]::before
{ font-size: 10px; }
.btn-small [class^="glyphicon-"]::before
,
.btn-mini [class^="glyphicon-"]::before {
font-size: 9
px; }
.btn-mini [class^="glyphicon-"]::before {
vertical-align: -1
px; }
// Block button
// Block button
...
...
less/glyphicons.less
View file @
4b3fb308
...
@@ -32,8 +32,9 @@
...
@@ -32,8 +32,9 @@
// Catchall baseclass
// Catchall baseclass
[class^="glyphicon-"]:before {
[class^="glyphicon-"]:before {
display: inline-block;
font-family: 'Glyphicons Halflings';
font: normal 12px/1 'Glyphicons Halflings';
font-style: normal;
line-height: 1;
}
}
// Individual icons
// Individual icons
...
...
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