| 1 |
// Cerulean 3.4.1 |
| 2 |
// Bootswatch |
| 3 |
// ----------------------------------------------------- |
| 4 |
|
| 5 |
@mixin btn-shadow($color){ |
| 6 |
@include gradient-vertical-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%)); |
| 7 |
filter: none; |
| 8 |
border-bottom: 1px solid darken($color, 10%); |
| 9 |
} |
| 10 |
|
| 11 |
// Navbar ===================================================================== |
| 12 |
|
| 13 |
.navbar { |
| 14 |
@include btn-shadow($navbar-default-bg); |
| 15 |
filter: none; |
| 16 |
@include box-shadow(0 1px 10px rgba(0, 0, 0, 0.1)); |
| 17 |
|
| 18 |
&-default { |
| 19 |
|
| 20 |
.badge { |
| 21 |
background-color: #fff; |
| 22 |
color: $navbar-default-bg; |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
&-inverse { |
| 27 |
@include gradient-vertical-three-colors(lighten($navbar-inverse-bg, 8%), lighten($navbar-inverse-bg, 4%), 60%, darken($navbar-inverse-bg, 2%)); |
| 28 |
filter: none; |
| 29 |
border-bottom: 1px solid darken($navbar-inverse-bg, 10%); |
| 30 |
|
| 31 |
.badge { |
| 32 |
background-color: #fff; |
| 33 |
color: $navbar-inverse-bg; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
.navbar-nav > li > a, |
| 38 |
&-brand { |
| 39 |
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
@media (max-width: $grid-float-breakpoint-max) { |
| 44 |
|
| 45 |
.navbar { |
| 46 |
|
| 47 |
.dropdown-header { |
| 48 |
color: #fff; |
| 49 |
} |
| 50 |
|
| 51 |
.dropdown-menu { |
| 52 |
a { |
| 53 |
color: #fff; |
| 54 |
} |
| 55 |
} |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
// Buttons ==================================================================== |
| 60 |
|
| 61 |
.btn { |
| 62 |
|
| 63 |
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); |
| 64 |
|
| 65 |
.caret { |
| 66 |
border-top-color: #fff; |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
.btn-default { |
| 71 |
|
| 72 |
@include btn-shadow($btn-default-bg); |
| 73 |
|
| 74 |
&:hover { |
| 75 |
color: $btn-default-color; |
| 76 |
} |
| 77 |
|
| 78 |
.caret { |
| 79 |
border-top-color: $text-color; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
.btn-default { |
| 84 |
@include btn-shadow($btn-default-bg); |
| 85 |
} |
| 86 |
|
| 87 |
.btn-primary { |
| 88 |
@include btn-shadow($btn-primary-bg); |
| 89 |
} |
| 90 |
|
| 91 |
.btn-success { |
| 92 |
@include btn-shadow($btn-success-bg); |
| 93 |
} |
| 94 |
|
| 95 |
.btn-info { |
| 96 |
@include btn-shadow($btn-info-bg); |
| 97 |
} |
| 98 |
|
| 99 |
.btn-warning { |
| 100 |
@include btn-shadow($btn-warning-bg); |
| 101 |
} |
| 102 |
|
| 103 |
.btn-danger { |
| 104 |
@include btn-shadow($btn-danger-bg); |
| 105 |
} |
| 106 |
|
| 107 |
// Typography ================================================================= |
| 108 |
|
| 109 |
// Tables ===================================================================== |
| 110 |
|
| 111 |
// Forms ====================================================================== |
| 112 |
|
| 113 |
// Navs ======================================================================= |
| 114 |
|
| 115 |
// Indicators ================================================================= |
| 116 |
|
| 117 |
// Progress bars ============================================================== |
| 118 |
|
| 119 |
// Containers ================================================================= |
| 120 |
|
| 121 |
.panel-primary, |
| 122 |
.panel-success, |
| 123 |
.panel-warning, |
| 124 |
.panel-danger, |
| 125 |
.panel-info { |
| 126 |
|
| 127 |
.panel-heading, |
| 128 |
.panel-title { |
| 129 |
color: #fff; |
| 130 |
} |
| 131 |
} |