backend.less 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125
  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. white-space: nowrap;
  676. }
  677. .toolbar {
  678. margin-top: 10px;
  679. margin-bottom: 10px;
  680. }
  681. .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
  682. line-height: inherit;
  683. }
  684. .fixed-table-toolbar .toolbar {
  685. margin-top: 0;
  686. margin-bottom: 0;
  687. }
  688. .bootstrap-table table tbody tr:first-child td .bs-checkbox {
  689. vertical-align: middle;
  690. }
  691. .bootstrap-table td.bs-checkbox {
  692. vertical-align: middle;
  693. }
  694. table.table-nowrap {
  695. tbody > tr > td, thead > tr > th {
  696. white-space: nowrap;
  697. }
  698. }
  699. .fixed-table-container thead th .sortable {
  700. padding-right: 0;
  701. }
  702. .dropdown-submenu {
  703. position: relative;
  704. > .dropdown-menu {
  705. overflow: auto;
  706. top: 0;
  707. left: 100%;
  708. margin-top: -6px;
  709. margin-left: -1px;
  710. .border-radius(0 6px 6px 6px);
  711. }
  712. &:hover {
  713. > .dropdown-menu {
  714. display: block;
  715. }
  716. > a:after {
  717. border-left-color: #fff;
  718. }
  719. }
  720. > a:after {
  721. display: block;
  722. content: " ";
  723. float: right;
  724. width: 0;
  725. height: 0;
  726. border-color: transparent;
  727. border-style: solid;
  728. border-width: 5px 0 5px 5px;
  729. border-left-color: #ccc;
  730. margin-top: 5px;
  731. margin-right: -10px;
  732. }
  733. &.pull-left {
  734. float: none;
  735. > .dropdown-menu {
  736. left: -100%;
  737. margin-left: 10px;
  738. .border-radius(6px 0 6px 6px);
  739. }
  740. }
  741. }
  742. /*重写toast的几个背景色*/
  743. .toast-primary {
  744. background-color: #48c9b0 !important;
  745. }
  746. .toast-success {
  747. background-color: #18bc9c !important;
  748. }
  749. .toast-error {
  750. background-color: #e74c3c !important;
  751. }
  752. .toast-info {
  753. background-color: #5dade2 !important;
  754. }
  755. .toast-warning {
  756. background-color: #f1c40f !important;
  757. }
  758. .toast-inverse {
  759. background-color: #34495e !important;
  760. }
  761. .toast-default {
  762. background-color: #bdc3c7 !important;
  763. }
  764. #toast-container {
  765. > div, > div:hover {
  766. .box-shadow(0 0 3px #eee);
  767. }
  768. }
  769. .layui-layer-fast {
  770. .layui-layer-title {
  771. background: #2c3e50 !important;
  772. color: #fff !important;
  773. border-bottom: none;
  774. //只有当包含layui-layer-title标题时才显示按钮
  775. ~ .layui-layer-setwin {
  776. top: 0px;
  777. height: 42px;
  778. > a {
  779. height: 42px;
  780. line-height: 42px;
  781. display: inline-block;
  782. }
  783. }
  784. }
  785. &.layui-layer-border {
  786. border: none !important;
  787. box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) !important;
  788. }
  789. &.layui-layer-iframe {
  790. //overflow:hidden!important;
  791. overflow: visible;
  792. }
  793. .layui-layer-moves {
  794. .box-sizing(content-box);
  795. }
  796. /*自定义底部灰色操作区*/
  797. .layui-layer-btn {
  798. text-align: center !important;
  799. padding: 10px !important;
  800. background: #ecf0f1;
  801. overflow: hidden;
  802. a {
  803. background-color: #95a5a6;
  804. border-color: #95a5a6;
  805. color: #fff !important;
  806. height: 31px;
  807. margin-top: 0;
  808. border: 1px solid transparent;
  809. }
  810. .layui-layer-btn0 {
  811. background-color: #18bc9c;
  812. border-color: #18bc9c;
  813. }
  814. }
  815. .layui-layer-footer {
  816. padding: 8px 20px;
  817. background-color: #ecf0f1;
  818. height: auto;
  819. text-align: inherit !important;
  820. }
  821. .layui-layer-setwin {
  822. > a {
  823. background: none !important;
  824. cite {
  825. display: none;
  826. }
  827. &:after {
  828. content: "\e625";
  829. font-family: iconfont;
  830. font-style: normal;
  831. font-weight: normal;
  832. text-decoration: inherit;
  833. position: absolute;
  834. font-size: 18px;
  835. color: #fff;
  836. margin: 0;
  837. z-index: 1;
  838. }
  839. &:hover {
  840. text-decoration: none !important;
  841. background: none !important;
  842. }
  843. &:focus {
  844. text-decoration: none !important;
  845. }
  846. }
  847. .layui-layer-min {
  848. display: none;
  849. &:after {
  850. content: "\e625";
  851. }
  852. }
  853. .layui-layer-max {
  854. display: none;
  855. &:after {
  856. content: "\e623";
  857. }
  858. }
  859. .layui-layer-maxmin {
  860. display: none;
  861. &:after {
  862. content: "\e624";
  863. }
  864. }
  865. .layui-layer-close1 {
  866. &:after {
  867. content: "\e626";
  868. }
  869. }
  870. //样式二关闭按钮
  871. .layui-layer-close2, .layui-layer-close2:hover {
  872. background: url('../libs/layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
  873. top: -30px;
  874. right: -30px;
  875. &:after {
  876. display: none;
  877. }
  878. }
  879. }
  880. }
  881. .layui-layer-content {
  882. clear: both;
  883. }
  884. .layui-layer-fast-msg {
  885. min-width: 100px;
  886. border-radius: 2px;
  887. background-color: rgba(0, 0, 0, .6);
  888. color: #fff;
  889. .layui-layer-content {
  890. padding: 12px 25px;
  891. text-align: center;
  892. }
  893. }
  894. .n-bootstrap {
  895. .input-group > .n-right {
  896. position: absolute;
  897. }
  898. }
  899. @media (min-width: 564px) {
  900. body.is-dialog .daterangepicker {
  901. min-width: 130px;
  902. }
  903. body.is-dialog .daterangepicker .ranges ul {
  904. width: 130px;
  905. }
  906. }
  907. /*手机版样式*/
  908. @media (max-width: @screen-phone) {
  909. #firstnav {
  910. .nav-addtabs {
  911. //display: none;
  912. }
  913. .navbar-custom-menu {
  914. ul li a {
  915. padding-left: 10px;
  916. padding-right: 10px;
  917. }
  918. }
  919. .navbar-nav > .user-menu .user-image {
  920. margin-top: -3px;
  921. }
  922. }
  923. .fixed-table-toolbar {
  924. .columns-right.btn-group {
  925. display: none;
  926. }
  927. }
  928. .fixed .content-wrapper, .fixed .right-side {
  929. padding-top: 50px;
  930. }
  931. .multiplenav {
  932. .fixed .content-wrapper, .fixed .right-side {
  933. padding-top: 94px;
  934. }
  935. .content-wrapper, .right-side {
  936. padding-top: 94px;
  937. }
  938. }
  939. .main-sidebar, .left-side {
  940. padding-top: 144px;
  941. }
  942. }
  943. /*平板样式*/
  944. @media (max-width: @screen-tablet) {
  945. body .wrapper .main-header .logo {
  946. background: none;
  947. color: #fff;
  948. border-bottom: 0 solid transparent;
  949. position: absolute;
  950. top: 0;
  951. z-index: 1200;
  952. width: 130px;
  953. left: 50%;
  954. margin-left: -65px;
  955. }
  956. body .sidebar .mobilenav a.btn-app {
  957. color: #444;
  958. width: 100px;
  959. height: 70px;
  960. font-size: 13px;
  961. i.fa {
  962. font-size: 24px;
  963. }
  964. span {
  965. margin-top: 5px;
  966. display: block;
  967. }
  968. &.active {
  969. color: #222d32;
  970. }
  971. }
  972. body .wrapper .main-header .navbar .dropdown-menu li {
  973. > a {
  974. color: #333;
  975. &:hover {
  976. background: #eee;
  977. }
  978. }
  979. &.active > a {
  980. color: #fff;
  981. &:hover {
  982. background: #222d32
  983. }
  984. }
  985. }
  986. .main-sidebar, .left-side {
  987. padding-top: 94px;
  988. }
  989. .n-bootstrap {
  990. .n-right {
  991. margin-top: 0;
  992. top: -20px;
  993. position: absolute;
  994. left: 0;
  995. text-align: right;
  996. width: 100%;
  997. .msg-wrap {
  998. position: relative;
  999. }
  1000. }
  1001. .col-xs-12 > .n-right {
  1002. .msg-wrap {
  1003. margin-right: 15px;
  1004. }
  1005. }
  1006. }
  1007. }
  1008. /*修复radio和checkbox样式对齐*/
  1009. .radio, .checkbox {
  1010. > label {
  1011. margin-right: 10px;
  1012. > input {
  1013. margin: 2px 0 0;
  1014. }
  1015. }
  1016. }
  1017. .wipecache li a {
  1018. color: #444444 !important;
  1019. }