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.

422 lines
6.4 KiB

2 years ago
  1. //main-container全局样式
  2. .page-full-height{
  3. height: calc(100vh);
  4. }
  5. .page-height-95{
  6. height: calc(95vh);
  7. }
  8. .page-height-85{
  9. height: calc(85vh);
  10. }
  11. .page-height-75{
  12. height: calc(75vh);
  13. }
  14. .page-height-65{
  15. height: calc(65vh);
  16. }
  17. .page-height-55{
  18. height: calc(55vh);
  19. }
  20. .page-height-45{
  21. height: calc(45vh);
  22. }
  23. .page-height-35{
  24. height: calc(35vh);
  25. }
  26. .page-height-25{
  27. height: calc(25vh);
  28. }
  29. .page-height-15{
  30. height: calc(15vh);
  31. }
  32. .page-height-90{
  33. height: calc(90vh);
  34. }
  35. .page-height-80{
  36. height: calc(80vh);
  37. }
  38. .page-height-70{
  39. height: calc(70vh);
  40. }
  41. .page-height-60{
  42. height: calc(60vh);
  43. }
  44. .page-height-50{
  45. height: calc(50vh);
  46. }
  47. .page-height-40{
  48. height: calc(40vh);
  49. }
  50. .page-height-30{
  51. height: calc(30vh);
  52. }
  53. .page-height-20{
  54. height: calc(20vh);
  55. }
  56. .page-height-10{
  57. height: calc(10vh);
  58. }
  59. .page-height-5{
  60. height: calc(5vh);
  61. }
  62. .page-container {
  63. overflow: auto;
  64. .page-tips{
  65. position:absolute;
  66. font-size: 16px;
  67. bottom: 0px;
  68. color: red;
  69. padding-left: 10px;
  70. flex: 0 0 auto;
  71. display: flex;
  72. flex-direction: row;
  73. justify-content: flex-start;
  74. align-items: center;
  75. overflow-x: hidden;
  76. }
  77. .page-header{
  78. overflow: auto;
  79. }
  80. .page-main{
  81. overflow: auto;
  82. }
  83. .page-bottom{
  84. overflow: auto;
  85. }
  86. }
  87. .overflow-auto{
  88. overflow: auto;
  89. }
  90. .overflow-x-auto{
  91. overflow-x: auto;
  92. }
  93. .overflow-y-auto{
  94. overflow-y: auto;
  95. }
  96. .overflow-hidden{
  97. overflow: hidden;
  98. }
  99. .border{
  100. border: 1px solid #e8e8e8;
  101. }
  102. .padding-20{
  103. padding:40px;
  104. }
  105. .padding{
  106. padding:10px;
  107. }
  108. .padding-top{
  109. padding-top: 10px;
  110. }
  111. .padding-bottom{
  112. padding-bottom: 10px;
  113. }
  114. .padding-left{
  115. padding-left: 10px;
  116. }
  117. .border-top{
  118. border-top: 1px solid #e8e8e8;
  119. }
  120. .border-bottom{
  121. border-bottom: 1px solid #e8e8e8;
  122. }
  123. .padding-right{
  124. padding-right: 10px;
  125. }
  126. .input-width{
  127. width:270px;
  128. }
  129. /**
  130. 更多按钮
  131. **/
  132. .more-filter {
  133. margin: 20px 0px;
  134. padding-left: 10px;
  135. padding-right: 10px;
  136. font{
  137. text-align: center;
  138. float: left;
  139. height: 28px;
  140. line-height: 28px;
  141. margin-right: 10px;
  142. margin-top: 2px;
  143. }
  144. .el-row {
  145. padding-top: 10px;
  146. }
  147. }
  148. /**
  149. 修改弹出框关闭按钮放大原来的太小
  150. **/
  151. .el-dialog__headerbtn {
  152. top: 8px !important;
  153. background-size: cover;
  154. }
  155. .el-dialog__headerbtn i {
  156. font-size: 32px;
  157. }
  158. .more-label-font {
  159. height: 32px;
  160. line-height: 32px;
  161. text-align: left;
  162. float: left;
  163. min-width: 100px;
  164. }
  165. .tips{
  166. position:absolute;
  167. font-size: 14px;
  168. bottom: -10px;
  169. color: red;
  170. padding-left: 10px;
  171. flex: 0 0 auto;
  172. display: flex;
  173. flex-direction: row;
  174. justify-content: flex-start;
  175. align-items: bottom;
  176. overflow-x: hidden;
  177. }
  178. .center{
  179. text-align: center;
  180. align-items: center;
  181. }
  182. .page-center{
  183. margin:0 auto;
  184. max-width: 95vw;
  185. }
  186. //富文本必须放在全局,否则不起作用
  187. .rich-context{
  188. padding-left: 5px;
  189. padding-right: 5px;
  190. overflow: hidden;
  191. }
  192. .rich-context img{
  193. max-width: 100%;
  194. object-fit: scale-down;
  195. }
  196. .el-table .current-row > td {
  197. background: #a9d6f0 !important;
  198. }
  199. /**
  200. 模拟鼠标经过描点样式
  201. */
  202. .vlink:hover{
  203. text-decoration:none;
  204. color: blue;
  205. cursor: pointer;
  206. }
  207. /*1.显示滚动条:当内容超出容器的时候,可以拖动:*/
  208. .el-drawer__body {
  209. overflow: auto;
  210. /* overflow-x: auto; */
  211. }
  212. .tool-bar{
  213. visibility: hidden;
  214. float: right;
  215. }
  216. table tr:hover{
  217. .tool-bar{
  218. visibility: visible;
  219. .u-btn{
  220. float: right;
  221. }
  222. }
  223. }
  224. table tr.hover-row{
  225. .tool-bar{
  226. visibility: visible;
  227. .u-btn{
  228. float: right;
  229. }
  230. }
  231. }
  232. .cell-bar{
  233. display: none;
  234. float: right;
  235. }
  236. .el-table__row td:hover{
  237. cursor: pointer;
  238. .cell-bar{
  239. display: inline;
  240. .u-btn{
  241. float: right;
  242. }
  243. }
  244. .cell-text{
  245. display:none;
  246. }
  247. }
  248. /**
  249. *解决表格固定列无法滚动问题
  250. */
  251. .el-table {
  252. .el-table__fixed {
  253. height:auto !important;
  254. bottom:17px !important;
  255. }
  256. }
  257. .icon {
  258. color: #fff;
  259. height: 20px;
  260. width: 20px;
  261. border-radius: 15px;
  262. text-align: center;
  263. line-height: 20px;
  264. font-size: 14px;
  265. display: inline-block;
  266. margin-right: 5px;
  267. }
  268. /**
  269. *解决项目产品视图顶部左边图标不居中的问题
  270. */
  271. .el-menu-item .top-icon > [class^=el-icon-] {
  272. margin-right: 0px !important;
  273. }
  274. .label-font-color{
  275. color: #C0C4CC;
  276. }
  277. .title-font-size{
  278. font-size:28px;
  279. }
  280. .big-icon {
  281. color: #fff;
  282. height: 36px;
  283. width: 36px;
  284. border-radius: 36px;
  285. text-align: center;
  286. line-height: 36px;
  287. font-size: 18px;
  288. display: inline-block;
  289. }
  290. .icon {
  291. border-radius: 20px;
  292. color: #fff;
  293. display: inline-block;
  294. font-size: 14px;
  295. height: 20px;
  296. line-height: 20px;
  297. margin-right: 5px;
  298. text-align: center;
  299. width: 20px;
  300. }
  301. /*此处根据不同屏幕分配率显示不同的样式*/
  302. /*手机端*/
  303. @media only screen and (min-width: 0px) and (max-width: 768px) {
  304. .page-center{
  305. margin:0 auto;
  306. max-width: 95vw;
  307. }
  308. }
  309. /*ipad*/
  310. @media only screen and (min-width: 768px) and (max-width: 992px) {
  311. .page-center{
  312. margin:0 auto;
  313. max-width: 95vw;
  314. }
  315. }
  316. /*ipadpro*/
  317. @media only screen and (min-width: 992px) and (max-width: 1200px) {
  318. .page-center{
  319. margin:0 auto;
  320. max-width: 95vw;
  321. }
  322. }
  323. /*笔记本*/
  324. @media only screen and (min-width: 1200px) and (max-width: 1920px) {
  325. .page-center{
  326. margin:0 auto;
  327. max-width: 90vw;
  328. }
  329. }
  330. /*台式电脑*/
  331. @media only screen and (min-width: 1920px) {
  332. .page-center{
  333. margin:0 auto;
  334. max-width:80vw;
  335. }
  336. }
  337. .el-dialog {
  338. max-height: 96%;
  339. display: flex;
  340. flex-direction: column;
  341. margin: 0 !important;
  342. position: absolute;
  343. top: 50%;
  344. left: 50%;
  345. transform: translate(-50%, -50%);
  346. }
  347. .el-dialog .el-dialog__body {
  348. flex: 1;
  349. overflow: auto;
  350. }
  351. :root{
  352. --footer-height: 50px;
  353. }
  354. .footer{
  355. text-align: right;
  356. position: fixed;
  357. bottom: 0;
  358. margin-top:10px;
  359. width: 100%;
  360. right: 50px;
  361. line-height: var(--footer-height);
  362. color: #fff;
  363. }
  364. .avatar-container {
  365. height: 50px;
  366. display: flex;
  367. align-items: center;
  368. .avatar-wrapper {
  369. cursor: pointer;
  370. display: flex;
  371. flex-direction: row;
  372. align-items: center;
  373. .user-avatar {
  374. height: 34px;
  375. width: 34px;
  376. border-radius: 50%;
  377. margin-right: 12px;
  378. }
  379. .username{
  380. color: #7D7D7D;
  381. font-size: 18px;
  382. margin-right: 2px;
  383. }
  384. .el-icon-caret-bottom {
  385. font-size: 22px;
  386. }
  387. }
  388. }