_cards.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .card-footer {
  2. border-top-color: rgba(0, 0, 0, .05);
  3. }
  4. .tools-container {
  5. margin-left: -$grid-gutter-width / 2;
  6. margin-right: -$grid-gutter-width / 2;
  7. @include media-breakpoint-down(sm) {
  8. margin-right: 0;
  9. margin-left: 0;
  10. }
  11. }
  12. .tool-card {
  13. text-align: center;
  14. @include flex(1);
  15. margin: 0 $grid-gutter-width / 2 1rem $grid-gutter-width / 2;
  16. min-width: 30%;
  17. @include media-breakpoint-down(sm) {
  18. min-width: 100%;
  19. margin: 0 0 1rem 0;
  20. }
  21. .card-title {
  22. font-size: 1rem;
  23. font-weight: bold;
  24. }
  25. .icon {
  26. display: block;
  27. width: 60px;
  28. height: 60px;
  29. margin: 0 auto 22px auto;
  30. line-height: 60px;
  31. border-radius: 5px;
  32. background: theme-color(primary);
  33. color: $gray-100;
  34. font-size: 2rem;
  35. box-shadow: 0 1px 2px rgba(#000, 0.2);
  36. text-shadow: 0 1px 2px rgba(#000, .3);
  37. }
  38. p {
  39. color: darken($gray-600, 5%);
  40. @include media-breakpoint-up(sm) {
  41. min-height: 50px;
  42. }
  43. }
  44. }
  45. .tool-card-footer {
  46. padding: 0 1rem 1rem 1rem;
  47. .btn {
  48. margin-right: 0!important;
  49. }
  50. }