Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4b3fb308
Commit
4b3fb308
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
tweaks to icons defaults and in buttons improve vertical align
parent
72198a59
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/css/bootstrap.css
+7
-9
docs/assets/css/bootstrap.css
less/buttons.less
+3
-3
less/buttons.less
less/glyphicons.less
+3
-2
less/glyphicons.less
with
13 additions
and
14 deletions
+13
-14
docs/assets/css/bootstrap.css
+
7
-
9
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
{
...
...
This diff is collapsed.
Click to expand it.
less/buttons.less
+
3
-
3
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
...
...
This diff is collapsed.
Click to expand it.
less/glyphicons.less
+
3
-
2
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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets