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
4357ed72
Commit
4357ed72
authored
May 03, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update justified nav CSS for proper selectors
parent
747e108e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
docs/examples/justified-nav.html
docs/examples/justified-nav.html
+4
-5
less/navs.less
less/navs.less
+3
-1
No files found.
docs/examples/justified-nav.html
View file @
4357ed72
...
@@ -42,7 +42,7 @@ title: Justified nav template
...
@@ -42,7 +42,7 @@ title: Justified nav template
border-radius
:
5px
;
border-radius
:
5px
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
}
}
.nav-justified
li
a
{
.nav-justified
>
li
>
a
{
padding-top
:
15px
;
padding-top
:
15px
;
padding-bottom
:
15px
;
padding-bottom
:
15px
;
color
:
#777
;
color
:
#777
;
...
@@ -60,17 +60,17 @@ title: Justified nav template
...
@@ -60,17 +60,17 @@ title: Justified nav template
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#f5f5f5'
,
endColorstr
=
'#e5e5e5'
,
GradientType
=
0
);
/* IE6-9 */
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#f5f5f5'
,
endColorstr
=
'#e5e5e5'
,
GradientType
=
0
);
/* IE6-9 */
background-image
:
linear-gradient
(
top
,
#f5f5f5
0%
,
#e5e5e5
100%
);
/* W3C */
background-image
:
linear-gradient
(
top
,
#f5f5f5
0%
,
#e5e5e5
100%
);
/* W3C */
}
}
.nav-justified
.active
a
{
.nav-justified
>
.active
>
a
{
background-color
:
#ddd
;
background-color
:
#ddd
;
background-image
:
none
;
background-image
:
none
;
box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
.15
);
box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
.15
);
}
}
.nav-justified
li
:first-child
a
{
.nav-justified
>
li
:first-child
>
a
{
border-left
:
0
;
border-left
:
0
;
border-top-left-radius
:
5px
;
border-top-left-radius
:
5px
;
border-bottom-left-radius
:
5px
;
border-bottom-left-radius
:
5px
;
}
}
.nav-justified
li
:last-child
a
{
.nav-justified
>
li
:last-child
>
a
{
border-right
:
0
;
border-right
:
0
;
border-top-right-radius
:
5px
;
border-top-right-radius
:
5px
;
border-bottom-right-radius
:
5px
;
border-bottom-right-radius
:
5px
;
...
@@ -86,7 +86,6 @@ title: Justified nav template
...
@@ -86,7 +86,6 @@ title: Justified nav template
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
}
}
/* Make the nav on the same line */
}
}
</style>
</style>
...
...
less/navs.less
View file @
4357ed72
...
@@ -156,7 +156,9 @@
...
@@ -156,7 +156,9 @@
float: none;
float: none;
display: table-cell;
display: table-cell;
width: 1%;
width: 1%;
text-align: center;
> a {
text-align: center;
}
}
}
}
}
...
...
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