yvan-ext.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. /** 单元格换行 **/
  2. .cell_wrap>.x-grid-cell-inner {
  3. white-space:normal;
  4. word-break:break-all;
  5. }
  6. /** 进度条颜色 **/
  7. .x-progress.progres_hide {
  8. opacity: 0;
  9. }
  10. .x-progress.progres_green .x-progress-bar {
  11. background-color: #5cb85c;
  12. }
  13. .x-progress.progres_red .x-progress-bar {
  14. background-color: #d9534f;
  15. }
  16. .x-progress.progres_yellow .x-progress-bar {
  17. background-color: #f0ad4e;
  18. }
  19. .x-progress.progres_yellow .x-progress-bar > .x-progress-text {
  20. color: black;
  21. }
  22. /** 日期弹出框底部,清空按钮不要出现 **/
  23. .x-datepicker-footer .x-form-clear-trigger {
  24. display: none;
  25. }
  26. /** 日期弹出框右侧下拉框,是日期图标 **/
  27. .x-form-field-date .x-form-arrow-trigger:before {
  28. content: "\f073" !important;
  29. }
  30. /** 日期弹出框底部,不要出现数字+1-1的滑动条 **/
  31. .x-datepicker-footer .x-form-trigger-spinner {
  32. display: none;
  33. }
  34. /** displayField 放大值 **/
  35. .yvan-display-field .x-form-item-label-inner {
  36. margin-top: 7px;
  37. }
  38. .yvan-display-field .x-form-display-field {
  39. font-size: 24px;
  40. margin-top: 12px;
  41. }
  42. /*== layer提示框==*/
  43. .yvan-msg {
  44. min-width: 100px;
  45. background-color: rgba(0, 0, 0, .6);
  46. color: #fff;
  47. border: none;
  48. -webkit-box-shadow: none;
  49. box-shadow: none;
  50. margin: 0;
  51. padding: 0;
  52. border-radius: 2px;
  53. position: fixed;
  54. pointer-events: auto;
  55. z-index: 99999999999;
  56. }
  57. .yvan-msg-content {
  58. pointer-events: auto;
  59. color: #fff;
  60. padding: 12px 25px;
  61. text-align: center;
  62. position: relative;
  63. line-height: 24px;
  64. word-break: break-all;
  65. overflow: hidden;
  66. font-size: 14px;
  67. overflow-x: hidden;
  68. overflow-y: auto;
  69. }
  70. /*== 动画 ==*/
  71. .yvan-anim {
  72. -webkit-animation-fill-mode: both;
  73. animation-fill-mode: both;
  74. -webkit-animation-duration: 0.3s;
  75. animation-duration: 0.3s;
  76. }
  77. @-webkit-keyframes yvan-bounceIn {
  78. 0% {
  79. opacity: 0;
  80. -webkit-transform: scale(0.5);
  81. transform: scale(0.5);
  82. }
  83. 100% {
  84. opacity: 1;
  85. -webkit-transform: scale(1);
  86. transform: scale(1);
  87. }
  88. }
  89. @keyframes yvan-bounceIn {
  90. 0% {
  91. opacity: 0;
  92. -webkit-transform: scale(0.5);
  93. transform: scale(0.5);
  94. }
  95. 100% {
  96. opacity: 1;
  97. -webkit-transform: scale(1);
  98. transform: scale(1);
  99. }
  100. }
  101. .yvan-anim-00 {
  102. -webkit-animation-name: yvan-bounceIn;
  103. animation-name: yvan-bounceIn;
  104. }
  105. @-webkit-keyframes yvan-zoomInDown {
  106. 0% {
  107. opacity: 0;
  108. -webkit-transform: scale(0.1) translatey(-2000px);
  109. transform: scale(0.1) translatey(-2000px);
  110. -webkit-animation-timing-function: ease-in-out;
  111. animation-timing-function: ease-in-out;
  112. }
  113. 60% {
  114. opacity: 1;
  115. -webkit-transform: scale(0.475) translatey(60px);
  116. transform: scale(0.475) translatey(60px);
  117. -webkit-animation-timing-function: ease-out;
  118. animation-timing-function: ease-out;
  119. }
  120. }
  121. @keyframes yvan-zoomInDown {
  122. 0% {
  123. opacity: 0;
  124. -webkit-transform: scale(0.1) translatey(-2000px);
  125. transform: scale(0.1) translatey(-2000px);
  126. -webkit-animation-timing-function: ease-in-out;
  127. animation-timing-function: ease-in-out;
  128. }
  129. 60% {
  130. opacity: 1;
  131. -webkit-transform: scale(0.475) translatey(60px);
  132. transform: scale(0.475) translatey(60px);
  133. -webkit-animation-timing-function: ease-out;
  134. animation-timing-function: ease-out;
  135. }
  136. }
  137. .yvan-anim-01 {
  138. -webkit-animation-name: yvan-zoomInDown;
  139. animation-name: yvan-zoomInDown;
  140. }
  141. @-webkit-keyframes yvan-fadeInUpBig {
  142. 0% {
  143. opacity: 0;
  144. -webkit-transform: translatey(2000px);
  145. transform: translatey(2000px);
  146. }
  147. 100% {
  148. opacity: 1;
  149. -webkit-transform: translatey(0);
  150. transform: translatey(0);
  151. }
  152. }
  153. @keyframes yvan-fadeInUpBig {
  154. 0% {
  155. opacity: 0;
  156. -webkit-transform: translatey(2000px);
  157. transform: translatey(2000px);
  158. }
  159. 100% {
  160. opacity: 1;
  161. -webkit-transform: translatey(0);
  162. transform: translatey(0);
  163. }
  164. }
  165. .yvan-anim-02 {
  166. -webkit-animation-name: yvan-fadeInUpBig;
  167. animation-name: yvan-fadeInUpBig;
  168. }
  169. @-webkit-keyframes yvan-zoomInLeft {
  170. 0% {
  171. opacity: 0;
  172. -webkit-transform: scale(0.1) translatex(-2000px);
  173. transform: scale(0.1) translatex(-2000px);
  174. -webkit-animation-timing-function: ease-in-out;
  175. animation-timing-function: ease-in-out;
  176. }
  177. 60% {
  178. opacity: 1;
  179. -webkit-transform: scale(0.475) translatex(48px);
  180. transform: scale(0.475) translatex(48px);
  181. -webkit-animation-timing-function: ease-out;
  182. animation-timing-function: ease-out;
  183. }
  184. }
  185. @keyframes yvan-zoomInLeft {
  186. 0% {
  187. opacity: 0;
  188. -webkit-transform: scale(0.1) translatex(-2000px);
  189. transform: scale(0.1) translatex(-2000px);
  190. -webkit-animation-timing-function: ease-in-out;
  191. animation-timing-function: ease-in-out;
  192. }
  193. 60% {
  194. opacity: 1;
  195. -webkit-transform: scale(0.475) translatex(48px);
  196. transform: scale(0.475) translatex(48px);
  197. -webkit-animation-timing-function: ease-out;
  198. animation-timing-function: ease-out;
  199. }
  200. }
  201. .yvan-anim-03 {
  202. -webkit-animation-name: yvan-zoomInLeft;
  203. animation-name: yvan-zoomInLeft;
  204. }
  205. @-webkit-keyframes yvan-rollIn {
  206. 0% {
  207. opacity: 0;
  208. -webkit-transform: translatex(-100%) rotate(-120deg);
  209. transform: translatex(-100%) rotate(-120deg);
  210. }
  211. 100% {
  212. opacity: 1;
  213. -webkit-transform: translatex(0) rotate(0);
  214. transform: translatex(0) rotate(0);
  215. }
  216. }
  217. @keyframes yvan-rollIn {
  218. 0% {
  219. opacity: 0;
  220. -webkit-transform: translatex(-100%) rotate(-120deg);
  221. transform: translatex(-100%) rotate(-120deg);
  222. }
  223. 100% {
  224. opacity: 1;
  225. -webkit-transform: translatex(0) rotate(0);
  226. transform: translatex(0) rotate(0);
  227. }
  228. }
  229. .yvan-anim-04 {
  230. -webkit-animation-name: yvan-rollIn;
  231. animation-name: yvan-rollIn;
  232. }
  233. @-webkit-keyframes yvan-fadeIn {
  234. 0% {
  235. opacity: 0;
  236. }
  237. 100% {
  238. opacity: 1;
  239. }
  240. }
  241. @keyframes yvan-fadeIn {
  242. 0% {
  243. opacity: 0;
  244. }
  245. 100% {
  246. opacity: 1;
  247. }
  248. }
  249. .yvan-anim-05 {
  250. -webkit-animation-name: yvan-fadeIn;
  251. animation-name: yvan-fadeIn;
  252. }
  253. @-webkit-keyframes yvan-shake {
  254. 0%,
  255. 100% {
  256. -webkit-transform: translatex(0);
  257. transform: translatex(0);
  258. }
  259. 10%,
  260. 30%,
  261. 50%,
  262. 70%,
  263. 90% {
  264. -webkit-transform: translatex(-10px);
  265. transform: translatex(-10px);
  266. }
  267. 20%,
  268. 40%,
  269. 60%,
  270. 80% {
  271. -webkit-transform: translatex(10px);
  272. transform: translatex(10px);
  273. }
  274. }
  275. @keyframes yvan-shake {
  276. 0%,
  277. 100% {
  278. -webkit-transform: translatex(0);
  279. transform: translatex(0);
  280. }
  281. 10%,
  282. 30%,
  283. 50%,
  284. 70%,
  285. 90% {
  286. -webkit-transform: translatex(-10px);
  287. transform: translatex(-10px);
  288. }
  289. 20%,
  290. 40%,
  291. 60%,
  292. 80% {
  293. -webkit-transform: translatex(10px);
  294. transform: translatex(10px);
  295. }
  296. }
  297. .yvan-anim-06 {
  298. -webkit-animation-name: yvan-shake;
  299. animation-name: yvan-shake;
  300. }
  301. @-webkit-keyframes fadeIn {
  302. 0% {
  303. opacity: 0;
  304. }
  305. 100% {
  306. opacity: 1;
  307. }
  308. }
  309. .webix_template {
  310. padding: 0;
  311. }
  312. .input_validate_false {
  313. background-color: #ffdedb;
  314. border-color: #ff8d82;
  315. }
  316. .webix_dataview_item[role='option'] {
  317. padding: 2px 2px;
  318. }
  319. /*== extjs 提示框==*/
  320. .x-message-box .x-window-body {
  321. background-color: #fff;
  322. border-width: 0
  323. }
  324. .x-message-box-info, .x-message-box-warning, .x-message-box-question, .x-message-box-error {
  325. background-position: left top;
  326. background-repeat: no-repeat
  327. }
  328. .x-message-box-icon {
  329. height: 44px;
  330. width: 44px;
  331. margin-right: 10px
  332. }
  333. .x-message-box-info {
  334. font: 44px/1 'Font Awesome 5 Free';
  335. color: grey
  336. }
  337. .x-message-box-info:before {
  338. content: '\f05a'
  339. }
  340. .x-message-box-warning {
  341. font: 44px/1 'Font Awesome 5 Free';
  342. color: #f8d400
  343. }
  344. .x-message-box-warning:before {
  345. content: '\f071'
  346. }
  347. .x-message-box-question {
  348. font: 44px/1 'Font Awesome 5 Free';
  349. color: grey
  350. }
  351. .x-message-box-question:before {
  352. content: '\f059'
  353. }
  354. .x-message-box-error {
  355. font: 44px/1 'Font Awesome 5 Free';
  356. color: #ee611f
  357. }
  358. .x-message-box-error:before {
  359. content: '\f057'
  360. }
  361. /*
  362. */
  363. .wotu-ui.x-border-layout-ct, .wotu-ui div.x-border-layout-ct {
  364. background: #f0f2f5;
  365. }
  366. .wotu-ui.x-keyboard-mode .x-tab-focus.x-tab-default {
  367. /** 选中的标签 focus 之后,隐藏内边框
  368. outline: none;
  369. */
  370. }
  371. .wotu-ui .x-tab-bar-plain.x-tab-bar .x-tab.x-tab-default {
  372. background: #dcdcdc;
  373. border-radius: 3px 3px 0 0;
  374. border: 1px solid #d9d9d9;
  375. color: #333;
  376. border-bottom: none;
  377. }
  378. .wotu-ui .x-tab-bar-plain.x-tab-bar .x-tab.x-tab-active.x-tab-default {
  379. background: #fff;
  380. }
  381. .wotu-ui .x-tab-bar-plain.x-tab-bar .x-tab.x-tab-active.x-tab-default {
  382. position: relative;
  383. overflow: visible;
  384. z-index: 1;
  385. }
  386. .wotu-ui .x-tab-bar-plain.x-tab-bar .x-tab.x-tab-active.x-tab-default:after {
  387. width: 100%;
  388. height: 1px;
  389. background: #000;
  390. content: '';
  391. position: absolute;
  392. left: -10px;
  393. bottom: -1px;
  394. padding: 0 10px;
  395. -webkit-box-sizing: content-box;
  396. box-sizing: content-box;
  397. z-index: 9999;
  398. }
  399. .wotu-ui .x-tab-bar-plain.x-tab-bar .x-tab.x-tab-default .x-tab-close-btn {
  400. top: 10px;
  401. right: 3px;
  402. }
  403. .wotu-ui .x-form-trigger-wrap > div.x-form-trigger {
  404. width: 23px;
  405. }
  406. .wotu-ui .x-form-trigger-wrap > div.x-form-trigger.x-form-clear-trigger {
  407. width: 12px;
  408. font-size: 12px;
  409. font-weight: inherit;
  410. }
  411. .wotu-ui .x-form-trigger-wrap > div.x-form-trigger:last-child {
  412. width: 23px;
  413. }
  414. .wotu-ui.x-keyboard-mode .x-btn-focus.x-btn-default-toolbar-small {
  415. -webkit-box-shadow: none;
  416. box-shadow: none;
  417. }
  418. .wotu-ui .x-btn.x-btn-disabled {
  419. cursor: not-allowed;
  420. }
  421. .wotu-ui .x-item-disabled, .wotu-ui .x-item-disabled * {
  422. cursor: not-allowed;
  423. pointer-events: auto;
  424. }
  425. .wotu-ui .ext-btn-success, .wotu-ui .ext-btn-success.x-btn-disabled {
  426. background: #5cb85c;
  427. border-color: #4cae4c;
  428. }
  429. .wotu-ui .ext-btn-success .x-btn-icon-el-default-toolbar-small, .wotu-ui .ext-btn-success .x-btn-inner-default-toolbar-small {
  430. color: #fff
  431. }
  432. .wotu-ui .ext-btn-success:hover {
  433. background-color: #449d44;
  434. border-color: #398439;
  435. }
  436. .wotu-ui.x-keyboard-mode .ext-btn-success.x-btn-focus.x-btn-default-toolbar-small {
  437. background-color: #449d44;
  438. }
  439. .wotu-ui .ext-btn-primary, .wotu-ui .ext-btn-primary.x-btn-disabled {
  440. background: #146bb3;
  441. border-color: #004c8b;
  442. }
  443. .wotu-ui .ext-btn-primary .x-btn-icon-el-default-toolbar-small, .wotu-ui .ext-btn-primary .x-btn-inner-default-toolbar-small {
  444. color: #fff
  445. }
  446. .wotu-ui .ext-btn-primary:hover {
  447. background-color: #286090;
  448. border-color: #204d74;
  449. }
  450. .wotu-ui.x-keyboard-mode .ext-btn-primary.x-btn-focus.x-btn-default-toolbar-small {
  451. background-color: #286090;
  452. }
  453. .wotu-ui .ext-btn-warning, .wotu-ui .ext-btn-warning.x-btn-disabled {
  454. background: #f0ad4e;
  455. border-color: #eea236;
  456. }
  457. .wotu-ui .ext-btn-warning .x-btn-icon-el-default-toolbar-small, .wotu-ui .ext-btn-warning .x-btn-inner-default-toolbar-small {
  458. color: #fff
  459. }
  460. .wotu-ui .ext-btn-warning:hover {
  461. background-color: #ec971f;
  462. border-color: #d58512;
  463. }
  464. .wotu-ui.x-keyboard-mode .ext-btn-warning.x-btn-focus.x-btn-default-toolbar-small {
  465. background-color: #ec971f;
  466. }
  467. .wotu-ui .ext-btn-danger, .wotu-ui .ext-btn-danger.x-btn-disabled {
  468. background: #d9534f;
  469. border-color: #d43f3a;
  470. }
  471. .wotu-ui .ext-btn-danger .x-btn-icon-el-default-toolbar-small, .wotu-ui .ext-btn-danger .x-btn-inner-default-toolbar-small {
  472. color: #fff
  473. }
  474. .wotu-ui .ext-btn-danger:hover {
  475. background-color: #c9302c;
  476. border-color: #ac2925;
  477. }
  478. .wotu-ui.x-keyboard-mode .ext-btn-danger.x-btn-focus.x-btn-default-toolbar-small {
  479. background-color: #c9302c;
  480. border-color: #ac2925;
  481. }
  482. /*皮肤*/
  483. .wotu-ui .x-panel-header-default {
  484. background: #004c8b;
  485. }
  486. .wotu-ui .x-tab-bar-default {
  487. background: #004c8b;
  488. }
  489. .wotu-ui .x-tab.x-tab-active.x-tab-default .x-tab-inner-default {
  490. color: #404040;
  491. }
  492. .wotu-ui .x-tree-icon-parent-expanded, .wotu-ui .x-tree-icon-leaf {
  493. color: #404040;
  494. }
  495. .wotu-ui .x-grid-tree-node-expanded .x-tree-elbow-plus, .wotu-ui .x-grid-tree-node-expanded .x-tree-elbow-end-plus {
  496. color: #404040;
  497. }
  498. .wotu-ui.x-keyboard-mode .x-grid-item-focused .x-grid-cell-inner:before {
  499. /** 单元格 focus 之后不需要内边框
  500. border:none
  501. */
  502. }
  503. .wotu-ui .x-tree-elbow-plus, .wotu-ui .x-tree-elbow-end-plus, .wotu-ui .x-tree-icon-parent {
  504. color: #404040;
  505. }
  506. .wotu-ui .x-window-header-default-top {
  507. background: #004c8b;
  508. }
  509. .wotu-ui .x-window-default, .wotu-ui .x-window-header-default {
  510. border-color: #004c8b
  511. }
  512. .wotu-ui .x-window-body-default {
  513. border: none
  514. }
  515. .wotu-ui .x-window-header-default .x-tool-img {
  516. background: #004c8b;
  517. }
  518. .wotu-ui.x-keyboard-mode .x-form-checkbox-focus.x-form-checkbox-default {
  519. color: #004c8b;
  520. }
  521. .wotu-ui .x-boundlist-selected {
  522. background: #004c8b;
  523. border-color: #004c8b;
  524. }
  525. .wotu-ui .x-boundlist-item-over {
  526. background: #004c8b;
  527. }
  528. .wotu-ui .x-boundlist-item {
  529. border: none
  530. }
  531. .wotu-ui .x-datepicker-selected div.x-datepicker-date {
  532. background: #004c8b;
  533. }
  534. .wotu-ui .x-datepicker-footer .x-btn-default-small {
  535. background: #004c8b;
  536. }
  537. /*.wotu-ui .x-btn-default-small{*/
  538. /* background:#004c8b ;*/
  539. /*}*/
  540. /*form*/
  541. .wotu-ui .x-form-readonly .x-form-trigger-wrap {
  542. border: none
  543. }
  544. .wotu-ui .x-menu-item-default.x-menu-item-focus, .wotu-ui .x-menu-item-default.x-menu-item-active {
  545. background: #004c8b;
  546. }
  547. .wotu-ui .x-grid-locked-split .x-grid-inner-normal {
  548. border-width: 0 0 0 1px
  549. }
  550. .wotu-ui .x-grid-locked .x-grid-inner-locked {
  551. border-width: 0 1px 0 0
  552. }
  553. .wotu-ui .x-grid-scrollbar-clipper-locked, .wotu-ui .x-grid-scrollbar-locked {
  554. border-width: 0 1px 0 0;
  555. background: #000;
  556. }
  557. /*grid行颜色设定*/
  558. .x-grid-record-red {
  559. color: red
  560. }
  561. .x-grid-record-bg-green {
  562. background: #b7d6a4;
  563. }
  564. .x-grid-record-bg-red {
  565. background: #e2baba;
  566. }
  567. .x-grid-record-bg-red-highlight {
  568. background: #ea4b4b;
  569. }
  570. .x-grid-record-bg-yellow {
  571. background: #f2e3b2;
  572. }
  573. .x-grid-record-bg-yellow-highlight {
  574. background: #d6ca22;
  575. }
  576. .x-grid-record-bg-purple {
  577. background: #d3bde0;
  578. }
  579. .x-grid-record-bg-blue {
  580. background: #bac3e2;
  581. }
  582. /*
  583. .x-grid-scrollbar-clipper-locked .x-grid-row[aria-selected="true"] {
  584. outline: 0 !important;
  585. }
  586. */
  587. /** 无论什么颜色,选中的状态都是黄色 */
  588. .x-grid-row[aria-selected="true"],
  589. .x-grid-row.x-grid-record-red[aria-selected="true"],
  590. .x-grid-row.x-grid-record-bg-green[aria-selected="true"],
  591. .x-grid-row.x-grid-record-bg-red[aria-selected="true"],
  592. .x-grid-row.x-grid-record-bg-yellow[aria-selected="true"],
  593. .x-grid-row.x-grid-record-bg-purple[aria-selected="true"],
  594. .x-grid-row.x-grid-record-bg-blue[aria-selected="true"] {
  595. /*
  596. border: 1px solid #0066bf;
  597. outline: 1px double #5fa2dd;
  598. */
  599. background-color: #ffefbb;
  600. }
  601. .wotu-ui .x-segmented-button-item-horizontal.x-btn-default-small {
  602. border: none;
  603. background-color: #134c8b;
  604. }
  605. .wotu-ui .x-btn.x-btn-menu-active.x-btn-default-small, .wotu-ui .x-btn.x-btn-pressed.x-btn-default-small {
  606. border: none;
  607. background-color: #1960af;
  608. }