main.css 11 KB

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