_preset.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .report-output {
  2. #admin-main .admin-block & {
  3. .toast {
  4. .btn {
  5. color: $white;
  6. border: 1px solid darken($flat-nephritis, 5%);
  7. background-color: darken($flat-nephritis, 3%);
  8. &:hover {
  9. border-color: darken($flat-nephritis, 7%);
  10. background-color: darken($flat-nephritis, 5%);
  11. }
  12. &.btn-error {
  13. border: 1px solid darken($flat-pomegranate, 5%);
  14. background-color: darken($flat-pomegranate, 3%);
  15. &:hover {
  16. border-color: darken($flat-pomegranate, 7%);
  17. background-color: darken($flat-pomegranate, 5%);
  18. }
  19. }
  20. &.btn-warning {
  21. border: 1px solid darken($flat-carrot, 5%);
  22. background-color: darken($flat-carrot, 3%);
  23. &:hover {
  24. border-color: darken($flat-carrot, 7%);
  25. background-color: darken($flat-carrot, 5%);
  26. }
  27. }
  28. }
  29. }
  30. }
  31. ul.problems {
  32. background-color: $content-bg;
  33. color: $content-text;
  34. .toast {
  35. color: $white;
  36. &.toast-success {
  37. background-color: $flat-nephritis;
  38. }
  39. &.toast-error {
  40. background-color: $flat-pomegranate;
  41. }
  42. &.toast-warning {
  43. background-color: $flat-carrot;
  44. }
  45. }
  46. ul.details {
  47. background-color: $content-bg;
  48. code {
  49. color: $content-link;
  50. @if (lightness($content-bg) < 50) {
  51. background: rgba(#f0f7fe, 0.1);
  52. } @else {
  53. background: rgba(#f0f7fe, 0.8);
  54. }
  55. }
  56. .menu-item {
  57. border-top: 1px solid $underline;
  58. }
  59. .menu-badge {
  60. .label {
  61. &.label-success {
  62. background: $flat-nephritis;
  63. }
  64. &.label-error {
  65. background: $flat-pomegranate;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }