| 1 |
// Sandstone 4.6.0 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables =================================================================== |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" !default; |
| 8 |
@import url($web-font-path); |
| 9 |
|
| 10 |
// Navbar ====================================================================== |
| 11 |
|
| 12 |
.bg-primary { |
| 13 |
background-color: $dark !important; |
| 14 |
} |
| 15 |
|
| 16 |
.bg-dark { |
| 17 |
background-color: $secondary !important; |
| 18 |
} |
| 19 |
|
| 20 |
.bg-light { |
| 21 |
background-color: $gray-200 !important; |
| 22 |
} |
| 23 |
|
| 24 |
.sandstone { |
| 25 |
font-size: 11px; |
| 26 |
line-height: 22px; |
| 27 |
font-weight: 500; |
| 28 |
text-transform: uppercase; |
| 29 |
} |
| 30 |
|
| 31 |
.navbar { |
| 32 |
.nav-link { |
| 33 |
@extend .sandstone; |
| 34 |
} |
| 35 |
|
| 36 |
&-form input, |
| 37 |
&-form .form-control { |
| 38 |
border: none; |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
// Buttons ===================================================================== |
| 43 |
|
| 44 |
.btn { |
| 45 |
@extend .sandstone; |
| 46 |
|
| 47 |
&:hover { |
| 48 |
border-color: transparent; |
| 49 |
} |
| 50 |
|
| 51 |
&-success, |
| 52 |
&-warning { |
| 53 |
color: $white; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
// Tables ====================================================================== |
| 58 |
|
| 59 |
.table { |
| 60 |
.thead-dark th { |
| 61 |
background-color: $dark; |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
// Forms ======================================================================= |
| 66 |
|
| 67 |
input, |
| 68 |
.form-control { |
| 69 |
@include box-shadow(none); |
| 70 |
|
| 71 |
&:focus { |
| 72 |
@include box-shadow(none); |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
// Navs ======================================================================== |
| 77 |
|
| 78 |
.nav-tabs { |
| 79 |
.nav-link { |
| 80 |
@extend .sandstone; |
| 81 |
background-color: $gray-200; |
| 82 |
border-color: $gray-300; |
| 83 |
} |
| 84 |
|
| 85 |
.nav-link, |
| 86 |
.nav-link:hover, |
| 87 |
.nav-link:focus { |
| 88 |
color: $gray-600; |
| 89 |
} |
| 90 |
|
| 91 |
.nav-link.disabled, |
| 92 |
.nav-link.disabled:hover, |
| 93 |
.nav-link.disabled:focus { |
| 94 |
background-color: $gray-200; |
| 95 |
border-color: $gray-300; |
| 96 |
color: $nav-link-disabled-color; |
| 97 |
} |
| 98 |
} |
| 99 |
|
| 100 |
.nav-pills { |
| 101 |
.nav-link { |
| 102 |
@extend .sandstone; |
| 103 |
border: 1px solid transparent; |
| 104 |
color: $gray-600; |
| 105 |
} |
| 106 |
|
| 107 |
.nav-link.active, |
| 108 |
.nav-link:hover, |
| 109 |
.nav-link:focus { |
| 110 |
background-color: $gray-200; |
| 111 |
border-color: $gray-300; |
| 112 |
} |
| 113 |
|
| 114 |
.nav-link.disabled, |
| 115 |
.nav-link.disabled:hover { |
| 116 |
background-color: transparent; |
| 117 |
border-color: transparent; |
| 118 |
color: $gray-300; |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
|
| 123 |
.breadcrumb { |
| 124 |
@extend .sandstone; |
| 125 |
border: 1px solid $gray-300; |
| 126 |
} |
| 127 |
|
| 128 |
.pagination { |
| 129 |
@extend .sandstone; |
| 130 |
|
| 131 |
a:hover { |
| 132 |
text-decoration: none; |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
.dropdown-menu { |
| 137 |
.dropdown-item { |
| 138 |
@extend .sandstone; |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
// Indicators ================================================================== |
| 143 |
|
| 144 |
.alert { |
| 145 |
color: $white; |
| 146 |
|
| 147 |
a, |
| 148 |
.alert-link { |
| 149 |
color: $white; |
| 150 |
text-decoration: underline; |
| 151 |
} |
| 152 |
|
| 153 |
&-primary { |
| 154 |
&, |
| 155 |
> th, |
| 156 |
> td { |
| 157 |
background-color: $primary; |
| 158 |
} |
| 159 |
} |
| 160 |
|
| 161 |
&-secondary { |
| 162 |
&, |
| 163 |
> th, |
| 164 |
> td { |
| 165 |
background-color: $secondary; |
| 166 |
} |
| 167 |
} |
| 168 |
|
| 169 |
&-success { |
| 170 |
&, |
| 171 |
> th, |
| 172 |
> td { |
| 173 |
background-color: $success; |
| 174 |
} |
| 175 |
} |
| 176 |
|
| 177 |
&-info { |
| 178 |
&, |
| 179 |
> th, |
| 180 |
> td { |
| 181 |
background-color: $info; |
| 182 |
} |
| 183 |
} |
| 184 |
|
| 185 |
&-danger { |
| 186 |
&, |
| 187 |
> th, |
| 188 |
> td { |
| 189 |
background-color: $danger; |
| 190 |
} |
| 191 |
} |
| 192 |
|
| 193 |
&-warning { |
| 194 |
&, |
| 195 |
> th, |
| 196 |
> td { |
| 197 |
background-color: $warning; |
| 198 |
} |
| 199 |
} |
| 200 |
|
| 201 |
&-dark { |
| 202 |
&, |
| 203 |
> th, |
| 204 |
> td { |
| 205 |
background-color: $dark; |
| 206 |
} |
| 207 |
} |
| 208 |
|
| 209 |
&-light { |
| 210 |
&, |
| 211 |
> th, |
| 212 |
> td { |
| 213 |
background-color: $light; |
| 214 |
} |
| 215 |
|
| 216 |
&, |
| 217 |
a:not(.btn), |
| 218 |
.alert-link { |
| 219 |
color: $body-color; |
| 220 |
} |
| 221 |
} |
| 222 |
} |
| 223 |
|
| 224 |
.badge { |
| 225 |
&-success, |
| 226 |
&-warning { |
| 227 |
color: $white; |
| 228 |
} |
| 229 |
} |
| 230 |
|
| 231 |
.tooltip { |
| 232 |
@extend .sandstone; |
| 233 |
} |
| 234 |
|
| 235 |
.close { |
| 236 |
color: $gray-300; |
| 237 |
opacity: 1; |
| 238 |
|
| 239 |
&:hover { |
| 240 |
color: darken($gray-300, 20%); |
| 241 |
} |
| 242 |
} |