backend.less 20 KB

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