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
1ae19459
Commit
1ae19459
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
nuke subnav styles from responsive navbar
parent
256a25f2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap-responsive.css
+1
-35
docs/assets/css/bootstrap-responsive.css
less/responsive-navbar.less
+1
-38
less/responsive-navbar.less
with
2 additions
and
73 deletions
+2
-73
docs/assets/css/bootstrap-responsive.css
+
1
-
35
View file @
1ae19459
...
...
@@ -902,8 +902,7 @@
padding-top
:
0
;
}
.navbar-fixed-top
,
.navbar-fixed-bottom
,
.navbar-subnav-fixed
{
.navbar-fixed-bottom
{
position
:
static
;
}
.navbar-fixed-top
{
...
...
@@ -1028,39 +1027,6 @@
padding-right
:
10px
;
padding-left
:
10px
;
}
.navbar-subnav
{
width
:
auto
;
height
:
auto
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
.navbar-subnav
.navbar-inner
{
background-color
:
#fff
;
background-image
:
none
;
}
.navbar-subnav
.nav
{
float
:
none
;
margin-right
:
0
;
}
.navbar-subnav
.nav
>
li
{
float
:
none
;
}
.navbar-subnav
.nav
>
li
>
a
{
border
:
0
;
}
.navbar-subnav
.nav
>
li
>
a
:hover
{
background-color
:
#f5f5f5
;
}
.navbar-subnav
.nav
>
li
+
li
>
a
{
border-top
:
1px
solid
#e5e5e5
;
}
.navbar-subnav
.nav
>
li
:first-child
>
a
,
.navbar-subnav
.nav
>
li
:first-child
>
a
:hover
{
-webkit-border-radius
:
4px
4px
0
0
;
-moz-border-radius
:
4px
4px
0
0
;
border-radius
:
4px
4px
0
0
;
}
}
@media
(
min-width
:
980px
)
{
...
...
This diff is collapsed.
Click to expand it.
less/responsive-navbar.less
+
1
-
38
View file @
1ae19459
...
...
@@ -15,8 +15,7 @@
}
// Unfix the navbars
.navbar-fixed-top,
.navbar-fixed-bottom,
.navbar-subnav-fixed {
.navbar-fixed-bottom {
position: static;
}
.navbar-fixed-top {
...
...
@@ -149,42 +148,6 @@
padding-right: 10px;
}
// STATIC SUBNAV
// -------------
.navbar-subnav {
width: auto;
height: auto;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.navbar-subnav .navbar-inner {
background-color: #fff;
background-image: none; // Remove gradient
}
.navbar-subnav .nav {
float: none;
margin-right: 0;
}
.navbar-subnav .nav > li {
float: none;
}
.navbar-subnav .nav > li > a {
border: 0;
}
.navbar-subnav .nav > li > a:hover {
background-color: #f5f5f5;
}
.navbar-subnav .nav > li + li > a {
border-top: 1px solid #e5e5e5;
}
.navbar-subnav .nav > li:first-child > a,
.navbar-subnav .nav > li:first-child > a:hover {
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
}
...
...
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