main.scss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. $blue:#0b82ff;
  2. $black:#333333;
  3. html,body,div,p,ul,li,h1,h2,h3,img{margin:0; padding:0;}
  4. img{border:none;}
  5. a{text-decoration:none;color:#262626;}
  6. ul,ol ,li{list-style:none;}
  7. .left{float:left;}
  8. .right{float:right;}
  9. .clear:after{
  10. content:".";
  11. clear:both;
  12. display:block;
  13. height:0;
  14. overflow:hidden;
  15. visibility: hidden;
  16. }
  17. h1,h2,h3,h4,h5,h6,strong{font-weight:normal;}
  18. em{font-style: normal;}body{
  19. // background: #f2f2f2;
  20. background: #eaedf1;
  21. // width:100%;
  22. // padding-bottom: 154px;
  23. }
  24. .logo{
  25. width:300px;
  26. height:64px;
  27. background:url("../../images/index/logo.png") left top no-repeat;
  28. }
  29. .orgBox{
  30. padding-top:30px;
  31. overflow:hidden;
  32. text-align: center;
  33. background-color:#fff;
  34. }
  35. .orgTree{
  36. height:500px;
  37. overflow-y:scroll;
  38. background-color:#fff;
  39. }
  40. .orgSt{
  41. .layui-inline{
  42. margin:0 auto 15px;
  43. .layui-input-inline{
  44. width:400px;
  45. }
  46. }
  47. }
  48. /////////
  49. .shrink{
  50. display: block;
  51. width: 100%;
  52. line-height: 45px;
  53. a{
  54. display: inline-block;
  55. width:100%;
  56. height:100%;
  57. color:#ddd;
  58. ::hover{
  59. color:#fff;
  60. }
  61. }
  62. }
  63. .font-center{
  64. text-align: center;
  65. }
  66. .pl50{
  67. padding-left: 50px;
  68. }
  69. .fff{
  70. background-color: #fff;
  71. height:100%;
  72. }
  73. .m0auto{
  74. margin:0 auto;
  75. }
  76. .mt60{
  77. margin-top: 60px;
  78. }
  79. //公共样式
  80. .ai-ul{
  81. .ai-list{
  82. height:30px;
  83. line-height: 30px;
  84. text-indent:20px;
  85. cursor: pointer;
  86. }
  87. .active{
  88. background-color: #44ade5;
  89. color:#fff;
  90. }
  91. }
  92. .inputFileBox{
  93. position: relative;
  94. padding-top: 0;
  95. .file, .fileCtent, .fileno{
  96. position: absolute;
  97. // display: none;
  98. filter:alpha(opacity=0);
  99. -moz-opacity:0;
  100. -khtml-opacity: 0;
  101. opacity: 0;
  102. width:100%;
  103. height:100%;
  104. left:0;
  105. top:0;
  106. cursor:pointer;
  107. z-index:9999;
  108. }
  109. }
  110. .dpn{
  111. display: none;
  112. }
  113. .HWPostil1Box, #HWPostil1{
  114. height:600px;
  115. text-align:center;
  116. }
  117. .p100{
  118. //padding-bottom:100px;
  119. }
  120. .tip{
  121. color:red;
  122. font-size:10px;
  123. margin-left:1px;
  124. line-height: 14px;
  125. padding: 9px 0px;
  126. }
  127. /* #region tree */
  128. .eleTree{
  129. width: 100%;
  130. height: 400px;
  131. border: 1px solid #ccc;
  132. //margin: 30px;
  133. display: inline-block;
  134. position: relative;
  135. overflow-y: scroll;
  136. }
  137. .eleTree-hide{
  138. display: none;
  139. }
  140. .eleTree-node-content{
  141. cursor: pointer;
  142. height: 26px;
  143. line-height: 1.3;
  144. }
  145. .eleTree-node-content:hover,
  146. .eleTree-node-content.eleTree-node-content-active{
  147. background-color: #eee;
  148. }
  149. .eleTree-node-content-icon .layui-icon{
  150. padding: 6px 3px;
  151. color: #c0c4cc;
  152. font-size: 12px;
  153. display: inline-block;
  154. transform: rotate(0deg);
  155. transition: transform .3s ease-in-out;
  156. }
  157. .eleTree-node-content-icon .layui-icon.icon-rotate{
  158. transform: rotate(90deg);
  159. }
  160. .eleTree-node-content .layui-form-checkbox[lay-skin=primary] i{
  161. width: 13px;
  162. height: 14px;
  163. line-height: 1.3;
  164. }
  165. .eleTree-node-content-label{
  166. padding-left: 5px;
  167. }
  168. /* checkbox第三种状态 */
  169. input.eleTree-hideen[type=checkbox]{
  170. display: none;
  171. }
  172. .eleTree-checkbox {
  173. height: auto!important;
  174. line-height: normal!important;
  175. min-height: 12px;
  176. border: none!important;
  177. margin-right: 0;
  178. padding-left: 18px;
  179. position: relative;
  180. display: inline-block;
  181. }
  182. .eleTree-checkbox i {
  183. left: 0;
  184. border: 1px solid #d2d2d2;
  185. font-size: 12px;
  186. border-radius: 2px;
  187. background-color: #fff;
  188. -webkit-transition: .1s linear;
  189. transition: .1s linear;
  190. position: absolute;
  191. top: 0;
  192. color: #fff;
  193. cursor: pointer;
  194. text-align: center;
  195. width: 13px;
  196. height: 14px;
  197. line-height: 1.3;
  198. }
  199. .eleTree-checkbox i:hover {
  200. border-color: #5FB878;
  201. }
  202. .eleTree-checkbox-checked i {
  203. border-color: #5FB878;
  204. background-color: #5FB878;
  205. color: #fff;
  206. }
  207. .eleTree-checkbox-line:after{
  208. content: "";
  209. position: relative;
  210. width: 8px;
  211. height: 1px;
  212. background-color: #fff;
  213. display: inline-block;
  214. top: -4px;
  215. }
  216. .eleTree-checkbox.eleTree-checkbox-disabled i{
  217. cursor: not-allowed;
  218. background-color: #f2f6fc;
  219. border-color: #dcdfe6;
  220. color: #c2c2c2;
  221. }
  222. .eleTree-checkbox.eleTree-checkbox-disabled i.eleTree-checkbox-line:after{
  223. background-color: #c2c2c2;
  224. }
  225. .eleTree-checkbox.eleTree-checkbox-disabled i:hover{
  226. border-color: #dcdfe6;
  227. }
  228. #tree-menu{
  229. margin: 0;
  230. padding: 2px;
  231. position: absolute;
  232. background: #f5f5f5;
  233. border: 1px solid #979797;
  234. box-shadow: 2px 2px 2px #999;
  235. display: none;
  236. }
  237. #tree-menu li>a{
  238. display: block;
  239. padding: 0 2em;
  240. text-decoration: none;
  241. width: auto;
  242. color: #000;
  243. white-space: nowrap;
  244. line-height: 2.4em;
  245. text-shadow: 1px 1px 0 #fff;
  246. border-radius: 1px;
  247. }
  248. #tree-menu li>a:hover{
  249. background-color: #e8eff7;
  250. box-shadow: 0 0 2px #0a6aa1;
  251. }
  252. .tree-menu-bg{
  253. background-color: #ccc;
  254. }
  255. /* #endregion */
  256. .layui-form-item .layui-form-checkbox[lay-skin=primary]{
  257. margin-top:0px;
  258. }
  259. .layui-btn+.layui-btn {
  260. margin-left: 1px;
  261. }
  262. // .layui-form-label{
  263. // width:84px;
  264. // }
  265. .small {
  266. width: 168px;
  267. height: 168px;
  268. overflow: hidden;
  269. border: 1px solid #eee;
  270. }
  271. .cropper-main1 {
  272. width: 100%;
  273. max-height: 288px;
  274. }
  275. .tar {
  276. text-align: right;
  277. }
  278. // .layui-table-edit{
  279. // height:35px !important;
  280. // }
  281. .paperless{
  282. // .layui-left-menu .layui-nav .layui-nav-item > a:hover{
  283. // background-color:$blue !important;
  284. // color:#fff !important;
  285. // .layui-nav-more{//小三角
  286. // border-color: #fff transparent transparent ;
  287. // }
  288. // }
  289. // .layui-nav-itemed>a:hover{
  290. // .layui-nav-more{
  291. // border-color: transparent transparent #fff !important;
  292. // }
  293. // }
  294. .layui-layout-admin .layui-logo img{
  295. // margin-left: 23px;
  296. }
  297. // .layui-nav-tree .layui-nav-child a, .paperless-v1 .layui-nav-item a{
  298. // color:$black !important;
  299. // }
  300. // .layui-nav-itemed>.layui-nav-child{
  301. // background-color:#fff !important;
  302. // }
  303. // .layui-nav .layui-nav-more{//小三角
  304. // border-color: $black transparent transparent ;
  305. // }
  306. // .layui-nav .layui-nav-mored, .layui-nav-itemed>a .layui-nav-more{
  307. // border-color: transparent transparent $black ;
  308. // }
  309. }
  310. .layuimini-title{
  311. position: absolute !important;
  312. top: 0;
  313. left: 270px;
  314. // width: 60px;
  315. // height: 100%;
  316. line-height: 64px;
  317. font-size:15px;
  318. text-align: center;
  319. color: #ffffff !important;
  320. -webkit-transition: all .2s;
  321. -o-transition: all .2s;
  322. transition: all .2s;
  323. }
  324. .ag-form{
  325. .layui-form-item{
  326. margin-bottom: 5px;
  327. }
  328. .layui-input{
  329. padding-right:30px;
  330. height:33px;
  331. }
  332. .layui-form-select dl dd.layui-this{
  333. background-color:$blue
  334. }
  335. }
  336. .layui-btn{
  337. // background-color:$blue;
  338. color:#fff;
  339. }
  340. body {background:#f2f2f2;}
  341. .layuimini-container {border:1px solid #f2f2f2;border-radius:5px;background-color:#ffffff}
  342. .layuimini-main {margin:10px 10px 10px 10px;}
  343. /**必填红点 */
  344. .layuimini-form>.layui-form-item>.required:after {content:'*';color:red;position:absolute;margin-left:4px;font-weight:bold;line-height:1.8em;top:6px;right:5px;}
  345. .layuimini-form>.layui-form-item>.layui-form-label {width:120px !important;}
  346. .layuimini-form>.layui-form-item>.layui-input-block {margin-left:150px !important;}
  347. .layuimini-form>.layui-form-item>.layui-input-block >tip {display:inline-block;margin-top:10px;line-height:10px;font-size:10px;color:#a29c9c;}
  348. @media screen and (min-width:768px) {
  349. /**自定义滚动条样式 */
  350. ::-webkit-scrollbar {width: 4px;height: 12px}
  351. ::-webkit-scrollbar-track {background-color: transparent;-webkit-border-radius: 2em;-moz-border-radius: 2em;border-radius: 2em;}
  352. ::-webkit-scrollbar-thumb {background-color: #9c9da0;-webkit-border-radius: 2em;-moz-border-radius: 2em;border-radius: 2em}
  353. }
  354. /**搜索框*/
  355. .layuimini-container .table-search-fieldset {margin: 0;border: 1px solid #e6e6e6;padding: 10px 20px 5px 20px;color: #6b6b6b;}
  356. .ag-tab .layui-this span{
  357. display: inline-block;
  358. line-height: 30px;
  359. border-bottom: 2px solid #0b82ff;
  360. color:#0b82ff;
  361. }
  362. .ag-tab .layui-this:after{
  363. border: none;
  364. }