main.css 12 KB

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