main.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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:#F1F1F1;
  179. bottom:30px;
  180. left:2px;
  181. }
  182. .side-tabs .nav-tabs .nav-item {
  183. z-index: 999
  184. }
  185. .side-tabs .nav-tabs {
  186. border-bottom: none;
  187. margin-bottom: -1px
  188. }
  189. .side-tabs .nav-tabs .nav-link {
  190. border-radius: 0;
  191. padding: 0em 0.5em;
  192. line-height: 30px;
  193. z-index: 999
  194. }
  195. .bottom-content .nav-tabs .nav-link.active {
  196. border:2px solid #ff6501;
  197. border-bottom: 1px solid #fff
  198. }
  199. .side-tabs .nav-tabs .nav-link.active {
  200. border-top: none;
  201. border-bottom:1px solid #fff
  202. }
  203. .side-tabs a.active, .sub-nav a.active {
  204. background: #ccc
  205. }
  206. .poj-manage {
  207. background: #fff
  208. }
  209. .slide-sidebar {
  210. border-left: 1px solid #E1E1E1;
  211. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  212. background: none repeat scroll 0% 0% #ffffff;
  213. overflow: hidden;
  214. position: absolute;
  215. right: 0px;
  216. top: 0;
  217. z-index: 999;
  218. width: 0px;
  219. }
  220. .new-msg {
  221. -webkit-animation: tada 1s infinite .2s ease both;
  222. -moz-animation: tada 1s infinite .2s ease both;
  223. }
  224. @-webkit-keyframes tada {
  225. 0% {
  226. -webkit-transform: scale(1)
  227. }
  228. 10%, 20% {
  229. -webkit-transform: scale(0.9) rotate(-3deg)
  230. }
  231. 30%, 50%, 70%, 90% {
  232. -webkit-transform: scale(1.1) rotate(3deg)
  233. }
  234. 40%, 60%, 80% {
  235. -webkit-transform: scale(1.1) rotate(-3deg)
  236. }
  237. 100% {
  238. -webkit-transform: scale(1) rotate(0)
  239. }
  240. }
  241. @-moz-keyframes tada {
  242. 0% {
  243. -moz-transform: scale(1)
  244. }
  245. 10%, 20% {
  246. -moz-transform: scale(0.9) rotate(-3deg)
  247. }
  248. 30%, 50%, 70%, 90% {
  249. -moz-transform: scale(1.1) rotate(3deg)
  250. }
  251. 40%, 60%, 80% {
  252. -moz-transform: scale(1.1) rotate(-3deg)
  253. }
  254. 100% {
  255. -moz-transform: scale(1) rotate(0)
  256. }
  257. }
  258. .has-danger {
  259. -webkit-animation: shake 1s .2s ease both;
  260. -moz-animation: shake 1s .2s ease both;
  261. animation: shake 1s .2s ease both;
  262. }
  263. @-webkit-keyframes shake {
  264. 0%, 100% {
  265. -webkit-transform: translateX(0);
  266. }
  267. 10%, 30%, 50%, 70%, 90% {
  268. -webkit-transform: translateX(-10px);
  269. }
  270. 20%, 40%, 60%, 80% {
  271. -webkit-transform: translateX(10px);
  272. }
  273. }
  274. @-moz-keyframes shake {
  275. 0%, 100% {
  276. -moz-transform: translateX(0);
  277. }
  278. 10%, 30%, 50%, 70%, 90% {
  279. -moz-transform: translateX(-10px);
  280. }
  281. 20%, 40%, 60%, 80% {
  282. -moz-transform: translateX(10px);
  283. }
  284. }
  285. @keyframes shake {
  286. 0%, 100% {
  287. transform: translateX(0);
  288. }
  289. 10%, 30%, 50%, 70%, 90% {
  290. transform: translateX(-10px);
  291. }
  292. 20%, 40%, 60%, 80% {
  293. transform: translateX(10px);
  294. }
  295. }
  296. .gl-side{
  297. border-right:1px solid #ccc;
  298. width:150px
  299. }
  300. .bottom-content .tab-content .main-data-bottom{
  301. height: 300px;
  302. overflow: auto;
  303. }
  304. .bottom-content .main-data-bottom2{
  305. height: 331px;
  306. overflow: hidden;
  307. }
  308. .bottom-content .tab-content .ovf-hidden{
  309. overflow: hidden;
  310. }
  311. .form-signin {
  312. max-width: 500px;
  313. margin: 150px auto;
  314. }
  315. .poj-list, .side-content ,.form-view{
  316. overflow: auto;
  317. }
  318. .print-toolsbar{
  319. padding:5px
  320. }
  321. .print-toolsbar .panel {
  322. display:inline-block;
  323. vertical-align:top
  324. }
  325. .print-toolsbar .panel .panel-foot{
  326. text-align: center;
  327. font-size: 12px;
  328. padding-bottom:3px;
  329. background:#F2F2F2
  330. }
  331. .print-list {
  332. border-right:1px solid #ccc
  333. }
  334. .print-list .form-list {
  335. overflow: auto
  336. }
  337. .print-list .list-tools{
  338. height:50px;
  339. padding:10px 0;
  340. border-bottom:1px solid #f2f2f2
  341. }
  342. .pageContainer {
  343. text-align: center
  344. }
  345. .pageContainer .page{
  346. border:9px solid transparent;
  347. display: inline-block;
  348. }
  349. .pageContainer .page img{
  350. width:inherit;
  351. height: inherit;
  352. }
  353. .modal-auto-height {
  354. height: 400px;
  355. overflow-y: auto;
  356. }
  357. .modal-toolbar + .modal-auto-height{
  358. height:369px
  359. }
  360. .modal-fixed-height {
  361. height: 400px;
  362. overflow-y: hidden;
  363. }
  364. .sidebar-tools-bar {
  365. background:#fff
  366. }
  367. .side-search-box{
  368. background:#fff;
  369. border-bottom:1px solid #ddd
  370. }
  371. .navbar-crumb span{
  372. width: 200px
  373. }
  374. .dropdown-item{
  375. color:#007bff
  376. }
  377. .dropdown-item:hover{
  378. color:#0056b3
  379. }
  380. .dropdown-item.disabled, .dropdown-item:disabled{
  381. pointer-events:none
  382. }
  383. .tools-symbol{
  384. width:450px
  385. }
  386. .tools-symbol p{
  387. margin: 0
  388. }
  389. .tools-symbol a.btn{
  390. font-size: .95rem;
  391. width:26px;
  392. padding: 0;
  393. height:26px;
  394. }
  395. .custom-file-input:lang(zh) ~ .custom-file-label::after {
  396. content: "浏览";
  397. }
  398. /*.popover{position:absolute;
  399. top:0;left:0;
  400. z-index:1060;
  401. display:block;
  402. max-width:276px;
  403. font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;
  404. background-color:black;
  405. background-clip:padding-box;
  406. border:1px solid black;
  407. border-radius:.3rem}*/
  408. /*
  409. .arrow{
  410. background-color:black;
  411. }
  412. */