_helpers.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // Helpers
  2. // MDB helpers
  3. .img-fluid,
  4. .video-fluid {
  5. max-width: 100%;
  6. height: auto;
  7. }
  8. .flex-center {
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. height: 100%;
  13. p {
  14. margin: 0;
  15. }
  16. ul {
  17. text-align: center;
  18. li {
  19. margin-bottom: $flex-center-ul-mb;
  20. &:last-of-type {
  21. margin-bottom: 0;
  22. }
  23. }
  24. }
  25. }
  26. .hr-light {
  27. border-top: 1px solid $hr-light;
  28. }
  29. .hr-dark {
  30. border-top: 1px solid $hr-dark;
  31. }
  32. // Responsive width
  33. .w-responsive {
  34. width: 75%;
  35. @media (max-width: 740px) {
  36. width: 100%;
  37. }
  38. }
  39. // Collapsible body
  40. .collapsible-body {
  41. display: none;
  42. }
  43. .jumbotron {
  44. box-shadow: $z-depth-1;
  45. border-radius: $border-radius-base;
  46. background-color: $white-base;
  47. }
  48. @each $name,
  49. $color in $basic-mdb-colors {
  50. @include bg-variant(".bg-#{$name}", $color);
  51. .border-#{$name} {
  52. border-color: $color !important;
  53. }
  54. }
  55. .card-img-100 {
  56. width: 100px;
  57. height: 100px;
  58. }
  59. .card-img-64 {
  60. width: 64px;
  61. height: 64px;
  62. }
  63. .mml-1 {
  64. margin-left: - 0.25rem !important;
  65. }
  66. .flex-1 {
  67. flex: 1;
  68. }