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.

118 lines
2.2 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('blue', '700');
  30. background-image: linear-gradient(to bottom, mc('blue', '700') 0%, mc('blue', '800') 100%);
  31. border-bottom-color: mc('blue', '900');
  32. box-shadow: inset 0 0 0 1px mc('blue', '600'), inset 0 0 0px 2px rgba(mc('blue', '800'), .5);
  33. color: #FFF;
  34. > i::before {
  35. @include spinner(#FFF, 0.4s, 18px);
  36. }
  37. }
  38. & + .panel-content {
  39. box-shadow: inset 0 0 0 1px #FFF, inset 0 30px 80px -25px mc('blue', '100');
  40. }
  41. > span {
  42. font-weight: 500;
  43. }
  44. > i {
  45. display: flex;
  46. width: 18px;
  47. align-items: center;
  48. &::before {
  49. content: " ";
  50. @include spinner(mc($primary,'500'), 0.4s, 18px);
  51. }
  52. }
  53. }
  54. .panel-content {
  55. padding: 0 15px;
  56. &.is-text {
  57. padding: 25px;
  58. p + p, p + h3 {
  59. margin-top: 25px;
  60. }
  61. h3 {
  62. margin-bottom: 15px;
  63. font-weight: 500;
  64. }
  65. ul li {
  66. color: mc('grey', '700');
  67. }
  68. strong {
  69. font-weight: 500;
  70. color: mc($primary,'800');
  71. }
  72. }
  73. }
  74. .panel-footer {
  75. display: flex;
  76. align-items: center;
  77. justify-content: flex-end;
  78. height: 50px;
  79. background-color: $color-bg;
  80. padding: 0 15px;
  81. margin: 0 1px;
  82. border-bottom-left-radius: 4px;
  83. border-bottom-right-radius: 4px;
  84. position: relative;
  85. .button + .button {
  86. margin-left: 10px;
  87. }
  88. }
  89. + .panel {
  90. margin-top: 25px;
  91. }
  92. }