staticInfo.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. @import './common.less';
  2. ul,
  3. li {
  4. list-style: none;
  5. }
  6. div,
  7. li,
  8. span,
  9. i,
  10. p,
  11. h1,
  12. h2,
  13. h3,
  14. h4,
  15. h5,
  16. pre {
  17. font-family: '微软雅黑', '宋体';
  18. }
  19. table {
  20. border-collapse: collapse;
  21. border-spacing: 0;
  22. }
  23. body {
  24. font-size: 14px;
  25. overflow-y: hidden;
  26. font-family: '微软雅黑', '宋体';
  27. background: #dde2ea;
  28. height: 100%;
  29. color: #1E1E1E;
  30. line-height: 21px;
  31. }
  32. .banner {
  33. width: 100%;
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. z-index: 10;
  38. height: 60px;
  39. line-height: 60px;
  40. background-color: @staticMainColor;
  41. }
  42. .staticTopLogo {
  43. height: 25px;
  44. margin-top: 16px;
  45. margin-left: 50px;
  46. }
  47. h1 {
  48. margin: 0 0px 15px 0px !important;
  49. font-size: 18px !important;
  50. /*line-height: 37px;*/
  51. padding: 0 0 0 40px;
  52. }
  53. .titleH2 {
  54. font-size: 18px;
  55. position: relative;
  56. background: #fff;
  57. padding-right: 6px;
  58. padding-left: 15px;
  59. font-weight: 600;
  60. border-left: 4px solid @staticMainColor;
  61. /*line-height: 30px;*/
  62. color: #333333;
  63. }
  64. .content {
  65. position: relative;
  66. height: 550px;
  67. }
  68. .infoBox {
  69. border-bottom: 1px solid #E6E6E6;
  70. padding: 0;
  71. margin: 0 0 20px 0;
  72. }
  73. .infoBox:hover {
  74. background-color: #fff;
  75. }
  76. .infoWrapper {
  77. padding: 0 0 0 40px;
  78. }
  79. .circleBox {
  80. position: absolute;
  81. z-index: 10;
  82. background: #fff;
  83. left: -38px;
  84. height: 32px;
  85. top: -1px;
  86. }
  87. // .circle {
  88. // display: inline-block;
  89. // *display:inline;
  90. // *zoom:1;
  91. // width: 10px;
  92. // height: 10px;
  93. // border-radius: 50%;
  94. // background: #3B9ED0;
  95. // position: relative;
  96. // top: 2px;
  97. // }
  98. .infos {
  99. height: 100%;
  100. overflow-y: auto;
  101. border-top: 1px solid #E6E6E6;
  102. }
  103. .infos>div {
  104. margin-right: 6.5%;
  105. .contentWrapper img {
  106. max-width: 100%;
  107. }
  108. }
  109. .title {
  110. position: relative;
  111. line-height: 24px;
  112. margin: 18px 0 4px;
  113. }
  114. .line {
  115. border-bottom: 1px dashed #ccc;
  116. }
  117. .container {
  118. /*width:100%;*/
  119. overflow: hidden;
  120. background: #fff;
  121. margin: 0 20px;
  122. /*padding: 8px 0 0px 0px;
  123. left: 0;
  124. right: 0;*/
  125. display: none;
  126. position: relative;
  127. }
  128. pre {
  129. white-space: pre-wrap;
  130. word-wrap: break-word;
  131. color: #1E1E1E;
  132. ol li {
  133. list-style: decimal;
  134. list-style-position: inside;
  135. }
  136. ul {
  137. padding-left: 20px;
  138. li {
  139. list-style-position: inside;
  140. list-style: inside;
  141. }
  142. }
  143. }
  144. .anchors {
  145. width: 210px;
  146. position: absolute;
  147. right: 15px;
  148. top: 0;
  149. margin-right: 14px;
  150. overflow-y: auto;
  151. background-color: #EDFAFF;
  152. padding: 25px 0;
  153. // height: calc(100% - 50px);
  154. overflow-x: hidden;
  155. }
  156. .anchors ul {
  157. margin-left: 30px;
  158. padding: 15px 0px 15px 20px;
  159. border-radius: 4px;
  160. border: 1px solid #EDFAFF;
  161. /*background-color: #EDFAFF;*/
  162. line-height: 19px;
  163. }
  164. .anchors li {
  165. position: relative;
  166. border-left: 1px solid #8DD1EE;
  167. }
  168. .anchors li:first-child {
  169. padding-top: 30px
  170. }
  171. .anchors .anchor-line {
  172. height: 30px;
  173. width: 0;
  174. border-left: 1px solid #8DD1EE;
  175. }
  176. .anchors .a-circle {
  177. width: 16px;
  178. height: 16px;
  179. position: absolute;
  180. left: 43px;
  181. z-index: 1;
  182. background: url('../images/icon-circular2.png');
  183. background-repeat: no-repeat;
  184. background-position-x: center;
  185. background-position-y: center;
  186. }
  187. .anchors .a-circle-2 {
  188. margin-left: 0;
  189. margin-top: -16px;
  190. }
  191. .anchors i {
  192. position: absolute;
  193. display: inline-block;
  194. width: 16px;
  195. height: 16px;
  196. left: -9px;
  197. top: 5px;
  198. z-index: 1;
  199. background: url('../images/icon-circular.png');
  200. background-repeat: no-repeat;
  201. background-position-x: center;
  202. background-position-y: center;
  203. }
  204. .anchors li:first-child i {
  205. top: 37px;
  206. }
  207. .anchors a {
  208. display: inline-block;
  209. position: relative;
  210. top: 4px;
  211. left: 0;
  212. width: 126px;
  213. padding: 0 0px 0 20px;
  214. text-decoration: none;
  215. font-size: 16px;
  216. font-weight: 400;
  217. word-wrap: break-word;
  218. color: #000;
  219. }
  220. .anchors .active a {
  221. /*color: #3B9ED0 !important;
  222. font-weight: 700 !important;*/
  223. }
  224. .anchors .active i {
  225. width: 30px;
  226. height: 15px;
  227. top: 6px;
  228. left: -15px;
  229. border-radius: 0;
  230. border: none;
  231. background-color: #F5F6F7;
  232. background: url('../images/icon_current2.png');
  233. background-repeat: no-repeat;
  234. background-position-x: center;
  235. background-position-y: center;
  236. }
  237. .disCopy {
  238. -webkit-touch-callout: none;
  239. -webkit-user-select: none;
  240. -khtml-user-select: none;
  241. -moz-user-select: none;
  242. -ms-user-select: none;
  243. user-select: none;
  244. }
  245. .tabBox {
  246. position: relative;
  247. background: #fff;
  248. padding: 0 38px;
  249. margin: 60px 20px 0;
  250. overflow: hidden;
  251. }
  252. .tabBox .title {
  253. display: block;
  254. font-size: 20px;
  255. font-weight: bold;
  256. color: rgba(0, 0, 0, 0.85);
  257. line-height: 28px;
  258. margin: 26px 0 14px 0;
  259. }
  260. .tabList {
  261. display: inline-block;
  262. }
  263. .tab {
  264. display: inline-block;
  265. padding: 5px 14px;
  266. margin-right: 5px;
  267. background: #EEEEEE;
  268. cursor: pointer;
  269. font-size: 14px;
  270. color: #333333;
  271. border-radius: 6px 6px 0px 0px;
  272. }
  273. .activeTab {
  274. background: @staticMainColor;
  275. color: #fff;
  276. font-size: 16px;
  277. }
  278. .ql-align-right {
  279. text-align: right;
  280. }
  281. .ql-align-center {
  282. text-align: center;
  283. }
  284. .open-win {
  285. position: absolute;
  286. right: 15px;
  287. bottom: 8px;
  288. cursor: pointer;
  289. color: #3B9ED0;
  290. font-size: 14px;
  291. padding-left: 30px;
  292. background: url("../images/link.png") 0 -2px no-repeat;
  293. background-size: 25px 25px;
  294. /*img{
  295. width: 30px;
  296. height: 30px;
  297. vertical-align: middle;
  298. margin-right: 10px;
  299. }*/
  300. }
  301. .btmFix {
  302. height: 20px;
  303. width: calc(100% - 40px);
  304. position: fixed;
  305. bottom: 0;
  306. left: 20px;
  307. z-index: 20;
  308. background-color: #fff;
  309. }
  310. .scaletitle {
  311. font-size: 20px;
  312. font-weight: 500;
  313. color: #333333;
  314. line-height: 28px;
  315. margin: 30px 0 8px 0;
  316. text-align: center;
  317. display: none;
  318. }
  319. .scaleBox {
  320. border-bottom: none;
  321. }
  322. .contentList {
  323. max-width: 100%;
  324. border-bottom: 1PX solid #F3F3F3;
  325. margin-bottom: 6px;
  326. .item-list {
  327. padding: 0 21px;
  328. color: #666666;
  329. .item-title,
  330. .item-titles {
  331. font-size: 14px;
  332. font-weight: 400;
  333. color: #333333;
  334. line-height: 20px;
  335. margin-top: 14px;
  336. }
  337. .item-content {
  338. margin: 10px 0;
  339. display: flex;
  340. flex-flow: wrap;
  341. .radio {
  342. display: flex;
  343. margin: 5px;
  344. margin-right: 25px;
  345. label {
  346. font-weight: 400;
  347. color: #666666;
  348. line-height: 20px;
  349. & input {
  350. margin-right: 6px;
  351. }
  352. .num {
  353. margin-left: 10px;
  354. }
  355. }
  356. .recommend {
  357. width: 18px;
  358. height: 18px;
  359. }
  360. }
  361. }
  362. }
  363. }
  364. .scalebot {
  365. margin-bottom: 44px;
  366. text-align: right;
  367. overflow: hidden;
  368. .but {
  369. width: 94px;
  370. height: 34px;
  371. background: #FFFFFF;
  372. border-radius: 8px;
  373. border: 1px solid #2A9BD5;
  374. font-size: 16px;
  375. font-weight: 400;
  376. color: #2A9BD5;
  377. margin-right: 9px;
  378. float: right;
  379. }
  380. .score {
  381. font-size: 16px;
  382. font-weight: 400;
  383. color: #333333;
  384. margin-right: 30px;
  385. display: none;
  386. float: right;
  387. line-height: 34px;
  388. }
  389. }
  390. .result {
  391. background: #EDFAFF;
  392. border-radius: 10px;
  393. font-size: 14px;
  394. font-weight: 500;
  395. color: #333333;
  396. display: none;
  397. margin: 0 75px;
  398. text-align: center;
  399. .result_box {
  400. padding: 25px 56px;
  401. display: inline-block;
  402. .result_left {
  403. display: flex;
  404. justify-content: center;
  405. & span {
  406. display: block;
  407. width: 42px;
  408. }
  409. .hel {
  410. width: 21px;
  411. height: 21px;
  412. background: #2C96E5;
  413. border-radius: 50%;
  414. color: #fff;
  415. font-size: 12px;
  416. vertical-align: middle;
  417. margin-right: 9px;
  418. float: left;
  419. }
  420. }
  421. }
  422. }
  423. .foot {
  424. margin-bottom: 20px;
  425. margin-top: 40px;
  426. display: none;
  427. overflow: hidden;
  428. .foot_box {
  429. width: 300px;
  430. margin: auto;
  431. .printing {
  432. float: left;
  433. width: 94px;
  434. height: 32px;
  435. background: #FFFFFF;
  436. border-radius: 4px;
  437. border: 1px solid #333333;
  438. cursor: pointer;
  439. line-height: 32px;
  440. & img {
  441. margin: 0 12px 0 14px;
  442. vertical-align: middle;
  443. }
  444. }
  445. .printing:hover {
  446. background: #2C96E5;
  447. color: #fff;
  448. border: 1px solid #2C96E5;
  449. }
  450. .copy {
  451. width: 132px;
  452. height: 32px;
  453. background: #FFFFFF;
  454. border-radius: 4px;
  455. float: left;
  456. border: 1px solid #333333;
  457. text-align: center;
  458. line-height: 32px;
  459. margin-left: 38px;
  460. cursor: pointer;
  461. }
  462. .copy:hover {
  463. background: #2C96E5;
  464. color: #fff;
  465. border: 1px solid #2C96E5;
  466. }
  467. }
  468. }
  469. #inputs {
  470. position: absolute;
  471. top: 0;
  472. left: 0;
  473. opacity: 0;
  474. z-index: -10
  475. }
  476. #Print {
  477. width: 100% !important;
  478. overflow-x: hidden;
  479. }
  480. .scale {
  481. .infos-box {
  482. margin: 0 71px 20px 38px;
  483. .infoWrapper {
  484. padding: 0 75px;
  485. }
  486. .scalebot {
  487. padding-right: 75px;
  488. }
  489. }
  490. }
  491. .chColor {
  492. color: red !important;
  493. }
  494. .info_left {
  495. width: 527px;
  496. margin: 30px auto;
  497. display: none;
  498. overflow: hidden;
  499. border: 1px solid #D8D8D8;
  500. li {
  501. width: 50%;
  502. height: 30px;
  503. padding: 0 10px;
  504. box-sizing: border-box;
  505. border: 1px solid #bbbfc1;
  506. border-right: none;
  507. font-size: 14px;
  508. float: left;
  509. border-bottom: none;
  510. }
  511. .name,
  512. .card {
  513. border-top: none;
  514. }
  515. .name,
  516. .age,
  517. .sex,
  518. .cards {
  519. border-left: none;
  520. }
  521. }
  522. .calculationFormula {
  523. .content {
  524. padding: 0px 35px;
  525. .infos {
  526. width: 100% !important;
  527. padding: 20px;
  528. .item-title {
  529. border-left: 5px solid #2A9BD5;
  530. padding-left: 20px;
  531. }
  532. ul {
  533. li {
  534. margin: 10px 0px;
  535. .calculationFormula-name {
  536. min-width: 50px;
  537. display: inline-block;
  538. }
  539. input {
  540. border: #D3D3D3 1px solid;
  541. margin: 0px 5px;
  542. border-radius: 3px;
  543. padding: 2px 5px;
  544. width: 200px;
  545. height: 20px;
  546. &:focus {
  547. border-color: skyblue;
  548. }
  549. }
  550. }
  551. }
  552. footer {
  553. // text-align: right;
  554. margin-top: 10px;
  555. button {
  556. background-color: #80C6EB;
  557. color: white;
  558. border-radius: 5px;
  559. padding: 7px 20px;
  560. }
  561. .calculation-result {
  562. background-color: #F2F2F2;
  563. padding: 10px 40px 10px 20px;
  564. margin-top: 10px;
  565. min-height: 30px;
  566. display: none;
  567. // width: 100%;
  568. box-sizing: border-box;
  569. &>p {
  570. padding: 5px 0px;
  571. display: flex;
  572. justify-content: space-between;
  573. }
  574. }
  575. }
  576. }
  577. }
  578. }