【前端】智能库房综合管理系统前端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

212 lines
2.9 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. @import 'variables';
  2. @import 'mixin';
  3. @import 'transition';
  4. @import 'element-ui';
  5. @import 'sidebar';
  6. @import 'btn';
  7. @import '~@/assets/iconfonts/iconfont.css';
  8. @import 'yxk-admin';
  9. body {
  10. height: 100%;
  11. -moz-osx-font-smoothing: grayscale;
  12. -webkit-font-smoothing: antialiased;
  13. text-rendering: optimizeLegibility;
  14. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  15. }
  16. label {
  17. font-weight: 700;
  18. }
  19. html {
  20. height: 100%;
  21. box-sizing: border-box;
  22. }
  23. #app {
  24. height: 100%;
  25. }
  26. *,
  27. *:before,
  28. *:after {
  29. box-sizing: inherit;
  30. }
  31. .no-padding {
  32. padding: 0 !important;
  33. }
  34. .padding-content {
  35. padding: 4px 0;
  36. }
  37. a:focus,
  38. a:active {
  39. outline: none;
  40. }
  41. a,
  42. a:focus,
  43. a:hover {
  44. cursor: pointer;
  45. color: inherit;
  46. text-decoration: none;
  47. }
  48. div:focus {
  49. outline: none;
  50. }
  51. .fr {
  52. float: right;
  53. }
  54. .fl {
  55. float: left;
  56. }
  57. .pr-5 {
  58. padding-right: 5px;
  59. }
  60. .pl-5 {
  61. padding-left: 5px;
  62. }
  63. .block {
  64. display: block;
  65. }
  66. .pointer {
  67. cursor: pointer;
  68. }
  69. .inlineBlock {
  70. display: block;
  71. }
  72. .clearfix {
  73. &:after {
  74. visibility: hidden;
  75. display: block;
  76. font-size: 0;
  77. content: " ";
  78. clear: both;
  79. height: 0;
  80. }
  81. }
  82. aside {
  83. background: #eef1f6;
  84. padding: 8px 24px;
  85. margin-bottom: 20px;
  86. border-radius: 2px;
  87. display: block;
  88. line-height: 32px;
  89. font-size: 16px;
  90. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  91. color: #2c3e50;
  92. -webkit-font-smoothing: antialiased;
  93. -moz-osx-font-smoothing: grayscale;
  94. a {
  95. color: #337ab7;
  96. cursor: pointer;
  97. &:hover {
  98. color: rgb(32, 160, 255);
  99. }
  100. }
  101. }
  102. ul{
  103. margin: 0;
  104. padding: 0;
  105. li{
  106. list-style: none;
  107. }
  108. }
  109. //main-container全局样式
  110. .app-wrapper{
  111. background-color: $menuBg;
  112. }
  113. .app-container {
  114. margin: 20px;
  115. }
  116. .components-container {
  117. margin: 30px 50px;
  118. position: relative;
  119. }
  120. .pagination-container {
  121. margin-top: 30px;
  122. }
  123. .text-center {
  124. text-align: center
  125. }
  126. .sub-navbar {
  127. height: 50px;
  128. line-height: 50px;
  129. position: relative;
  130. width: 100%;
  131. text-align: right;
  132. padding-right: 20px;
  133. transition: 600ms ease position;
  134. 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%);
  135. .subtitle {
  136. font-size: 20px;
  137. color: #fff;
  138. }
  139. &.draft {
  140. background: #d0d0d0;
  141. }
  142. &.deleted {
  143. background: #d0d0d0;
  144. }
  145. }
  146. .link-type,
  147. .link-type:focus {
  148. color: #337ab7;
  149. cursor: pointer;
  150. &:hover {
  151. color: rgb(32, 160, 255);
  152. }
  153. }
  154. //refine vue-multiselect plugin
  155. .multiselect {
  156. line-height: 16px;
  157. }
  158. .multiselect--active {
  159. z-index: 1000 !important;
  160. }
  161. /**滚动条的宽度*/
  162. ::-webkit-scrollbar {
  163. width: 8px;
  164. }
  165. //滚动条的滑块
  166. ::-webkit-scrollbar-thumb {
  167. background-color: #c1c1c1;
  168. border-radius: 3px;
  169. }
  170. // 设置loading-mask
  171. .el-loading-mask{
  172. background-color: rgba(0,0,0,0.2);
  173. }