Skip to content
GitLab
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
3a2f0765
Commit
3a2f0765
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix hover state on .nav-list for active links
parent
73238701
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
+2
-2
docs/assets/css/bootstrap.css
less/navs.less
+3
-2
less/navs.less
with
5 additions
and
4 deletions
+5
-4
docs/assets/bootstrap.zip
+
0
-
0
View file @
3a2f0765
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
2
-
2
View file @
3a2f0765
...
@@ -2108,12 +2108,12 @@ button.btn.small, input[type="submit"].btn.small {
...
@@ -2108,12 +2108,12 @@ button.btn.small, input[type="submit"].btn.small {
.nav-list
>
li
+
.nav-header
{
.nav-list
>
li
+
.nav-header
{
margin-top
:
9px
;
margin-top
:
9px
;
}
}
.nav-list
.active
>
a
{
.nav-list
.active
>
a
,
.nav-list
.active
>
a
:hover
{
color
:
#ffffff
;
color
:
#ffffff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.2
);
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.2
);
background-color
:
#0088cc
;
background-color
:
#0088cc
;
}
}
.nav-list
.
icon
{
.nav-list
[
class
^=
"
icon
-"
]
{
margin-right
:
2px
;
margin-right
:
2px
;
}
}
.nav-tabs
,
.nav-pills
{
.nav-tabs
,
.nav-pills
{
...
...
This diff is collapsed.
Click to expand it.
less/navs.less
+
3
-
2
View file @
3a2f0765
...
@@ -49,12 +49,13 @@
...
@@ -49,12 +49,13 @@
.nav-list > li + .nav-header {
.nav-list > li + .nav-header {
margin-top: 9px;
margin-top: 9px;
}
}
.nav-list .active > a {
.nav-list .active > a,
.nav-list .active > a:hover {
color: @white;
color: @white;
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
background-color: @linkColor;
background-color: @linkColor;
}
}
.nav-list
.
icon {
.nav-list
[class^="
icon
-"]
{
margin-right: 2px;
margin-right: 2px;
}
}
...
...
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