backend.less 20 KB

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