main.css 9.1 KB

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