mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
restore gradient to navbars
This commit is contained in:
parent
f8efc75a66
commit
d1affe6154
18
docs/assets/css/bootstrap.css
vendored
18
docs/assets/css/bootstrap.css
vendored
@ -4050,11 +4050,18 @@ input[type="submit"].btn::-moz-focus-inner {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
background-color: #f2f2f2;
|
background-color: #fafafa;
|
||||||
|
background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
|
||||||
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
|
||||||
|
background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
|
||||||
|
background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
|
||||||
|
background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
|
||||||
|
background-repeat: repeat-x;
|
||||||
border: 1px solid #d4d4d4;
|
border: 1px solid #d4d4d4;
|
||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
-moz-border-radius: 4px;
|
-moz-border-radius: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
|
||||||
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
||||||
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
||||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
||||||
@ -4433,8 +4440,15 @@ input[type="submit"].btn::-moz-focus-inner {
|
|||||||
|
|
||||||
.navbar-inverse {
|
.navbar-inverse {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
background-color: #111111;
|
background-color: #1b1b1b;
|
||||||
|
background-image: -moz-linear-gradient(top, #222222, #111111);
|
||||||
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));
|
||||||
|
background-image: -webkit-linear-gradient(top, #222222, #111111);
|
||||||
|
background-image: -o-linear-gradient(top, #222222, #111111);
|
||||||
|
background-image: linear-gradient(to bottom, #222222, #111111);
|
||||||
|
background-repeat: repeat-x;
|
||||||
border-color: #252525;
|
border-color: #252525;
|
||||||
|
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse .brand,
|
.navbar-inverse .brand,
|
||||||
|
@ -26,10 +26,6 @@ h3 code {
|
|||||||
/* Tweak navbar brand link to be super sleek
|
/* Tweak navbar brand link to be super sleek
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
body > .navbar {
|
|
||||||
background-color: rgba(0,0,0,.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Change the docs' brand */
|
/* Change the docs' brand */
|
||||||
body > .navbar .brand {
|
body > .navbar .brand {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @baseLineHeight;
|
||||||
color: @navbarText;
|
color: @navbarText;
|
||||||
background-color: @navbarBackground;
|
#gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground);
|
||||||
border: 1px solid @navbarBorder;
|
border: 1px solid @navbarBorder;
|
||||||
.border-radius(4px);
|
.border-radius(4px);
|
||||||
.box-shadow(0 1px 4px rgba(0,0,0,.065));
|
.box-shadow(0 1px 4px rgba(0,0,0,.065));
|
||||||
@ -357,7 +357,7 @@
|
|||||||
|
|
||||||
.navbar-inverse {
|
.navbar-inverse {
|
||||||
color: @navbarInverseText;
|
color: @navbarInverseText;
|
||||||
background-color: @navbarInverseBackground;
|
#gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground);
|
||||||
border-color: @navbarInverseBorder;
|
border-color: @navbarInverseBorder;
|
||||||
|
|
||||||
.brand,
|
.brand,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user