| 1 |
// Sandstone 5.3.1 |
| 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 |
@if $web-font-path { |
| 9 |
@import url($web-font-path); |
| 10 |
} |
| 11 |
|
| 12 |
// Navbar |
| 13 |
|
| 14 |
.sandstone { |
| 15 |
font-size: 13px; |
| 16 |
font-weight: 500; |
| 17 |
line-height: 22px; |
| 18 |
text-transform: uppercase; |
| 19 |
} |
| 20 |
|
| 21 |
.navbar { |
| 22 |
.nav-link { |
| 23 |
@extend .sandstone; |
| 24 |
} |
| 25 |
|
| 26 |
&-form input, |
| 27 |
&-form .form-control { |
| 28 |
border: none; |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
// Buttons |
| 33 |
|
| 34 |
.btn { |
| 35 |
@extend .sandstone; |
| 36 |
|
| 37 |
&:hover { |
| 38 |
border-color: transparent; |
| 39 |
} |
| 40 |
|
| 41 |
&-success, |
| 42 |
&-warning { |
| 43 |
color: $white; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
// Tables |
| 48 |
|
| 49 |
.table { |
| 50 |
.thead-dark th { |
| 51 |
background-color: $dark; |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
// Forms |
| 56 |
|
| 57 |
input, |
| 58 |
.form-control { |
| 59 |
@include box-shadow(none); |
| 60 |
|
| 61 |
&:focus { |
| 62 |
@include box-shadow(none); |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
// Navs |
| 67 |
|
| 68 |
.nav-tabs { |
| 69 |
.nav-link { |
| 70 |
@extend .sandstone; |
| 71 |
background-color: $gray-200; |
| 72 |
border-color: $gray-300; |
| 73 |
} |
| 74 |
|
| 75 |
.nav-link, |
| 76 |
.nav-link:hover, |
| 77 |
.nav-link:focus { |
| 78 |
color: $gray-600; |
| 79 |
} |
| 80 |
|
| 81 |
.nav-link.disabled, |
| 82 |
.nav-link.disabled:hover, |
| 83 |
.nav-link.disabled:focus { |
| 84 |
color: $nav-link-disabled-color; |
| 85 |
background-color: $gray-200; |
| 86 |
border-color: $gray-300; |
| 87 |
} |
| 88 |
} |
| 89 |
|
| 90 |
.nav-pills { |
| 91 |
.nav-link { |
| 92 |
@extend .sandstone; |
| 93 |
color: $gray-600; |
| 94 |
border: 1px solid transparent; |
| 95 |
} |
| 96 |
|
| 97 |
.nav-link.active, |
| 98 |
.nav-link:hover, |
| 99 |
.nav-link:focus { |
| 100 |
background-color: $gray-200; |
| 101 |
border-color: $gray-300; |
| 102 |
} |
| 103 |
|
| 104 |
.nav-link.disabled, |
| 105 |
.nav-link.disabled:hover { |
| 106 |
color: $gray-300; |
| 107 |
background-color: transparent; |
| 108 |
border-color: transparent; |
| 109 |
} |
| 110 |
} |
| 111 |
|
| 112 |
|
| 113 |
.breadcrumb { |
| 114 |
@extend .sandstone; |
| 115 |
border: 1px solid $gray-300; |
| 116 |
} |
| 117 |
|
| 118 |
.pagination { |
| 119 |
@extend .sandstone; |
| 120 |
|
| 121 |
a:hover { |
| 122 |
text-decoration: none; |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
.dropdown-menu { |
| 127 |
.dropdown-item { |
| 128 |
@extend .sandstone; |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
// Indicators |
| 133 |
|
| 134 |
.alert { |
| 135 |
color: $white; |
| 136 |
|
| 137 |
a, |
| 138 |
.alert-link { |
| 139 |
color: $white; |
| 140 |
text-decoration: underline; |
| 141 |
} |
| 142 |
|
| 143 |
&-primary { |
| 144 |
&, |
| 145 |
> th, |
| 146 |
> td { |
| 147 |
background-color: $primary; |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
&-secondary { |
| 152 |
&, |
| 153 |
> th, |
| 154 |
> td { |
| 155 |
background-color: $secondary; |
| 156 |
} |
| 157 |
} |
| 158 |
|
| 159 |
&-success { |
| 160 |
&, |
| 161 |
> th, |
| 162 |
> td { |
| 163 |
background-color: $success; |
| 164 |
} |
| 165 |
} |
| 166 |
|
| 167 |
&-info { |
| 168 |
&, |
| 169 |
> th, |
| 170 |
> td { |
| 171 |
background-color: $info; |
| 172 |
} |
| 173 |
} |
| 174 |
|
| 175 |
&-danger { |
| 176 |
&, |
| 177 |
> th, |
| 178 |
> td { |
| 179 |
background-color: $danger; |
| 180 |
} |
| 181 |
} |
| 182 |
|
| 183 |
&-warning { |
| 184 |
&, |
| 185 |
> th, |
| 186 |
> td { |
| 187 |
background-color: $warning; |
| 188 |
} |
| 189 |
} |
| 190 |
|
| 191 |
&-dark { |
| 192 |
&, |
| 193 |
> th, |
| 194 |
> td { |
| 195 |
background-color: $dark; |
| 196 |
} |
| 197 |
} |
| 198 |
|
| 199 |
&-light { |
| 200 |
&, |
| 201 |
> th, |
| 202 |
> td { |
| 203 |
background-color: $light; |
| 204 |
} |
| 205 |
|
| 206 |
&, |
| 207 |
a:not(.btn), |
| 208 |
.alert-link { |
| 209 |
color: $body-color; |
| 210 |
} |
| 211 |
} |
| 212 |
} |
| 213 |
|
| 214 |
.badge { |
| 215 |
&.bg-light { |
| 216 |
color: $dark; |
| 217 |
} |
| 218 |
} |
| 219 |
|
| 220 |
.tooltip { |
| 221 |
@extend .sandstone; |
| 222 |
} |
| 223 |
|
| 224 |
// Containers |
| 225 |
|
| 226 |
.modal, |
| 227 |
.toast, |
| 228 |
.offcanvas { |
| 229 |
.btn-close { |
| 230 |
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$gray-300}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>")); |
| 231 |
} |
| 232 |
} |