backend.less 20 KB

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