main.css 7.3 KB

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