_gtk.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. & {
  2. background-color: #f6f5f4;
  3. color : #2e3436;
  4. }
  5. .layuimini-container {}
  6. .layuimini-main {
  7. padding: 0;
  8. }
  9. .layuimini-container .layui-table-box .layui-table-header th {
  10. color : #979a9b !important;
  11. font-weight : 700 !important;
  12. font-weight : bold;
  13. text-shadow : none;
  14. border-color : #d7d2ce;
  15. border-bottom: 1px solid;
  16. &:not(:last-child) {
  17. border-right: 1px solid #d7d2ce;
  18. }
  19. }
  20. .layui-table-view .layui-table td {
  21. border-bottom: unset;
  22. &:not(:last-child) {
  23. border-right: 1px solid #d7d2ce;
  24. }
  25. }
  26. .layui-table {
  27. color : #2e3436;
  28. background: #f6f5f4;
  29. }
  30. .layui-table-view .layui-table[lay-size="sm"] .layui-table-cell {
  31. line-height: 30px;
  32. }
  33. .layui-table tbody tr:hover,
  34. .layui-table thead tr,
  35. .layui-table-click,
  36. .layui-table-header,
  37. .layui-table-hover,
  38. .layui-table-mend,
  39. .layui-table-patch,
  40. .layui-table-tool,
  41. .layui-table-total,
  42. .layui-table-total tr {
  43. background-color: unset;
  44. }
  45. .layui-table-cell {
  46. padding: 0 4px;
  47. }
  48. .layui-table img {
  49. height: 25px !important;
  50. width : auto !important;
  51. }
  52. .layui-btn {
  53. position : relative;
  54. outline : none;
  55. overflow : visible;
  56. line-height : 28px;
  57. border-radius : 5px;
  58. transition : all .15s cubic-bezier(.25, .46, .45, .94);
  59. padding : 4px 9px;
  60. user-select : none;
  61. color : #2e3436;
  62. outline-color : rgba(53, 132, 228, .5);
  63. border : 1px solid #cdc7c2;
  64. border-bottom-color: rgb(205, 199, 194);
  65. border-bottom-color: #bfb8b1;
  66. background-color : #f6f5f4;
  67. box-shadow : inset 0 1px #fff, 0 1px 2px rgba(0, 0, 0, .07);
  68. &::before {
  69. content : ' ';
  70. position : absolute;
  71. pointer-events: none;
  72. width : 100%;
  73. height : 100%;
  74. top : 0px;
  75. left : 0px;
  76. background : linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
  77. transition : all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  78. }
  79. &::after {
  80. content : '';
  81. position : absolute;
  82. pointer-events: none;
  83. z-index : 2;
  84. display : inline-block;
  85. border : 2px solid transparent;
  86. border-radius : inherit;
  87. transition : all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  88. top : -4px;
  89. left : -4px;
  90. width : calc(100% - -4px);
  91. height : calc(100% - -4px);
  92. }
  93. &.layui-btn-normal {
  94. color : #fff;
  95. border-color : #1b6acb #1b6acb #15539e;
  96. background-color: #3c88e5;
  97. box-shadow : inset 0 1px #3181e3, 0 1px 2px rgba(0, 0, 0, .07);
  98. }
  99. &.layui-btn-danger {
  100. color : #fff;
  101. border-color : #b2161d #b2161d #851015;
  102. background-color: #e41f28;
  103. box-shadow : inset 0 1px #db1a23, 0 1px 2px rgba(0, 0, 0, .07);
  104. }
  105. &.layui-btn-sm {
  106. line-height: 20px;
  107. }
  108. &.layui-btn-xs {
  109. line-height: 12px
  110. }
  111. }
  112. .layuimini-container .layui-table-tool .layui-inline[lay-event] {
  113. @extend .layui-btn;
  114. line-height : 32px;
  115. min-width : 32px;
  116. min-height : 32px;
  117. padding : 0;
  118. border-radius: 9999px;
  119. }
  120. .layui-laydate .layui-this {
  121. background-color: #3584e4 !important;
  122. }
  123. .layui-laydate-content td,
  124. .layui-laydate-content th {
  125. width : 36px;
  126. height : 36px;
  127. border-radius: 100%;
  128. }
  129. .laydate-footer-btns span {
  130. @extend .layui-btn;
  131. line-height: 16px;
  132. &:not(:last-child) {
  133. border-right-style : none;
  134. border-top-right-radius : 0;
  135. border-bottom-right-radius: 0;
  136. }
  137. &:not(:first-child) {
  138. border-top-left-radius : 0;
  139. border-bottom-left-radius: 0;
  140. }
  141. }
  142. .layui-laydate-footer span {
  143. @extend .layui-btn;
  144. line-height: 16px;
  145. }
  146. .layui-laydate-footer span.layui-laydate-preview {
  147. line-height: 22px;
  148. }
  149. .layui-form-checked[lay-skin="primary"] i {
  150. border-color : #185fb4 !important;
  151. background-color: #5094e8;
  152. background-image: linear-gradient(0deg, #3987e5, #5094e8);
  153. }
  154. .layui-form-checkbox[lay-skin="primary"]:hover i {
  155. border-color : #185fb4;
  156. background-image: linear-gradient(0deg, #5094e8, #6ba5eb);
  157. }
  158. .layui-table-view .layui-form-checkbox[lay-skin="primary"] i {
  159. border-radius: 3px;
  160. }
  161. .layui-table-view .layui-form-checkbox i {
  162. font-weight: bold;
  163. }
  164. .layui-layer-title {
  165. padding : 0 6px;
  166. min-height : 46px;
  167. border : 1px solid #bfb8b1;
  168. border-top-left-radius : 8px;
  169. border-top-right-radius: 8px;
  170. background : #f1f0ee linear-gradient(0deg, #dfdcd8, #f4f2f1) !important;
  171. color : #2e3436 !important;
  172. padding-left : 12px;
  173. padding-right : 12px;
  174. font-weight : bold;
  175. }
  176. .layui-layer {
  177. background-color: #f6f5f4;
  178. }
  179. .layui-layer-easy .layui-layer-title~.layui-layer-setwin>a {
  180. position : relative;
  181. outline : none;
  182. overflow : visible;
  183. border-radius: 5px;
  184. transition : all .15s cubic-bezier(.25, .46, .45, .94);
  185. user-select : none;
  186. outline-color : rgba(53, 132, 228, .5);
  187. border : 1px solid #cdc7c2;
  188. border-bottom-color: rgb(205, 199, 194);
  189. border-bottom-color: #bfb8b1;
  190. background-color : #f6f5f4;
  191. box-shadow : inset 0 1px #fff, 0 1px 2px rgba(0, 0, 0, .07);
  192. height : 20px;
  193. line-height : 20px;
  194. width : 20px;
  195. text-align : center;
  196. display : inline-flex;
  197. align-items : center;
  198. justify-content : center;
  199. &::after {
  200. color: #2e3436 !important;
  201. }
  202. }
  203. .layui-layer-setwin {
  204. display : flex;
  205. align-items: center;
  206. }
  207. .layuimini-container .layui-form-switch.layui-form-onswitch {
  208. color : #ffffff;
  209. border-color : #185fb4;
  210. background-color: #3584e4;
  211. text-shadow : 0 1px rgba(53, 132, 228, 0.5), 0 0 2px rgba(255, 255, 255, 0.6);
  212. }
  213. .layuimini-container .layui-form-switch {
  214. border : 1px solid #cdc7c2;
  215. border-radius : 20px;
  216. color : rgba(46, 52, 54, 0.2);
  217. background-color: #e1dedb;
  218. text-shadow : 0 1px rgba(0, 0, 0, 0.1);
  219. transition : all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  220. }
  221. .layui-form-switch {
  222. height: 20px;
  223. width : 40px;
  224. }
  225. .layui-form-switch {
  226. padding : 0;
  227. line-height: 20px;
  228. }
  229. .layui-form-switch.layui-form-onswitch i {
  230. top : 0;
  231. height : 20px;
  232. width : 20px;
  233. margin-left: -20px;
  234. }
  235. .layui-form-switch i {
  236. top : 0;
  237. height : 20px;
  238. width : 20px;
  239. margin-left : -5px;
  240. border-radius : 50%;
  241. transition : all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  242. color : #2e3436;
  243. outline-color : rgba(53, 132, 228, 0.5);
  244. border-color : #cdc7c2;
  245. border-bottom-color: #bfb8b1;
  246. background-color : #f6f5f4;
  247. box-shadow : inset 0 1px white, 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.07);
  248. }
  249. .layuimini-main {
  250. background-color: unset;
  251. }
  252. .layui-tab-title li {
  253. transition : none;
  254. padding : 3px 12px;
  255. min-height : 30px;
  256. min-width : 65px;
  257. display : flex;
  258. justify-content : center;
  259. align-items : center;
  260. white-space : nowrap;
  261. color : #2e3436;
  262. font-weight : normal;
  263. user-select : none;
  264. border : 0;
  265. border-top-style : none;
  266. border-right-style : none;
  267. border-bottom-style: none;
  268. border-left-style : none;
  269. &:hover {
  270. box-shadow : inset 0 -3px #c8c2bc;
  271. background-color: #edebe9;
  272. }
  273. &.layui-this {
  274. box-shadow : inset 0 -3px #3584e4;
  275. background-color: #f1f0ee;
  276. }
  277. }
  278. .layui-tab-title {
  279. display : flex;
  280. align-items : center;
  281. flex-direction: row;
  282. padding-left : 4px;
  283. padding-right : 4px;
  284. }
  285. .layuimini-tab>.layui-tab-title li,
  286. .layuimini-tab>.close-box li {
  287. line-height: 20px !important;
  288. }
  289. .layuimini-tab .layui-tab-title .layui-this .layuimini-tab-active {
  290. display: none;
  291. }
  292. .layuimini-tab .layui-tab-title .layui-this span {
  293. color: #2e3436 !important
  294. }
  295. .layuimini-tab .layui-tab-title span {
  296. color: #2e3436 !important
  297. }
  298. .layuimini-tab .layui-tab-title .layuimini-tab-active {
  299. display: none;
  300. }
  301. .layuimini-tab .layui-tab-title {
  302. background-color: #e1dedb;
  303. border-color : #cdc7c2;
  304. }
  305. .layui-layer-easy .layui-layer-btn {
  306. background-color: #f2f2f2;
  307. }
  308. .layui-layer-dialog .layui-layer-content {
  309. background-color: #f2f2f2;
  310. }
  311. .layui-layer-easy .layui-layer-btn a {
  312. position : relative;
  313. outline : none;
  314. overflow : visible;
  315. line-height : 22px;
  316. height : 22px;
  317. border-radius : 5px;
  318. transition : all .15s cubic-bezier(.25, .46, .45, .94);
  319. padding : 4px 9px;
  320. user-select : none;
  321. color : #2e3436 !important;
  322. outline-color : rgba(53, 132, 228, .5);
  323. border : 1px solid #cdc7c2;
  324. border-bottom-color: rgb(205, 199, 194);
  325. border-bottom-color: #bfb8b1;
  326. background-color : #f6f5f4;
  327. box-shadow : inset 0 1px #fff, 0 1px 2px rgba(0, 0, 0, .07);
  328. &::before {
  329. content : ' ';
  330. position : absolute;
  331. pointer-events: none;
  332. width : 100%;
  333. height : 100%;
  334. top : 0px;
  335. left : 0px;
  336. background : linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
  337. transition : all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  338. }
  339. &::after {
  340. content : '';
  341. position : absolute;
  342. pointer-events: none;
  343. z-index : 2;
  344. display : inline-block;
  345. border : 2px solid transparent;
  346. border-radius : inherit;
  347. transition : all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  348. top : -4px;
  349. left : -4px;
  350. width : calc(100% - -4px);
  351. height : calc(100% - -4px);
  352. }
  353. &.layui-layer-btn0 {
  354. color : #fff !important;
  355. border-color : #1b6acb #1b6acb #15539e;
  356. background-color: #3c88e5;
  357. box-shadow : inset 0 1px #3181e3, 0 1px 2px rgba(0, 0, 0, .07);
  358. }
  359. }
  360. .layui-tab-brief {
  361. &>.layui-tab-title {
  362. li {
  363. @extend .layui-btn;
  364. &:not(:last-child) {
  365. border-right-style : none;
  366. border-top-right-radius : 0;
  367. border-bottom-right-radius: 0;
  368. }
  369. &:not(:first-child) {
  370. border-top-left-radius : 0;
  371. border-bottom-left-radius: 0;
  372. }
  373. &.layui-this {
  374. color : unset;
  375. color : #2e3436;
  376. border-color : #cdc7c2;
  377. background-color: #d6d1cd;
  378. box-shadow : inset 0 1px rgba(255, 255, 255, 0);
  379. &::after {
  380. display: none;
  381. }
  382. }
  383. &:hover {
  384. box-shadow : unset;
  385. background-color: #edebe9;
  386. }
  387. }
  388. }
  389. }
  390. .layui-form-radio:hover *,
  391. .layui-form-radioed,
  392. .layui-form-radioed>i {
  393. color: #5094e8;
  394. }
  395. .layui-card {
  396. .layui-card-header {
  397. padding : 0 6px;
  398. min-height : 46px;
  399. border-width : 1px;
  400. border-style : solid;
  401. border-color : #bfb8b1;
  402. border-top-left-radius : 8px;
  403. border-top-right-radius: 8px;
  404. background : #f1f0ee linear-gradient(to top, #dfdcd8, #f4f2f1);
  405. box-shadow : inset 0 1px rgba(255, 255, 255, 0.8), inset 0 -2px 2px rgba(0, 0, 0, 0.02);
  406. .icon {
  407. color: #979a9b !important;
  408. }
  409. }
  410. .layui-card-body {
  411. background-color: #f6f5f4;
  412. border : 1px solid #cdc7c2;
  413. }
  414. }
  415. .layui-btn,
  416. .layui-input,
  417. .layui-select,
  418. .layui-textarea,
  419. .layui-upload-button,
  420. .city-picker-span {
  421. border-radius: 5px;
  422. border : 1px solid #cdc7c2;
  423. }
  424. .layui-side.layui-bg-black,
  425. .layui-side.layui-bg-black>.layuimini-menu-left>ul,
  426. .layuimini-menu-left-zoom>ul {
  427. background-color: #f6f5f4 !important;
  428. }
  429. .layuimini-menu-left {
  430. background-color: #fbfafa;
  431. border-right : 1px solid #cdc7c2;
  432. .layui-nav {
  433. li {
  434. &:not(:first-child) {
  435. border-top: 1px solid #cdc7c2;
  436. }
  437. &.layui-this {
  438. a {
  439. background-color: #347cd3 !important;
  440. color : #fff !important;
  441. }
  442. }
  443. }
  444. }
  445. }
  446. .layuimini-menu-left .layui-nav .layui-this a,
  447. .layuimini-menu-left-zoom.layui-nav .layui-this a {
  448. color: #2e3436 !important;
  449. }
  450. .layuimini-menu-left .layui-nav .layui-nav-item.layui-this a:hover,
  451. .layuimini-menu-left-zoom.layui-nav .layui-nav-item.layui-this a:hover {
  452. color: #fff !important;
  453. }
  454. .layuimini-menu-left .layui-nav .layui-nav-item a,
  455. .layuimini-menu-left-zoom.layui-nav .layui-nav-item a {
  456. color: #2e3436 !important;
  457. &:hover {
  458. color: #2e3436 !important;
  459. }
  460. }
  461. .layuimini-menu-left .layui-nav .layui-nav-item a {
  462. height : 30px;
  463. line-height: 30px;
  464. }
  465. .layuimini-menu-left .layui-nav-itemed>.layui-nav-child {
  466. background-color: rgba(46, 52, 54, 0.05) !important;
  467. border-top : 1px solid #d7d2ce;
  468. dd {
  469. border-bottom: 1px solid #d7d2ce;
  470. }
  471. }
  472. .layuimini-menu-left .layui-nav-tree .layui-this,
  473. .layuimini-menu-left .layui-nav-tree .layui-this>a,
  474. .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this,
  475. .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this a,
  476. .layuimini-menu-left-zoom.layui-nav-tree .layui-this,
  477. .layuimini-menu-left-zoom.layui-nav-tree .layui-this>a,
  478. .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this,
  479. .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this a {
  480. background-color: #347cd3 !important;
  481. color : #fff !important;
  482. }
  483. .layui-layout-admin .layuimini-logo {
  484. background-color: unset !important;
  485. }
  486. .layuimini-header-menu>li.layui-nav-item {
  487. @extend .layui-btn;
  488. margin-top : 10px;
  489. height : 30px !important;
  490. line-height: 30px !important;
  491. &::after {
  492. background-color: transparent;
  493. }
  494. &:not(:last-child) {
  495. border-right-style : none;
  496. border-top-right-radius : 0;
  497. border-bottom-right-radius: 0;
  498. }
  499. &:not(:first-child) {
  500. border-top-left-radius : 0;
  501. border-bottom-left-radius: 0;
  502. }
  503. &:nth-last-child(2) {
  504. border-right-style : solid;
  505. border-radius : 5px;
  506. border-top-left-radius : 0;
  507. border-bottom-left-radius: 0;
  508. }
  509. }
  510. .layui-layout-admin .layui-header {
  511. background-color: #f6f5f4 !important;
  512. }
  513. .layui-layer-dialog {
  514. border-radius: 20px;
  515. }
  516. .layui-layer-iframe {
  517. border-radius: 20px;
  518. }
  519. .layuimini-tab .layui-tab-control>li {
  520. background-color: #e1dedb;
  521. border-style : solid;
  522. border-color : #cdc7c2;
  523. }
  524. .form-search .layui-btn {
  525. height : 32px;
  526. line-height: 22px;
  527. }
  528. .form-search .layui-form-select dl {
  529. transition : all 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  530. background-color : #ffffff;
  531. background-clip : padding-box;
  532. border : 1px solid rgba(0, 0, 0, 0.23);
  533. border-top-left-radius : 0;
  534. border-top-right-radius: 0;
  535. border-radius : 9px;
  536. border-top-left-radius : 0px;
  537. border-top-right-radius: 0px;
  538. box-shadow : 0 1px 3px 2px rgba(0, 0, 0, 0.08);
  539. top : 28px;
  540. }
  541. .layui-form-select dl dd,
  542. .layui-form-select dl dt {
  543. height : 30px;
  544. line-height: 30px;
  545. padding : 0 10px;
  546. }
  547. .layuimini-container .layui-form-select dl dd.layui-this {
  548. background-color: #3c88e5 !important;
  549. }
  550. .layui-table-header .layui-table {
  551. margin-bottom: 0;
  552. }
  553. .layui-header .layui-nav .layui-nav-child dd.layui-this a,
  554. .layui-header .layui-nav-child dd.layui-this,
  555. .layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
  556. background-color: #3c88e5 !important;
  557. }
  558. .layuimini-mobile-show {
  559. .layui-nav-more {
  560. top: 4px;
  561. }
  562. }
  563. .layui-layer-easy .layui-layer-setwin>span {
  564. color: #2e3436;
  565. }
  566. .layui-layer-easy .layui-layer-setwin>span:after {
  567. color: #2e3436;
  568. }
  569. .layui-layer-easy .layui-layer-setwin .layui-layer-max::after,
  570. .layui-layer-easy .layui-layer-setwin .layui-layer-max::before {
  571. border-color: #2e3436;
  572. }
  573. .layui-layer-easy .layui-layer-setwin .layui-layer-min::before {
  574. background-color: #2e3436;
  575. }