main.css 9.0 KB

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