space.editor.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. .space-editor-wrap {
  2. width: 100%;
  3. }
  4. .space-editor-toolstrip {
  5. display: flex;
  6. align-items: center;
  7. align-content: center;
  8. flex-wrap: wrap;
  9. column-gap: 4px;
  10. row-gap: 6px;
  11. min-height: 40px;
  12. padding: 5px 8px;
  13. border: 1px solid #dcdfe6;
  14. border-bottom: 0;
  15. background: #fafafa;
  16. box-sizing: border-box;
  17. }
  18. .space-editor-toolstrip .el-button + .el-button {
  19. margin-left: 0;
  20. }
  21. .space-editor-toolstrip .space-editor-tool-btn.el-button--small {
  22. display: inline-flex;
  23. align-items: center;
  24. justify-content: center;
  25. min-width: 78px;
  26. height: 30px;
  27. margin: 0;
  28. padding: 8px 10px;
  29. border-color: #dcdfe6;
  30. border-radius: 2px;
  31. background: #fff;
  32. color: #606266;
  33. font-size: 12px;
  34. font-weight: 400;
  35. line-height: 1;
  36. white-space: nowrap;
  37. }
  38. .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class^="el-icon-"],
  39. .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class*=" el-icon-"] {
  40. margin-right: 4px;
  41. font-size: 14px;
  42. }
  43. .space-editor-toolstrip .space-editor-tool-btn.el-button--small:hover,
  44. .space-editor-toolstrip .space-editor-tool-btn.el-button--small:focus {
  45. border-color: #b3d8ff;
  46. background: #ecf5ff;
  47. color: #409eff;
  48. }
  49. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain {
  50. border-color: #b3d8ff;
  51. background: #ecf5ff;
  52. color: #409eff;
  53. }
  54. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:hover,
  55. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:focus {
  56. border-color: #409eff;
  57. background: #409eff;
  58. color: #fff;
  59. }
  60. .space-editor-toolstrip .space-editor-tool-divider {
  61. display: inline-block;
  62. width: 1px;
  63. height: 18px;
  64. margin: 0 2px;
  65. background: #dcdfe6;
  66. }
  67. .space-editor-toolstrip .el-input--small .el-input__inner {
  68. height: 30px;
  69. line-height: 28px;
  70. border-color: #dcdfe6;
  71. border-radius: 2px;
  72. background: #fff;
  73. color: #606266;
  74. }
  75. .space-editor-quality {
  76. width: 104px;
  77. margin: 0 2px;
  78. }
  79. .space-editor-upload-status {
  80. margin-left: 4px;
  81. font-size: 12px;
  82. line-height: 30px;
  83. color: #909399;
  84. white-space: nowrap;
  85. }
  86. @media screen and (max-width: 768px) {
  87. .space-editor-toolstrip {
  88. column-gap: 4px;
  89. row-gap: 5px;
  90. padding: 6px;
  91. }
  92. .space-editor-toolstrip .space-editor-tool-btn.el-button--small {
  93. min-width: auto;
  94. padding: 7px 8px;
  95. }
  96. .space-editor-toolstrip .space-editor-tool-divider {
  97. display: none;
  98. }
  99. .space-editor-quality {
  100. width: 100px;
  101. }
  102. }
  103. .space-editor-preview-dialog .el-dialog__body {
  104. padding: 12px 18px 18px;
  105. }
  106. .space-editor-preview-dialog {
  107. max-width: calc(100vw - 48px);
  108. margin-bottom: 0;
  109. }
  110. .space-editor-preview-dialog .el-dialog__header {
  111. padding: 14px 18px 8px;
  112. }
  113. .space-editor-preview-toolbar {
  114. display: flex;
  115. align-items: center;
  116. justify-content: space-between;
  117. margin-bottom: 12px;
  118. }
  119. .space-editor-preview-stage {
  120. height: calc(100vh - 230px);
  121. min-height: 360px;
  122. max-height: 700px;
  123. overflow: auto;
  124. text-align: center;
  125. background: #f5f7fa;
  126. border: 1px solid #e4e7ed;
  127. padding: 16px;
  128. }
  129. .space-editor-preview-stage iframe {
  130. display: inline-block;
  131. max-width: 100%;
  132. background: #fff;
  133. box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  134. }