You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
1.9 KiB

  1. .panel-aside {
  2. background-color: mc('blue-grey', '800');
  3. border: 1px solid mc('blue-grey', '800');
  4. border-bottom-left-radius: 8px;
  5. padding: 20px;
  6. color: mc('blue-grey','100');
  7. label {
  8. color: #FFF;
  9. }
  10. }
  11. .panel {
  12. background-color: #FFF;
  13. box-shadow: 0 0 12px 0 rgba(mc('grey','800'), .10), 1px 6px 8px 0 rgba(mc('grey','800'), .10);
  14. padding: 0 0 1px 0;
  15. border-radius: 4px;
  16. .panel-title {
  17. border-bottom: 1px solid darken($color-bg, 5%);
  18. padding: 0 15px;
  19. color: $color-text;
  20. font-size: 16px;
  21. font-weight: 500;
  22. display: flex;
  23. align-items: center;
  24. justify-content: space-between;
  25. height: 40px;
  26. &.is-featured {
  27. border-top-left-radius: 4px;
  28. border-top-right-radius: 4px;
  29. background-color: mc($primary, '400');
  30. border-bottom-color: mc($primary, '500');
  31. color: #FFF;
  32. > i::before {
  33. @include spinner(#FFF, 0.4s, 18px);
  34. }
  35. }
  36. > span {
  37. font-weight: 500;
  38. }
  39. > i {
  40. display: flex;
  41. width: 18px;
  42. align-items: center;
  43. &::before {
  44. content: " ";
  45. @include spinner(mc($primary,'500'), 0.4s, 18px);
  46. }
  47. }
  48. }
  49. .panel-content {
  50. padding: 0 15px;
  51. &.is-text {
  52. padding: 25px;
  53. p + p, p + h3 {
  54. margin-top: 25px;
  55. }
  56. h3 {
  57. margin-bottom: 15px;
  58. font-weight: 500;
  59. }
  60. ul li {
  61. color: mc('grey', '700');
  62. }
  63. strong {
  64. font-weight: 500;
  65. color: mc($primary,'800');
  66. }
  67. }
  68. }
  69. .panel-footer {
  70. display: flex;
  71. align-items: center;
  72. justify-content: flex-end;
  73. height: 50px;
  74. background-color: $color-bg;
  75. padding: 0 15px;
  76. margin: 0 1px;
  77. border-bottom-left-radius: 4px;
  78. border-bottom-right-radius: 4px;
  79. position: relative;
  80. .button + .button {
  81. margin-left: 10px;
  82. }
  83. }
  84. + .panel {
  85. margin-top: 25px;
  86. }
  87. }