backend.less 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133
  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/fastadmin-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. }
  880. .layui-layer-fast-tab {
  881. .layui-layer-title {
  882. .layui-this {
  883. color:#333;
  884. }
  885. }
  886. .layui-layer-content {
  887. .layui-layer-tabmain {
  888. margin:0;padding:0;
  889. }
  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. }
  1018. /*修正开关关闭下的颜色值*/
  1019. .btn-switcher {
  1020. &.disabled {
  1021. opacity: .6;
  1022. cursor: not-allowed;
  1023. }
  1024. .text-gray {
  1025. color: #d2d6de !important;
  1026. }
  1027. }