yvan-ext-mobile.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. /* 图标靠右对齐时,不显示 */
  2. .x-button.x-has-text.x-icon-align-right .x-icon-el {
  3. color: white;
  4. }
  5. /* 表格分页工具条样式 */
  6. .yvgrid-paging .paging-text .x-innerhtml {
  7. text-align: center;
  8. font-size: 16px;
  9. line-height: 32px;
  10. font-weight: bold;
  11. }
  12. /*== layer提示框==*/
  13. .yvan-msg {
  14. min-width: 100px;
  15. background-color: rgba(0, 0, 0, .6);
  16. color: #fff;
  17. border: none;
  18. -webkit-box-shadow: none;
  19. box-shadow: none;
  20. margin: 0;
  21. padding: 0;
  22. border-radius: 2px;
  23. position: fixed;
  24. pointer-events: auto;
  25. z-index: 99999999999;
  26. }
  27. .yvan-msg-content {
  28. pointer-events: auto;
  29. color: #fff;
  30. padding: 12px 25px;
  31. text-align: center;
  32. position: relative;
  33. line-height: 24px;
  34. word-break: break-all;
  35. overflow: hidden;
  36. font-size: 14px;
  37. overflow-x: hidden;
  38. overflow-y: auto;
  39. }
  40. /*== 动画 ==*/
  41. .yvan-anim {
  42. -webkit-animation-fill-mode: both;
  43. animation-fill-mode: both;
  44. -webkit-animation-duration: 0.3s;
  45. animation-duration: 0.3s;
  46. }
  47. @-webkit-keyframes yvan-bounceIn {
  48. 0% {
  49. opacity: 0;
  50. -webkit-transform: scale(0.5);
  51. transform: scale(0.5);
  52. }
  53. 100% {
  54. opacity: 1;
  55. -webkit-transform: scale(1);
  56. transform: scale(1);
  57. }
  58. }
  59. @keyframes yvan-bounceIn {
  60. 0% {
  61. opacity: 0;
  62. -webkit-transform: scale(0.5);
  63. transform: scale(0.5);
  64. }
  65. 100% {
  66. opacity: 1;
  67. -webkit-transform: scale(1);
  68. transform: scale(1);
  69. }
  70. }
  71. .yvan-anim-00 {
  72. -webkit-animation-name: yvan-bounceIn;
  73. animation-name: yvan-bounceIn;
  74. }
  75. @-webkit-keyframes yvan-zoomInDown {
  76. 0% {
  77. opacity: 0;
  78. -webkit-transform: scale(0.1) translatey(-2000px);
  79. transform: scale(0.1) translatey(-2000px);
  80. -webkit-animation-timing-function: ease-in-out;
  81. animation-timing-function: ease-in-out;
  82. }
  83. 60% {
  84. opacity: 1;
  85. -webkit-transform: scale(0.475) translatey(60px);
  86. transform: scale(0.475) translatey(60px);
  87. -webkit-animation-timing-function: ease-out;
  88. animation-timing-function: ease-out;
  89. }
  90. }
  91. @keyframes yvan-zoomInDown {
  92. 0% {
  93. opacity: 0;
  94. -webkit-transform: scale(0.1) translatey(-2000px);
  95. transform: scale(0.1) translatey(-2000px);
  96. -webkit-animation-timing-function: ease-in-out;
  97. animation-timing-function: ease-in-out;
  98. }
  99. 60% {
  100. opacity: 1;
  101. -webkit-transform: scale(0.475) translatey(60px);
  102. transform: scale(0.475) translatey(60px);
  103. -webkit-animation-timing-function: ease-out;
  104. animation-timing-function: ease-out;
  105. }
  106. }
  107. .yvan-anim-01 {
  108. -webkit-animation-name: yvan-zoomInDown;
  109. animation-name: yvan-zoomInDown;
  110. }
  111. @-webkit-keyframes yvan-fadeInUpBig {
  112. 0% {
  113. opacity: 0;
  114. -webkit-transform: translatey(2000px);
  115. transform: translatey(2000px);
  116. }
  117. 100% {
  118. opacity: 1;
  119. -webkit-transform: translatey(0);
  120. transform: translatey(0);
  121. }
  122. }
  123. @keyframes yvan-fadeInUpBig {
  124. 0% {
  125. opacity: 0;
  126. -webkit-transform: translatey(2000px);
  127. transform: translatey(2000px);
  128. }
  129. 100% {
  130. opacity: 1;
  131. -webkit-transform: translatey(0);
  132. transform: translatey(0);
  133. }
  134. }
  135. .yvan-anim-02 {
  136. -webkit-animation-name: yvan-fadeInUpBig;
  137. animation-name: yvan-fadeInUpBig;
  138. }
  139. @-webkit-keyframes yvan-zoomInLeft {
  140. 0% {
  141. opacity: 0;
  142. -webkit-transform: scale(0.1) translatex(-2000px);
  143. transform: scale(0.1) translatex(-2000px);
  144. -webkit-animation-timing-function: ease-in-out;
  145. animation-timing-function: ease-in-out;
  146. }
  147. 60% {
  148. opacity: 1;
  149. -webkit-transform: scale(0.475) translatex(48px);
  150. transform: scale(0.475) translatex(48px);
  151. -webkit-animation-timing-function: ease-out;
  152. animation-timing-function: ease-out;
  153. }
  154. }
  155. @keyframes yvan-zoomInLeft {
  156. 0% {
  157. opacity: 0;
  158. -webkit-transform: scale(0.1) translatex(-2000px);
  159. transform: scale(0.1) translatex(-2000px);
  160. -webkit-animation-timing-function: ease-in-out;
  161. animation-timing-function: ease-in-out;
  162. }
  163. 60% {
  164. opacity: 1;
  165. -webkit-transform: scale(0.475) translatex(48px);
  166. transform: scale(0.475) translatex(48px);
  167. -webkit-animation-timing-function: ease-out;
  168. animation-timing-function: ease-out;
  169. }
  170. }
  171. .yvan-anim-03 {
  172. -webkit-animation-name: yvan-zoomInLeft;
  173. animation-name: yvan-zoomInLeft;
  174. }
  175. @-webkit-keyframes yvan-rollIn {
  176. 0% {
  177. opacity: 0;
  178. -webkit-transform: translatex(-100%) rotate(-120deg);
  179. transform: translatex(-100%) rotate(-120deg);
  180. }
  181. 100% {
  182. opacity: 1;
  183. -webkit-transform: translatex(0) rotate(0);
  184. transform: translatex(0) rotate(0);
  185. }
  186. }
  187. @keyframes yvan-rollIn {
  188. 0% {
  189. opacity: 0;
  190. -webkit-transform: translatex(-100%) rotate(-120deg);
  191. transform: translatex(-100%) rotate(-120deg);
  192. }
  193. 100% {
  194. opacity: 1;
  195. -webkit-transform: translatex(0) rotate(0);
  196. transform: translatex(0) rotate(0);
  197. }
  198. }
  199. .yvan-anim-04 {
  200. -webkit-animation-name: yvan-rollIn;
  201. animation-name: yvan-rollIn;
  202. }
  203. @-webkit-keyframes yvan-fadeIn {
  204. 0% {
  205. opacity: 0;
  206. }
  207. 100% {
  208. opacity: 1;
  209. }
  210. }
  211. @keyframes yvan-fadeIn {
  212. 0% {
  213. opacity: 0;
  214. }
  215. 100% {
  216. opacity: 1;
  217. }
  218. }
  219. .yvan-anim-05 {
  220. -webkit-animation-name: yvan-fadeIn;
  221. animation-name: yvan-fadeIn;
  222. }
  223. @-webkit-keyframes yvan-shake {
  224. 0%,
  225. 100% {
  226. -webkit-transform: translatex(0);
  227. transform: translatex(0);
  228. }
  229. 10%,
  230. 30%,
  231. 50%,
  232. 70%,
  233. 90% {
  234. -webkit-transform: translatex(-10px);
  235. transform: translatex(-10px);
  236. }
  237. 20%,
  238. 40%,
  239. 60%,
  240. 80% {
  241. -webkit-transform: translatex(10px);
  242. transform: translatex(10px);
  243. }
  244. }
  245. @keyframes yvan-shake {
  246. 0%,
  247. 100% {
  248. -webkit-transform: translatex(0);
  249. transform: translatex(0);
  250. }
  251. 10%,
  252. 30%,
  253. 50%,
  254. 70%,
  255. 90% {
  256. -webkit-transform: translatex(-10px);
  257. transform: translatex(-10px);
  258. }
  259. 20%,
  260. 40%,
  261. 60%,
  262. 80% {
  263. -webkit-transform: translatex(10px);
  264. transform: translatex(10px);
  265. }
  266. }
  267. .yvan-anim-06 {
  268. -webkit-animation-name: yvan-shake;
  269. animation-name: yvan-shake;
  270. }
  271. @-webkit-keyframes fadeIn {
  272. 0% {
  273. opacity: 0;
  274. }
  275. 100% {
  276. opacity: 1;
  277. }
  278. }
  279. .x-titlebar.x-container.x-component.x-navigation-bar.x-noborder-trbl.x-paint-monitored.x-dock-item.x-docked-top .x-component.x-button.x-has-text.x-icon-align-left.x-arrow-align-right.x-layout-box-item.x-layout-hbox-item .x-text-el {
  280. color: #fff;
  281. color: var(--base-foreground-color);
  282. }
  283. .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button {
  284. margin-left: 8px;
  285. margin-right: 8px;
  286. }
  287. .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button:first-child {
  288. margin-left: 0 !important;
  289. }
  290. .x-messagebox.x-dialog .x-toolbar.x-toolbar-footer .x-button:last-child {
  291. margin-right: 0 !important;
  292. }
  293. /*样式调整*/
  294. /*修改头部样式*/
  295. .x-panelheader > .x-body-el {
  296. padding: 0;
  297. }
  298. .x-panelheader-body-el > .x-paneltitle {
  299. padding: 0;
  300. }
  301. .x-panelheader-body-el > .x-paneltitle .x-text-el {
  302. padding-left: 10px;
  303. }
  304. .x-panelheader-body-el > .x-paneltitle .x-icon-el:first-of-type {
  305. padding: 18px;
  306. z-index: 2;
  307. margin-right: -10px;
  308. }
  309. .x-panelheader .x-tool.x-end {
  310. padding: 0 12px 0 6px;
  311. }
  312. /**修改表单内的样式*/
  313. .x-field.x-label-text-align-left > .x-label-el {
  314. font-size: 18px;
  315. text-align: right;
  316. }
  317. .x-formpanel .x-field > .x-label-el {
  318. color: #666;
  319. font-size: 16px;
  320. }
  321. .x-field.x-no-label-wrap > .x-label-el {
  322. overflow: visible;
  323. }
  324. .x-field.x-no-label-wrap > .x-label-el {
  325. overflow: visible;
  326. }
  327. .x-field.x-required > .x-label-el:after {
  328. font-size: 14px;
  329. vertical-align: middle;
  330. }
  331. .x-title.x-form-fieldset-title .x-innerhtml {
  332. font-size: 18px;
  333. }
  334. .x-formpanel .textfieldBold.x-textfield > label {
  335. font-size: 18px;
  336. }
  337. .x-textfield .x-input-el {
  338. font-size: 17px;
  339. placeholder-color: #ccc;
  340. font-family: "Microsoft YaHei UI";
  341. }
  342. .x-button {
  343. color: #fff;
  344. font-size: 15px;
  345. background: #2196f3;
  346. border-color: #2196f3;
  347. line-height: 19px;
  348. border-radius: 4px;
  349. font-family: normal;
  350. }
  351. .x-button.x-arrow-align-right .x-inner-el {
  352. border-radius: 4px;
  353. padding: 0;
  354. }
  355. .x-button.x-has-text .x-inner-el {
  356. padding: 8px 12px;
  357. }
  358. .x-field > .x-label-el {
  359. width: auto;
  360. margin: 5px 10px 5px 5px;
  361. }
  362. .x-field.x-required > .x-label-el:after {
  363. color: red;
  364. margin-left: 5px;
  365. }
  366. .x-textfield.x-invalid .x-underline-el:after {
  367. height: 1px;
  368. background-color: #e2e2e2;
  369. }
  370. .x-displayfield .x-input-el {
  371. font-size: 16px;
  372. }
  373. /*修改底部按钮样式*/
  374. .x-layout-hbox .x-button {
  375. margin: 0 10px;
  376. }
  377. /*.x-layout-hbox .x-button :hover {*/
  378. /* background: #66biff;*/
  379. /* border-color: #66biff;*/
  380. /*}*/
  381. .x-layout-hbox .x-button:first-child {
  382. margin-left: 0;
  383. }
  384. .x-layout-box.x-pack-start {
  385. -webkit-box-pack: justify;
  386. -ms-flex-pack: justify;
  387. justify-content: space-between;
  388. }
  389. /*将表头超出文本显示省略号改为显示全部*/
  390. .x-field.x-no-label-wrap > .x-label-el {
  391. text-overflow: inherit;
  392. }
  393. /*修改剔除口异常处理的样式*/
  394. .x-checkboxfield .x-box-label-el {
  395. font-size: 14px;
  396. padding: 0;
  397. margin-left: 5px;
  398. vertical-align: center;
  399. }
  400. /*修改Aawesome图标样式*/
  401. :root .x-body-el.x-panel-body-el.x-container-body-el .x-pack-start .x-component.x-button.x-has-text.x-has-icon.x-icon-align-left.x-arrow-align-right.x-layout-box-item {
  402. --base-color: #fff;
  403. }
  404. :root .x-component .x-body-el.x-form-fieldset-body-el.x-container-body-el.x-component-body-el.x-layout-auto .x-button {
  405. --base-color: #fff;
  406. }
  407. /*修改表格内的样式*/
  408. .x-headercontainer {
  409. border-top: 1px solid #e2e2e2;
  410. }
  411. .double-header-height .x-gridcolumn .x-text-el {
  412. overflow: visible;
  413. }
  414. .x-gridcolumn.x-leaf:last-child .x-header-el,
  415. .x-column-lines .x-gridcell:last-child {
  416. border-right: none;
  417. }
  418. .x-gridcolumn.x-sorted .x-sort-icon-el {
  419. height: auto;
  420. }
  421. .x-gridcolumn > .x-header-el,
  422. .x-body-el .x-gridcell-body-el {
  423. text-align: center;
  424. font-size: 16px;
  425. }
  426. .x-gridcolumn > .x-header-el {
  427. position: relative;
  428. -webkit-box-pack: center;
  429. -ms-flex-pack: center;
  430. justify-content: center;
  431. }
  432. .x-gridcolumn > .x-header-el,
  433. .x-body-el .x-gridcell-body-el {
  434. font-size: 16px;
  435. }
  436. .x-headercontainer {
  437. -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2);
  438. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .2);
  439. }
  440. .x-gridcolumn .x-title-el .x-font-icon {
  441. position: absolute;
  442. top: 50%;
  443. right: 2px;
  444. -webkit-transform: translateY(-50%);
  445. transform: translateY(-50%);
  446. }
  447. .x-gridcell-body-el, .x-roweditorcell {
  448. white-space: pre-wrap;
  449. word-break: break-all;
  450. }
  451. .x-field > .x-body-wrap-el {
  452. -webkit-box-align: center;
  453. -ms-flex-align: center;
  454. align-items: center;
  455. -webkit-box-flex: 1;
  456. -ms-flex: 1;
  457. flex: 1;
  458. }
  459. :root .x-listitem.x-selected {
  460. --selected-background-color: rgba(224, 224, 224, 0.36863);
  461. }
  462. .x-listitem {
  463. border: none;
  464. border-top: 1px solid #e2e2e2;
  465. border-bottom: 1px solid #e2e2e2;
  466. }
  467. .x-listitem.x-pressed {
  468. background-color: rgba(224, 224, 224, 0.36863);
  469. }
  470. .x-panel-outer-border-trbl {
  471. border-right: none;
  472. border-top: none;
  473. }
  474. .x-listitem-inner-el {
  475. display: block;
  476. }
  477. .x-list-inner-ct {
  478. top: -1px;
  479. }
  480. /*弹出框样调整*/
  481. .x-mask {
  482. opacity: 0.5;
  483. }
  484. .x-panel .x-dataview-item {
  485. font-size: 15px;
  486. }
  487. .x-dialog.x-panel {
  488. border-radius: 8px;
  489. }
  490. .x-dialog.x-panel .x-innerhtml {
  491. font-size: 16px;
  492. }
  493. .x-actionsheet.x-sheet.x-panel.x-container {
  494. border-radius: 8px 8px 0 0;
  495. --base-color: #fff;
  496. }
  497. :root .x-dock,
  498. :root .x-mask {
  499. --base-pressed-color: rgba(255, 152, 0, 0);
  500. }
  501. .x-dock .x-titlebar {
  502. background-color: #fff !important;
  503. border-bottom: 1px solid #eee;
  504. }
  505. .x-dock .x-titlebar .x-center {
  506. border-bottom: 1px solid #eee;
  507. }
  508. .x-dock .x-titlebar .x-body-el.x-picker-body-el {
  509. background-color: #fff;
  510. }
  511. .x-dock .x-titlebar .x-button {
  512. background-color: #fff;
  513. }
  514. .x-dock .x-titlebar .x-button .x-text-el {
  515. color: #1677ff !important;
  516. font-family: '黑体';
  517. font-weight: normal;
  518. }
  519. .x-sheet.x-panel {
  520. border-radius: 8px 8px 0 0;
  521. }
  522. .x-picker .x-dataview {
  523. background: #fff;
  524. }
  525. .x-picker .x-dataview .x-dataview-item {
  526. opacity: 0.3;
  527. }
  528. .x-picker .x-dataview .x-dataview-item.x-focused {
  529. font-size: 16px;
  530. opacity: 1;
  531. border-top: 1px solid #eee;
  532. border-bottom: 1px solid #eee;
  533. background-color: #fff;
  534. }
  535. .x-panel .x-dataview-item .x-list-label {
  536. color: #333;
  537. font-family: '黑体';
  538. font-weight: normal;
  539. }
  540. .x-mask .x-mask-message {
  541. color: rgba(255, 255, 255, .5);
  542. }
  543. /*首页样式调整*/
  544. .x-dataview.whiteBgc {
  545. --background-color: #fff;
  546. padding: 10px;
  547. }
  548. .x-dataview .x-dataview-item {
  549. border: 1px solid #e2e2e2;
  550. border-top: none;
  551. border-left: none;
  552. }
  553. .x-dataview .x-dataview-item:nth-child(-n+5) {
  554. border-top: 1px solid #e2e2e2;
  555. }
  556. .x-dataview .x-dataview-item:nth-child(4n-2) {
  557. border-left: 1px solid #e2e2e2;
  558. }
  559. .menus-item {
  560. width: 25%;
  561. padding: 12px 0px;
  562. margin: 0;
  563. }
  564. /*iconfont 图标*/
  565. .x-dataview-item svg {
  566. width: 45px;
  567. height: 45px;
  568. /*background-color: transparent;*/
  569. }