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
7c9597f4
Commit
7c9597f4
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
remove double border effect: instead of inset shadow and border on fixed navbars, only border
parent
1b814458
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+6
-6
docs/assets/css/bootstrap.css
less/navbar.less
+2
-2
less/navbar.less
with
8 additions
and
8 deletions
+8
-8
docs/assets/css/bootstrap.css
+
6
-
6
View file @
7c9597f4
...
...
@@ -4373,9 +4373,9 @@ input[type="submit"].btn.btn-mini {
.navbar-fixed-top
.navbar-inner
,
.navbar-static-top
.navbar-inner
{
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-webkit-box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
}
.navbar-fixed-bottom
{
...
...
@@ -4383,9 +4383,9 @@ input[type="submit"].btn.btn-mini {
}
.navbar-fixed-bottom
.navbar-inner
{
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
1px
0
rgba
(
0
,
0
,
0
,
0.1
),
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-webkit-box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
-1px
10px
rgba
(
0
,
0
,
0
,
0.1
);
}
.navbar
.nav
{
...
...
This diff is collapsed.
Click to expand it.
less/navbar.less
+
2
-
2
View file @
7c9597f4
...
...
@@ -202,7 +202,7 @@
.navbar-fixed-top,
.navbar-static-top {
.navbar-inner {
.box-shadow(~"
inset 0 -1px 0 rgba(0,0,0,.1),
0 1px 10px rgba(0,0,0,.1)");
.box-shadow(~"0 1px 10px rgba(0,0,0,.1)");
}
}
...
...
@@ -210,7 +210,7 @@
.navbar-fixed-bottom {
bottom: 0;
.navbar-inner {
.box-shadow(~"
inset 0 1px 0 rgba(0,0,0,.1),
0 -1px 10px rgba(0,0,0,.1)");
.box-shadow(~"0 -1px 10px rgba(0,0,0,.1)");
}
}
...
...
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