base.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html {
  7. height: 100%;
  8. font-size: 14px;
  9. overflow: hidden;
  10. // user-select: none;
  11. }
  12. body {
  13. font:
  14. 1em/1.4 'Microsoft Yahei',
  15. 'PingFang SC',
  16. 'Avenir',
  17. 'Segoe UI',
  18. 'Hiragino Sans GB',
  19. 'STHeiti',
  20. 'Microsoft Sans Serif',
  21. 'WenQuanYi Micro Hei',
  22. sans-serif;
  23. height: 100%;
  24. color: black;
  25. overflow: hidden;
  26. }
  27. i {
  28. font-style: normal;
  29. }
  30. img {
  31. max-width: 100%;
  32. max-height: 100%;
  33. vertical-align: middle;
  34. // object-fit: cover;
  35. }
  36. ul {
  37. list-style: none;
  38. }
  39. /* 文本域取消下拉 */
  40. textarea {
  41. resize: none !important;
  42. min-height: 100px !important;
  43. }
  44. /* 主题色 */
  45. :root {
  46. --themeColor: #b49065;
  47. --themeColor2: #d3b453;
  48. }
  49. /* 找不到页面 */
  50. .noFindPage {
  51. opacity: 0;
  52. transition: opacity 0.5s;
  53. background-color: #fff;
  54. border-radius: 10px;
  55. display: flex;
  56. justify-content: center;
  57. flex-direction: column;
  58. align-items: center;
  59. color: #666666;
  60. font-size: 16px;
  61. padding-bottom: 20px;
  62. & > p {
  63. margin-bottom: 10px;
  64. }
  65. & > div {
  66. width: 80%;
  67. margin-top: 8%;
  68. display: flex;
  69. justify-content: space-around;
  70. }
  71. }
  72. /* 兼容360浏览器的下拉框 */
  73. .ant-select-selector {
  74. position: relative;
  75. background-color: #ffffff;
  76. border: 1px solid #d9d9d9;
  77. transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  78. }
  79. // 气泡框闪烁问题
  80. .ant-popconfirm {
  81. width: 240px;
  82. }
  83. // 重置antd样式
  84. #root {
  85. width: 100vw;
  86. height: 100vh;
  87. position: relative;
  88. overflow: hidden;
  89. // min-width: 1600px;
  90. // min-height: 900px;
  91. // overflow: auto;
  92. // overflow-y: overlay;
  93. a {
  94. text-decoration: none;
  95. color: black;
  96. outline: none;
  97. }
  98. // ?的提示
  99. .iconHoverTit {
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. }
  104. .iconHoverTitTxt {
  105. background-color: var(--themeColor);
  106. color: #fff;
  107. width: 16px;
  108. height: 16px;
  109. line-height: 16px;
  110. text-align: center;
  111. font-size: 12px;
  112. border-radius: 50%;
  113. }
  114. // a {
  115. // color: var(--themeColor);
  116. // }
  117. /* 普通文字按钮的颜色 */
  118. .ant-btn-text {
  119. color: var(--themeColor);
  120. }
  121. .ant-btn-text:disabled {
  122. cursor: not-allowed;
  123. color: rgba(0, 0, 0, 0.25);
  124. }
  125. /* 按钮的危险颜色 */
  126. .ant-btn-text.ant-btn-dangerous {
  127. color: #ff4d4d;
  128. }
  129. /* antd分页器样式 */
  130. // .ant-pagination .ant-pagination-item {
  131. // border-radius: 50%;
  132. // border: 1px solid #999;
  133. // background-color: transparent !important;
  134. // }
  135. // .ant-pagination .ant-pagination-item-active {
  136. // background-color: var(--themeColor) !important;
  137. // }
  138. // .ant-pagination .ant-pagination-item-active a {
  139. // color: #fff !important;
  140. // }
  141. // .ant-pagination .ant-pagination-item:hover {
  142. // background-color: var(--themeColor) !important;
  143. // }
  144. // .ant-pagination .ant-pagination-item:hover a {
  145. // color: #fff !important;
  146. // }
  147. // .ant-pagination-prev {
  148. // border-radius: 50% !important;
  149. // border: 1px solid #999;
  150. // }
  151. // .ant-pagination-prev:hover {
  152. // background-color: var(--themeColor);
  153. // }
  154. // .ant-pagination-prev:hover button {
  155. // color: #fff;
  156. // }
  157. // .ant-pagination-next {
  158. // border-radius: 50% !important;
  159. // border: 1px solid #999;
  160. // }
  161. // .ant-pagination-next:hover {
  162. // background-color: var(--themeColor);
  163. // }
  164. // .ant-pagination-next:hover button {
  165. // color: #fff;
  166. // }
  167. // .ant-pagination-disabled {
  168. // border: 1px solid #ccc;
  169. // }
  170. // .ant-pagination-disabled:hover {
  171. // background-color: transparent;
  172. // }
  173. /* 表格的图片居中 */
  174. .tableImgAuto {
  175. display: flex;
  176. justify-content: center;
  177. .TvideoBox {
  178. cursor: pointer;
  179. width: 60px;
  180. height: 60px;
  181. position: relative;
  182. .TvideoBoxLook {
  183. position: absolute;
  184. z-index: 10;
  185. opacity: 0;
  186. transition: opacity 0.3s;
  187. top: 0;
  188. left: 0;
  189. width: 100%;
  190. height: 100%;
  191. display: flex;
  192. justify-content: center;
  193. align-items: center;
  194. font-size: 14px;
  195. color: #fff;
  196. background-color: rgba(0, 0, 0, 0.6);
  197. .anticon-eye {
  198. font-size: 18px;
  199. }
  200. }
  201. video {
  202. width: 100%;
  203. height: 100%;
  204. object-fit: cover;
  205. }
  206. &:hover {
  207. .TvideoBoxLook {
  208. opacity: 1;
  209. }
  210. }
  211. }
  212. }
  213. /* antd图片预览组件 */
  214. .ant-image {
  215. display: none;
  216. }
  217. /* antd表格居中 */
  218. .ant-table-cell {
  219. text-align: center !important;
  220. }
  221. // 树型 表格 定制化
  222. #A2Table3 {
  223. .ant-table-row-expand-icon {
  224. background-color: var(--themeColor);
  225. color: #fff;
  226. }
  227. .ant-table-cell-with-append {
  228. display: flex;
  229. justify-content: flex-start;
  230. }
  231. }
  232. }
  233. [hidden] {
  234. display: none !important;
  235. }
  236. #upInput {
  237. display: none;
  238. }
  239. #upInput2 {
  240. display: none;
  241. }
  242. #upInputAudio {
  243. display: none;
  244. }
  245. // 页面标题
  246. .pageTitle {
  247. font-size: 18px;
  248. font-weight: 700;
  249. position: absolute;
  250. z-index: 11;
  251. top: -56px;
  252. left: -18px;
  253. padding-left: 40px;
  254. &::before {
  255. position: absolute;
  256. left: 20px;
  257. top: 50%;
  258. transform: translateY(-50%);
  259. content: '';
  260. width: 6px;
  261. height: 20px;
  262. background-color: var(--themeColor);
  263. }
  264. #AAbtn {
  265. position: absolute;
  266. top: -8px;
  267. left: 150px;
  268. }
  269. }
  270. // 滚动条
  271. .mySorrl::-webkit-scrollbar {
  272. /*滚动条整体样式*/
  273. width: 5px;
  274. /*高宽分别对应横竖滚动条的尺寸*/
  275. height: 1px;
  276. }
  277. .mySorrl::-webkit-scrollbar-thumb {
  278. /*滚动条里面小方块*/
  279. border-radius: 10px;
  280. -webkit-box-shadow: inset 0 0 5px transparent;
  281. background: var(--themeColor);
  282. }
  283. .mySorrl::-webkit-scrollbar-track {
  284. /*滚动条里面轨道*/
  285. -webkit-box-shadow: inset 0 0 5px transparent;
  286. border-radius: 10px;
  287. background: transparent;
  288. }
  289. .ant-image-preview-operations {
  290. background-color: rgba(0, 0, 0, 0.8) !important;
  291. }
  292. .ant-image-preview-mask {
  293. z-index: 10000 !important;
  294. }
  295. .ant-image-preview-wrap {
  296. z-index: 10001 !important;
  297. }
  298. .ant-image-preview-operations-wrapper {
  299. z-index: 10002 !important;
  300. }
  301. // .ant-notification-notice {
  302. // max-height: 500px !important;
  303. // overflow-y: auto !important;
  304. // }
  305. // 热点页面打开透明的变化
  306. // #Y1cathet {
  307. // animation: Y1cathet 0.5s linear forwards;
  308. // }
  309. // @keyframes Y1cathet {
  310. // 0% {
  311. // right: -700px;
  312. // }
  313. // 100% {
  314. // right: 0;
  315. // }
  316. // }
  317. .Y2xia {
  318. display: block;
  319. width: 100%;
  320. height: 100%;
  321. text-align: center;
  322. }
  323. // 打开侧边栏高亮
  324. .D1GtNum {
  325. cursor: pointer;
  326. text-decoration: underline;
  327. // &:hover {
  328. // color: var(--themeColor);
  329. // }
  330. }
  331. .D1GtNumAc {
  332. color: var(--themeColor);
  333. }
  334. // 侧边栏藏品详情
  335. .Y1info {
  336. width: 100%;
  337. margin-top: 5px;
  338. height: calc(100% - 35px);
  339. font-size: 16px;
  340. padding: 15px;
  341. overflow-y: auto;
  342. .Y1tit {
  343. font-size: 18px;
  344. padding-left: 15px;
  345. font-weight: 700;
  346. position: relative;
  347. margin-bottom: 15px;
  348. color: var(--themeColor);
  349. &::before {
  350. position: absolute;
  351. left: 0px;
  352. top: 50%;
  353. transform: translateY(-50%);
  354. content: '';
  355. width: 6px;
  356. height: 18px;
  357. background-color: var(--themeColor);
  358. }
  359. }
  360. .Y1row {
  361. width: 100%;
  362. display: flex;
  363. margin-bottom: 10px;
  364. .Y1rowll {
  365. width: 120px;
  366. text-align: right;
  367. font-weight: 700;
  368. }
  369. .Y1rowrr {
  370. width: calc(100% - 120px);
  371. word-wrap: break-word;
  372. max-height: 130px;
  373. overflow-y: auto;
  374. white-space: pre-wrap;
  375. }
  376. }
  377. // ------------------------档案信息
  378. .Y1rowZ {
  379. .Y1z1 {
  380. margin-bottom: 20px;
  381. display: flex;
  382. justify-content: space-between;
  383. .Y1rowZll {
  384. width: 48%;
  385. display: flex;
  386. flex-direction: column;
  387. justify-content: center;
  388. }
  389. .Y1rowZrr {
  390. display: flex;
  391. justify-content: center;
  392. align-items: center;
  393. width: 48%;
  394. .Y1rowZrrModel {
  395. margin-left: 20px;
  396. height: 200px;
  397. overflow-y: auto;
  398. width: calc(100% - 220px);
  399. display: flex;
  400. align-items: center;
  401. color: var(--themeColor);
  402. .Y1rowZrrModelBox {
  403. width: 100%;
  404. max-height: 100%;
  405. & > h3 {
  406. // text-align: center;
  407. margin-bottom: 10px;
  408. }
  409. & > div {
  410. margin: 4px 0;
  411. cursor: pointer;
  412. transition: all 0.3s;
  413. word-wrap: break-word;
  414. &:hover {
  415. text-shadow: 1px 1px 1px #ccc;
  416. }
  417. }
  418. }
  419. }
  420. }
  421. }
  422. .Y1z2 {
  423. margin-bottom: 20px;
  424. .y1z2_1 {
  425. display: flex;
  426. flex-wrap: wrap;
  427. justify-content: space-between;
  428. width: 100%;
  429. .y1z2_1row1 {
  430. margin-bottom: 10px;
  431. width: 48%;
  432. display: flex;
  433. .y1z2_1r11 {
  434. width: 130px;
  435. text-align: right;
  436. font-weight: 700;
  437. }
  438. // .y1z2_1r11long {
  439. // width: 132px;
  440. // position: relative;
  441. // left: -6px;
  442. // }
  443. .y1z2_1r12 {
  444. width: calc(100% - 130px);
  445. word-wrap: break-word;
  446. max-height: 130px;
  447. overflow-y: auto;
  448. white-space: pre-wrap;
  449. }
  450. }
  451. .y1z2_1row1Full {
  452. width: 100%;
  453. .y1z2_1r12 {
  454. max-height: 1000px;
  455. }
  456. }
  457. }
  458. }
  459. }
  460. // ------------------------库存信息
  461. .Y22com {
  462. .Y22sta {
  463. font-weight: 700;
  464. font-size: 18px;
  465. margin-bottom: 20px;
  466. }
  467. .Y22No {
  468. font-size: 16px;
  469. letter-spacing: 4px;
  470. height: 200px;
  471. display: flex;
  472. align-items: center;
  473. }
  474. .Y22Info {
  475. width: 800px;
  476. border: 1px solid #ccc;
  477. border-bottom: none;
  478. .Y22row {
  479. display: flex;
  480. // align-items: center;
  481. & > div {
  482. width: 200px;
  483. text-align: center;
  484. padding: 8px 4px;
  485. border-bottom: 1px solid #ccc;
  486. &:nth-of-type(1) {
  487. display: flex;
  488. align-items: center;
  489. justify-content: center;
  490. }
  491. &:nth-of-type(2) {
  492. width: 600px;
  493. }
  494. }
  495. }
  496. .Y22row1 {
  497. background-color: #eaeaea;
  498. }
  499. .Y22rowNo {
  500. height: 40px;
  501. line-height: 40px;
  502. text-align: center;
  503. border-bottom: 1px solid #ccc;
  504. }
  505. }
  506. }
  507. // ------------------------藏品附件
  508. .Y33com {
  509. .Y33top {
  510. margin-bottom: 20px;
  511. display: flex;
  512. justify-content: space-around;
  513. .ant-btn {
  514. margin-right: 15px;
  515. }
  516. }
  517. .Y33no {
  518. font-size: 16px;
  519. letter-spacing: 4px;
  520. height: 200px;
  521. display: flex;
  522. align-items: center;
  523. justify-content: center;
  524. }
  525. }
  526. }
  527. // 点击藏品编辑
  528. .C22revampBox {
  529. position: fixed;
  530. top: 0;
  531. left: 0;
  532. width: 100%;
  533. height: 100%;
  534. z-index: 100;
  535. padding: 30px;
  536. background-color: rgba(0, 0, 0, 0.6);
  537. & > div {
  538. position: relative;
  539. width: 100%;
  540. height: 100%;
  541. }
  542. }