_card.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .card {
  2. margin-top: 1rem;
  3. position: relative;
  4. display: -ms-flexbox;
  5. display: flex;
  6. -ms-flex-direction: column;
  7. flex-direction: column;
  8. word-wrap: break-word;
  9. background-clip: border-box;
  10. border-radius: .3rem;
  11. overflow: hidden;
  12. .card-header {
  13. font-weight: 500;
  14. background: rgba(200, 200, 200, 0.3);
  15. text-transform: capitalize;
  16. font-size: 1.4rem;
  17. .icon {
  18. height: 2.6rem;
  19. width: 2.6rem;
  20. float: left;
  21. background: none;
  22. }
  23. .title {
  24. line-height: 2.6rem;
  25. margin-left: 1rem;
  26. }
  27. }
  28. .card-body {
  29. background: rgba(200, 200, 200, 0.1);
  30. }
  31. .card-list-wrapper {
  32. columns: 350px 2;
  33. flex: 1 1 auto;
  34. padding-left: 1rem;
  35. li {
  36. cursor: default;
  37. }
  38. }
  39. .card-header, .card-body {
  40. padding: 0.5rem;
  41. }
  42. @media screen and (min-width: 800px) {
  43. .card-header, .card-body {
  44. padding: 1rem;
  45. }
  46. }
  47. }