index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @import "./variables.scss";
  2. @import "./transition.scss";
  3. @import "./scss-suger.scss";
  4. @import "./reset-style.scss";
  5. @import "./elemenet-style-overflow.scss";
  6. //scroll
  7. @mixin main-show-wh() {
  8. /* css 声明 */
  9. //height: calc(100vh - #{$navBarHeight} - #{$tagViewHeight} - #{$appMainPadding * 2});
  10. height: calc(
  11. 100vh - #{var(--nav-bar-height)} - #{var(--tag-view-height)} - #{calc(
  12. var(--app-main-padding) * 2
  13. )}
  14. );
  15. width: 100%;
  16. }
  17. .scroll-y {
  18. @include main-show-wh();
  19. overflow-y: auto;
  20. }
  21. .scroll-x {
  22. @include main-show-wh();
  23. overflow-x: auto;
  24. }
  25. .scroll-xy {
  26. @include main-show-wh();
  27. overflow: auto;
  28. }
  29. .el-dialog {
  30. border-radius: 2px !important;
  31. background: #ffffff !important;
  32. box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.3) !important;
  33. position: absolute !important;
  34. left: 50%;
  35. top: 50%;
  36. transform: translate(-50%, -50%);
  37. .el-dialog__header {
  38. display: none;
  39. }
  40. .el-dialog__body {
  41. padding: 0;
  42. .title {
  43. padding: 10px 0px 10px 20px;
  44. font-size: 16px;
  45. font-family: Microsoft YaHei;
  46. font-weight: bold;
  47. height: 36px;
  48. background: #ac014d;
  49. color: #ffffff;
  50. margin-bottom: 24px;
  51. width: 100%;
  52. line-height: 15px;
  53. }
  54. .foot {
  55. height: 56px;
  56. background: #f4f4f4;
  57. border-radius: 2px;
  58. line-height: 56px;
  59. padding: 0 24px;
  60. }
  61. .del-title,
  62. .Deltitle {
  63. padding: 10px 0px 10px 20px;
  64. font-size: 16px;
  65. font-family: Microsoft YaHei;
  66. font-weight: bold;
  67. height: 36px;
  68. background: #eb2f3b;
  69. color: #ffffff;
  70. display: flex;
  71. align-items: center;
  72. margin-bottom: 36px;
  73. width: 100%;
  74. }
  75. .Delfoot {
  76. background-color: #fff;
  77. }
  78. .Delcontent {
  79. padding: 0 24px 12px 24px;
  80. }
  81. .DelIcon {
  82. width: 26px;
  83. height: 26px;
  84. background: #eb2f3b;
  85. border-radius: 50%;
  86. margin-right: 15px;
  87. background: url("@/assets/status/ic_close_hint.png") no-repeat;
  88. background-size: 100% 100%;
  89. display: inline-block;
  90. position: relative;
  91. top: 6px;
  92. }
  93. .DelTxt {
  94. color: #eb2f3b;
  95. margin: 0 6px;
  96. }
  97. .del-content {
  98. font-size: 16px;
  99. color: #101611;
  100. .error {
  101. color: #eb2f3b;
  102. margin: 0 8px;
  103. }
  104. }
  105. .dialog-content .el-form {
  106. padding-right: 24px;
  107. }
  108. .el-form-item__label {
  109. font-size: 14px;
  110. font-family: Microsoft YaHei;
  111. font-weight: 400;
  112. color: #303133;
  113. }
  114. }
  115. // .el-button + .el-button {
  116. // margin-left: 0px;
  117. // }
  118. }
  119. .flex-wrap {
  120. display: flex;
  121. }
  122. .flex {
  123. display: flex;
  124. justify-content: space-between;
  125. align-items: center;
  126. }
  127. .flex-end {
  128. display: flex;
  129. justify-content: flex-end;
  130. align-items: center;
  131. }