index.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. * {
  8. -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* iOS Safari */
  9. -webkit-user-select: none; /* Safari */
  10. -khtml-user-select: none; /* Konqueror HTML */
  11. -moz-user-select: none; /* Firefox */
  12. -ms-user-select: none; /* Internet Explorer/Edge */
  13. user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
  14. outline: none; /* Remove outline in all browsers */
  15. }
  16. body {
  17. height: 100%;
  18. -moz-osx-font-smoothing: grayscale;
  19. -webkit-font-smoothing: antialiased;
  20. text-rendering: optimizeLegibility;
  21. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  22. }
  23. label {
  24. font-weight: 700;
  25. }
  26. html {
  27. height: 100%;
  28. box-sizing: border-box;
  29. }
  30. #app {
  31. height: 100%;
  32. }
  33. *,
  34. *:before,
  35. *:after {
  36. box-sizing: inherit;
  37. }
  38. .no-padding {
  39. padding: 0px !important;
  40. }
  41. .padding-content {
  42. padding: 4px 0;
  43. }
  44. a:focus,
  45. a:active {
  46. outline: none;
  47. }
  48. a,
  49. a:focus,
  50. a:hover {
  51. cursor: pointer;
  52. color: inherit;
  53. text-decoration: none;
  54. }
  55. div:focus {
  56. outline: none;
  57. }
  58. .fr {
  59. float: right;
  60. }
  61. .fl {
  62. float: left;
  63. }
  64. .pr-5 {
  65. padding-right: 5px;
  66. }
  67. .pl-5 {
  68. padding-left: 5px;
  69. }
  70. .block {
  71. display: block;
  72. }
  73. .pointer {
  74. cursor: pointer;
  75. }
  76. .inlineBlock {
  77. display: block;
  78. }
  79. .clearfix {
  80. &:after {
  81. visibility: hidden;
  82. display: block;
  83. font-size: 0;
  84. content: " ";
  85. clear: both;
  86. height: 0;
  87. }
  88. }
  89. aside {
  90. background: #eef1f6;
  91. padding: 8px 24px;
  92. margin-bottom: 20px;
  93. border-radius: 2px;
  94. display: block;
  95. line-height: 32px;
  96. font-size: 16px;
  97. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  98. color: #2c3e50;
  99. -webkit-font-smoothing: antialiased;
  100. -moz-osx-font-smoothing: grayscale;
  101. a {
  102. color: #337ab7;
  103. cursor: pointer;
  104. &:hover {
  105. color: rgb(32, 160, 255);
  106. }
  107. }
  108. }
  109. //main-container全局样式
  110. .app-container {
  111. padding: 20px;
  112. }
  113. .app-pageContainer {
  114. height: 100vh;
  115. overflow-y: auto;
  116. }
  117. .components-container {
  118. margin: 30px 50px;
  119. position: relative;
  120. }
  121. .pagination-container {
  122. margin-top: 30px;
  123. }
  124. .text-center {
  125. text-align: center
  126. }
  127. .sub-navbar {
  128. height: 50px;
  129. line-height: 50px;
  130. position: relative;
  131. width: 100%;
  132. text-align: right;
  133. padding-right: 20px;
  134. transition: 600ms ease position;
  135. 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%);
  136. .subtitle {
  137. font-size: 20px;
  138. color: #fff;
  139. }
  140. &.draft {
  141. background: #d0d0d0;
  142. }
  143. &.deleted {
  144. background: #d0d0d0;
  145. }
  146. }
  147. .link-type,
  148. .link-type:focus {
  149. color: #337ab7;
  150. cursor: pointer;
  151. &:hover {
  152. color: rgb(32, 160, 255);
  153. }
  154. }
  155. .filter-container {
  156. padding-bottom: 10px;
  157. .filter-item {
  158. display: inline-block;
  159. vertical-align: middle;
  160. margin-bottom: 10px;
  161. }
  162. }
  163. //refine vue-multiselect plugin
  164. .multiselect {
  165. line-height: 16px;
  166. }
  167. .multiselect--active {
  168. z-index: 1000 !important;
  169. }
  170. .bg-purple-600 {
  171. background-color: rgb(147 51 234) !important;
  172. }
  173. button, input, optgroup, select, textarea {
  174. font-size: 16px;
  175. }
  176. .fa-icon {
  177. fill: currentColor;
  178. }
  179. .comBg {
  180. background: url(../images/bg.png) no-repeat;
  181. background-size: 100% 100%;
  182. }
  183. .buttonBg1 {
  184. // background: linear-gradient(270deg, #5ea1f9, #d287f1);
  185. }
  186. .fontH5 {
  187. font-size: 12px;
  188. }
  189. :root {
  190. --bg-color1: #7262f6;
  191. --bg-color2: hsla(0, 0%, 83%, 0.24);
  192. --bg-color3: rgba(109, 94, 227, 0.9);
  193. --bg-color4: #9387ff;
  194. --color1: #e2e2e2;
  195. --color2: #8f8f8f;
  196. }
  197. .bgColor1 {
  198. background-color: var(--bg-color1);
  199. }