【前端】智能库房综合管理系统前端项目
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.

290 lines
4.5 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
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. margin: 0;
  30. padding: 0;
  31. box-sizing: inherit;
  32. }
  33. .no-padding {
  34. padding: 0 !important;
  35. }
  36. .padding-content {
  37. padding: 4px 0;
  38. }
  39. a:focus,
  40. a:active {
  41. outline: none;
  42. }
  43. a,
  44. a:focus,
  45. a:hover {
  46. cursor: pointer;
  47. color: inherit;
  48. text-decoration: none;
  49. }
  50. div:focus {
  51. outline: none;
  52. }
  53. .fr {
  54. float: right;
  55. }
  56. .fl {
  57. float: left;
  58. }
  59. .pr-5 {
  60. padding-right: 5px;
  61. }
  62. .pl-5 {
  63. padding-left: 5px;
  64. }
  65. .block {
  66. display: block;
  67. }
  68. .pointer {
  69. cursor: pointer;
  70. }
  71. .inlineBlock {
  72. display: block;
  73. }
  74. .clearfix {
  75. &:after {
  76. visibility: hidden;
  77. display: block;
  78. font-size: 0;
  79. content: " ";
  80. clear: both;
  81. height: 0;
  82. }
  83. }
  84. aside {
  85. background: #eef1f6;
  86. padding: 8px 24px;
  87. margin-bottom: 20px;
  88. border-radius: 2px;
  89. display: block;
  90. line-height: 30px;
  91. font-size: 16px;
  92. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  93. color: #2c3e50;
  94. -webkit-font-smoothing: antialiased;
  95. -moz-osx-font-smoothing: grayscale;
  96. a {
  97. color: #337ab7;
  98. cursor: pointer;
  99. &:hover {
  100. color: rgb(32, 160, 255);
  101. }
  102. }
  103. }
  104. ul{
  105. margin: 0;
  106. padding: 0;
  107. li{
  108. list-style: none;
  109. }
  110. }
  111. //main-container全局样式
  112. .app-wrapper{
  113. background-color: $menuBg;
  114. }
  115. .app-container {
  116. margin: 20px;
  117. }
  118. .components-container {
  119. margin: 30px 50px;
  120. position: relative;
  121. }
  122. .pagination-container {
  123. margin-top: 30px;
  124. }
  125. .text-center {
  126. text-align: center
  127. }
  128. .sub-navbar {
  129. height: 50px;
  130. line-height: 50px;
  131. position: relative;
  132. width: 100%;
  133. text-align: right;
  134. padding-right: 20px;
  135. transition: 600ms ease position;
  136. 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%);
  137. .subtitle {
  138. font-size: 20px;
  139. color: #fff;
  140. }
  141. &.draft {
  142. background: #d0d0d0;
  143. }
  144. &.deleted {
  145. background: #d0d0d0;
  146. }
  147. }
  148. .link-type,
  149. .link-type:focus {
  150. color: #337ab7;
  151. cursor: pointer;
  152. &:hover {
  153. color: rgb(32, 160, 255);
  154. }
  155. }
  156. //refine vue-multiselect plugin
  157. .multiselect {
  158. line-height: 16px;
  159. }
  160. .multiselect--active {
  161. z-index: 1000 !important;
  162. }
  163. /**滚动条的宽度*/
  164. ::-webkit-scrollbar {
  165. width: 4px;
  166. height: 4px;
  167. }
  168. //滚动条的滑块
  169. ::-webkit-scrollbar-thumb {
  170. background-color: #13439E;
  171. border-radius: 3px;
  172. }
  173. //只需要加上这一行
  174. ::-webkit-scrollbar-corner {
  175. background-color: #021941;
  176. }
  177. // 设置loading-mask
  178. .el-loading-mask{
  179. background-color: rgba(0,0,0,0.2);
  180. }
  181. @media screen and (min-width:1200px) and (max-width:1536px){
  182. .tab-content .tab-nav {
  183. li{
  184. font-size: 14px;
  185. padding: 0 4px !important;
  186. letter-spacing: normal;
  187. &:first-child{
  188. padding: 0 12px !important;
  189. }
  190. }
  191. .tab-right-img{
  192. width: 73px !important;
  193. }
  194. }
  195. .des-preview-left{
  196. width: 510px;
  197. flex: auto !important;
  198. .des-form{
  199. width: 100% !important;
  200. .el-input__inner{
  201. width: 100% !important;
  202. }
  203. .input-num .el-input__inner{
  204. width: 30px !important;
  205. }
  206. .input-num {
  207. .el-form-item__content .el-input,
  208. .el-input-number{
  209. width: 100% !important;
  210. // margin-right: 6px;
  211. }
  212. .el-input__inner{
  213. padding: 0;
  214. text-align: center;
  215. }
  216. }
  217. }
  218. }
  219. // 档案管理
  220. .tree-scroll{
  221. height: calc(100vh - 480px) !important;
  222. }
  223. // 库房
  224. .warehouse-left{
  225. .msg-list{
  226. li{
  227. .msg-list-svg{
  228. font-size: 26px !important;
  229. margin-left: 8px !important;
  230. }
  231. .msg-list-unit{
  232. font-size: 10px !important;
  233. }
  234. .msg-list-num{
  235. font-size: 20px !important;
  236. top: 20px !important;
  237. }
  238. &.msg-pm{
  239. .msg-list-svg{
  240. font-size: 32px !important;
  241. }
  242. .msg-list-unit{
  243. left: -8px !important;
  244. }
  245. }
  246. }
  247. }
  248. }
  249. }