main.css 7.0 KB

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