_card.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .card {
  2. background: #fff;
  3. min-height: 50px;
  4. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
  5. position: relative;
  6. margin-bottom: 30px;
  7. @include border-radius(2px);
  8. .card-inside-title {
  9. margin-top: 25px;
  10. margin-bottom: 15px;
  11. display: block;
  12. font-size: 15px;
  13. color: #000;
  14. small {
  15. color: #999;
  16. display: block;
  17. font-size: 11px;
  18. margin-top: 5px;
  19. a {
  20. color: #777;
  21. font-weight: bold;
  22. }
  23. }
  24. }
  25. .card-inside-title:first-child {
  26. margin-top: 0;
  27. }
  28. .bg-red,
  29. .bg-pink,
  30. .bg-purple,
  31. .bg-deep-purple,
  32. .bg-indigo,
  33. .bg-blue,
  34. .bg-light-blue,
  35. .bg-cyan,
  36. .bg-teal,
  37. .bg-green,
  38. .bg-light-green,
  39. .bg-lime,
  40. .bg-yellow,
  41. .bg-amber,
  42. .bg-orange,
  43. .bg-deep-orange,
  44. .bg-brown,
  45. .bg-grey,
  46. .bg-blue-grey,
  47. .bg-black {
  48. border-bottom: none !important;
  49. color: #fff !important;
  50. h2, small, .material-icons {
  51. color: #fff !important;
  52. }
  53. .badge {
  54. background-color: #fff;
  55. color: #555;
  56. }
  57. }
  58. .header {
  59. color: #555;
  60. padding: 20px;
  61. position: relative;
  62. border-bottom: 1px solid rgba(204,204,204,0.35);
  63. .header-dropdown {
  64. position: absolute;
  65. top: 20px;
  66. right: 15px;
  67. list-style: none;
  68. .dropdown-menu {
  69. li {
  70. display: block !important;
  71. }
  72. }
  73. li {
  74. display: inline-block;
  75. }
  76. i {
  77. font-size: 20px;
  78. color: #999;
  79. @include transition(all .5s);
  80. &:hover {
  81. color: #000;
  82. }
  83. }
  84. }
  85. h2 {
  86. margin: 0;
  87. font-size: 18px;
  88. font-weight: normal;
  89. color: #111;
  90. small {
  91. display: block;
  92. font-size: 12px;
  93. margin-top: 5px;
  94. color: #999;
  95. line-height: 15px;
  96. a {
  97. font-weight: bold;
  98. color: #777;
  99. }
  100. }
  101. }
  102. .col-xs-12 {
  103. h2 {
  104. margin-top: 5px;
  105. }
  106. }
  107. }
  108. .body {
  109. font-size: 14px;
  110. color: #555;
  111. padding: 20px;
  112. @for $i from 1 through 12 {
  113. .col-xs-#{$i},
  114. .col-sm-#{$i},
  115. .col-md-#{$i},
  116. .col-lg-#{$i} {
  117. margin-bottom: 20px;
  118. }
  119. }
  120. }
  121. }