component.less 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992
  1. @color:#0076F6;
  2. @hoverclr:#1983F6;
  3. @activeclr:#0069DC;
  4. @cancelcolor:#EBEDF0;
  5. @cancelhoverclr:#EBEDF0;
  6. @cancelactiveclr:#D3D4D7;
  7. @deepcancelcolor:#313131;
  8. @deepcancelhoverclr:#3d3d3d;
  9. @deepcancelactiveclr:#3d3d3d;
  10. @fontcolor:#323233;
  11. ::-webkit-scrollbar {
  12. width: 6px;
  13. height: 1px;
  14. }
  15. ::-webkit-scrollbar-thumb {
  16. border-radius: 3px;
  17. background: #DEDEDE;
  18. &:hover {
  19. background: #999;
  20. }
  21. }
  22. ::-webkit-scrollbar-track {
  23. border-radius: 3px;
  24. background: transparent;
  25. }
  26. input::-webkit-input-placeholder,
  27. textarea::-webkit-input-placeholder {
  28. color: rgba(255, 255, 255, 0.2) !important;
  29. font-weight: normal !important;
  30. }
  31. input:-moz-placeholder,
  32. textarea:-moz-placeholder {
  33. color: rgba(255, 255, 255, 0.2) !important;
  34. font-weight: normal !important;
  35. }
  36. input::-moz-placeholder,
  37. textarea::-moz-placeholder {
  38. color: rgba(255, 255, 255, 0.2) !important;
  39. font-weight: normal !important;
  40. }
  41. input:-ms-input-placeholder,
  42. textarea:-ms-input-placeholder {
  43. color: rgba(255, 255, 255, 0.2) !important;
  44. font-weight: normal !important;
  45. }
  46. .disable {
  47. opacity: 0.5;
  48. pointer-events: none !important;
  49. * {
  50. pointer-events: none !important;
  51. }
  52. }
  53. .hover-tips:hover {
  54. color: #0076F6 !important;
  55. }
  56. .hover-tips-warn:hover {
  57. color: #FA5555 !important;
  58. }
  59. .hover-tips, .hover-tips-warn {
  60. position: relative;
  61. font-size: 18px;
  62. &:hover {
  63. > div {
  64. display: block;
  65. }
  66. }
  67. // tip的方框
  68. > div {
  69. background: #FFFFFF;
  70. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
  71. border: 1px solid #EBEDF0;
  72. cursor: default;
  73. display: none;
  74. z-index: 10000;
  75. position: absolute;
  76. left: 50%;
  77. transform: translateX(-50%);
  78. top: -46px;
  79. color: #fff;
  80. pointer-events: none;
  81. text-align: center;
  82. word-break: keep-all;
  83. padding: 0 8px;
  84. font-size: 12px;
  85. border-radius: 3px;
  86. // tip的箭头
  87. &::before {
  88. border: 7px solid transparent;
  89. border-top: 7px solid #fff;
  90. width: 0;
  91. height: 0px;
  92. content: "";
  93. display: inline-block;
  94. position: absolute;
  95. bottom: -14px;
  96. left: 50%;
  97. transform: translateX(-50%);
  98. }
  99. // tip的文字
  100. .remark {
  101. line-height: 2.5;
  102. color: #323233;
  103. }
  104. }
  105. }
  106. .shenglve{
  107. display: inline-block;
  108. text-overflow: ellipsis;
  109. overflow: hidden;
  110. white-space: nowrap;
  111. max-width: 100%;
  112. }
  113. .nodata{
  114. width: 100%;
  115. min-height: 40%;
  116. text-align: center;
  117. margin: 80px auto;
  118. font-size: 14px;
  119. >img{
  120. max-width: 100px;
  121. }
  122. >div,>span{
  123. display: block;
  124. font-weight: 400;
  125. margin-top: 10px;
  126. color: #646566;
  127. }
  128. }
  129. .fdcheck{
  130. position: relative;
  131. cursor: pointer;
  132. &::before{
  133. content: '';
  134. border: #CCCCCC 1px solid;
  135. width: 14px;
  136. height: 14px;
  137. position: absolute;
  138. left: -20px;
  139. top: 50%;
  140. transform: translateY(-50%);
  141. display: inline-block;
  142. }
  143. }
  144. .check_active{
  145. &::before{
  146. content: '';
  147. background: #1fe4dc;
  148. border: #1fe4dc 1px solid;
  149. }
  150. &::after{
  151. left: -17px;
  152. top: 50%;
  153. position: absolute;
  154. display: table;
  155. border: 2px solid #000;
  156. border-top: 0;
  157. border-left: 0;
  158. transform: rotate(45deg) translate(-50%, -50%);
  159. opacity: 1;
  160. transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  161. width: 6px;
  162. height: 10px;
  163. content: " ";
  164. }
  165. }
  166. .menu {
  167. > ul {
  168. display: flex;
  169. > li {
  170. white-space: nowrap;
  171. margin: 0 0 10px 10px;
  172. border-radius: 2px;
  173. padding: 0 32px 0 10px;
  174. height: 30px;
  175. line-height: 30px;
  176. color: rgba(255, 255, 255, 0.5);
  177. background: rgba(255, 255, 255, 0.08);
  178. position: relative;
  179. cursor: pointer;
  180. max-width: 126px;
  181. text-overflow: ellipsis;
  182. overflow: hidden;
  183. white-space: nowrap;
  184. &.hidden {
  185. padding: 0 10px;
  186. .oper {
  187. display: none !important;
  188. }
  189. }
  190. &:hover {
  191. .oper {
  192. display: flex;
  193. }
  194. }
  195. &:first-of-type{
  196. margin-left: 0;
  197. }
  198. .oper {
  199. position: absolute;
  200. right: 6px;
  201. height: 100%;
  202. top: 0px;
  203. z-index: 999;
  204. cursor: pointer;
  205. display: none;
  206. align-items: center;
  207. &:hover {
  208. > ul {
  209. display: block;
  210. }
  211. }
  212. > ul {
  213. display: none;
  214. box-shadow: 0 0 6px rgb(255 255 255 / 40%);
  215. background: #161a1a;
  216. top: 26px;
  217. left: 0;
  218. position: fixed;
  219. border: 1px solid #555a5a;
  220. float: right;
  221. > li {
  222. line-height: 35px;
  223. height: 35px;
  224. text-align: center;
  225. min-width: 98px;
  226. &:hover {
  227. color: @color;
  228. background: #252828;
  229. }
  230. }
  231. }
  232. }
  233. &.li-add{
  234. background-color: @color;
  235. width: 30px;
  236. min-width: unset;
  237. max-width: 30px;
  238. height: 30px;
  239. color: #fff;
  240. padding: 0;
  241. >i{
  242. position: absolute;
  243. top: 50%;
  244. left: 50%;
  245. transform: translate(-50%,-50%);
  246. font-size: 26px;
  247. }
  248. }
  249. }
  250. .active {
  251. color: rgba(255, 255, 255, 0.88);
  252. background: rgba(255, 255, 255, 0.16);
  253. }
  254. }
  255. }
  256. .w-menu{
  257. > ul {
  258. > li {
  259. color: #909090;
  260. background: #F7F7F7;
  261. }
  262. .active {
  263. color: #202020;
  264. background: #EBEBEB;
  265. }
  266. }
  267. }
  268. .preview {
  269. position: relative;
  270. background-color: #161a1a;
  271. width: 240px;
  272. height: 240px;
  273. margin-right: 30px;
  274. color: #a0a0a0;
  275. display: flex;
  276. align-items: center;
  277. justify-content: center;
  278. background-repeat: no-repeat;
  279. background-size: 100% 100%;
  280. .tips {
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. flex-direction: column;
  285. overflow: hidden;
  286. > div {
  287. font-size: 12px;
  288. }
  289. }
  290. }
  291. @gap: 10px;
  292. .pano-con {
  293. background: #161a1a;
  294. height: 700px;
  295. position: relative;
  296. padding: 30px @gap;
  297. > ul {
  298. display: flex;
  299. flex-wrap: wrap;
  300. > li {
  301. position: relative;
  302. margin: @gap @gap @gap*3;
  303. width: 170px;
  304. height: 170px;
  305. border: 2px solid rgba(0, 0, 0, 0);
  306. .ui-title {
  307. width: 100%;
  308. > span {
  309. width: 100%;
  310. display: inline-block;
  311. text-overflow: ellipsis;
  312. overflow: hidden;
  313. white-space: nowrap;
  314. font-size: 14px;
  315. cursor: pointer;
  316. color: rgba(255, 255, 255, 0.88);
  317. }
  318. }
  319. .typeli,
  320. .oper {
  321. position: absolute;
  322. width: 32px;
  323. height: 32px;
  324. z-index: 11;
  325. top: 10px;
  326. left: 10px;
  327. background: rgba(0, 0, 0, 0.5);
  328. > i {
  329. position: absolute;
  330. top: 50%;
  331. left: 50%;
  332. transform: translate(-50%, -50%);
  333. }
  334. }
  335. .oper {
  336. top: auto;
  337. left: auto;
  338. bottom: 10px;
  339. right: 10px;
  340. width: 62px;
  341. height: 32px;
  342. cursor: pointer;
  343. background: none;
  344. > ul {
  345. display: none;
  346. box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  347. background: #161a1a;
  348. position: absolute;
  349. bottom: 32px;
  350. right: 0;
  351. > li {
  352. line-height: 35px;
  353. height: 35px;
  354. text-align: center;
  355. min-width: 98px;
  356. &:hover {
  357. color: @color;
  358. background: #252828;
  359. }
  360. }
  361. }
  362. > i {
  363. position: absolute;
  364. top: 50%;
  365. right: 8px;
  366. left: auto;
  367. transform: translateY(-50%);
  368. }
  369. &::before {
  370. content: "";
  371. display: inline-block;
  372. width: 32px;
  373. position: absolute;
  374. right: 0;
  375. bottom: 0;
  376. height: 100%;
  377. background: rgba(0, 0, 0, 0.5);
  378. border-radius: 50%;
  379. }
  380. &:hover {
  381. > ul {
  382. display: block;
  383. }
  384. }
  385. }
  386. .img {
  387. width: 100%;
  388. overflow: hidden;
  389. height: 100%;
  390. position: relative;
  391. > img {
  392. width: auto;
  393. position: absolute;
  394. top: 50%;
  395. left: 50%;
  396. transform: translate(-50%, -50%);
  397. height: 100%;
  398. }
  399. }
  400. }
  401. .li-active {
  402. border-color: @color;
  403. &::before {
  404. content: "";
  405. display: inline-block;
  406. background: rgba(0, 0, 0, 0.3);
  407. z-index: 99;
  408. position: absolute;
  409. width: 100%;
  410. height: 100%;
  411. left: 0;
  412. top: 0;
  413. }
  414. }
  415. .li-uploading {
  416. &::before {
  417. content: "";
  418. display: inline-block;
  419. background: rgba(0, 0, 0, 0.3);
  420. z-index: 99;
  421. position: absolute;
  422. width: 100%;
  423. height: 100%;
  424. left: 0;
  425. top: 0;
  426. z-index: 9;
  427. }
  428. &::after {
  429. content: "\56fe\7247\5904\7406\4e2d...";
  430. display: inline-block;
  431. position: absolute;
  432. left: 50%;
  433. width: 100%;
  434. text-align: center;
  435. top: 50%;
  436. transform: translate(-50%, -50%);
  437. z-index: 10;
  438. }
  439. }
  440. .li-fail {
  441. &::before {
  442. content: "";
  443. display: inline-block;
  444. background: rgba(0, 0, 0, 0.5);
  445. position: absolute;
  446. width: 100%;
  447. height: 100%;
  448. left: 0;
  449. z-index: 9;
  450. top: 0;
  451. }
  452. &::after {
  453. content: "\751f\6210\5931\8d25";
  454. display: inline-block;
  455. position: absolute;
  456. left: 50%;
  457. width: 100%;
  458. text-align: center;
  459. z-index: 10;
  460. top: 50%;
  461. transform: translate(-50%, -50%);
  462. }
  463. }
  464. }
  465. .add-btn {
  466. position: absolute;
  467. bottom: 30px;
  468. right: 30px;
  469. .ui-button {
  470. padding: 0 15px;
  471. > i {
  472. margin-right: 4px;
  473. }
  474. }
  475. }
  476. }
  477. .pano-label {
  478. width: 100%;
  479. > ul {
  480. display: flex;
  481. > li {
  482. cursor: pointer;
  483. width: 100px;
  484. height: 32px;
  485. line-height: 32px;
  486. padding: 0 5px;
  487. text-align: center;
  488. border-top: solid 1px #5d5d5d;
  489. border-right: solid 1px #5d5d5d;
  490. border-bottom: solid 1px #5d5d5d;
  491. overflow: hidden;
  492. text-overflow: ellipsis;
  493. &:first-child {
  494. border-left: solid 1px #5d5d5d;
  495. }
  496. &.active {
  497. background-color: @color;
  498. }
  499. }
  500. }
  501. }
  502. .ui-title-big {
  503. display: block;
  504. white-space: normal;
  505. font-size: 16px;
  506. font-weight: bold;
  507. line-height: 1.5;
  508. margin-bottom: 10px;
  509. color: #fff;
  510. }
  511. .ui-title {
  512. display: flex;
  513. justify-content: space-between;
  514. white-space: normal;
  515. font-size: 14px;
  516. line-height: 1.5;
  517. color: rgba(255, 255, 255, 0.6);
  518. margin-bottom: 10px;
  519. }
  520. .ui-remark {
  521. display: block;
  522. white-space: normal;
  523. font-size: 12px;
  524. line-height: 1.5;
  525. color: rgba(255, 255, 255, 0.3);
  526. }
  527. .require {
  528. position: relative;
  529. &::before {
  530. content: "*";
  531. display: inline-block;
  532. color: #f56c6c;
  533. width: 10px;
  534. height: 10px;
  535. position: absolute;
  536. right: -15px;
  537. top: 0;
  538. }
  539. }
  540. .ui-hidden {
  541. display: none !important;
  542. }
  543. .ui-between {
  544. display: flex;
  545. align-items: center;
  546. justify-content: space-between;
  547. }
  548. .ui-button {
  549. height: 36px;
  550. line-height: 1;
  551. border-radius: 4px;
  552. border: 1px solid @color;
  553. padding: 0 16px;
  554. background-color: transparent;
  555. text-align: center;
  556. letter-spacing: 1px;
  557. min-width: 88px;
  558. font-size: 14px;
  559. outline: none;
  560. white-space: nowrap;
  561. cursor: pointer;
  562. color: @activeclr;
  563. &.submit {
  564. color: #fff!important;
  565. background-color: @color;
  566. &:hover{
  567. background-color: @hoverclr!important;
  568. border-color: @hoverclr!important;
  569. color: #fff!important;
  570. }
  571. &:active{
  572. background-color: @activeclr!important;
  573. border-color: @activeclr!important;
  574. color: #fff!important;
  575. }
  576. }
  577. &.cancel {
  578. background-color: @cancelcolor!important;
  579. border-color: @cancelcolor!important;
  580. color: @fontcolor!important;
  581. &:hover{
  582. background-color: @cancelhoverclr!important;
  583. border-color: @cancelhoverclr!important;
  584. color: @fontcolor!important;
  585. }
  586. &:active{
  587. background-color: @cancelactiveclr!important;
  588. border-color: @cancelactiveclr!important;
  589. color: @fontcolor!important;
  590. }
  591. }
  592. &.deepcancel {
  593. background-color: @deepcancelcolor!important;
  594. border-color: @deepcancelcolor!important;
  595. color: #fff!important;
  596. &:hover{
  597. background-color: @deepcancelhoverclr!important;
  598. border-color: @deepcancelhoverclr!important;
  599. color: #fff!important;
  600. }
  601. &:active{
  602. background-color: @deepcancelactiveclr!important;
  603. border-color: @deepcancelactiveclr!important;
  604. color: #fff!important;
  605. }
  606. }
  607. &.block {
  608. width: 100%;
  609. }
  610. &.link {
  611. display: inline-block;
  612. text-decoration: none;
  613. line-height: 36px;
  614. }
  615. &.danger {
  616. background-color: #c80303;
  617. border-color: #c80303;
  618. color: #fff;
  619. }
  620. &:hover{
  621. background-color: transparent!important;
  622. color: @hoverclr!important;
  623. border-color: @hoverclr!important;
  624. }
  625. &:active{
  626. background-color: transparent!important;
  627. color: @activeclr!important;
  628. border-color: @activeclr!important;
  629. }
  630. }
  631. .ui-input {
  632. outline: none;
  633. border: 1px solid rgba(151, 151, 151, 0.2);
  634. background: #252526;
  635. padding: 0 16px;
  636. color: #fff;
  637. letter-spacing: 1px;
  638. border-radius: 2px;
  639. height: 36px;
  640. width: 100%;
  641. font-size: 14px;
  642. }
  643. .ui-textarea {
  644. height: 180px;
  645. padding-top: 10px;
  646. resize: none;
  647. }
  648. .ui-warning {
  649. position: relative;
  650. .ui-input {
  651. animation: warn-flash 0.6s linear;
  652. animation-direction: alternate;
  653. animation-iteration-count: infinite;
  654. border-color: #a7a7a7 !important;
  655. }
  656. .ui-warning-label {
  657. transform: scale(1, 1);
  658. opacity: 1;
  659. }
  660. }
  661. .ui-warning-label {
  662. position: fixed;
  663. pointer-events: none;
  664. transform: scale(0, 1);
  665. right: 241px;
  666. width: 300px;
  667. height: 32px;
  668. line-height: 32px;
  669. text-align: center;
  670. background: #fff;
  671. z-index: 10000;
  672. margin-top: 0px;
  673. color: @color !important;
  674. font-size: 14px;
  675. box-shadow: -1px 2px 8px 0px rgba(0, 0, 0, 0.25);
  676. transition: opacity 0.3s, transform 0.2s;
  677. transform-origin: right;
  678. &::after {
  679. content: "";
  680. display: block;
  681. width: 0;
  682. height: 0;
  683. border-style: solid;
  684. border-width: 7px 0 6px 10px;
  685. border-color: transparent transparent transparent #ffffff;
  686. position: absolute;
  687. right: -10px;
  688. top: 9px;
  689. }
  690. }
  691. .ui-message {
  692. position: absolute;
  693. left: 50%;
  694. top: 50%;
  695. z-index: 999;
  696. max-width: 90%;
  697. background: #fff;
  698. width: 500px;
  699. color: #323233;
  700. text-align: center;
  701. transform: translate(-50%, -50%);
  702. overflow: hidden;
  703. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
  704. border-radius: 4px;
  705. border: 1px solid #E4E7ED;
  706. padding: 26px;
  707. &.dark {
  708. background: #1A1B1D;
  709. color: rgba(255, 255, 255, 0.6);
  710. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
  711. border: 1px solid #404040;
  712. .ui-message-header {
  713. span {
  714. font-size: 18px;
  715. color: #fff;
  716. &:last-child {
  717. color: rgba(255, 255, 255, 0.5);
  718. }
  719. }
  720. }
  721. .ui-message-main{
  722. text-align: left;
  723. min-height: 80px;
  724. margin-top: 40px;
  725. }
  726. }
  727. }
  728. .message-material{
  729. border-radius: 4px;
  730. @color:#0076F6;
  731. background: #fff;
  732. padding: 26px;
  733. .header-material{
  734. border-bottom: none;
  735. line-height: 1;
  736. height: auto;
  737. >span {
  738. font-size: 18px;
  739. margin-left: 0;
  740. &:last-child {
  741. width: auto;
  742. cursor: pointer;
  743. >i{
  744. font-size: 20px;
  745. color: #909090;
  746. }
  747. }
  748. }
  749. }
  750. .main-material{
  751. .ui-message-icon,.ui-message-title{
  752. display: none;
  753. }
  754. .ui-message-content{
  755. line-height: 20px;
  756. font-size: 14px;
  757. color: #323233;
  758. text-align: left;
  759. margin: 40px 0;
  760. }
  761. }
  762. .footer-material{
  763. margin: 0;
  764. margin-top: 60px;
  765. padding: 0;
  766. border-top: none;
  767. text-align: right;
  768. }
  769. }
  770. .ui-message-header {
  771. width: 100%;
  772. font-size: 18px;
  773. display: flex;
  774. justify-content: space-between;
  775. span {
  776. &:last-child {
  777. cursor: pointer;
  778. }
  779. }
  780. }
  781. .ui-message-footer {
  782. text-align: right;
  783. .ui-button {
  784. margin-left: 16px;
  785. }
  786. }
  787. .ui-message-main {
  788. .ui-message-icon {
  789. height: 108px;
  790. margin: 18px 0;
  791. background-image: url(~@/assets/images/icons/icon-ask.png);
  792. background-size: contain;
  793. background-repeat: no-repeat;
  794. background-position: center center;
  795. &.ok {
  796. background-image: url(~@/assets/images/icons/icon-ok.png);
  797. }
  798. }
  799. .ui-message-title {
  800. font-size: 18px;
  801. font-weight: bold;
  802. }
  803. .ui-message-content {
  804. font-size: 14px;
  805. margin: 20px;
  806. margin-bottom: 30px;
  807. word-break: break-all;
  808. }
  809. }
  810. .animated.speed {
  811. -webkit-animation-duration: 0.2s;
  812. animation-duration: 0.2s;
  813. }
  814. @keyframes word-scroll {
  815. 0% {
  816. transform: translateX(0);
  817. }
  818. 100% {
  819. transform: translateX(calc(-100% + 60px));
  820. }
  821. }
  822. @keyframes warn-flash {
  823. 0% {
  824. background-color: rgba(2, 200, 174, 0);
  825. }
  826. 100% {
  827. background-color: rgba(2, 200, 174, 1);
  828. }
  829. }
  830. @keyframes bouncedelay {
  831. 0%,
  832. 80%,
  833. 100% {
  834. transform: scale(0);
  835. }
  836. 40% {
  837. transform: scale(1);
  838. }
  839. }
  840. @keyframes spinner {
  841. 0% {
  842. transform: rotate(0);
  843. }
  844. 100% {
  845. transform: rotate(360deg);
  846. }
  847. }
  848. .message-mobile {
  849. width: 80%;
  850. .ui-button.cancel {
  851. color: #fff;
  852. border: 1px solid #ccc;
  853. background-color: transparent;
  854. }
  855. .ui-message-header {
  856. display: none;
  857. }
  858. .ui-message-title {
  859. font-weight: 600;
  860. margin-bottom: 0;
  861. color: #595959;
  862. }
  863. .ui-message-content {
  864. font-size: 14px;
  865. font-weight: 400;
  866. color: #595959;
  867. margin: 5px;
  868. margin-top: 2px;
  869. }
  870. .ui-message-footer {
  871. margin-bottom: 0;
  872. white-space: nowrap;
  873. a.link,
  874. button {
  875. //float: right;
  876. width: 50%;
  877. letter-spacing: 1px;
  878. margin: 0;
  879. border-radius: 0;
  880. border: none;
  881. &:last-child {
  882. background-color: fade(@color, 40%);
  883. }
  884. &:first-child:last-child {
  885. width: 100%;
  886. background-color: @color;
  887. }
  888. }
  889. a.link {
  890. line-height: 1.4rem;
  891. }
  892. }
  893. }
  894. // 覆盖element-ui的默认样式
  895. .el-message--success, .el-message--info, .el-message--warning, .el-message--error {
  896. background: #FFFFFF;
  897. box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  898. border-radius: 2px;
  899. }
  900. .el-message__content {
  901. font-size: 14px;
  902. color: rgba(0, 0, 0, 0.65) !important;
  903. line-height: 22px;
  904. }