main.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  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{
  361. border-right:1px solid #ccc;
  362. width:150px
  363. }
  364. .bottom-content .tab-content .main-data-bottom{
  365. height: 300px;
  366. overflow: auto;
  367. }
  368. .bottom-content .main-data-bottom2{
  369. height: 331px;
  370. overflow: hidden;
  371. }
  372. .bottom-content .tab-content .ovf-hidden{
  373. overflow: hidden;
  374. }
  375. .tn-nav,.rn-nav{
  376. width:30px;
  377. height: 100%;
  378. border-left:1px solid #dee2e6 ;
  379. }
  380. .tn-nav,.cn-nav{
  381. border-right:1px solid #dee2e6 ;
  382. border-left:none;
  383. }
  384. .tn-nav > span{
  385. width:20px;
  386. }
  387. .tn-nav:hover{
  388. background:#f7f7f9;
  389. cursor: pointer;
  390. }
  391. .rn-nav {
  392. background: #f7f7f9
  393. }
  394. .rn-nav .nav{
  395. padding: 0
  396. }
  397. .rn-nav .nav-tabs {
  398. border:none;
  399. margin-top:2px;
  400. }
  401. .rn-nav .nav-tabs .nav-link{
  402. padding:0.4em 0.4em;
  403. line-height: 16px
  404. }
  405. .rn-nav .nav-tabs .nav-link.active {
  406. border:none;
  407. background-color: #fff;
  408. border-left:1px solid #fff;
  409. margin-left:-1px;
  410. border-top:1px solid #ccc;
  411. border-right:1px solid #ccc;
  412. border-bottom:1px solid #ccc;
  413. }
  414. .cn-nav .nav-tabs .nav-link.active {
  415. border:none;
  416. background-color: #fff;
  417. border-right:1px solid #fff;
  418. margin-right:-1px;
  419. border-top:1px solid #ccc;
  420. border-left:1px solid #ccc;
  421. border-bottom:1px solid #ccc;
  422. }
  423. .rn-nav .nav-tabs .nav-link span{
  424. display:none;
  425. }
  426. .rn-nav .nav-tabs .nav-link.active span{
  427. display: inline-block;
  428. }
  429. .poj-list, .side-content ,.form-view{
  430. overflow: auto;
  431. }
  432. .print-toolsbar{
  433. padding:5px
  434. }
  435. .print-toolsbar .panel {
  436. display:inline-block;
  437. vertical-align:top
  438. }
  439. .print-toolsbar .panel .panel-foot{
  440. text-align: center;
  441. font-size: 12px;
  442. padding-bottom:3px;
  443. background:#F2F2F2
  444. }
  445. .print-list {
  446. border-right:1px solid #ccc
  447. }
  448. .print-list .form-list {
  449. overflow: auto
  450. }
  451. .print-list .list-tools{
  452. height:50px;
  453. padding:10px 0;
  454. border-bottom:1px solid #f2f2f2
  455. }
  456. .pageContainer {
  457. text-align: center
  458. }
  459. .pageContainer .page{
  460. border:9px solid transparent;
  461. display: inline-block;
  462. }
  463. .pageContainer .page img{
  464. width:inherit;
  465. height: inherit;
  466. }
  467. .modal-auto-height {
  468. height: 400px;
  469. overflow-y: auto;
  470. }
  471. .modal-toolbar + .modal-auto-height{
  472. height:369px
  473. }
  474. .modal-fixed-height {
  475. height: 400px;
  476. overflow-y: hidden;
  477. }
  478. .sidebar-tools-bar {
  479. background:#fff
  480. }
  481. .side-search-box{
  482. background:#fff;
  483. border-bottom:1px solid #ddd
  484. }
  485. .navbar-crumb span{
  486. float:left;
  487. }
  488. .navbar-crumb span.text-truncate{
  489. max-width: 200px;
  490. }
  491. .dropdown-item{
  492. color:#007bff
  493. }
  494. .dropdown-item:hover{
  495. color:#0056b3
  496. }
  497. .dropdown-item.disabled, .dropdown-item:disabled{
  498. pointer-events:none
  499. }
  500. .tools-symbol{
  501. width:450px
  502. }
  503. .tools-symbol p{
  504. margin: 0
  505. }
  506. .tools-symbol a.btn{
  507. font-size: .95rem;
  508. width:26px;
  509. padding: 0;
  510. height:26px;
  511. }
  512. .custom-file-input:lang(zh) ~ .custom-file-label::after {
  513. content: "浏览";
  514. }
  515. .message-box {
  516. position:absolute;
  517. background:#000;
  518. padding:8px 10px;
  519. line-height: 18px;
  520. border-radius:4px;
  521. box-shadow:2px 2px 6px #ccc;
  522. color:#fff;
  523. }
  524. .triangle-border {
  525. position:absolute;
  526. left:10px;
  527. overflow:hidden;
  528. width:0;
  529. height:0;
  530. border-width:6px;
  531. border-style:solid dashed dashed dashed;
  532. }
  533. .tb-border {
  534. bottom:-12px;
  535. border-color:#000 transparent transparent transparent;
  536. }
  537. .tb-background {
  538. bottom:-11px;
  539. border-color:#000 transparent transparent transparent;
  540. }
  541. .box-text-style {
  542. font-size: 12px;
  543. font-family:"Microsoft YaHei"
  544. }
  545. .box-text-style p{
  546. margin:0 0 2px 0;
  547. }
  548. .box-text-style table{
  549. width: 100%;
  550. text-align: center;
  551. }
  552. .box-text-style table th,.box-text-style table td{
  553. border:1px solid #fff;
  554. }
  555. .box-text-style table p{
  556. text-align: left;
  557. }
  558. .sys-setting-nav .nav-link{
  559. padding:.3rem 1rem;
  560. }
  561. /*快捷切换单位工程*/
  562. .navbar-crumb{
  563. position: relative;
  564. }
  565. .navbar-crumb .f-nav,.navbar-crumb .s-nav{
  566. position: absolute;
  567. z-index: 999;
  568. width: 200px;
  569. background:#fff;
  570. border: 1px solid rgba(0,0,0,.15);
  571. padding: .5rem 0;
  572. }
  573. .navbar-crumb .f-nav{
  574. right:50px;
  575. top:35px;
  576. }
  577. .navbar-crumb .s-nav{
  578. left:200px
  579. }
  580. .navbar-crumb .f-nav li{
  581. padding: .25rem 1rem;
  582. cursor: default;
  583. }
  584. .navbar-crumb .f-nav li.focus{
  585. color: #16181b;
  586. background-color: #f7f7f9;
  587. }
  588. .navbar-crumb .f-nav li .s-nav{
  589. display: none
  590. }
  591. .navbar-crumb .f-nav li.focus .s-nav{
  592. display: block
  593. }
  594. /*书签颜色*/
  595. .annotate-color-1{
  596. background: #E2F2C5
  597. }
  598. .annotate-color-2{
  599. background: #F9E2CF
  600. }
  601. .annotate-color-3{
  602. background: #F2EFD9
  603. }
  604. .annotate-color-4{
  605. background: #F5D1DA
  606. }
  607. .annotate-color-5{
  608. background: #E3E3E3
  609. }
  610. .annotate-color-6{
  611. background: #B6F3F2
  612. }
  613. .annotate-color-7{
  614. background: #ECE0F5
  615. }
  616. /*宽屏菜单*/
  617. @media screen and (min-width: 900px) {
  618. #fluid-menu{
  619. }
  620. #min-menu{
  621. display: none
  622. }
  623. }
  624. @media screen and (min-width: 912px) {
  625. #share-info{
  626. overflow: auto;
  627. text-overflow: ellipsis;
  628. white-space: nowrap;
  629. max-width:inherit;
  630. }
  631. }
  632. /*窄屏菜单*/
  633. @media screen and (max-width: 900px) {
  634. #fluid-menu{
  635. display: none
  636. }
  637. #min-menu{
  638. }
  639. }
  640. @media screen and (max-width: 1018px) {
  641. #share-info{
  642. overflow: hidden;
  643. text-overflow: ellipsis;
  644. white-space: nowrap;
  645. max-width:80px;
  646. }
  647. }