soulTable.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  1. /** 自定义字体 **/
  2. /** 这里使用在线字体,如果需要离线包,请看 font/README.md **/
  3. @font-face {
  4. font-family: 'soul-icon'; /* project id 677836 */
  5. src: url('//at.alicdn.com/t/font_677836_jwq362m0tt.eot');
  6. src: url('//at.alicdn.com/t/font_677836_jwq362m0tt.eot?#iefix') format('embedded-opentype'),
  7. url('//at.alicdn.com/t/font_677836_jwq362m0tt.woff2') format('woff2'),
  8. url('//at.alicdn.com/t/font_677836_jwq362m0tt.woff') format('woff'),
  9. url('//at.alicdn.com/t/font_677836_jwq362m0tt.ttf') format('truetype'),
  10. url('//at.alicdn.com/t/font_677836_jwq362m0tt.svg#iconfont') format('svg');
  11. }
  12. .soul-icon {
  13. font-family: "soul-icon" !important;
  14. font-size: 16px;
  15. font-style: normal;
  16. -webkit-font-smoothing: antialiased;
  17. -moz-osx-font-smoothing: grayscale;
  18. }
  19. .soul-icon-filter:before {
  20. content: "\e60b";
  21. }
  22. .soul-icon-filter-asc:before {
  23. content: "\e768";
  24. }
  25. .soul-icon-filter-desc:before {
  26. content: "\e767";
  27. }
  28. .soul-icon-asc:before {
  29. content: "\e6af";
  30. }
  31. .soul-icon-desc:before {
  32. content: "\e6ae";
  33. }
  34. .soul-icon-all-check:before {
  35. content: "\e670";
  36. }
  37. .soul-icon-invert-check:before {
  38. content: "\e614";
  39. }
  40. .soul-icon-fold:before {
  41. content: "\e760";
  42. }
  43. .soul-icon-unfold:before {
  44. content: "\e611";
  45. }
  46. .soul-icon-delete:before {
  47. content: "\e600";
  48. }
  49. .soul-icon-download:before {
  50. content: "\e601";
  51. }
  52. .soul-icon-drop-list:before {
  53. content: "\e6a3";
  54. }
  55. .soul-icon-query:before {
  56. content: "\e66d";
  57. }
  58. /* 全选*/
  59. .soul-icon-quanxuan:before {
  60. content: "\e623";
  61. }
  62. .soul-icon-qingkong:before {
  63. content: "\e63e";
  64. }
  65. .soul-icon-fanxuan:before {
  66. content: "\e614";
  67. }
  68. /*最大化*/
  69. .soul-icon-min:before {
  70. content: "\e656";
  71. }
  72. .soul-icon-max:before {
  73. content: "\e61b";
  74. }
  75. /* 配色方案*/
  76. .layui-red {
  77. color: #FF5722
  78. }
  79. .layui-orange {
  80. color: #FFB800
  81. }
  82. .layui-green {
  83. color: #009688
  84. }
  85. .layui-cyan {
  86. color: #2F4056
  87. }
  88. .layui-blue {
  89. color: #1E9FFF
  90. }
  91. .layui-black {
  92. color: #393D49
  93. }
  94. .layui-gray {
  95. color: #eee
  96. }
  97. .layui-firebrick {
  98. color: firebrick;
  99. }
  100. .layui-deeppink {
  101. color: deeppink;
  102. }
  103. .layui-blueviolet {
  104. color: blueviolet;
  105. }
  106. .soul-condition [class*="layui-col-"] {
  107. margin-top: 10px;
  108. }
  109. /* 表格排序样式*/
  110. .soul-edge {
  111. display: inline-block;
  112. width: 0;
  113. height: 0;
  114. border-width: 6px;
  115. border-style: dashed;
  116. border-color: transparent;
  117. overflow: hidden
  118. }
  119. .soul-table-sort {
  120. width: 10px;
  121. height: 20px;
  122. margin-left: 5px;
  123. cursor: pointer !important;
  124. position: relative;
  125. display: inline-block;
  126. }
  127. .soul-table-sort .soul-edge {
  128. position: absolute;
  129. left: 5px;
  130. border-width: 5px
  131. }
  132. .soul-table-sort .soul-table-sort-asc {
  133. top: 10px;
  134. border-top: none;
  135. border-bottom-style: solid;
  136. border-bottom-color: #b2b2b2
  137. }
  138. .soul-table-sort .soul-table-sort-asc:hover {
  139. border-bottom-color: #666
  140. }
  141. .soul-table-sort .soul-table-sort-desc {
  142. bottom: -2px;
  143. border-bottom: none;
  144. border-top-style: solid;
  145. border-top-color: #b2b2b2
  146. }
  147. .soul-table-sort .soul-table-sort-desc:hover {
  148. border-top-color: #666
  149. }
  150. .soul-table-sort[soul-sort=asc] .soul-table-sort-asc {
  151. border-bottom-color: #000
  152. }
  153. .soul-table-sort[soul-sort=desc] .soul-table-sort-desc {
  154. border-top-color: #000
  155. }
  156. .multiOption {
  157. display: inline-block;
  158. padding: 0 5px;
  159. cursor: pointer;
  160. color: #999;
  161. }
  162. /*表格筛选*/
  163. .soul-table-filter {
  164. line-height: 20px;
  165. color: #b2b2b2;
  166. cursor: pointer;
  167. margin-left: 5px;
  168. }
  169. .soul-table-filter .soul-icon-filter-asc, .soul-table-filter .soul-icon-filter-desc {
  170. display: none;
  171. }
  172. .soul-table-filter[lay-sort="asc"] .soul-icon-filter-asc {
  173. display: block;
  174. color: #000000;
  175. }
  176. .soul-table-filter[lay-sort="asc"] .soul-icon-filter, .soul-table-filter[lay-sort="asc"] .soul-icon-filter-desc {
  177. display: none;
  178. }
  179. .soul-table-filter[lay-sort="desc"] .soul-icon-filter-desc {
  180. display: block;
  181. color: #000000;
  182. }
  183. .soul-table-filter[lay-sort="desc"] .soul-icon-filter, .soul-table-filter[lay-sort="desc"] .soul-icon-filter-asc {
  184. display: none;
  185. }
  186. .soul-table-filter[soul-filter="true"] i {
  187. color: #009688 !important;
  188. }
  189. [id^=main-list], [id^=soul-columns], [id^=soul-dropList], [id^=soul-condition], [id^=soul-bf-prefix], [id^=soul-bf-column], [id^=soul-bf-type], [id^=soul-bf-cond2] {
  190. display: inline-block;
  191. position: absolute;
  192. z-index: 2147483647;
  193. background-color: white;
  194. max-height: 200px;
  195. min-width: 160px;
  196. max-width: 300px;
  197. overflow-y: auto;
  198. border: 1px solid #e6e6e6;
  199. border-radius: 5px;
  200. box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, .2);
  201. }
  202. [id^=main-list] {
  203. max-height: initial;
  204. }
  205. [id^=soul-condition] {
  206. overflow-y: visible;
  207. max-height: initial;
  208. min-width: 285px;
  209. padding: 5px;
  210. }
  211. [id^=soul-condition] .layui-laydate-header {
  212. padding: 4px 70px 5px
  213. }
  214. [id^=soul-condition] hr {
  215. margin: 5px 0;
  216. }
  217. [id^=soul-condition].soul-bf {
  218. min-width: 150px;
  219. }
  220. [id^=soul-filter-list] ul li {
  221. padding: 3px 10px;
  222. cursor: pointer;
  223. }
  224. [id^=soul-filter-list] ul li:hover {
  225. background-color: deepskyblue;
  226. }
  227. [id^=soul-filter-list] i.layui-icon {
  228. display: inline-block;
  229. width: 16px;
  230. }
  231. [id^=soul-dropList] ul {
  232. border: 0;
  233. max-height: 116px;
  234. overflow-y: auto;
  235. }
  236. [id^=soul-dropList] ul li, [id^=soul-filter-list] [id^=soul-columns] > li {
  237. padding: 2px 10px;
  238. }
  239. [id^=soul-dropList] .check {
  240. padding: 5px 10px;
  241. }
  242. .filter-search {
  243. padding: 5px 10px 0 10px;
  244. }
  245. [id^=soul-condition] .layui-inline {
  246. width: 100px;
  247. }
  248. [id^=soul-condition] table.condition-table tr > td {
  249. padding: 0 3px;
  250. }
  251. [id^=soul-condition] table.condition-table tr > td:first-child {
  252. min-width: 60px;
  253. }
  254. [id^=soul-condition] .layui-form-switch {
  255. background-color: #1E9FFF;
  256. border: 1px solid #1E9FFF;
  257. width: 35px;
  258. margin-top: 0px;
  259. }
  260. [id^=soul-condition] .layui-form-switch.layui-form-onswitch {
  261. background-color: #5FB878;
  262. border: 1px solid #5FB878;
  263. }
  264. [id^=soul-condition] .layui-form-switch em {
  265. color: #fff !important;
  266. }
  267. [id^=soul-condition] .layui-form-switch i {
  268. background-color: #fff;
  269. }
  270. [data-type^=date][class$=Condition] {
  271. width: 273px;
  272. }
  273. /*表格筛选*/
  274. [id^=soul-condition] > div {
  275. width: 270px;
  276. }
  277. .soul-condition-title {
  278. text-align: center;
  279. font-weight: bolder;
  280. }
  281. /*底部筛选*/
  282. .soul-bottom-contion {
  283. height: 31px;
  284. /*line-height: 29px;*/
  285. border-top: solid 1px #e6e6e6;
  286. }
  287. .soul-bottom-contion .condition-items {
  288. display: inline-block;
  289. width: calc(100vw - 100px);
  290. height: 30px;
  291. float: left;
  292. overflow: hidden;
  293. white-space: nowrap;
  294. }
  295. .soul-bottom-contion .condition-item > div {
  296. display: inline-block;
  297. height: 28px;
  298. line-height: 28px;
  299. cursor: pointer;
  300. }
  301. .soul-bottom-contion .condition-items .condition-item > div[class^='item-']:hover {
  302. text-decoration: underline;
  303. }
  304. .soul-bottom-contion .condition-items .condition-item {
  305. padding: 0 10px;
  306. margin: 0 2px;
  307. font-weight: bold;
  308. border: solid 1px darkslateblue;
  309. border-radius: 10px;
  310. display: inline-block;
  311. height: 28px;
  312. position: relative;
  313. }
  314. .soul-bottom-contion .editCondtion {
  315. height: 30px;
  316. float: right;
  317. }
  318. .soul-bottom-contion .item-value {
  319. min-width: 20px;
  320. display: inline-block;
  321. }
  322. .soul-bottom-contion .editCondtion a {
  323. border: hidden;
  324. border-left: solid 1px #e6e6e6;
  325. height: 28px;
  326. line-height: 29px;
  327. }
  328. .soul-bottom-contion .condition-items .condition-item .condition-item-close {
  329. position: absolute;
  330. cursor: pointer;
  331. margin-top: -8px;
  332. }
  333. .soul-bottom-contion .condition-items > .condition-item > .condition-item-close {
  334. margin-top: -2px;
  335. }
  336. .soul-bottom-contion .condition-items .condition-item .condition-item-close:hover {
  337. color: red
  338. }
  339. .soul-bottom-contion .condition-items .condition-item .condition-item-close:before {
  340. background: white;
  341. border-radius: 10px;
  342. }
  343. .soul-edit-out {
  344. padding: 10px;
  345. }
  346. [id^=soul-bf] li {
  347. padding: 0px 10px;
  348. height: 22px;
  349. line-height: 22px;
  350. color: #000;
  351. cursor: pointer;
  352. }
  353. [id^=soul-bf] li.soul-bf-selected {
  354. background-color: deepskyblue;
  355. }
  356. [id^=soul-bf] li:hover {
  357. background-color: deepskyblue;
  358. }
  359. .soul-edit-out .tempValue {
  360. height: 25px;
  361. }
  362. .soul-bf-condition-value {
  363. display: inline;
  364. width: 100px;
  365. }
  366. /*子表格*/
  367. .layui-table tbody tr.noHover:hover {
  368. background-color: white;
  369. }
  370. /*编辑筛选*/
  371. .soul-edit-out .layui-form-radio {
  372. margin: 0;
  373. }
  374. .soul-edit-out ul li > div {
  375. display: inline-block;
  376. margin-right: 10px;
  377. height: 25px;
  378. vertical-align: top;
  379. cursor: pointer;
  380. }
  381. .soul-edit-out ul.group {
  382. padding-left: 50px;
  383. }
  384. .soul-edit-out ul.group.line {
  385. border-left: 1px dashed grey;
  386. }
  387. .soul-edit-out ul li {
  388. line-height: 25px;
  389. }
  390. .soul-edit-out table {
  391. display: inline-block;
  392. }
  393. .soul-edit-out table td[data-type='top'] {
  394. width: 12px;
  395. height: 12px;
  396. border-left: dashed 1px grey;
  397. border-bottom: dashed 1px grey;
  398. }
  399. .soul-edit-out table td[data-type='bottom'] {
  400. width: 12px;
  401. height: 12px;
  402. border-left: dashed 1px grey;
  403. }
  404. .soul-edit-out li.last > div > table td[data-type='bottom'] {
  405. border-left: none;
  406. }
  407. .soul-edit-out .layui-form-switch {
  408. background-color: #1E9FFF;
  409. border: 1px solid #1E9FFF;
  410. width: 35px;
  411. margin-top: 0px;
  412. }
  413. .soul-edit-out .layui-form-switch em {
  414. color: #fff !important;
  415. }
  416. .soul-edit-out .layui-form-switch i {
  417. background-color: #fff;
  418. }
  419. .soul-edit-out .layui-form-switch.layui-form-onswitch {
  420. background-color: #5FB878;
  421. border: 1px solid #5FB878;
  422. }
  423. .soul-edit-out .delete-item {
  424. display: none;
  425. }
  426. .soul-edit-out li:hover > .delete-item {
  427. display: inline-block;
  428. }
  429. /* 拖拽相关 */
  430. #column-remove {
  431. position: absolute;
  432. z-index: 2147483647;
  433. }
  434. .layui-table-box.no-left-border td.isDrag, .layui-table-box.no-left-border th.isDrag {
  435. border-left: inherit !important;
  436. }
  437. .soul-drag-bar {
  438. position: absolute;
  439. top: 100px;
  440. z-index: 200;
  441. left: 50%;
  442. font-weight: 900;
  443. color: white;
  444. box-shadow: 0 1px 20px rgba(0, 0, 0, .15);
  445. text-align: center;
  446. transform: translateX(100vw);
  447. /*transition: transform .3s;*/
  448. }
  449. .soul-drag-bar.active {
  450. transform: translateX(-98px);
  451. }
  452. .soul-drag-bar > div {
  453. display: inline-block;
  454. padding: 10px;
  455. cursor: crosshair;
  456. width: 62px;
  457. background-color: rgb(0, 150, 136, 0.5);
  458. }
  459. .soul-drag-bar > div.active, .soul-drag-bar[data-type='left'] > div[data-type='left'], .soul-drag-bar[data-type='right'] > div[data-type='right'], .soul-drag-bar[data-type='none'] > div[data-type='none'] {
  460. background-color: rgb(0, 150, 136);
  461. }
  462. /* 动画 */
  463. .animated {
  464. -webkit-animation-duration: 1s;
  465. -moz-animation-duration: 1s;
  466. -o-animation-duration: 1s;
  467. animation-duration: 1s;
  468. -webkit-animation-fill-mode: both;
  469. -moz-animation-fill-mode: both;
  470. -o-animation-fill-mode: both;
  471. animation-fill-mode: both;
  472. }
  473. @-moz-keyframes fadeInLeft {
  474. 0% {
  475. opacity: 0;
  476. -moz-transform: translateX(-20px);
  477. }
  478. 100% {
  479. opacity: 1;
  480. -moz-transform: translateX(0);
  481. }
  482. }
  483. @-o-keyframes fadeInLeft {
  484. 0% {
  485. opacity: 0;
  486. -o-transform: translateX(-20px);
  487. }
  488. 100% {
  489. opacity: 1;
  490. -o-transform: translateX(0);
  491. }
  492. }
  493. @keyframes fadeInLeft {
  494. 0% {
  495. opacity: 0;
  496. transform: translateX(-20px);
  497. }
  498. 100% {
  499. opacity: 1;
  500. transform: translateX(0);
  501. }
  502. }
  503. .animated.fadeInLeft {
  504. -webkit-animation-name: fadeInLeft;
  505. -moz-animation-name: fadeInLeft;
  506. -o-animation-name: fadeInLeft;
  507. animation-name: fadeInLeft;
  508. }
  509. @-webkit-keyframes fadeOutLeft {
  510. 0% {
  511. opacity: 1;
  512. -webkit-transform: translateX(0);
  513. }
  514. 100% {
  515. opacity: 0;
  516. -webkit-transform: translateX(-20px);
  517. }
  518. }
  519. @-moz-keyframes fadeOutLeft {
  520. 0% {
  521. opacity: 1;
  522. -moz-transform: translateX(0);
  523. }
  524. 100% {
  525. opacity: 0;
  526. -moz-transform: translateX(-20px);
  527. }
  528. }
  529. @-o-keyframes fadeOutLeft {
  530. 0% {
  531. opacity: 1;
  532. -o-transform: translateX(0);
  533. }
  534. 100% {
  535. opacity: 0;
  536. -o-transform: translateX(-20px);
  537. }
  538. }
  539. @keyframes fadeOutLeft {
  540. 0% {
  541. opacity: 1;
  542. transform: translateX(0);
  543. }
  544. 100% {
  545. opacity: 0;
  546. transform: translateX(-20px);
  547. }
  548. }
  549. .animated.fadeOutLeft {
  550. -webkit-animation-name: fadeOutLeft;
  551. -moz-animation-name: fadeOutLeft;
  552. -o-animation-name: fadeOutLeft;
  553. animation-name: fadeOutLeft;
  554. }
  555. @-webkit-keyframes fadeInRight {
  556. 0% {
  557. opacity: 0;
  558. -webkit-transform: translateX(20px);
  559. }
  560. 100% {
  561. opacity: 1;
  562. -webkit-transform: translateX(0);
  563. }
  564. }
  565. @-moz-keyframes fadeInRight {
  566. 0% {
  567. opacity: 0;
  568. -moz-transform: translateX(20px);
  569. }
  570. 100% {
  571. opacity: 1;
  572. -moz-transform: translateX(0);
  573. }
  574. }
  575. @-o-keyframes fadeInRight {
  576. 0% {
  577. opacity: 0;
  578. -o-transform: translateX(20px);
  579. }
  580. 100% {
  581. opacity: 1;
  582. -o-transform: translateX(0);
  583. }
  584. }
  585. @keyframes fadeInRight {
  586. 0% {
  587. opacity: 0;
  588. transform: translateX(20px);
  589. }
  590. 100% {
  591. opacity: 1;
  592. transform: translateX(0);
  593. }
  594. }
  595. .animated.fadeInRight {
  596. -webkit-animation-name: fadeInRight;
  597. -moz-animation-name: fadeInRight;
  598. -o-animation-name: fadeInRight;
  599. animation-name: fadeInRight;
  600. }
  601. @-webkit-keyframes fadeInUp {
  602. 0% {
  603. opacity: 0;
  604. -webkit-transform: translateY(20px);
  605. }
  606. 100% {
  607. opacity: 1;
  608. -webkit-transform: translateY(0);
  609. }
  610. }
  611. @-moz-keyframes fadeInUp {
  612. 0% {
  613. opacity: 0;
  614. -moz-transform: translateY(20px);
  615. }
  616. 100% {
  617. opacity: 1;
  618. -moz-transform: translateY(0);
  619. }
  620. }
  621. @-o-keyframes fadeInUp {
  622. 0% {
  623. opacity: 0;
  624. -o-transform: translateY(20px);
  625. }
  626. 100% {
  627. opacity: 1;
  628. -o-transform: translateY(0);
  629. }
  630. }
  631. @keyframes fadeInUp {
  632. 0% {
  633. opacity: 0;
  634. transform: translateY(20px);
  635. }
  636. 100% {
  637. opacity: 1;
  638. transform: translateY(0);
  639. }
  640. }
  641. .animated.fadeInUp {
  642. -webkit-animation-name: fadeInUp;
  643. -moz-animation-name: fadeInUp;
  644. -o-animation-name: fadeInUp;
  645. animation-name: fadeInUp;
  646. }
  647. @-webkit-keyframes fadeOutDown {
  648. 0% {
  649. opacity: 1;
  650. -webkit-transform: translateY(0);
  651. }
  652. 100% {
  653. opacity: 0;
  654. -webkit-transform: translateY(20px);
  655. }
  656. }
  657. @-moz-keyframes fadeOutDown {
  658. 0% {
  659. opacity: 1;
  660. -moz-transform: translateY(0);
  661. }
  662. 100% {
  663. opacity: 0;
  664. -moz-transform: translateY(20px);
  665. }
  666. }
  667. @-o-keyframes fadeOutDown {
  668. 0% {
  669. opacity: 1;
  670. -o-transform: translateY(0);
  671. }
  672. 100% {
  673. opacity: 0;
  674. -o-transform: translateY(20px);
  675. }
  676. }
  677. @keyframes fadeOutDown {
  678. 0% {
  679. opacity: 1;
  680. transform: translateY(0);
  681. }
  682. 100% {
  683. opacity: 0;
  684. transform: translateY(20px);
  685. }
  686. }
  687. .animated.fadeOutDown {
  688. -webkit-animation-name: fadeOutDown;
  689. -moz-animation-name: fadeOutDown;
  690. -o-animation-name: fadeOutDown;
  691. animation-name: fadeOutDown;
  692. }
  693. #soul-table-contextmenu-wrapper {
  694. width: 0;
  695. }
  696. .soul-table-contextmenu {
  697. position: absolute;
  698. z-index: 999999;
  699. list-style: none;
  700. margin: 0;
  701. padding: 0;
  702. border: 1px solid #ebeef5;
  703. box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, .2);
  704. background: white;
  705. }
  706. .soul-table-contextmenu li {
  707. line-height: 26px;
  708. padding: 0 30px;
  709. cursor: pointer;
  710. word-break: keep-all;
  711. }
  712. .soul-table-contextmenu li:hover {
  713. background: #c5c5c5;
  714. }
  715. .soul-table-contextmenu li i.prefixIcon {
  716. position: absolute;
  717. left: 8px;
  718. }
  719. .soul-table-contextmenu li i.endIcon {
  720. position: absolute;
  721. right: 8px;
  722. }
  723. /*拖拽相关*/
  724. .layui-table-sort-invalid {
  725. width: 10px;
  726. height: 20px;
  727. margin-left: 5px;
  728. cursor: pointer !important;
  729. }
  730. .layui-table-sort-invalid .layui-table-sort-asc {
  731. top: 3px;
  732. border-top: none;
  733. border-bottom-style: solid;
  734. border-bottom-color: #b2b2b2;
  735. }
  736. .layui-table-sort-invalid .layui-edge {
  737. position: absolute;
  738. left: 5px;
  739. border-width: 5px;
  740. }
  741. .layui-table-sort-invalid .layui-table-sort-desc {
  742. bottom: 5px;
  743. border-bottom: none;
  744. border-top-style: solid;
  745. border-top-color: #b2b2b2;
  746. }
  747. .layui-table-sort-invalid .layui-edge {
  748. position: absolute;
  749. left: 5px;
  750. border-width: 5px;
  751. }
  752. .noselect {
  753. -webkit-touch-callout: none; /* iOS Safari */
  754. -webkit-user-select: none; /* Chrome/Safari/Opera */
  755. -khtml-user-select: none; /* Konqueror */
  756. -moz-user-select: none; /* Firefox */
  757. -ms-user-select: none; /* Internet Explorer/Edge */
  758. user-select: none; /* Non-prefixed version, currently */
  759. }
  760. /* 固定列滚动 */
  761. .soul-fixed-scroll::-webkit-scrollbar {
  762. display: none
  763. }
  764. .soul-fixed-scroll {
  765. overflow-y: auto !important;
  766. -ms-overflow-style: none;
  767. overflow: -moz-scrollbars-none;
  768. }