index.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. body {
  8. height: 100%;
  9. margin: 0 auto;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: "Microsoft YaHei";
  14. background-color: #000;
  15. overflow-x: hidden;
  16. overflow-y: hidden;
  17. // font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  18. }
  19. label {
  20. font-weight: 700;
  21. }
  22. html {
  23. height: 100%;
  24. box-sizing: border-box;
  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全局样式
  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. .mg10 {
  163. margin-top: 10px
  164. }