main.css 8.8 KB

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