main.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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:40px;
  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-bottom,.sidebar-bottom .col-lg-6,.sidebar-bottom .col-lg-12 {
  173. height:300px
  174. }
  175. .top-content, .fluid-content {
  176. overflow: auto;
  177. border-bottom: 1px solid #ccc;
  178. width: 100%
  179. }
  180. .bottom-content .nav {
  181. background: #f7f7f9;
  182. padding:1px 0 0 2px
  183. }
  184. .bottom-content .nav-tabs .nav-link, .side-tabs .nav-tabs .nav-link {
  185. border-radius: 0;
  186. padding: 0.2em 0.5em
  187. }
  188. .side-tabs .nav-tabs .nav-item {
  189. z-index: 999
  190. }
  191. .side-tabs .nav-tabs {
  192. border-bottom: none;
  193. margin-bottom: -1px
  194. }
  195. .side-tabs .nav-tabs .nav-link {
  196. border-radius: 0;
  197. padding: 0em 0.5em;
  198. line-height: 30px;
  199. z-index: 999
  200. }
  201. .bottom-content .nav-tabs .nav-link.active {
  202. border:2px solid #ff6501;
  203. border-bottom: 1px solid #fff
  204. }
  205. .side-tabs .nav-tabs .nav-link.active {
  206. border-top: none;
  207. border-bottom:1px solid #fff
  208. }
  209. .side-tabs a.active, .sub-nav a.active {
  210. background: #ccc
  211. }
  212. .poj-manage {
  213. background: #fff
  214. }
  215. .slide-sidebar {
  216. border-left: 1px solid #E1E1E1;
  217. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  218. background: none repeat scroll 0% 0% #ffffff;
  219. overflow: hidden;
  220. position: absolute;
  221. right: 0px;
  222. top: 0;
  223. z-index: 999;
  224. width: 0px;
  225. }
  226. .new-msg {
  227. -webkit-animation: tada 1s infinite .2s ease both;
  228. -moz-animation: tada 1s infinite .2s ease both;
  229. }
  230. @-webkit-keyframes tada {
  231. 0% {
  232. -webkit-transform: scale(1)
  233. }
  234. 10%, 20% {
  235. -webkit-transform: scale(0.9) rotate(-3deg)
  236. }
  237. 30%, 50%, 70%, 90% {
  238. -webkit-transform: scale(1.1) rotate(3deg)
  239. }
  240. 40%, 60%, 80% {
  241. -webkit-transform: scale(1.1) rotate(-3deg)
  242. }
  243. 100% {
  244. -webkit-transform: scale(1) rotate(0)
  245. }
  246. }
  247. @-moz-keyframes tada {
  248. 0% {
  249. -moz-transform: scale(1)
  250. }
  251. 10%, 20% {
  252. -moz-transform: scale(0.9) rotate(-3deg)
  253. }
  254. 30%, 50%, 70%, 90% {
  255. -moz-transform: scale(1.1) rotate(3deg)
  256. }
  257. 40%, 60%, 80% {
  258. -moz-transform: scale(1.1) rotate(-3deg)
  259. }
  260. 100% {
  261. -moz-transform: scale(1) rotate(0)
  262. }
  263. }
  264. .has-danger {
  265. -webkit-animation: shake 1s .2s ease both;
  266. -moz-animation: shake 1s .2s ease both;
  267. animation: shake 1s .2s ease both;
  268. }
  269. @-webkit-keyframes shake {
  270. 0%, 100% {
  271. -webkit-transform: translateX(0);
  272. }
  273. 10%, 30%, 50%, 70%, 90% {
  274. -webkit-transform: translateX(-10px);
  275. }
  276. 20%, 40%, 60%, 80% {
  277. -webkit-transform: translateX(10px);
  278. }
  279. }
  280. @-moz-keyframes shake {
  281. 0%, 100% {
  282. -moz-transform: translateX(0);
  283. }
  284. 10%, 30%, 50%, 70%, 90% {
  285. -moz-transform: translateX(-10px);
  286. }
  287. 20%, 40%, 60%, 80% {
  288. -moz-transform: translateX(10px);
  289. }
  290. }
  291. @keyframes shake {
  292. 0%, 100% {
  293. transform: translateX(0);
  294. }
  295. 10%, 30%, 50%, 70%, 90% {
  296. transform: translateX(-10px);
  297. }
  298. 20%, 40%, 60%, 80% {
  299. transform: translateX(10px);
  300. }
  301. }
  302. .gl-side{
  303. border-right:1px solid #ccc;
  304. width:150px
  305. }
  306. .bottom-content .tab-content .main-data-bottom{
  307. height: 300px;
  308. overflow: auto;
  309. }
  310. .bottom-content .main-data-bottom2{
  311. height: 331px;
  312. overflow: hidden;
  313. }
  314. .bottom-content .tab-content .ovf-hidden{
  315. overflow: hidden;
  316. }
  317. .tn-nav{
  318. width:30px;
  319. height: 100%;
  320. border-left:1px solid #dee2e6 ;
  321. }
  322. .tn-nav > span{
  323. width:20px;
  324. }
  325. .tn-nav:hover{
  326. background:#f7f7f9;
  327. cursor: pointer;
  328. }
  329. .form-signin {
  330. max-width: 500px;
  331. margin: 150px auto;
  332. }
  333. .poj-list, .side-content ,.form-view{
  334. overflow: auto;
  335. }
  336. .print-toolsbar{
  337. padding:5px
  338. }
  339. .print-toolsbar .panel {
  340. display:inline-block;
  341. vertical-align:top
  342. }
  343. .print-toolsbar .panel .panel-foot{
  344. text-align: center;
  345. font-size: 12px;
  346. padding-bottom:3px;
  347. background:#F2F2F2
  348. }
  349. .print-list {
  350. border-right:1px solid #ccc
  351. }
  352. .print-list .form-list {
  353. overflow: auto
  354. }
  355. .print-list .list-tools{
  356. height:50px;
  357. padding:10px 0;
  358. border-bottom:1px solid #f2f2f2
  359. }
  360. .pageContainer {
  361. text-align: center
  362. }
  363. .pageContainer .page{
  364. border:9px solid transparent;
  365. display: inline-block;
  366. }
  367. .pageContainer .page img{
  368. width:inherit;
  369. height: inherit;
  370. }
  371. .modal-auto-height {
  372. height: 400px;
  373. overflow-y: auto;
  374. }
  375. .modal-toolbar + .modal-auto-height{
  376. height:369px
  377. }
  378. .modal-fixed-height {
  379. height: 400px;
  380. overflow-y: hidden;
  381. }
  382. .sidebar-tools-bar {
  383. background:#fff
  384. }
  385. .side-search-box{
  386. background:#fff;
  387. border-bottom:1px solid #ddd
  388. }
  389. .navbar-crumb span{
  390. float:left;
  391. }
  392. .navbar-crumb span.text-truncate{
  393. max-width: 200px;
  394. }
  395. .dropdown-item{
  396. color:#007bff
  397. }
  398. .dropdown-item:hover{
  399. color:#0056b3
  400. }
  401. .dropdown-item.disabled, .dropdown-item:disabled{
  402. pointer-events:none
  403. }
  404. .tools-symbol{
  405. width:450px
  406. }
  407. .tools-symbol p{
  408. margin: 0
  409. }
  410. .tools-symbol a.btn{
  411. font-size: .95rem;
  412. width:26px;
  413. padding: 0;
  414. height:26px;
  415. }
  416. .custom-file-input:lang(zh) ~ .custom-file-label::after {
  417. content: "浏览";
  418. }
  419. .message-box {
  420. position:absolute;
  421. background:#000;
  422. padding:8px 10px;
  423. line-height: 18px;
  424. border-radius:4px;
  425. box-shadow:2px 2px 6px #ccc;
  426. color:#fff;
  427. }
  428. .triangle-border {
  429. position:absolute;
  430. left:10px;
  431. overflow:hidden;
  432. width:0;
  433. height:0;
  434. border-width:6px;
  435. border-style:solid dashed dashed dashed;
  436. }
  437. .tb-border {
  438. bottom:-12px;
  439. border-color:#000 transparent transparent transparent;
  440. }
  441. .tb-background {
  442. bottom:-11px;
  443. border-color:#000 transparent transparent transparent;
  444. }
  445. .box-text-style {
  446. font-size: 12px;
  447. }
  448. .box-text-style p{
  449. margin:0 0 2px 0;
  450. }
  451. .box-text-style table{
  452. width: 100%;
  453. text-align: center;
  454. }
  455. .box-text-style table th,.box-text-style table td{
  456. border:1px solid #fff;
  457. }
  458. .box-text-style table p{
  459. text-align: left;
  460. }
  461. /*快捷切换单位工程*/
  462. .navbar-crumb{
  463. position: relative;
  464. }
  465. .navbar-crumb .f-nav,.navbar-crumb .s-nav{
  466. position: absolute;
  467. z-index: 999;
  468. width: 200px;
  469. background:#fff;
  470. border: 1px solid rgba(0,0,0,.15);
  471. padding: .5rem 0;
  472. }
  473. .navbar-crumb .f-nav{
  474. right:50px;
  475. top:35px;
  476. }
  477. .navbar-crumb .s-nav{
  478. left:200px
  479. }
  480. .navbar-crumb .f-nav li{
  481. padding: .25rem 1rem;
  482. cursor: default;
  483. }
  484. .navbar-crumb .f-nav li.focus{
  485. color: #16181b;
  486. background-color: #f7f7f9;
  487. }
  488. .navbar-crumb .f-nav li .s-nav{
  489. display: none
  490. }
  491. .navbar-crumb .f-nav li.focus .s-nav{
  492. display: block
  493. }
  494. .bottom-tools {
  495. height: 30px;
  496. line-height: 30px;
  497. background:#F1F1F1;
  498. bottom:30px;
  499. left:2px;
  500. }