index.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. display: flex;
  54. justify-content: space-between;
  55. .icon-close {
  56. font-size: 16px;
  57. color: #ffffff;
  58. margin-right: 16px;
  59. cursor: pointer;
  60. }
  61. }
  62. .foot {
  63. height: 56px;
  64. background: #f4f4f4;
  65. border-radius: 2px;
  66. line-height: 56px;
  67. padding: 0 24px;
  68. }
  69. .del-title,
  70. .Deltitle {
  71. padding: 10px 0px 10px 20px;
  72. font-size: 16px;
  73. font-family: Microsoft YaHei;
  74. font-weight: bold;
  75. height: 36px;
  76. background: #eb2f3b;
  77. color: #ffffff;
  78. display: flex;
  79. align-items: center;
  80. margin-bottom: 36px;
  81. width: 100%;
  82. }
  83. .Delfoot {
  84. background-color: #fff;
  85. }
  86. .Delcontent {
  87. padding: 0 24px 12px 24px;
  88. }
  89. .DelIcon {
  90. width: 26px;
  91. height: 26px;
  92. background: #eb2f3b;
  93. border-radius: 50%;
  94. margin-right: 15px;
  95. background: url("@/assets/status/ic_close_hint.png") no-repeat;
  96. background-size: 100% 100%;
  97. display: inline-block;
  98. position: relative;
  99. top: 6px;
  100. }
  101. .DelTxt {
  102. color: #eb2f3b;
  103. margin: 0 6px;
  104. }
  105. .del-content {
  106. font-size: 16px;
  107. color: #101611;
  108. .error {
  109. color: #eb2f3b;
  110. margin: 0 8px;
  111. }
  112. }
  113. .dialog-content .el-form {
  114. padding-right: 24px;
  115. }
  116. .el-form-item__label {
  117. font-size: 14px;
  118. font-family: Microsoft YaHei;
  119. font-weight: 400;
  120. color: #303133;
  121. }
  122. }
  123. // .el-button + .el-button {
  124. // margin-left: 0px;
  125. // }
  126. }
  127. .flex-wrap {
  128. display: flex;
  129. }
  130. .flex {
  131. display: flex;
  132. justify-content: space-between;
  133. }
  134. .flex-end {
  135. display: flex;
  136. justify-content: flex-end;
  137. }
  138. .br {
  139. border: 1px solid #d2d6df;
  140. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.06);
  141. border-radius: 4px !important;
  142. width: 64px;
  143. height: 32px;
  144. }
  145. .diacont {
  146. padding: 0 0 0 24px;
  147. }
  148. .L12 {
  149. margin-left: 12px;
  150. }
  151. .wrap {
  152. height: 100%;
  153. }
  154. .app-containers {
  155. height: calc(100vh - 180px);
  156. }