main.css 11 KB

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