backend.less 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128
  1. @import (reference) "bootstrap-less/mixins.less";
  2. @import (reference) "bootstrap-less/variables.less";
  3. @import (reference) "fastadmin/mixins.less";
  4. @import (reference) "fastadmin/variables.less";
  5. @import "lesshat.less";
  6. @import url("../css/bootstrap.css");
  7. @import url("../css/fastadmin.css");
  8. @import url("../css/skins/skin-green.css");
  9. @import url("../css/iconfont.css");
  10. @import url("../libs/font-awesome/css/font-awesome.min.css");
  11. @import url("../libs/toastr/toastr.min.css");
  12. @import url("../libs/layer/dist/theme/default/layer.css");
  13. @import url("../libs/bootstrap-table/dist/bootstrap-table.min.css");
  14. @import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
  15. @import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
  16. @import url("../libs/nice-validator/dist/jquery.validator.css");
  17. @import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
  18. @import url("../libs/fastadmin-selectpage/selectpage.css");
  19. @main-bg: #f1f4f6;
  20. @panel-intro-bg: darken(@main-bg, 3%);
  21. @panel-nav-bg: #fff;
  22. body {
  23. background: #f1f4f6;
  24. font-size: 13px;
  25. }
  26. body.is-dialog {
  27. background: #fff;
  28. }
  29. .selection {
  30. position: absolute;
  31. border: 1px solid #8B9;
  32. background-color: #BEC;
  33. }
  34. .main-header {
  35. .logo, .navbar {
  36. .transition(none);
  37. }
  38. .navbar {
  39. position: relative;
  40. }
  41. }
  42. .bootstrap-dialog .modal-dialog {
  43. /*width: 70%;*/
  44. max-width: 885px;
  45. }
  46. /*iOS兼容*/
  47. html.ios-fix, html.ios-fix body {
  48. height: 100%;
  49. overflow: auto;
  50. -webkit-overflow-scrolling: touch;
  51. }
  52. #header {
  53. background: #fff;
  54. //box-shadow: 0 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05);
  55. }
  56. .content-wrapper {
  57. position: relative;
  58. }
  59. .control-relative {
  60. position: relative;
  61. }
  62. .tab-addtabs {
  63. overflow: hidden;
  64. .tab-pane {
  65. height: 100%;
  66. width: 100%;
  67. }
  68. }
  69. .row-between {
  70. .col-xs-6 + .col-xs-6:before {
  71. content: "-";
  72. position: absolute;
  73. left: -2%;
  74. top: 6px;
  75. }
  76. }
  77. @media only screen and (min-width: 481px) {
  78. .row-flex {
  79. display: flex;
  80. flex-wrap: wrap;
  81. }
  82. .row-flex > [class*='col-'] {
  83. display: flex;
  84. flex-direction: column;
  85. }
  86. .row-flex.row:after,
  87. .row-flex.row:before {
  88. display: flex;
  89. }
  90. }
  91. @media (max-width: 991px) {
  92. .main-header .navbar-custom-menu a {
  93. &.btn-danger {
  94. color: #fff;
  95. background-color: @brand-danger;
  96. }
  97. &.btn-primary {
  98. color: #fff;
  99. background-color: @brand-primary;
  100. }
  101. }
  102. }
  103. .common-search-table {
  104. min-height: 20px;
  105. padding: 15px;
  106. margin-bottom: 15px;
  107. background-color: #f5f5f5;
  108. }
  109. /* 固定的底部按钮 */
  110. .fixed-footer {
  111. position: fixed;
  112. bottom: 0;
  113. background-color: #ecf0f1;
  114. width: 100%;
  115. margin-bottom: 0;
  116. padding: 10px;
  117. }
  118. table.table-template {
  119. overflow: hidden;
  120. }
  121. .sp_container .msg-box {
  122. position: absolute;
  123. right: 0;
  124. top: 0;
  125. }
  126. .toast-top-right-index {
  127. top: 62px;
  128. right: 12px;
  129. }
  130. .bootstrap-select .status {
  131. background: #f0f0f0;
  132. clear: both;
  133. color: #999;
  134. font-size: 12px;
  135. font-weight: 500;
  136. line-height: 1;
  137. margin-bottom: -5px;
  138. padding: 10px 20px;
  139. }
  140. .img-center {
  141. margin: 0 auto;
  142. display: inline;
  143. float: none;
  144. }
  145. /*
  146. * RIBBON
  147. */
  148. #ribbon {
  149. overflow: hidden;
  150. padding: 15px 15px 0 15px;
  151. position: relative;
  152. a {
  153. color: #777 !important;
  154. text-decoration: none !important;
  155. }
  156. .breadcrumb {
  157. display: inline-block;
  158. margin: 0;
  159. padding: 0;
  160. background: none;
  161. vertical-align: top;
  162. }
  163. .breadcrumb > .active,
  164. .breadcrumb li {
  165. color: #aaa;
  166. }
  167. .shortcut {
  168. a {
  169. margin-left: 10px;
  170. }
  171. }
  172. }
  173. .is-dialog {
  174. #main {
  175. background: #fff;
  176. }
  177. .layer-footer {
  178. display: none;
  179. }
  180. }
  181. form.form-horizontal .control-label {
  182. font-weight: normal;
  183. }
  184. .user-panel > .image img {
  185. width: 45px;
  186. height: 45px;
  187. }
  188. /*panel扩展描述样式*/
  189. .panel-intro {
  190. margin-bottom: 0;
  191. border: none;
  192. > .panel-heading {
  193. padding: 15px;
  194. padding-bottom: 0;
  195. background: @panel-intro-bg;
  196. border-color: @panel-intro-bg;
  197. position: relative;
  198. .panel-lead {
  199. margin-bottom: 15px;
  200. em {
  201. display: block;
  202. font-weight: bold;
  203. font-style: normal;
  204. }
  205. }
  206. .panel-title {
  207. height: 25px;
  208. font-weight: normal;
  209. white-space: nowrap;
  210. overflow: hidden;
  211. text-overflow: ellipsis;
  212. }
  213. .panel-control {
  214. height: 42px;
  215. position: absolute;
  216. top: 8px;
  217. right: 8px;
  218. .fa {
  219. font-size: 14px;
  220. }
  221. }
  222. .nav-tabs {
  223. border-bottom: 0;
  224. margin-bottom: 0;
  225. }
  226. .nav-tabs > li > a {
  227. margin-right: 4px;
  228. color: #95a5a6;
  229. background-color: darken(@panel-intro-bg, 5%);
  230. border: 1px solid @panel-intro-bg;
  231. border-bottom-color: transparent;
  232. }
  233. .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  234. border: 1px solid @panel-intro-bg;
  235. color: #7b8a8b;
  236. background-color: darken(@panel-intro-bg, 10%);
  237. }
  238. .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  239. color: #7b8a8b;
  240. background-color: #ffffff;
  241. border-bottom-color: transparent;
  242. cursor: default;
  243. }
  244. }
  245. }
  246. /*单表格*/
  247. .panel-tabs {
  248. .panel-heading {
  249. padding: 12px 15px 12px 15px;
  250. .panel-lead {
  251. margin-bottom: 0px;
  252. }
  253. .panel-title {
  254. }
  255. }
  256. }
  257. /*选项卡*/
  258. .panel-nav {
  259. .panel-heading {
  260. padding: 0px;
  261. padding-bottom: 0;
  262. background: @main-bg;
  263. border-color: @main-bg;
  264. }
  265. .nav-tabs > li > a {
  266. padding: 12px 15px;
  267. background-color: @panel-intro-bg;
  268. border: 1px solid @main-bg;
  269. }
  270. .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  271. border: 1px solid @panel-intro-bg;
  272. background-color: @panel-intro-bg;
  273. }
  274. .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  275. border-color: @main-bg;
  276. border-bottom-color: transparent;
  277. }
  278. }
  279. /*顶栏addtabs*/
  280. .nav-addtabs {
  281. height: 100%;
  282. &.disable-top-badge {
  283. > li > a > .pull-right-container {
  284. display: none;
  285. }
  286. }
  287. border: none;
  288. > li {
  289. margin: 0;
  290. > a {
  291. height: 50px;
  292. line-height: 50px;
  293. padding: 0 15px;
  294. border-radius: 0;
  295. border: none;
  296. border-right: 1px solid rgba(0, 0, 0, 0.05);
  297. margin: 0;
  298. color: #95a5a6;
  299. &:hover, &:focus {
  300. border: none;
  301. color: #2c3e50;
  302. border-right: 1px solid rgba(0, 0, 0, 0.05);
  303. }
  304. }
  305. &.active > a {
  306. height: 50px;
  307. line-height: 50px;
  308. padding: 0 15px;
  309. border-radius: 0;
  310. border: none;
  311. border-right: 1px solid rgba(0, 0, 0, 0.05);
  312. background: #f1f4f6;
  313. color: #2c3e50;
  314. overflow: hidden;
  315. &:hover, &:focus {
  316. border: none;
  317. color: #2c3e50;
  318. background: #f1f4f6;
  319. border-right: 1px solid rgba(0, 0, 0, 0.05);
  320. }
  321. }
  322. .close-tab {
  323. font-size: 10px;
  324. position: absolute;
  325. right: 0px;
  326. top: 50%;
  327. margin-top: -8px;
  328. z-index: 100;
  329. cursor: pointer;
  330. color: #eee;
  331. &:before {
  332. content: "\e626";
  333. font-family: iconfont;
  334. font-style: normal;
  335. font-weight: normal;
  336. text-decoration: inherit;
  337. font-size: 18px;
  338. }
  339. display: none;
  340. }
  341. }
  342. .open > a {
  343. &:hover, &:focus {
  344. border-right: 1px solid rgba(0, 0, 0, 0.05);
  345. }
  346. }
  347. ul li {
  348. position: relative;
  349. }
  350. li:hover > .close-tab {
  351. display: block;
  352. }
  353. }
  354. .multiplenav {
  355. .content-wrapper, .right-side {
  356. padding-top: 94px;
  357. }
  358. #firstnav .nav-addtabs {
  359. padding-right: 450px;
  360. }
  361. }
  362. #firstnav {
  363. height: 50px;
  364. border-bottom: 1px solid transparent;
  365. box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  366. position: relative;
  367. .sidebar-toggle {
  368. position: absolute;
  369. width: 45px;
  370. text-align: center;
  371. height: 50px;
  372. line-height: 50px;
  373. padding: 0;
  374. }
  375. .nav-addtabs {
  376. position: absolute;
  377. left: 45px;
  378. z-index: 98;
  379. }
  380. .navbar-custom-menu {
  381. position: absolute;
  382. top: 0;
  383. right: 0;
  384. z-index: 99;
  385. background: transparent;
  386. }
  387. }
  388. /*次栏菜单栏*/
  389. #secondnav {
  390. height: 44px;
  391. position: absolute;
  392. top: 50px;
  393. left: 0;
  394. background: #fff;
  395. width: 100%;
  396. box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  397. padding: 5px 10px;
  398. -webkit-user-select: none;
  399. -moz-user-select: none;
  400. user-select: none;
  401. .nav-addtabs {
  402. height: 100%;
  403. &.disable-top-badge {
  404. > li > a > .pull-right-container {
  405. display: none;
  406. }
  407. }
  408. border: none;
  409. > li {
  410. border: 1px solid #eee;
  411. border-radius: 3px;
  412. padding: 0 15px;
  413. height: 30px;
  414. line-height: 30px;
  415. margin: 2px 5px 2px 0;
  416. background: #fff;
  417. > a {
  418. display: block;
  419. color: #495060 !important;
  420. height: 100%;
  421. padding: 0;
  422. line-height: 28px;
  423. font-size: 12px;
  424. vertical-align: middle;
  425. opacity: 1;
  426. overflow: hidden;
  427. background: none;
  428. border: none;
  429. }
  430. &.active {
  431. border-color: #bdbebd;
  432. background-color: #f7f7f7;
  433. }
  434. .close-tab {
  435. font-size: 10px;
  436. position: absolute;
  437. right: 0px;
  438. top: 50%;
  439. margin-top: -8px;
  440. z-index: 100;
  441. cursor: pointer;
  442. color: #eee;
  443. &:before {
  444. content: "\e626";
  445. font-family: iconfont;
  446. font-style: normal;
  447. font-weight: normal;
  448. text-decoration: inherit;
  449. font-size: 18px;
  450. }
  451. }
  452. &:hover, &:focus {
  453. border-color: #bdbebd;
  454. }
  455. }
  456. ul li {
  457. position: relative;
  458. }
  459. li:hover > .close-tab {
  460. display: block;
  461. border-color: #222e32;
  462. color: #222e32
  463. }
  464. }
  465. }
  466. .main-sidebar .sidebar-form {
  467. overflow: visible;
  468. .menuresult {
  469. z-index: 999;
  470. position: absolute;
  471. top: 34px;
  472. left: -1px;
  473. width: 100%;
  474. max-height: 250px;
  475. overflow: auto;
  476. margin: 0;
  477. border-top: none;
  478. border-top-left-radius: 0;
  479. border-top-right-radius: 0;
  480. a {
  481. border-top: 1px solid #eee;
  482. display: block;
  483. background-color: #fff;
  484. border-bottom: 1px solid #eee;
  485. margin-bottom: -1px;
  486. display: block;
  487. padding: 10px 15px;
  488. color: #222d32;
  489. &:hover {
  490. background: #eee;
  491. }
  492. }
  493. }
  494. }
  495. .input-group .sp_result_area {
  496. width: 100%;
  497. }
  498. .sidebar-menu {
  499. &.show-submenu {
  500. .treeview-menu {
  501. display: block;
  502. }
  503. }
  504. > li .badge {
  505. margin-top: 0;
  506. }
  507. .treeview-menu > li > a {
  508. font-size: inherit;
  509. }
  510. }
  511. .sidebar-collapse {
  512. .user-panel > .image img {
  513. width: 25px;
  514. height: 25px;
  515. }
  516. }
  517. @media (min-width: 768px) {
  518. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
  519. top: 41px;
  520. }
  521. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
  522. top: 7px !important;
  523. height: 17px;
  524. }
  525. }
  526. .fieldlist dd {
  527. display: block;
  528. margin: 5px 0;
  529. input {
  530. display: inline-block;
  531. width: 300px;
  532. }
  533. input:first-child {
  534. width: 110px;
  535. }
  536. ins {
  537. width: 110px;
  538. display: inline-block;
  539. text-decoration: none;
  540. font-weight: bold;
  541. }
  542. }
  543. /* 弹窗中的表单 */
  544. .form-layer {
  545. height: 100%;
  546. min-height: 150px;
  547. min-width: 300px;
  548. .form-body {
  549. width: 100%;
  550. overflow: auto;
  551. top: 0;
  552. position: absolute;
  553. z-index: 10;
  554. bottom: 50px;
  555. padding: 15px;
  556. }
  557. .form-footer {
  558. height: 50px;
  559. line-height: 50px;
  560. background-color: #ecf0f1;
  561. width: 100%;
  562. position: absolute;
  563. z-index: 200;
  564. bottom: 0;
  565. margin: 0;
  566. }
  567. .form-footer .form-group {
  568. margin-left: 0;
  569. margin-right: 0;
  570. }
  571. }
  572. #treeview {
  573. .jstree-container-ul .jstree-node {
  574. display: block;
  575. clear: both;
  576. }
  577. .jstree-leaf:not(:first-child) {
  578. float: left;
  579. background: none;
  580. margin-left: 0;
  581. width: 80px;
  582. clear: none;
  583. }
  584. .jstree-leaf {
  585. float: left;
  586. margin-left: 0;
  587. padding-left: 24px;
  588. width: 80px;
  589. clear: none;
  590. color: #777;
  591. }
  592. .jstree-leaf > .jstree-icon, .jstree-leaf .jstree-themeicon {
  593. display: none;
  594. }
  595. .jstree-last {
  596. background-image: url("../img/32px.png");
  597. background-position: -292px -4px;
  598. background-repeat: repeat-y;
  599. }
  600. .jstree-children {
  601. .clearfix();
  602. }
  603. .jstree-themeicon {
  604. display: none;
  605. }
  606. }
  607. /*去除bootstrap-table的边框*/
  608. .fixed-table-container {
  609. border: none !important;
  610. }
  611. /*修复nice-validator新版下的一处BUG*/
  612. .nice-validator {
  613. input, select, textarea, [contenteditable] {
  614. display: inline-block;
  615. *display: inline;
  616. *zoom: 1;
  617. }
  618. }
  619. /*修复nice-validator和summernote的编辑框冲突*/
  620. .nice-validator .note-editor .note-editing-area .note-editable {
  621. display: inherit;
  622. }
  623. /*预览区域*/
  624. .plupload-preview {
  625. padding: 0 10px;
  626. margin-bottom: 0;
  627. li {
  628. margin-top: 15px;
  629. }
  630. .thumbnail {
  631. margin-bottom: 10px;
  632. }
  633. a {
  634. display: block;
  635. &:first-child {
  636. height: 90px;
  637. }
  638. img {
  639. height: 80px;
  640. object-fit: cover;
  641. }
  642. }
  643. }
  644. .pjax-loader-bar .progress {
  645. position: fixed;
  646. top: 0;
  647. left: 0;
  648. height: 2px;
  649. background: #77b6ff;
  650. box-shadow: 0 0 10px rgba(119, 182, 255, 0.7);
  651. -webkit-transition: width 0.4s ease;
  652. transition: width 0.4s ease;
  653. }
  654. .dropdown-menu.text-left {
  655. a, li {
  656. text-align: left !important;
  657. }
  658. }
  659. .bootstrap-table .fixed-table-toolbar .dropdown-menu {
  660. overflow: auto;
  661. }
  662. .bootstrap-table .fa-toggle-on.fa-2x {
  663. font-size: 1.86em;
  664. }
  665. .bootstrap-table .form-commonsearch .form-group {
  666. margin-left: 0;
  667. margin-right: 0;
  668. white-space: nowrap;
  669. }
  670. .toolbar {
  671. margin-top: 10px;
  672. margin-bottom: 10px;
  673. }
  674. .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
  675. line-height: inherit;
  676. }
  677. .fixed-table-toolbar .toolbar {
  678. margin-top: 0;
  679. margin-bottom: 0;
  680. }
  681. .bootstrap-table table tbody tr:first-child td .bs-checkbox {
  682. vertical-align: middle;
  683. }
  684. .bootstrap-table td.bs-checkbox {
  685. vertical-align: middle;
  686. }
  687. table.table-nowrap {
  688. tbody > tr > td, thead > tr > th {
  689. white-space: nowrap;
  690. }
  691. }
  692. .fixed-table-container thead th .sortable {
  693. padding-right: 0;
  694. }
  695. .dropdown-submenu {
  696. position: relative;
  697. > .dropdown-menu {
  698. overflow: auto;
  699. top: 0;
  700. left: 100%;
  701. margin-top: -6px;
  702. margin-left: -1px;
  703. .border-radius(0 6px 6px 6px);
  704. }
  705. &:hover {
  706. > .dropdown-menu {
  707. display: block;
  708. }
  709. > a:after {
  710. border-left-color: #fff;
  711. }
  712. }
  713. > a:after {
  714. display: block;
  715. content: " ";
  716. float: right;
  717. width: 0;
  718. height: 0;
  719. border-color: transparent;
  720. border-style: solid;
  721. border-width: 5px 0 5px 5px;
  722. border-left-color: #ccc;
  723. margin-top: 5px;
  724. margin-right: -10px;
  725. }
  726. &.pull-left {
  727. float: none;
  728. > .dropdown-menu {
  729. left: -100%;
  730. margin-left: 10px;
  731. .border-radius(6px 0 6px 6px);
  732. }
  733. }
  734. }
  735. /*重写toast的几个背景色*/
  736. .toast-primary {
  737. background-color: #48c9b0 !important;
  738. }
  739. .toast-success {
  740. background-color: #18bc9c !important;
  741. }
  742. .toast-error {
  743. background-color: #e74c3c !important;
  744. }
  745. .toast-info {
  746. background-color: #5dade2 !important;
  747. }
  748. .toast-warning {
  749. background-color: #f1c40f !important;
  750. }
  751. .toast-inverse {
  752. background-color: #34495e !important;
  753. }
  754. .toast-default {
  755. background-color: #bdc3c7 !important;
  756. }
  757. #toast-container {
  758. > div, > div:hover {
  759. .box-shadow(0 0 3px #eee);
  760. }
  761. }
  762. .layui-layer-fast {
  763. .layui-layer-title {
  764. background: #2c3e50 !important;
  765. color: #fff !important;
  766. border-bottom: none;
  767. //只有当包含layui-layer-title标题时才显示按钮
  768. ~ .layui-layer-setwin {
  769. top: 0px;
  770. height: 42px;
  771. > a {
  772. height: 42px;
  773. line-height: 42px;
  774. display: inline-block;
  775. }
  776. }
  777. }
  778. &.layui-layer-border {
  779. border: none !important;
  780. box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) !important;
  781. }
  782. &.layui-layer-iframe {
  783. //overflow:hidden!important;
  784. overflow: visible;
  785. }
  786. .layui-layer-moves {
  787. .box-sizing(content-box);
  788. }
  789. /*自定义底部灰色操作区*/
  790. .layui-layer-btn {
  791. text-align: center !important;
  792. padding: 10px !important;
  793. background: #ecf0f1;
  794. overflow: hidden;
  795. a {
  796. background-color: #95a5a6;
  797. border-color: #95a5a6;
  798. color: #fff !important;
  799. height: 31px;
  800. margin-top: 0;
  801. border: 1px solid transparent;
  802. }
  803. .layui-layer-btn0 {
  804. background-color: #18bc9c;
  805. border-color: #18bc9c;
  806. }
  807. }
  808. .layui-layer-footer {
  809. padding: 8px 20px;
  810. background-color: #ecf0f1;
  811. height: auto;
  812. text-align: inherit !important;
  813. }
  814. .layui-layer-setwin {
  815. > a {
  816. background: none !important;
  817. cite {
  818. display: none;
  819. }
  820. &:after {
  821. content: "\e625";
  822. font-family: iconfont;
  823. font-style: normal;
  824. font-weight: normal;
  825. text-decoration: inherit;
  826. position: absolute;
  827. font-size: 18px;
  828. color: #fff;
  829. margin: 0;
  830. z-index: 1;
  831. }
  832. &:hover {
  833. text-decoration: none !important;
  834. background: none !important;
  835. }
  836. &:focus {
  837. text-decoration: none !important;
  838. }
  839. }
  840. .layui-layer-min {
  841. display: none;
  842. &:after {
  843. content: "\e625";
  844. }
  845. }
  846. .layui-layer-max {
  847. display: none;
  848. &:after {
  849. content: "\e623";
  850. }
  851. }
  852. .layui-layer-maxmin {
  853. display: none;
  854. &:after {
  855. content: "\e624";
  856. }
  857. }
  858. .layui-layer-close1 {
  859. &:after {
  860. content: "\e626";
  861. }
  862. }
  863. //样式二关闭按钮
  864. .layui-layer-close2, .layui-layer-close2:hover {
  865. background: url('../libs/layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
  866. top: -30px;
  867. right: -30px;
  868. &:after {
  869. display: none;
  870. }
  871. }
  872. }
  873. }
  874. .layui-layer-content {
  875. clear: both;
  876. }
  877. .layui-layer-fast-msg {
  878. min-width: 100px;
  879. border-radius: 2px;
  880. background-color: rgba(0, 0, 0, .6);
  881. color: #fff;
  882. .layui-layer-content {
  883. padding: 12px 25px;
  884. text-align: center;
  885. }
  886. }
  887. .n-bootstrap {
  888. .input-group > .n-right {
  889. position: absolute;
  890. }
  891. }
  892. @media (min-width: 564px) {
  893. body.is-dialog .daterangepicker {
  894. min-width: 130px;
  895. }
  896. body.is-dialog .daterangepicker .ranges ul {
  897. width: 130px;
  898. }
  899. }
  900. /*手机版样式*/
  901. @media (max-width: @screen-phone) {
  902. #firstnav {
  903. .nav-addtabs {
  904. //display: none;
  905. }
  906. .navbar-custom-menu {
  907. ul li a {
  908. padding-left: 10px;
  909. padding-right: 10px;
  910. }
  911. }
  912. .navbar-nav > .user-menu .user-image {
  913. margin-top: -3px;
  914. }
  915. }
  916. .fixed-table-toolbar {
  917. .columns-right.btn-group {
  918. display: none;
  919. }
  920. }
  921. .fixed .content-wrapper, .fixed .right-side {
  922. padding-top: 50px;
  923. }
  924. .multiplenav {
  925. .fixed .content-wrapper, .fixed .right-side {
  926. padding-top: 94px;
  927. }
  928. .content-wrapper, .right-side {
  929. padding-top: 94px;
  930. }
  931. }
  932. .main-sidebar, .left-side {
  933. padding-top: 144px;
  934. }
  935. }
  936. /*平板样式*/
  937. @media (max-width: @screen-tablet) {
  938. body .wrapper .main-header .logo {
  939. background: none;
  940. color: #fff;
  941. border-bottom: 0 solid transparent;
  942. position: absolute;
  943. top: 0;
  944. z-index: 1200;
  945. width: 130px;
  946. left: 50%;
  947. margin-left: -65px;
  948. }
  949. body .sidebar .mobilenav a.btn-app {
  950. color: #444;
  951. width: 100px;
  952. height: 70px;
  953. font-size: 13px;
  954. i.fa {
  955. font-size: 24px;
  956. }
  957. span {
  958. margin-top: 5px;
  959. display: block;
  960. }
  961. &.active {
  962. color: #222d32;
  963. }
  964. }
  965. body .wrapper .main-header .navbar .dropdown-menu li {
  966. > a {
  967. color: #333;
  968. &:hover {
  969. background: #eee;
  970. }
  971. }
  972. &.active > a {
  973. color: #fff;
  974. &:hover {
  975. background: #222d32
  976. }
  977. }
  978. }
  979. .main-sidebar, .left-side {
  980. padding-top: 94px;
  981. }
  982. .n-bootstrap {
  983. .n-right {
  984. margin-top: 0;
  985. top: -20px;
  986. position: absolute;
  987. left: 0;
  988. text-align: right;
  989. width: 100%;
  990. .msg-wrap {
  991. position: relative;
  992. }
  993. }
  994. .col-xs-12 > .n-right {
  995. .msg-wrap {
  996. margin-right: 15px;
  997. }
  998. }
  999. }
  1000. }
  1001. /*修复radio和checkbox样式对齐*/
  1002. .radio, .checkbox {
  1003. > label {
  1004. margin-right: 10px;
  1005. > input {
  1006. margin: 2px 0 0;
  1007. }
  1008. }
  1009. }
  1010. .wipecache li a {
  1011. color: #444444 !important;
  1012. }
  1013. /*修正开关关闭下的颜色值*/
  1014. .btn-switcher {
  1015. &.disabled {
  1016. opacity: .6;
  1017. cursor: not-allowed;
  1018. }
  1019. .text-gray {
  1020. color: #d2d6de !important;
  1021. }
  1022. }