admin.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. @import "variables";
  2. $error-color: #F45857;
  3. .report-output {
  4. #admin-main .admin-block & {
  5. h1 {
  6. margin-top: 2rem;
  7. }
  8. .toast {
  9. .btn {
  10. float: right;
  11. margin-top: -2px;
  12. margin-right: 0.5rem;
  13. color: $light-color;
  14. font-size: 90%;
  15. padding: 2px 7px;
  16. border-radius: 3px;
  17. border: 1px solid darken($success-color, 5%);
  18. background-color: darken($success-color, 3%);
  19. &:hover {
  20. border-color: darken($success-color, 7%);
  21. background-color: darken($success-color, 5%);
  22. }
  23. &.btn-error {
  24. border: 1px solid darken($error-color, 5%);
  25. background-color: darken($error-color, 3%);
  26. &:hover {
  27. border-color: darken($error-color, 7%);
  28. background-color: darken($error-color, 5%);
  29. }
  30. }
  31. &.btn-warning {
  32. border: 1px solid darken($warning-color, 5%);
  33. background-color: darken($warning-color, 3%);
  34. &:hover {
  35. border-color: darken($warning-color, 7%);
  36. background-color: darken($warning-color, 5%);
  37. }
  38. }
  39. }
  40. }
  41. }
  42. ul.problems {
  43. margin: 1rem 0;
  44. list-style: none;
  45. padding: 0;
  46. background-color: #f7f7f7;
  47. h5 {
  48. margin: 0;
  49. }
  50. li.menu {
  51. margin-bottom: 1rem;
  52. box-shadow: 0 10px 20px -10px rgba(0,0,0,0.2);
  53. }
  54. .toast {
  55. font-size: 1rem;
  56. padding: 0.5rem 1.5rem;
  57. color: $light-color;
  58. &.toast-success {
  59. background-color: $success-color;
  60. }
  61. &.toast-error {
  62. background-color: $error-color;
  63. }
  64. &.toast-warning {
  65. background-color: $warning-color;
  66. }
  67. .btn {
  68. margin-left: 1rem;
  69. text-decoration: none !important;
  70. i {
  71. margin-right: 0.3rem;
  72. }
  73. }
  74. }
  75. ul.details {
  76. list-style: none;
  77. padding-left: 0;
  78. padding-bottom: 1rem;
  79. background-color: #fff;
  80. li {
  81. padding-left: 1.5rem;
  82. padding-right: 1.5rem;
  83. }
  84. code {
  85. font-size: 90%;
  86. line-height: 1.2;
  87. padding: .1rem .2rem;
  88. color: #288fed;
  89. border-radius: .1rem;
  90. background: #f0f7fe;
  91. vertical-align: middle;
  92. }
  93. .menu-item {
  94. margin-top: .5rem !important;
  95. border-top: 1px solid #f7f7f7;
  96. padding-top: 0.5rem;
  97. &:first-child {
  98. border: none;
  99. }
  100. }
  101. .menu-badge {
  102. padding: 0;
  103. display: inline;
  104. float: right;
  105. .label {
  106. font-size: 1rem;
  107. height: 1.5rem;
  108. width: 1.5rem;
  109. line-height: 1.5rem;
  110. border-radius: 3px;
  111. &.label-success {
  112. background: $success-color;
  113. }
  114. &.label-error {
  115. background: $error-color;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. }