main.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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. .main-side {
  133. border-left: 1px solid #ccc;
  134. overflow-y: hidden;
  135. }
  136. .main-data-top,.main-data-full{
  137. overflow: hidden;
  138. width:100%
  139. }
  140. .main-content.col-lg-8{
  141. width:66.666667%
  142. }
  143. .main-content.col-lg-12{
  144. width:100%
  145. }
  146. .main-side.col-lg-4{
  147. width: 33.333333%;
  148. }
  149. .main-side.col-lg-0{
  150. width:0%;
  151. }
  152. .sidebar-bottom,.sidebar-bottom .col-lg-6,.sidebar-bottom .col-lg-12 {
  153. height:300px
  154. }
  155. .top-content, .fluid-content {
  156. overflow: auto;
  157. border-bottom: 1px solid #ccc;
  158. width: 100%
  159. }
  160. .bottom-content .nav {
  161. background: #f7f7f9;
  162. padding:1px 0 0 2px
  163. }
  164. .bottom-content .nav-tabs .nav-link, .side-tabs .nav-tabs .nav-link {
  165. border-radius: 0;
  166. padding: 0.2em 0.5em
  167. }
  168. .bottom-tools {
  169. height: 30px;
  170. line-height: 30px;
  171. background:#F1F1F1;
  172. bottom:30px;
  173. left:2px;
  174. z-index: 999
  175. }
  176. .side-tabs .nav-tabs .nav-item {
  177. z-index: 999
  178. }
  179. .side-tabs .nav-tabs {
  180. border-bottom: none;
  181. margin-bottom: -1px
  182. }
  183. .side-tabs .nav-tabs .nav-link {
  184. border-radius: 0;
  185. padding: 0em 0.5em;
  186. line-height: 30px;
  187. z-index: 999
  188. }
  189. .bottom-content .nav-tabs .nav-link.active {
  190. border:2px solid #ff6501;
  191. border-bottom: 1px solid #fff
  192. }
  193. .side-tabs .nav-tabs .nav-link.active {
  194. border-top: none;
  195. border-bottom:1px solid #fff
  196. }
  197. .side-tabs a.active, .sub-nav a.active {
  198. background: #ccc
  199. }
  200. .poj-manage {
  201. background: #fff
  202. }
  203. .slide-sidebar {
  204. border-left: 1px solid #E1E1E1;
  205. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  206. background: none repeat scroll 0% 0% #ffffff;
  207. overflow: hidden;
  208. position: absolute;
  209. right: 0px;
  210. top: 0;
  211. z-index: 999;
  212. width: 0px;
  213. }
  214. .new-msg {
  215. -webkit-animation: tada 1s infinite .2s ease both;
  216. -moz-animation: tada 1s infinite .2s ease both;
  217. }
  218. @-webkit-keyframes tada {
  219. 0% {
  220. -webkit-transform: scale(1)
  221. }
  222. 10%, 20% {
  223. -webkit-transform: scale(0.9) rotate(-3deg)
  224. }
  225. 30%, 50%, 70%, 90% {
  226. -webkit-transform: scale(1.1) rotate(3deg)
  227. }
  228. 40%, 60%, 80% {
  229. -webkit-transform: scale(1.1) rotate(-3deg)
  230. }
  231. 100% {
  232. -webkit-transform: scale(1) rotate(0)
  233. }
  234. }
  235. @-moz-keyframes tada {
  236. 0% {
  237. -moz-transform: scale(1)
  238. }
  239. 10%, 20% {
  240. -moz-transform: scale(0.9) rotate(-3deg)
  241. }
  242. 30%, 50%, 70%, 90% {
  243. -moz-transform: scale(1.1) rotate(3deg)
  244. }
  245. 40%, 60%, 80% {
  246. -moz-transform: scale(1.1) rotate(-3deg)
  247. }
  248. 100% {
  249. -moz-transform: scale(1) rotate(0)
  250. }
  251. }
  252. .has-danger {
  253. -webkit-animation: shake 1s .2s ease both;
  254. -moz-animation: shake 1s .2s ease both;
  255. animation: shake 1s .2s ease both;
  256. }
  257. @-webkit-keyframes shake {
  258. 0%, 100% {
  259. -webkit-transform: translateX(0);
  260. }
  261. 10%, 30%, 50%, 70%, 90% {
  262. -webkit-transform: translateX(-10px);
  263. }
  264. 20%, 40%, 60%, 80% {
  265. -webkit-transform: translateX(10px);
  266. }
  267. }
  268. @-moz-keyframes shake {
  269. 0%, 100% {
  270. -moz-transform: translateX(0);
  271. }
  272. 10%, 30%, 50%, 70%, 90% {
  273. -moz-transform: translateX(-10px);
  274. }
  275. 20%, 40%, 60%, 80% {
  276. -moz-transform: translateX(10px);
  277. }
  278. }
  279. @keyframes shake {
  280. 0%, 100% {
  281. transform: translateX(0);
  282. }
  283. 10%, 30%, 50%, 70%, 90% {
  284. transform: translateX(-10px);
  285. }
  286. 20%, 40%, 60%, 80% {
  287. transform: translateX(10px);
  288. }
  289. }
  290. .gl-side{
  291. border-right:1px solid #ccc;
  292. width:150px
  293. }
  294. .bottom-content .tab-content .main-data-bottom{
  295. height: 300px;
  296. overflow: auto;
  297. }
  298. .bottom-content .main-data-bottom2{
  299. height: 331px;
  300. overflow: hidden;
  301. }
  302. .bottom-content .tab-content .ovf-hidden{
  303. overflow: hidden;
  304. }
  305. .form-signin {
  306. max-width: 500px;
  307. margin: 150px auto;
  308. }
  309. .poj-list, .side-content ,.form-view{
  310. overflow: auto;
  311. }
  312. .print-toolsbar{
  313. padding:5px
  314. }
  315. .print-toolsbar .panel {
  316. display:inline-block;
  317. vertical-align:top
  318. }
  319. .print-toolsbar .panel .panel-foot{
  320. text-align: center;
  321. font-size: 12px;
  322. padding-bottom:3px;
  323. background:#F2F2F2
  324. }
  325. .print-list {
  326. border-right:1px solid #ccc
  327. }
  328. .print-list .form-list {
  329. overflow: auto
  330. }
  331. .print-list .list-tools{
  332. height:50px;
  333. padding:10px 0;
  334. border-bottom:1px solid #f2f2f2
  335. }
  336. .pageContainer {
  337. text-align: center
  338. }
  339. .pageContainer .page{
  340. border:9px solid transparent;
  341. display: inline-block;
  342. }
  343. .pageContainer .page img{
  344. width:inherit;
  345. height: inherit;
  346. }
  347. .modal-auto-height {
  348. height: 400px;
  349. overflow-y: auto;
  350. }
  351. .modal-toolbar + .modal-auto-height{
  352. height:369px
  353. }
  354. .modal-fixed-height {
  355. height: 400px;
  356. overflow-y: hidden;
  357. }
  358. .sidebar-tools-bar {
  359. background:#fff
  360. }
  361. .side-search-box{
  362. background:#fff;
  363. border-bottom:1px solid #ddd
  364. }
  365. .navbar-crumb span{
  366. width: 200px
  367. }
  368. .dropdown-item{
  369. color:#007bff
  370. }
  371. .dropdown-item:hover{
  372. color:#0056b3
  373. }
  374. .dropdown-item.disabled, .dropdown-item:disabled{
  375. pointer-events:none
  376. }
  377. .tools-symbol{
  378. width:450px
  379. }
  380. .tools-symbol p{
  381. margin: 0
  382. }
  383. .tools-symbol a.btn{
  384. font-size: .95rem;
  385. width:26px;
  386. padding: 0;
  387. height:26px;
  388. }
  389. .custom-file-input:lang(zh) ~ .custom-file-label::after {
  390. content: "浏览";
  391. }