main.css 11 KB

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