backend.less 28 KB

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