main.css 7.2 KB

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