|
| 1 | +/* csslint ignore:start */ |
| 2 | + |
| 3 | +/* custom BS Card */ |
| 4 | +.card { |
| 5 | + position: relative; |
| 6 | + display: -webkit-box; |
| 7 | + display: -webkit-flex; |
| 8 | + display: -ms-flexbox; |
| 9 | + display: flex; |
| 10 | + -webkit-box-orient: vertical; |
| 11 | + -webkit-box-direction: normal; |
| 12 | + -webkit-flex-direction: column; |
| 13 | + -ms-flex-direction: column; |
| 14 | + flex-direction: column; |
| 15 | + background-color: #fff; |
| 16 | + border: 1px solid rgba(0, 0, 0, 0.125); |
| 17 | + border-radius: 0.25rem; |
| 18 | +} |
| 19 | + |
| 20 | +.card-padding { |
| 21 | + padding: 15px; |
| 22 | +} |
| 23 | + |
| 24 | +.card-block { |
| 25 | + -webkit-box-flex: 1; |
| 26 | + -webkit-flex: 1 1 auto; |
| 27 | + -ms-flex: 1 1 auto; |
| 28 | + flex: 1 1 auto; |
| 29 | + padding: 1.25rem; |
| 30 | +} |
| 31 | + |
| 32 | +.card-title { |
| 33 | + margin-bottom: 0.75rem; |
| 34 | +} |
| 35 | + |
| 36 | +.card-subtitle { |
| 37 | + margin-top: -0.375rem; |
| 38 | + margin-bottom: 0; |
| 39 | +} |
| 40 | + |
| 41 | +.card-text:last-child { |
| 42 | + margin-bottom: 0; |
| 43 | +} |
| 44 | + |
| 45 | +.card-link:hover { |
| 46 | + text-decoration: none; |
| 47 | +} |
| 48 | + |
| 49 | +.card-link + .card-link { |
| 50 | + margin-left: 1.25rem; |
| 51 | +} |
| 52 | + |
| 53 | +.card > .list-group:first-child .list-group-item:first-child { |
| 54 | + border-top-right-radius: 0.25rem; |
| 55 | + border-top-left-radius: 0.25rem; |
| 56 | +} |
| 57 | + |
| 58 | +.card > .list-group:last-child .list-group-item:last-child { |
| 59 | + border-bottom-right-radius: 0.25rem; |
| 60 | + border-bottom-left-radius: 0.25rem; |
| 61 | +} |
| 62 | + |
| 63 | +.card-header { |
| 64 | + padding: 0.75rem 1.25rem; |
| 65 | + margin-bottom: 0; |
| 66 | + background-color: #f7f7f9; |
| 67 | + border-bottom: 1px solid rgba(0, 0, 0, 0.125); |
| 68 | +} |
| 69 | + |
| 70 | +.card-header:first-child { |
| 71 | + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; |
| 72 | +} |
| 73 | + |
| 74 | +.card-footer { |
| 75 | + padding: 0.75rem 1.25rem; |
| 76 | + background-color: #f7f7f9; |
| 77 | + border-top: 1px solid rgba(0, 0, 0, 0.125); |
| 78 | +} |
| 79 | + |
| 80 | +.card-footer:last-child { |
| 81 | + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); |
| 82 | +} |
| 83 | + |
| 84 | +.card-header-tabs { |
| 85 | + margin-right: -0.625rem; |
| 86 | + margin-bottom: -0.75rem; |
| 87 | + margin-left: -0.625rem; |
| 88 | + border-bottom: 0; |
| 89 | +} |
| 90 | + |
| 91 | +.card-header-pills { |
| 92 | + margin-right: -0.625rem; |
| 93 | + margin-left: -0.625rem; |
| 94 | +} |
| 95 | + |
| 96 | +.card-primary { |
| 97 | + background-color: #0275d8; |
| 98 | + border-color: #0275d8; |
| 99 | +} |
| 100 | + |
| 101 | +.card-primary .card-header, |
| 102 | +.card-primary .card-footer { |
| 103 | + background-color: transparent; |
| 104 | +} |
| 105 | + |
| 106 | +.card-success { |
| 107 | + background-color: #5cb85c; |
| 108 | + border-color: #5cb85c; |
| 109 | +} |
| 110 | + |
| 111 | +.card-success .card-header, |
| 112 | +.card-success .card-footer { |
| 113 | + background-color: transparent; |
| 114 | +} |
| 115 | + |
| 116 | +.card-info { |
| 117 | + background-color: #5bc0de; |
| 118 | + border-color: #5bc0de; |
| 119 | +} |
| 120 | + |
| 121 | +.card-info .card-header, |
| 122 | +.card-info .card-footer { |
| 123 | + background-color: transparent; |
| 124 | +} |
| 125 | + |
| 126 | +.card-warning { |
| 127 | + background-color: #f0ad4e; |
| 128 | + border-color: #f0ad4e; |
| 129 | +} |
| 130 | + |
| 131 | +.card-warning .card-header, |
| 132 | +.card-warning .card-footer { |
| 133 | + background-color: transparent; |
| 134 | +} |
| 135 | + |
| 136 | +.card-danger { |
| 137 | + background-color: #d9534f; |
| 138 | + border-color: #d9534f; |
| 139 | +} |
| 140 | + |
| 141 | +.card-danger .card-header, |
| 142 | +.card-danger .card-footer { |
| 143 | + background-color: transparent; |
| 144 | +} |
| 145 | + |
| 146 | +.card-outline-primary { |
| 147 | + background-color: transparent; |
| 148 | + border-color: #0275d8; |
| 149 | +} |
| 150 | + |
| 151 | +.card-outline-secondary { |
| 152 | + background-color: transparent; |
| 153 | + border-color: #ccc; |
| 154 | +} |
| 155 | + |
| 156 | +.card-outline-info { |
| 157 | + background-color: transparent; |
| 158 | + border-color: #5bc0de; |
| 159 | +} |
| 160 | + |
| 161 | +.card-outline-success { |
| 162 | + background-color: transparent; |
| 163 | + border-color: #5cb85c; |
| 164 | +} |
| 165 | + |
| 166 | +.card-outline-warning { |
| 167 | + background-color: transparent; |
| 168 | + border-color: #f0ad4e; |
| 169 | +} |
| 170 | + |
| 171 | +.card-outline-danger { |
| 172 | + background-color: transparent; |
| 173 | + border-color: #d9534f; |
| 174 | +} |
| 175 | + |
| 176 | +.card-inverse { |
| 177 | + color: rgba(255, 255, 255, 0.65); |
| 178 | +} |
| 179 | + |
| 180 | +.card-inverse .card-header, |
| 181 | +.card-inverse .card-footer { |
| 182 | + background-color: transparent; |
| 183 | + border-color: rgba(255, 255, 255, 0.2); |
| 184 | +} |
| 185 | + |
| 186 | +.card-inverse .card-header, |
| 187 | +.card-inverse .card-footer, |
| 188 | +.card-inverse .card-title, |
| 189 | +.card-inverse .card-blockquote { |
| 190 | + color: #fff; |
| 191 | +} |
| 192 | + |
| 193 | +.card-inverse .card-link, |
| 194 | +.card-inverse .card-text, |
| 195 | +.card-inverse .card-subtitle, |
| 196 | +.card-inverse .card-blockquote .blockquote-footer { |
| 197 | + color: rgba(255, 255, 255, 0.65); |
| 198 | +} |
| 199 | + |
| 200 | +.card-inverse .card-link:focus, .card-inverse .card-link:hover { |
| 201 | + color: #fff; |
| 202 | +} |
| 203 | + |
| 204 | +.card-blockquote { |
| 205 | + padding: 0; |
| 206 | + margin-bottom: 0; |
| 207 | + border-left: 0; |
| 208 | +} |
| 209 | + |
| 210 | +.card-img { |
| 211 | + border-radius: calc(0.25rem - 1px); |
| 212 | +} |
| 213 | + |
| 214 | +.card-img-overlay { |
| 215 | + position: absolute; |
| 216 | + top: 0; |
| 217 | + right: 0; |
| 218 | + bottom: 0; |
| 219 | + left: 0; |
| 220 | + padding: 1.25rem; |
| 221 | +} |
| 222 | + |
| 223 | +.card-img-top { |
| 224 | + border-top-right-radius: calc(0.25rem - 1px); |
| 225 | + border-top-left-radius: calc(0.25rem - 1px); |
| 226 | +} |
| 227 | + |
| 228 | +.card-img-bottom { |
| 229 | + border-bottom-right-radius: calc(0.25rem - 1px); |
| 230 | + border-bottom-left-radius: calc(0.25rem - 1px); |
| 231 | +} |
| 232 | + |
| 233 | +@media (min-width: 576px) { |
| 234 | + .card-deck { |
| 235 | + display: -webkit-box; |
| 236 | + display: -webkit-flex; |
| 237 | + display: -ms-flexbox; |
| 238 | + display: flex; |
| 239 | + -webkit-flex-flow: row wrap; |
| 240 | + -ms-flex-flow: row wrap; |
| 241 | + flex-flow: row wrap; |
| 242 | + } |
| 243 | + |
| 244 | + .card-deck .card { |
| 245 | + display: -webkit-box; |
| 246 | + display: -webkit-flex; |
| 247 | + display: -ms-flexbox; |
| 248 | + display: flex; |
| 249 | + -webkit-box-flex: 1; |
| 250 | + -webkit-flex: 1 0 0%; |
| 251 | + -ms-flex: 1 0 0%; |
| 252 | + flex: 1 0 0%; |
| 253 | + -webkit-box-orient: vertical; |
| 254 | + -webkit-box-direction: normal; |
| 255 | + -webkit-flex-direction: column; |
| 256 | + -ms-flex-direction: column; |
| 257 | + flex-direction: column; |
| 258 | + } |
| 259 | + |
| 260 | + .card-deck .card:not(:first-child) { |
| 261 | + margin-left: 15px; |
| 262 | + } |
| 263 | + |
| 264 | + .card-deck .card:not(:last-child) { |
| 265 | + margin-right: 15px; |
| 266 | + } |
| 267 | +} |
| 268 | + |
| 269 | +@media (min-width: 576px) { |
| 270 | + .card-group { |
| 271 | + display: -webkit-box; |
| 272 | + display: -webkit-flex; |
| 273 | + display: -ms-flexbox; |
| 274 | + display: flex; |
| 275 | + -webkit-flex-flow: row wrap; |
| 276 | + -ms-flex-flow: row wrap; |
| 277 | + flex-flow: row wrap; |
| 278 | + } |
| 279 | + |
| 280 | + .card-group .card { |
| 281 | + -webkit-box-flex: 1; |
| 282 | + -webkit-flex: 1 0 0%; |
| 283 | + -ms-flex: 1 0 0%; |
| 284 | + flex: 1 0 0%; |
| 285 | + } |
| 286 | + |
| 287 | + .card-group .card + .card { |
| 288 | + margin-left: 0; |
| 289 | + border-left: 0; |
| 290 | + } |
| 291 | + |
| 292 | + .card-group .card:first-child { |
| 293 | + border-bottom-right-radius: 0; |
| 294 | + border-top-right-radius: 0; |
| 295 | + } |
| 296 | + |
| 297 | + .card-group .card:first-child .card-img-top { |
| 298 | + border-top-right-radius: 0; |
| 299 | + } |
| 300 | + |
| 301 | + .card-group .card:first-child .card-img-bottom { |
| 302 | + border-bottom-right-radius: 0; |
| 303 | + } |
| 304 | + |
| 305 | + .card-group .card:last-child { |
| 306 | + border-bottom-left-radius: 0; |
| 307 | + border-top-left-radius: 0; |
| 308 | + } |
| 309 | + |
| 310 | + .card-group .card:last-child .card-img-top { |
| 311 | + border-top-left-radius: 0; |
| 312 | + } |
| 313 | + |
| 314 | + .card-group .card:last-child .card-img-bottom { |
| 315 | + border-bottom-left-radius: 0; |
| 316 | + } |
| 317 | + |
| 318 | + .card-group .card:not(:first-child):not(:last-child) { |
| 319 | + border-radius: 0; |
| 320 | + } |
| 321 | + |
| 322 | + .card-group .card:not(:first-child):not(:last-child) .card-img-top, |
| 323 | + .card-group .card:not(:first-child):not(:last-child) .card-img-bottom { |
| 324 | + border-radius: 0; |
| 325 | + } |
| 326 | +} |
| 327 | + |
| 328 | +@media (min-width: 576px) { |
| 329 | + .card-columns { |
| 330 | + -webkit-column-count: 3; |
| 331 | + -moz-column-count: 3; |
| 332 | + column-count: 3; |
| 333 | + -webkit-column-gap: 1.25rem; |
| 334 | + -moz-column-gap: 1.25rem; |
| 335 | + column-gap: 1.25rem; |
| 336 | + } |
| 337 | + |
| 338 | + .card-columns .card { |
| 339 | + display: inline-block; |
| 340 | + width: 100%; |
| 341 | + margin-bottom: 0.75rem; |
| 342 | + } |
| 343 | +} |
| 344 | + |
| 345 | +/* Custom BS List Item */ |
| 346 | +.list-group-item-no-border { |
| 347 | + position: relative; |
| 348 | + display: block; |
| 349 | + padding: 10px 0; |
| 350 | + margin-bottom: -1px; |
| 351 | + background-color: #fff; |
| 352 | +} |
| 353 | + |
| 354 | +/* custom BS utilities */ |
| 355 | +.p-0 { |
| 356 | + padding: 0 !important; |
| 357 | +} |
| 358 | + |
| 359 | +.pt-0 { |
| 360 | + padding-top: 0 !important; |
| 361 | +} |
| 362 | + |
| 363 | +.pt-15px { |
| 364 | + padding-top: 15px; |
| 365 | +} |
| 366 | + |
| 367 | +.p-15 { |
| 368 | + padding: 15px 15px; |
| 369 | +} |
| 370 | + |
| 371 | +.bg-color { |
| 372 | + background-color: #e8eaed !important; |
| 373 | +} |
| 374 | + |
| 375 | +.mb-10 { |
| 376 | + margin-bottom: 10px; |
| 377 | +} |
| 378 | + |
| 379 | +.h-25px { |
| 380 | + min-height: 25px !important; |
| 381 | +} |
| 382 | + |
| 383 | +.no-border { |
| 384 | + border: none !important; |
| 385 | +} |
| 386 | + |
| 387 | +.empty-state { |
| 388 | + padding-top: calc(20vh); |
| 389 | + padding-bottom: calc(20vh); |
| 390 | +} |
| 391 | + |
| 392 | +/* csslint ignore:end */ |
0 commit comments