index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @import "../common/abstracts/variable.scss";
  2. @import "../common/abstracts/_mixin.scss";
  3. .wot-theme-dark {
  4. @include b(message-box) {
  5. @include e(body) {
  6. background-color: $-dark-background2;
  7. }
  8. @include e(title) {
  9. color: $-dark-color;
  10. }
  11. @include e(content) {
  12. color: $-dark-color3;
  13. &::-webkit-scrollbar-thumb {
  14. background: $-dark-border-color;
  15. }
  16. }
  17. }
  18. }
  19. :deep(.wd-message-box){
  20. border-radius: $-message-box-radius;
  21. overflow: hidden;
  22. }
  23. @include b(message-box) {
  24. border-radius: $-message-box-radius;
  25. overflow: hidden;
  26. @include e(container) {
  27. width: $-message-box-width;
  28. box-sizing: border-box;
  29. }
  30. @include e(body) {
  31. background-color: $-message-box-bg;
  32. padding: $-message-box-padding;
  33. @include when(no-title) {
  34. padding: 25px 24px 0px;
  35. }
  36. }
  37. @include e(title) {
  38. text-align: center;
  39. font-size: $-message-box-title-fs;
  40. color: $-message-box-title-color;
  41. line-height: 20px;
  42. font-weight: 500;
  43. padding-top: 5px;
  44. padding-bottom: 10px;
  45. }
  46. @include e(content) {
  47. max-height: $-message-box-content-max-height;
  48. color: $-message-box-content-color;
  49. font-size: $-message-box-content-fs;
  50. text-align: center;
  51. overflow: auto;
  52. line-height: 20px;
  53. &::-webkit-scrollbar {
  54. width: $-message-box-content-scrollbar-width;
  55. }
  56. &::-webkit-scrollbar-thumb {
  57. width: $-message-box-content-scrollbar-width;
  58. background: $-message-box-content-scrollbar-color;
  59. border-radius: calc($-message-box-content-scrollbar-width / 2);
  60. }
  61. }
  62. @include e(input-error) {
  63. min-height: 18px;
  64. margin-top: 2px;
  65. color: $-message-box-input-error-color;
  66. text-align: left;
  67. @include when(hidden) {
  68. visibility: hidden;
  69. }
  70. }
  71. @include e(actions) {
  72. padding: 24px;
  73. }
  74. @include edeep(actions-btn) {
  75. &:not(:last-child) {
  76. margin-right: 16px;
  77. }
  78. }
  79. @include e(flex) {
  80. display: flex;
  81. }
  82. @include e(block) {
  83. display: block;
  84. }
  85. @include e(cancel) {
  86. margin-right: 16px;
  87. }
  88. }