| 1 |
// Cyborg 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default; |
| 8 |
@if $web-font-path { |
| 9 |
@import url($web-font-path); |
| 10 |
} |
| 11 |
|
| 12 |
// Navbar |
| 13 |
|
| 14 |
.navbar { |
| 15 |
&.bg-primary { |
| 16 |
border: 1px solid body-mix(50%); |
| 17 |
} |
| 18 |
|
| 19 |
&.bg-dark { |
| 20 |
background-color: $body-bg !important; |
| 21 |
border: 1px solid body-mix(50%); |
| 22 |
} |
| 23 |
|
| 24 |
&.bg-light { |
| 25 |
background-color: body-mix(16%) !important; |
| 26 |
} |
| 27 |
|
| 28 |
&.fixed-top { |
| 29 |
border-width: 0 0 1px; |
| 30 |
} |
| 31 |
|
| 32 |
&.fixed-bottom { |
| 33 |
border-width: 1px 0 0; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
// Buttons |
| 38 |
|
| 39 |
.btn { |
| 40 |
@each $color, $value in $theme-colors { |
| 41 |
&-#{$color} { |
| 42 |
@if $enable-gradients { |
| 43 |
background: $value linear-gradient(180deg, mix($contrast-bg, $value, 15%), $value) repeat-x; |
| 44 |
} @else { |
| 45 |
background-color: $value; |
| 46 |
} |
| 47 |
} |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
// Forms |
| 52 |
|
| 53 |
legend { |
| 54 |
color: $contrast-bg; |
| 55 |
} |
| 56 |
|
| 57 |
.form-control { |
| 58 |
&:disabled, |
| 59 |
&[readonly] { |
| 60 |
border-color: transparent; |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
// Navs |
| 65 |
|
| 66 |
.nav-tabs, |
| 67 |
.nav-pills { |
| 68 |
.nav-link { |
| 69 |
color: $contrast-bg; |
| 70 |
|
| 71 |
&:hover { |
| 72 |
background-color: body-mix(50%); |
| 73 |
} |
| 74 |
|
| 75 |
&.disabled, |
| 76 |
&.disabled:hover { |
| 77 |
color: $nav-link-disabled-color; |
| 78 |
background-color: transparent; |
| 79 |
} |
| 80 |
|
| 81 |
&.active { |
| 82 |
background-color: $primary; |
| 83 |
} |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
.breadcrumb { |
| 88 |
a { |
| 89 |
color: $contrast-bg; |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 93 |
.pagination { |
| 94 |
a:hover { |
| 95 |
text-decoration: none; |
| 96 |
} |
| 97 |
} |
| 98 |
|
| 99 |
// Indicators |
| 100 |
|
| 101 |
.alert { |
| 102 |
color: $contrast-bg; |
| 103 |
border: none; |
| 104 |
|
| 105 |
a, |
| 106 |
.alert-link { |
| 107 |
color: $contrast-bg; |
| 108 |
text-decoration: underline; |
| 109 |
} |
| 110 |
|
| 111 |
@each $color, $value in $theme-colors { |
| 112 |
&-#{$color} { |
| 113 |
@if $enable-gradients { |
| 114 |
background: $value linear-gradient(180deg, mix($contrast-bg, $value, 15%), $value) repeat-x; |
| 115 |
} @else { |
| 116 |
background-color: $value; |
| 117 |
} |
| 118 |
} |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
.badge { |
| 123 |
&.bg-dark { |
| 124 |
color: $gray-900; |
| 125 |
} |
| 126 |
} |
| 127 |
|
| 128 |
// Containers |
| 129 |
|
| 130 |
.list-group-item-action { |
| 131 |
|
| 132 |
&:hover { |
| 133 |
border-color: $primary; |
| 134 |
} |
| 135 |
} |
| 136 |
|
| 137 |
.popover { |
| 138 |
&-title { |
| 139 |
border-bottom: none; |
| 140 |
} |
| 141 |
} |
| 142 |
|
| 143 |
// Fix selectize.js contrasting issues |
| 144 |
.selectize-input { |
| 145 |
--#{$prefix}emphasis-color: black; |
| 146 |
--#{$prefix}emphasis-color-rgb: 0,0,0; |
| 147 |
} |