main.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. /*building SAAS 0.1*/
  2. /*bootstrap 初始化*/
  3. body {
  4. font-size: 0.9rem;
  5. overflow: hidden;
  6. }
  7. a{
  8. outline: none
  9. }
  10. .dropdown-menu {
  11. font-size: 0.9rem
  12. }
  13. .btn.disabled, .btn:disabled {
  14. color:#999
  15. }
  16. .btn-link:focus, .btn-link:hover{
  17. text-decoration: none
  18. }
  19. .dropdown-menu {
  20. padding:.2rem 0;
  21. }
  22. .dropdown-item:focus, .dropdown-item:hover{
  23. background-color: #f7f7f9
  24. }
  25. .text-indent {
  26. text-indent:26px;
  27. }
  28. .modal-header{
  29. background:#f2f2f2;
  30. border-bottom:1px solid #ccc;
  31. padding:.8rem 1rem;
  32. }
  33. .modal-title{
  34. font-size:1rem;
  35. }
  36. .modal-footer{
  37. padding:.8rem 1rem;
  38. }
  39. /*自定义css*/
  40. .login-body,.login-html{
  41. height:100%;
  42. }
  43. .login-bg{
  44. width: 100%;
  45. height: 100%;
  46. background: #f2f6f5 url("login-bg.jpg") bottom center no-repeat;
  47. background-size: 100% auto;
  48. display: inline-block;
  49. position: absolute;
  50. }
  51. .login-panel {
  52. width: 500px;
  53. margin: 0 auto;
  54. position: absolute;
  55. left: 0;
  56. right: 0;
  57. top: 20%;
  58. padding:30px;
  59. background:#fff;
  60. box-shadow:#333 1px 1px 5px
  61. }
  62. .header {
  63. border-bottom: 1px solid #ccc
  64. }
  65. .header .header-logo {
  66. background: #ff6501;
  67. float: left;
  68. margin-right: 1rem;
  69. font-size: 1rem;
  70. height:38px;
  71. background:url(logo.png) no-repeat 0 0;
  72. padding-left:50px;
  73. }
  74. .header-logo div.v-title{
  75. font-size:11px;
  76. color:#aeaeae;
  77. line-height: 12px;
  78. margin-top:3px;
  79. }
  80. .header-logo div.p-title{
  81. font-size:16px;
  82. color:#ff6501;
  83. }
  84. .header-logo div.b-title{
  85. font-size:24px;
  86. color:#ff6501;
  87. }
  88. .top-msg{
  89. position: fixed;
  90. top:10px;
  91. width:900px;
  92. z-index: 9999;
  93. left:50%;
  94. margin-left:-450px;
  95. }
  96. .main {
  97. position: relative;
  98. background: #f7f7f9;
  99. }
  100. .main-nav {
  101. position: absolute;
  102. text-align: center;
  103. z-index: 999;
  104. padding: 2px 0 0 2px
  105. }
  106. .main-nav .nav a {
  107. display: block;
  108. width: 28px;
  109. text-align: center;
  110. line-height: 18px;
  111. padding: 10px 0;
  112. border-right: 1px solid #ccc;
  113. }
  114. .main-nav .nav a:hover {
  115. background: #fff;
  116. color: #333;
  117. text-decoration: none;
  118. }
  119. .main-nav .nav a.active {
  120. border: 2px solid #ff6501;
  121. border-right: 1px solid #fff;
  122. background: #fff;
  123. color: #333
  124. }
  125. .main-nav .nav-tabs{
  126. border-bottom: none
  127. }
  128. .poj-manage .col-auto{
  129. background:#f7f7f9
  130. }
  131. .poj-cate {
  132. width:58px;
  133. margin-right:-1px;
  134. margin-top:2px;
  135. }
  136. .poj-cate .nav-pills .nav-link{
  137. border-radius: 0;
  138. font-size: 24px;
  139. color: #007bff
  140. }
  141. .poj-cate .nav-item{
  142. position: relative;
  143. }
  144. .poj-cate .nav-pills .badge{
  145. position: absolute;
  146. right:5px;
  147. top:5px;
  148. }
  149. .poj-cate .nav-pills .nav-link:hover{
  150. color:#0056b3
  151. }
  152. .poj-cate .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
  153. background-color: #6c757d;
  154. color:#fff
  155. }
  156. .pm-side{
  157. position: fixed;
  158. left:0;
  159. height:100%;
  160. border-right:1px solid #ccc;
  161. background: #f7f7f9
  162. }
  163. .pm-content{
  164. padding-left:58px
  165. }
  166. .content {
  167. border-left: 1px solid #ccc;
  168. margin-left: 29px;
  169. background: #fff
  170. }
  171. .toolsbar,.toolsbar-f {
  172. background: #f7f7f9;
  173. border-bottom: 1px solid #ccc
  174. }
  175. .tools-btn {
  176. height: 30px;
  177. line-height: 30px
  178. }
  179. .toolsbar .tools-btn.btn:hover,.toolsbar-f .tools-btn.btn:hover {
  180. background: #f7f7f9;
  181. }
  182. .toolsbar .btn-light {
  183. color:#007bff;
  184. min-width: 34px;
  185. }
  186. .toolsbar .btn-light.disabled {
  187. color:#999;
  188. }
  189. .main-side {
  190. border-left: 1px solid #ccc;
  191. overflow-y: hidden;
  192. }
  193. .main-data-top,.main-data-full{
  194. overflow: hidden;
  195. width:100%
  196. }
  197. .main-data-top-side{
  198. overflow: hidden
  199. }
  200. .main-content.col-lg-8{
  201. width:66.666667%
  202. }
  203. .main-content.col-lg-12{
  204. width:100%
  205. }
  206. .main-side.col-lg-4{
  207. width: 33.333333%;
  208. }
  209. .main-side.col-lg-0{
  210. width:0%;
  211. }
  212. .sidebar-middle{
  213. height:80px;
  214. }
  215. .sidebar-bottom,.sidebar-bottom .col-lg-6,.sidebar-bottom .col-lg-12 {
  216. height:300px
  217. }
  218. .top-content, .fluid-content {
  219. overflow: auto;
  220. border-bottom: 1px solid #ccc;
  221. width: 100%
  222. }
  223. .bottom-content .nav {
  224. background: #f7f7f9;
  225. padding:1px 0 0 2px
  226. }
  227. .bottom-content .nav-tabs .nav-link, .side-tabs .nav-tabs .nav-link {
  228. border-radius: 0;
  229. padding: 0.2em 0.5em
  230. }
  231. .bottom-tools {
  232. height: 30px;
  233. line-height: 30px;
  234. background:#fff;
  235. bottom:20px;
  236. left:22px;
  237. z-index: 999
  238. }
  239. .side-tabs .nav-tabs .nav-item {
  240. z-index: 999
  241. }
  242. .side-tabs .nav-tabs {
  243. border-bottom: none;
  244. margin-bottom: -1px
  245. }
  246. .side-tabs .nav-tabs .nav-link {
  247. border-radius: 0;
  248. padding: 0em 0.5em;
  249. line-height: 30px;
  250. z-index: 999
  251. }
  252. .bottom-content .nav-tabs .nav-link.active {
  253. border:2px solid #ff6501;
  254. border-bottom: 1px solid #fff
  255. }
  256. .side-tabs .nav-tabs .nav-link.active {
  257. border-top: none;
  258. border-bottom:1px solid #fff
  259. }
  260. .side-tabs a.active, .sub-nav a.active {
  261. background: #ccc
  262. }
  263. .poj-manage {
  264. background: #fff
  265. }
  266. .slide-sidebar {
  267. border-left: 1px solid #E1E1E1;
  268. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  269. background: none repeat scroll 0% 0% #ffffff;
  270. overflow: hidden;
  271. position: absolute;
  272. right: 0px;
  273. top: 0;
  274. z-index: 999;
  275. width: 0px;
  276. }
  277. .new-msg {
  278. -webkit-animation: tada 1s infinite .2s ease both;
  279. -moz-animation: tada 1s infinite .2s ease both;
  280. }
  281. @-webkit-keyframes tada {
  282. 0% {
  283. -webkit-transform: scale(1)
  284. }
  285. 10%, 20% {
  286. -webkit-transform: scale(0.9) rotate(-3deg)
  287. }
  288. 30%, 50%, 70%, 90% {
  289. -webkit-transform: scale(1.1) rotate(3deg)
  290. }
  291. 40%, 60%, 80% {
  292. -webkit-transform: scale(1.1) rotate(-3deg)
  293. }
  294. 100% {
  295. -webkit-transform: scale(1) rotate(0)
  296. }
  297. }
  298. @-moz-keyframes tada {
  299. 0% {
  300. -moz-transform: scale(1)
  301. }
  302. 10%, 20% {
  303. -moz-transform: scale(0.9) rotate(-3deg)
  304. }
  305. 30%, 50%, 70%, 90% {
  306. -moz-transform: scale(1.1) rotate(3deg)
  307. }
  308. 40%, 60%, 80% {
  309. -moz-transform: scale(1.1) rotate(-3deg)
  310. }
  311. 100% {
  312. -moz-transform: scale(1) rotate(0)
  313. }
  314. }
  315. .has-danger {
  316. -webkit-animation: shake 1s .2s ease both;
  317. -moz-animation: shake 1s .2s ease both;
  318. animation: shake 1s .2s ease both;
  319. }
  320. @-webkit-keyframes shake {
  321. 0%, 100% {
  322. -webkit-transform: translateX(0);
  323. }
  324. 10%, 30%, 50%, 70%, 90% {
  325. -webkit-transform: translateX(-10px);
  326. }
  327. 20%, 40%, 60%, 80% {
  328. -webkit-transform: translateX(10px);
  329. }
  330. }
  331. @-moz-keyframes shake {
  332. 0%, 100% {
  333. -moz-transform: translateX(0);
  334. }
  335. 10%, 30%, 50%, 70%, 90% {
  336. -moz-transform: translateX(-10px);
  337. }
  338. 20%, 40%, 60%, 80% {
  339. -moz-transform: translateX(10px);
  340. }
  341. }
  342. @keyframes shake {
  343. 0%, 100% {
  344. transform: translateX(0);
  345. }
  346. 10%, 30%, 50%, 70%, 90% {
  347. transform: translateX(-10px);
  348. }
  349. 20%, 40%, 60%, 80% {
  350. transform: translateX(10px);
  351. }
  352. }
  353. .gl-side{
  354. border-right:1px solid #ccc;
  355. width:150px
  356. }
  357. .bottom-content .tab-content .main-data-bottom{
  358. height: 300px;
  359. overflow: auto;
  360. }
  361. .bottom-content .main-data-bottom2{
  362. height: 331px;
  363. overflow: hidden;
  364. }
  365. .bottom-content .tab-content .ovf-hidden{
  366. overflow: hidden;
  367. }
  368. .tn-nav,.rn-nav{
  369. width:30px;
  370. height: 100%;
  371. border-left:1px solid #dee2e6 ;
  372. }
  373. .tn-nav,.cn-nav{
  374. border-right:1px solid #dee2e6 ;
  375. border-left:none;
  376. }
  377. .tn-nav > span{
  378. width:20px;
  379. }
  380. .tn-nav:hover{
  381. background:#f7f7f9;
  382. cursor: pointer;
  383. }
  384. .rn-nav {
  385. background: #f7f7f9
  386. }
  387. .rn-nav .nav{
  388. padding: 0
  389. }
  390. .rn-nav .nav-tabs {
  391. border:none;
  392. margin-top:2px;
  393. }
  394. .rn-nav .nav-tabs .nav-link{
  395. padding:0.4em 0.4em;
  396. line-height: 16px
  397. }
  398. .rn-nav .nav-tabs .nav-link.active {
  399. border:none;
  400. background-color: #fff;
  401. border-left:1px solid #fff;
  402. margin-left:-1px;
  403. border-top:1px solid #ccc;
  404. border-right:1px solid #ccc;
  405. border-bottom:1px solid #ccc;
  406. }
  407. .cn-nav .nav-tabs .nav-link.active {
  408. border:none;
  409. background-color: #fff;
  410. border-right:1px solid #fff;
  411. margin-right:-1px;
  412. border-top:1px solid #ccc;
  413. border-left:1px solid #ccc;
  414. border-bottom:1px solid #ccc;
  415. }
  416. .rn-nav .nav-tabs .nav-link span{
  417. display:none;
  418. }
  419. .rn-nav .nav-tabs .nav-link.active span{
  420. display: inline-block;
  421. }
  422. .poj-list, .side-content ,.form-view{
  423. overflow: auto;
  424. }
  425. .print-toolsbar{
  426. padding:5px
  427. }
  428. .print-toolsbar .panel {
  429. display:inline-block;
  430. vertical-align:top
  431. }
  432. .print-toolsbar .panel .panel-foot{
  433. text-align: center;
  434. font-size: 12px;
  435. padding-bottom:3px;
  436. background:#F2F2F2
  437. }
  438. .print-list {
  439. border-right:1px solid #ccc
  440. }
  441. .print-list .form-list {
  442. overflow: auto
  443. }
  444. .print-list .list-tools{
  445. height:50px;
  446. padding:10px 0;
  447. border-bottom:1px solid #f2f2f2
  448. }
  449. .pageContainer {
  450. text-align: center
  451. }
  452. .pageContainer .page{
  453. border:9px solid transparent;
  454. display: inline-block;
  455. }
  456. .pageContainer .page img{
  457. width:inherit;
  458. height: inherit;
  459. }
  460. .modal-auto-height {
  461. height: 400px;
  462. overflow-y: auto;
  463. }
  464. .modal-toolbar + .modal-auto-height{
  465. height:369px
  466. }
  467. .modal-fixed-height {
  468. height: 400px;
  469. overflow-y: hidden;
  470. }
  471. .sidebar-tools-bar {
  472. background:#fff
  473. }
  474. .side-search-box{
  475. background:#fff;
  476. border-bottom:1px solid #ddd
  477. }
  478. .navbar-crumb span{
  479. float:left;
  480. }
  481. .navbar-crumb span.text-truncate{
  482. max-width: 200px;
  483. }
  484. .dropdown-item{
  485. color:#007bff
  486. }
  487. .dropdown-item:hover{
  488. color:#0056b3
  489. }
  490. .dropdown-item.disabled, .dropdown-item:disabled{
  491. pointer-events:none
  492. }
  493. .tools-symbol{
  494. width:450px
  495. }
  496. .tools-symbol p{
  497. margin: 0
  498. }
  499. .tools-symbol a.btn{
  500. font-size: .95rem;
  501. width:26px;
  502. padding: 0;
  503. height:26px;
  504. }
  505. .custom-file-input:lang(zh) ~ .custom-file-label::after {
  506. content: "浏览";
  507. }
  508. .message-box {
  509. position:absolute;
  510. background:#000;
  511. padding:8px 10px;
  512. line-height: 18px;
  513. border-radius:4px;
  514. box-shadow:2px 2px 6px #ccc;
  515. color:#fff;
  516. }
  517. .triangle-border {
  518. position:absolute;
  519. left:10px;
  520. overflow:hidden;
  521. width:0;
  522. height:0;
  523. border-width:6px;
  524. border-style:solid dashed dashed dashed;
  525. }
  526. .tb-border {
  527. bottom:-12px;
  528. border-color:#000 transparent transparent transparent;
  529. }
  530. .tb-background {
  531. bottom:-11px;
  532. border-color:#000 transparent transparent transparent;
  533. }
  534. .box-text-style {
  535. font-size: 12px;
  536. }
  537. .box-text-style p{
  538. margin:0 0 2px 0;
  539. }
  540. .box-text-style table{
  541. width: 100%;
  542. text-align: center;
  543. }
  544. .box-text-style table th,.box-text-style table td{
  545. border:1px solid #fff;
  546. }
  547. .box-text-style table p{
  548. text-align: left;
  549. }
  550. .sys-setting-nav .nav-link{
  551. padding:.3rem 1rem;
  552. }
  553. /*快捷切换单位工程*/
  554. .navbar-crumb{
  555. position: relative;
  556. }
  557. .navbar-crumb .f-nav,.navbar-crumb .s-nav{
  558. position: absolute;
  559. z-index: 999;
  560. width: 200px;
  561. background:#fff;
  562. border: 1px solid rgba(0,0,0,.15);
  563. padding: .5rem 0;
  564. }
  565. .navbar-crumb .f-nav{
  566. right:50px;
  567. top:35px;
  568. }
  569. .navbar-crumb .s-nav{
  570. left:200px
  571. }
  572. .navbar-crumb .f-nav li{
  573. padding: .25rem 1rem;
  574. cursor: default;
  575. }
  576. .navbar-crumb .f-nav li.focus{
  577. color: #16181b;
  578. background-color: #f7f7f9;
  579. }
  580. .navbar-crumb .f-nav li .s-nav{
  581. display: none
  582. }
  583. .navbar-crumb .f-nav li.focus .s-nav{
  584. display: block
  585. }
  586. /*书签颜色*/
  587. .annotate-color-1{
  588. background: #E2F2C5
  589. }
  590. .annotate-color-2{
  591. background: #F9E2CF
  592. }
  593. .annotate-color-3{
  594. background: #F2EFD9
  595. }
  596. .annotate-color-4{
  597. background: #F5D1DA
  598. }
  599. .annotate-color-5{
  600. background: #E3E3E3
  601. }
  602. .annotate-color-6{
  603. background: #B6F3F2
  604. }
  605. .annotate-color-7{
  606. background: #ECE0F5
  607. }
  608. /*宽屏菜单*/
  609. @media screen and (min-width: 900px) {
  610. #fluid-menu{
  611. }
  612. #min-menu{
  613. display: none
  614. }
  615. }
  616. @media screen and (min-width: 912px) {
  617. #share-info{
  618. overflow: auto;
  619. text-overflow: ellipsis;
  620. white-space: nowrap;
  621. max-width:inherit;
  622. }
  623. }
  624. /*窄屏菜单*/
  625. @media screen and (max-width: 900px) {
  626. #fluid-menu{
  627. display: none
  628. }
  629. #min-menu{
  630. }
  631. }
  632. @media screen and (max-width: 1018px) {
  633. #share-info{
  634. overflow: hidden;
  635. text-overflow: ellipsis;
  636. white-space: nowrap;
  637. max-width:80px;
  638. }
  639. }