main.css 6.8 KB

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