Skip to content

Commit

Permalink
cerulean: fix dropdown header color for desktop, thomaspark#237
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Apr 1, 2014
1 parent 2157a89 commit 512c8d3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
22 changes: 12 additions & 10 deletions cerulean/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5793,6 +5793,14 @@ button.close {
background-color: #fff;
color: #2fa4e7;
}
.navbar-inverse {
background-image: -webkit-linear-gradient(#04519b, #044687 60%, #033769);
background-image: linear-gradient(#04519b, #044687 60%, #033769);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04519b', endColorstr='#ff033769', GradientType=0);
filter: none;
border-bottom: 1px solid #022241;
}
.navbar-inverse .badge {
background-color: #fff;
color: #033c73;
Expand All @@ -5801,16 +5809,10 @@ button.close {
.navbar-brand {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.navbar .dropdown-header {
color: #fff;
}
.navbar-inverse {
background-image: -webkit-linear-gradient(#04519b, #044687 60%, #033769);
background-image: linear-gradient(#04519b, #044687 60%, #033769);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04519b', endColorstr='#ff033769', GradientType=0);
filter: none;
border-bottom: 1px solid #022241;
@media (max-width: 767px) {
.navbar .dropdown-header {
color: #fff;
}
}
.btn {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
Expand Down
2 changes: 1 addition & 1 deletion cerulean/bootstrap.min.css

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions cerulean/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}

&-inverse {
#gradient > .vertical-three-colors(lighten(@navbar-inverse-bg, 8%), lighten(@navbar-inverse-bg, 4%), 60%, darken(@navbar-inverse-bg, 2%));
filter: none;
border-bottom: 1px solid darken(@navbar-inverse-bg, 10%);

.badge {
background-color: #fff;
Expand All @@ -35,16 +38,16 @@
&-brand {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.dropdown-header {
color: #fff;
}
}

.navbar-inverse {
#gradient > .vertical-three-colors(lighten(@navbar-inverse-bg, 8%), lighten(@navbar-inverse-bg, 4%), 60%, darken(@navbar-inverse-bg, 2%));
filter: none;
border-bottom: 1px solid darken(@navbar-inverse-bg, 10%);
@media (max-width: @grid-float-breakpoint-max) {

.navbar {

.dropdown-header {
color: #fff;
}
}
}

// Buttons ====================================================================
Expand Down

0 comments on commit 512c8d3

Please sign in to comment.