index.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. -moz-osx-font-smoothing: grayscale;
  10. -webkit-font-smoothing: antialiased;
  11. text-rendering: optimizeLegibility;
  12. font-family: Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
  13. }
  14. ::-webkit-scrollbar {
  15. width: .5rem;
  16. height: .5rem;
  17. }
  18. ::-webkit-scrollbar-track {
  19. border-radius: 1px;
  20. }
  21. ::-webkit-scrollbar-thumb {
  22. border-radius: 1px;
  23. background: rgba(0, 0, 0, .2);
  24. }
  25. label {
  26. font-weight: 600;
  27. }
  28. html {
  29. height: 100%;
  30. box-sizing: border-box;
  31. }
  32. #app {
  33. height: 100%;
  34. }
  35. *,
  36. *:before,
  37. *:after {
  38. box-sizing: inherit;
  39. }
  40. .no-padding {
  41. padding: 0px !important;
  42. }
  43. .padding-content {
  44. padding: 4px 0;
  45. }
  46. a:focus,
  47. a:active {
  48. outline: none;
  49. }
  50. a,
  51. a:focus,
  52. a:hover {
  53. cursor: pointer;
  54. color: inherit;
  55. text-decoration: none;
  56. }
  57. div:focus {
  58. outline: none;
  59. }
  60. .fr {
  61. float: right;
  62. }
  63. .fl {
  64. float: left;
  65. }
  66. .pr-5 {
  67. padding-right: 5px;
  68. }
  69. .pl-5 {
  70. padding-left: 5px;
  71. }
  72. .block {
  73. display: block;
  74. }
  75. .pointer {
  76. cursor: pointer;
  77. }
  78. .inlineBlock {
  79. display: block;
  80. }
  81. .clearfix {
  82. &:after {
  83. visibility: hidden;
  84. display: block;
  85. font-size: 0;
  86. content: " ";
  87. clear: both;
  88. height: 0;
  89. }
  90. }
  91. aside {
  92. background: #eef1f6;
  93. padding: 8px 24px;
  94. margin-bottom: 20px;
  95. border-radius: 2px;
  96. display: block;
  97. line-height: 32px;
  98. font-size: 16px;
  99. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  100. color: #2c3e50;
  101. -webkit-font-smoothing: antialiased;
  102. -moz-osx-font-smoothing: grayscale;
  103. a {
  104. color: #337ab7;
  105. cursor: pointer;
  106. &:hover {
  107. color: rgb(32, 160, 255);
  108. }
  109. }
  110. }
  111. //main-container全局样式
  112. .app-container {
  113. padding: 20px;
  114. margin: 0;
  115. background: #fff;
  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. .search-item {
  163. margin-right: 10px;
  164. width: 190px;
  165. }
  166. .date-range-item {
  167. width: 240px;
  168. }
  169. }
  170. .table-operation {
  171. margin-right: 10px;
  172. font-size: 1rem;
  173. font-weight: 500;
  174. cursor: pointer;
  175. }
  176. //refine vue-multiselect plugin
  177. .multiselect {
  178. line-height: 16px;
  179. }
  180. .multiselect--active {
  181. z-index: 1000 !important;
  182. }
  183. .el-button:not(.is-circle,.is-round), .el-input__inner {
  184. border-radius: 3px !important;
  185. }
  186. .el-input {
  187. font-size: .85rem !important;
  188. }
  189. .el-button {
  190. margin-left: 0 !important;
  191. margin-right: 10px;
  192. }
  193. .el-submenu__title {
  194. i {
  195. color: rgba(255, 255, 255, 0.7);
  196. margin-right: 10px !important;
  197. margin-left: 10px;
  198. }
  199. }
  200. .el-tooltip__popper {
  201. max-width: 500px !important;
  202. font-size: .88rem;
  203. }
  204. .no-perm {
  205. margin-top: -6px
  206. }