main.css 10 KB

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