| 1 |
// Cerulean 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default; |
| 8 |
|
| 9 |
// Mixins |
| 10 |
|
| 11 |
@mixin btn-shadow($color){ |
| 12 |
@include gradient-y-three-colors(tint-color($color, 16%), $color, 60%, shade-color($color, 6%)); |
| 13 |
} |
| 14 |
|
| 15 |
// Navbar |
| 16 |
|
| 17 |
.navbar { |
| 18 |
@each $color, $value in $theme-colors { |
| 19 |
&.bg-#{$color} { |
| 20 |
@include btn-shadow($value); |
| 21 |
} |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
.navbar-brand, |
| 26 |
.nav-link { |
| 27 |
text-shadow: $text-shadow; |
| 28 |
} |
| 29 |
|
| 30 |
// Buttons |
| 31 |
|
| 32 |
.btn { |
| 33 |
text-shadow: $text-shadow; |
| 34 |
} |
| 35 |
|
| 36 |
.btn-secondary, |
| 37 |
.btn-outline-secondary { |
| 38 |
color: $gray-700; |
| 39 |
} |
| 40 |
|
| 41 |
@each $color, $value in $theme-colors { |
| 42 |
.btn-#{$color} { |
| 43 |
@include btn-shadow($value); |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
// Typography |
| 48 |
|
| 49 |
.text-secondary { |
| 50 |
color: $gray-500 !important; |
| 51 |
} |
| 52 |
|
| 53 |
.bg-primary, |
| 54 |
.bg-success, |
| 55 |
.bg-info, |
| 56 |
.bg-warning, |
| 57 |
.bg-danger, |
| 58 |
.bg-dark { |
| 59 |
h1, |
| 60 |
h2, |
| 61 |
h3, |
| 62 |
h4, |
| 63 |
h5, |
| 64 |
h6 { |
| 65 |
color: $white; |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
// Navs |
| 70 |
|
| 71 |
.dropdown-menu { |
| 72 |
.dropdown-header { |
| 73 |
color: $gray-600; |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
// Indicators |
| 78 |
|
| 79 |
.badge { |
| 80 |
&.bg-secondary, |
| 81 |
&.bg-light { |
| 82 |
color: $dark; |
| 83 |
} |
| 84 |
} |