index.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './headertop.scss';
  6. @import './sidebar.scss';
  7. @import './btn.scss';
  8. html {
  9. height: 100%;
  10. box-sizing: border-box;
  11. }
  12. body {
  13. height: 100%;
  14. -moz-osx-font-smoothing: grayscale;
  15. -webkit-font-smoothing: antialiased;
  16. text-rendering: optimizeLegibility;
  17. font-family: Microsoft YaHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Arial, sans-serif !important;
  18. background-color: #f5f8fe;
  19. }
  20. button {
  21. font-family: Microsoft YaHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Arial, sans-serif !important;
  22. }
  23. label {
  24. font-weight: 700;
  25. }
  26. #app {
  27. height: 100%;
  28. }
  29. *,
  30. *:before,
  31. *:after {
  32. box-sizing: inherit;
  33. }
  34. .no-padding {
  35. padding: 0px !important;
  36. }
  37. .padding-content {
  38. padding: 4px 0;
  39. }
  40. a:focus,
  41. a:active {
  42. outline: none;
  43. }
  44. a,
  45. a:focus,
  46. a:hover {
  47. cursor: pointer;
  48. color: inherit;
  49. text-decoration: none;
  50. }
  51. div:focus {
  52. outline: none;
  53. }
  54. .fr {
  55. float: right;
  56. }
  57. .fl {
  58. float: left;
  59. }
  60. .pr-5 {
  61. padding-right: 5px;
  62. }
  63. .pl-5 {
  64. padding-left: 5px;
  65. }
  66. .block {
  67. display: block;
  68. }
  69. .pointer {
  70. cursor: pointer;
  71. }
  72. .inlineBlock {
  73. display: block;
  74. }
  75. .clearfix {
  76. &:after {
  77. visibility: hidden;
  78. display: block;
  79. font-size: 0;
  80. content: " ";
  81. clear: both;
  82. height: 0;
  83. }
  84. }
  85. aside {
  86. background: #eef1f6;
  87. padding: 8px 24px;
  88. margin-bottom: 20px;
  89. border-radius: 2px;
  90. display: block;
  91. line-height: 32px;
  92. font-size: 16px;
  93. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  94. color: #2c3e50;
  95. -webkit-font-smoothing: antialiased;
  96. -moz-osx-font-smoothing: grayscale;
  97. a {
  98. color: #337ab7;
  99. cursor: pointer;
  100. &:hover {
  101. color: rgb(32, 160, 255);
  102. }
  103. }
  104. }
  105. // main-container global css
  106. .app-container {
  107. padding: 20px;
  108. }
  109. .components-container {
  110. margin: 30px 50px;
  111. position: relative;
  112. }
  113. .pagination-container {
  114. margin-top: 30px;
  115. }
  116. .text-center {
  117. text-align: center
  118. }
  119. .sub-navbar {
  120. height: 50px;
  121. line-height: 50px;
  122. position: relative;
  123. width: 100%;
  124. text-align: right;
  125. padding-right: 20px;
  126. transition: 600ms ease position;
  127. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  128. .subtitle {
  129. font-size: 20px;
  130. color: #fff;
  131. }
  132. &.draft {
  133. background: #d0d0d0;
  134. }
  135. &.deleted {
  136. background: #d0d0d0;
  137. }
  138. }
  139. .link-type,
  140. .link-type:focus {
  141. color: #337ab7;
  142. cursor: pointer;
  143. &:hover {
  144. color: rgb(32, 160, 255);
  145. }
  146. }
  147. .filter-container {
  148. padding-bottom: 10px;
  149. .filter-item {
  150. display: inline-block;
  151. vertical-align: middle;
  152. margin-bottom: 10px;
  153. }
  154. }
  155. //refine vue-multiselect plugin
  156. .multiselect {
  157. line-height: 16px;
  158. }
  159. .multiselect--active {
  160. z-index: 1000 !important;
  161. }
  162. .el-pagination {
  163. text-align: right;
  164. }
  165. .home-more-dialog,
  166. .home-edit-dialog,
  167. .main-edit-dialog,
  168. .custom-dialog {
  169. margin-top: 10vh !important;
  170. .el-dialog__header {
  171. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  172. }
  173. .el-dialog__title {
  174. color: rgba(0, 0, 0, 0.85);
  175. font-weight: bold;
  176. }
  177. .el-dialog__footer {
  178. border-top: 1px solid rgba(0, 0, 0, 0.15);
  179. }
  180. }
  181. .home-more-dialog {
  182. width: 70%;
  183. min-width: 1200px;
  184. .el-table td {
  185. padding: 6px 0;
  186. }
  187. }
  188. .home-edit-dialog {
  189. width: 1400px;
  190. .el-dialog__body {
  191. padding: 0;
  192. }
  193. }
  194. .main-edit-dialog {
  195. min-width: 800px;
  196. .upload-success {
  197. display: inline-block;
  198. color: #13ce66;
  199. margin-right: 5px;
  200. }
  201. }