style.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. @import '~antd/es/style/themes/default.less';
  2. .container {
  3. position: fixed;
  4. text-align: center;
  5. top: 0;
  6. left: 0;
  7. bottom: 0;
  8. right: 0;
  9. background: linear-gradient(#1abc9c, transparent), linear-gradient(90deg, skyblue, transparent),
  10. linear-gradient(-90deg, coral, transparent);
  11. background-blend-mode: screen;
  12. }
  13. .lang {
  14. width: 100%;
  15. height: 40px;
  16. line-height: 44px;
  17. text-align: right;
  18. :global(.ant-dropdown-trigger) {
  19. margin-right: 24px;
  20. }
  21. }
  22. .content {
  23. flex: 1;
  24. padding: 32px 0;
  25. }
  26. @media (min-width: @screen-md-min) {
  27. .container {
  28. // background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
  29. // background-repeat: no-repeat;
  30. // background-position: center 110px;
  31. // background-size: 100%;
  32. position: fixed;
  33. text-align: center;
  34. top: 0;
  35. left: 0;
  36. bottom: 0;
  37. right: 0;
  38. background: linear-gradient(#1abc9c, transparent), linear-gradient(90deg, skyblue, transparent),
  39. linear-gradient(-90deg, coral, transparent);
  40. background-blend-mode: screen;
  41. }
  42. .content {
  43. // padding: 32px 0 24px;
  44. }
  45. }
  46. .top {
  47. text-align: center;
  48. }
  49. .header {
  50. height: 44px;
  51. line-height: 44px;
  52. a {
  53. text-decoration: none;
  54. }
  55. }
  56. .logo {
  57. height: 44px;
  58. margin-right: 16px;
  59. vertical-align: top;
  60. }
  61. .title {
  62. position: relative;
  63. top: 2px;
  64. color: @heading-color;
  65. font-weight: 600;
  66. font-size: 33px;
  67. font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  68. }
  69. .desc {
  70. margin-top: 12px;
  71. margin-bottom: 40px;
  72. color: @text-color-secondary;
  73. font-size: @font-size-base;
  74. }
  75. .main {
  76. transition: all 1.5s;
  77. z-index: 999;
  78. position: fixed;
  79. top: 40%;
  80. left: 50%;
  81. transform: translate(-50%, -50%);
  82. width: 380px;
  83. color: #fff;
  84. justify-content: center;
  85. align-items: center;
  86. display: flex;
  87. flex-flow: column;
  88. font-size: 24px;
  89. // width: 368px;
  90. // margin: 0 auto;
  91. // @media screen and (max-width: @screen-sm) {
  92. // width: 95%;
  93. // }
  94. h1 {
  95. color: #fff;
  96. font-size: 30px;
  97. letter-spacing: 5px;
  98. }
  99. >div {
  100. width: 300px;
  101. margin-bottom: 20px;
  102. }
  103. .code {
  104. display: flex;
  105. justify-content: space-between;
  106. align-items: center;
  107. input {
  108. width: 170px;
  109. }
  110. }
  111. input {
  112. width: 300px;
  113. height: 42px;
  114. padding: 0 15px;
  115. background: #2d2d2d;
  116. background: rgba(45, 45, 45, 0.15);
  117. -moz-border-radius: 6px;
  118. -webkit-border-radius: 6px;
  119. border-radius: 6px;
  120. border: 1px solid #3d3d3d;
  121. border: 1px solid rgba(255, 255, 255, 0.15);
  122. -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  123. -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  124. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  125. font-family: pt sans, Helvetica, Arial, sans-serif;
  126. font-size: 14px;
  127. color: #fff;
  128. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  129. -o-transition: all 0.2s;
  130. -moz-transition: all 0.2s;
  131. -webkit-transition: all 0.2s;
  132. -ms-transition: all 0.2s;
  133. outline: none;
  134. &::-webkit-input-placeholder {
  135. color: #fff !important;
  136. }
  137. &::-moz-placeholder {
  138. color: #fff !important;
  139. }
  140. &::-moz-placeholder {
  141. color: #fff !important;
  142. }
  143. &::-ms-input-placeholder {
  144. color: #fff !important;
  145. }
  146. }
  147. >button {
  148. outline: none;
  149. cursor: pointer;
  150. width: 300px;
  151. height: 44px;
  152. padding: 0;
  153. background: #22c50f;
  154. -moz-border-radius: 6px;
  155. -webkit-border-radius: 6px;
  156. border-radius: 6px;
  157. border: 0px;
  158. -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  159. -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset,
  160. 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  161. box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  162. font-family: pt sans, Helvetica, Arial, sans-serif;
  163. font-size: 14px;
  164. font-weight: 700;
  165. color: #fff;
  166. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  167. -o-transition: all 0.2s;
  168. -moz-transition: all 0.2s;
  169. -webkit-transition: all 0.2s;
  170. -ms-transition: all 0.2s;
  171. font-size: 20px;
  172. letter-spacing: 10px;
  173. }
  174. button:active {
  175. -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  176. -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset,
  177. 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  178. box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  179. border: 0 solid #ef4300;
  180. }
  181. input:-internal-autofill-previewed,
  182. input:-internal-autofill-selected {
  183. -webkit-text-fill-color: #ffffff !important;
  184. transition: background-color 5000s ease-in-out 0s !important;
  185. }
  186. // .ant-input-affix-wrapper .ant-input:not(:first-child),
  187. // input {
  188. // background: rgba(0, 0, 0, 0) !important;
  189. // }
  190. input:-webkit-autofill {
  191. box-shadow: 0 0 0px 1000px transparent inset !important;
  192. }
  193. input:-webkit-autofill:focus {
  194. box-shadow: 0 0 0px 1000px transparent inset !important;
  195. }
  196. }
  197. .btn{
  198. outline: none;
  199. cursor: pointer;
  200. padding: 0;
  201. background: #22c50f;
  202. -moz-border-radius: 6px;
  203. -webkit-border-radius: 6px;
  204. border-radius: 6px;
  205. border: 0px;
  206. -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  207. -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset,
  208. 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  209. box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  210. font-family: pt sans, Helvetica, Arial, sans-serif;
  211. font-weight: 700;
  212. color: #fff;
  213. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  214. -o-transition: all 0.2s;
  215. -moz-transition: all 0.2s;
  216. -webkit-transition: all 0.2s;
  217. -ms-transition: all 0.2s;
  218. font-size: 14px;
  219. width: 35%;
  220. margin-left: 5%;
  221. height: 40px;
  222. }
  223. button:active {
  224. -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  225. -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset,
  226. 0 2px 7px 0 rgba(0, 0, 0, 0.2);
  227. box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  228. border: 0 solid #ef4300;
  229. }
  230. .company {
  231. transition: all 1.5s;
  232. z-index: 999;
  233. position: fixed;
  234. top: 40%;
  235. left: 50%;
  236. transform: translate(-50%, -50%);
  237. color: #fff;
  238. justify-content: center;
  239. align-items: center;
  240. display: flex;
  241. flex-flow: column;
  242. font-size: 24px;
  243. h1 {
  244. color: #fff;
  245. font-size: 30px;
  246. letter-spacing: 5px;
  247. }
  248. }
  249. .companyAccount {
  250. border-radius: 8px;
  251. background: rgba(255, 255, 255, .8);
  252. box-shadow: 0 4px 20px 0 rgba(0, 60, 179, 0.12);
  253. margin-bottom: 10px;
  254. width: 500px !important;
  255. padding: 48px 36px 10px;
  256. text-align: left;
  257. margin-top: 20px;
  258. &>h3.title {
  259. margin: 0;
  260. font-size: 20px;
  261. }
  262. &>.chooseTableBlock {
  263. margin-top: 20px;
  264. border-top: 1px solid rgba(181, 181, 181, .4);
  265. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  266. max-height: 250px;
  267. overflow-y: auto;
  268. padding: 0 10px;
  269. .acTableLine {
  270. padding: 16px 14px;
  271. display: flex;
  272. align-items: center;
  273. font-size: 14px;
  274. cursor: pointer;
  275. color: #68779c;
  276. justify-content: space-between;
  277. border: 2px solid transparent;
  278. position: relative;
  279. border-radius: 4px;
  280. .actname {
  281. width: 250px;
  282. color: #0b1531;
  283. font-size: 16px;
  284. }
  285. .right {
  286. display: flex;
  287. justify-content: flex-end;
  288. align-items: center;
  289. .actcha {
  290. color: #68779c;
  291. margin-right: 10px;
  292. }
  293. }
  294. .iconRight {
  295. color: #1890ff;
  296. font-size: 20px;
  297. }
  298. &:hover {
  299. border: 2px solid #296aef;
  300. z-index: 5;
  301. transition: all .2s;
  302. box-shadow: 0 0 12px rgba(0, 60, 179, 0.12);
  303. .right .actcha {
  304. color: #0b1531;
  305. }
  306. .iconRight {
  307. color: #296aef;
  308. }
  309. }
  310. &::after {
  311. content: '';
  312. position: absolute;
  313. bottom: 0;
  314. left: 0;
  315. background-color: rgba(181, 181, 181, .4);
  316. height: 1px;
  317. width: 100%;
  318. }
  319. }
  320. }
  321. &>.button {
  322. margin-top: 20px;
  323. text-align: center;
  324. }
  325. }
  326. .bg {
  327. position: fixed;
  328. left: 0;
  329. top: 0;
  330. right: 0;
  331. bottom: 0;
  332. padding: 0;
  333. margin: 0;
  334. li {
  335. position: absolute;
  336. left: 0;
  337. top: 0;
  338. width: 100%;
  339. height: 100%;
  340. transition: all 3s;
  341. opacity: 0;
  342. &:first-child {
  343. opacity: 1;
  344. }
  345. }
  346. img {
  347. width: 100%;
  348. height: 100%;
  349. // object-fit: cover;
  350. }
  351. }
  352. .footer {
  353. position: fixed;
  354. bottom: 50px;
  355. display: flex;
  356. flex-flow: column;
  357. justify-content: center;
  358. align-items: center;
  359. color: #fff;
  360. left: 50%;
  361. transform: translateX(-50%);
  362. font-size: 20px;
  363. transition: all 1.5s;
  364. a {
  365. color: #fff;
  366. letter-spacing: 10px;
  367. }
  368. >span {
  369. span {
  370. margin: 0 3px;
  371. font-size: 15px;
  372. }
  373. }
  374. }
  375. .config {
  376. position: absolute;
  377. bottom: 0%;
  378. right: 0%;
  379. width: 300px;
  380. z-index: 999;
  381. padding: 0;
  382. margin: 0;
  383. border-radius: 5px;
  384. // transform: translate(-50%, -50%);
  385. color: #fff;
  386. font-size: 15px;
  387. height: 300px;
  388. background-color: rgba(0, 0, 0, .6);
  389. span {
  390. color: #fff;
  391. background-color: transparent;
  392. }
  393. .config_btn {
  394. display: flex;
  395. align-items: center;
  396. font-size: 12px;
  397. }
  398. input {
  399. width: 300px;
  400. height: 27px;
  401. padding: 0 15px;
  402. background: #2d2d2d;
  403. background: rgba(45, 45, 45, 0.15);
  404. -moz-border-radius: 6px;
  405. -webkit-border-radius: 6px;
  406. border-radius: 6px;
  407. border: 1px solid #3d3d3d;
  408. border: 1px solid rgba(255, 255, 255, 0.15);
  409. -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  410. -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  411. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset;
  412. font-family: pt sans, Helvetica, Arial, sans-serif;
  413. font-size: 14px;
  414. color: #fff;
  415. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  416. -o-transition: all 0.2s;
  417. -moz-transition: all 0.2s;
  418. -webkit-transition: all 0.2s;
  419. -ms-transition: all 0.2s;
  420. outline: none;
  421. &::-webkit-input-placeholder {
  422. color: #fff !important;
  423. }
  424. &::-moz-placeholder {
  425. color: #fff !important;
  426. }
  427. &::-moz-placeholder {
  428. color: #fff !important;
  429. }
  430. &::-ms-input-placeholder {
  431. color: #fff !important;
  432. }
  433. }
  434. a {
  435. display: inline-block;
  436. font-size: 24px;
  437. font-weight: bolder;
  438. margin: 0 10px;
  439. text-decoration: none;
  440. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  441. }
  442. li {
  443. display: flex;
  444. justify-content: center;
  445. align-items: center;
  446. margin-top: 5px;
  447. input {
  448. &:first-child {
  449. width: 100px;
  450. margin-right: 10px;
  451. }
  452. }
  453. div {
  454. background-color: transparent !important;
  455. }
  456. }
  457. .config_switch {
  458. justify-content: start;
  459. }
  460. }
  461. .bg_switch_option {
  462. // background-color: transparent ;
  463. }
  464. .config_qtww {
  465. position: fixed;
  466. right: 10px;
  467. top: -28px;
  468. z-index: 999;
  469. width: 100px;
  470. cursor: pointer;
  471. img {
  472. width: 100%;
  473. }
  474. >small{
  475. animation:csshover 10s ease-in infinite;
  476. }
  477. &:hover {
  478. >small {
  479. opacity: 1;
  480. }
  481. }
  482. }
  483. .login_hide {
  484. top: -300px;
  485. opacity: 0;
  486. }
  487. .footer_hide {
  488. bottom: -100px;
  489. opacity: 0;
  490. }
  491. .config_msg {
  492. transition: all 0.8s;
  493. opacity: 0;
  494. float: left;
  495. width: 200px;
  496. margin: 50px;
  497. background-color: transparent;
  498. border: 1px solid #fff;
  499. /*为了给after伪元素自动继承*/
  500. color: #fff;
  501. font-size: 12px;
  502. line-height: 18px;
  503. padding: 5px 12px 5px 12px;
  504. box-sizing: border-box;
  505. border-radius: 6px;
  506. position: absolute;
  507. left: -30px;
  508. bottom: -40px;
  509. transform: translateX(-100%);
  510. &::before {
  511. content: '';
  512. position: absolute;
  513. top: 50%;
  514. right: -5px;
  515. width: 10px;
  516. height: 10px;
  517. margin-top: -10px;
  518. background: inherit;
  519. /*自动继承父元素的背景*/
  520. transform: rotate(45deg);
  521. // border-top: 1px solid;
  522. // border-right: 1px solid;
  523. }
  524. }
  525. .tabs {
  526. display: flex;
  527. justify-content: space-evenly;
  528. >span {
  529. cursor: pointer;
  530. }
  531. }
  532. @keyframes csshover {
  533. 0%{
  534. opacity: 0;
  535. }
  536. 10%{
  537. opacity: 0.5;
  538. }
  539. 50%{
  540. opacity: 1;
  541. }
  542. 90%{
  543. opacity: 0.5;
  544. }
  545. 100%{
  546. opacity: 0;
  547. }
  548. }