backend.less 20 KB

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