common.css 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289
  1. @charset "UTF-8";
  2. .layui-layout-admin .layui-body {
  3. z-index: -1; }
  4. /**************** 颜色字体统一 ********************/
  5. /* 文字基本颜色 */
  6. /* 特殊颜色 */
  7. .ns-text-color {
  8. color: #4685FD !important; }
  9. .ns-text-color-black {
  10. color: #333 !important; }
  11. .ns-text-color-gray {
  12. color: #e5e5e5 !important; }
  13. .ns-text-color-light-gray {
  14. color: #f9f9f9 !important; }
  15. .ns-text-color-dark-gray {
  16. color: #898989 !important; }
  17. .ns-text-color-red {
  18. color: red; }
  19. .ns-border-color {
  20. border-color: #4685FD !important; }
  21. .ns-border-color-gray {
  22. border-color: #e5e5e5 !important; }
  23. .ns-bg-color {
  24. background-color: #4685FD !important; }
  25. .ns-bg-color-black {
  26. background-color: #333; }
  27. .ns-bg-color-dark-gray {
  28. background-color: #898989 !important; }
  29. .ns-bg-color-gray {
  30. background-color: #e5e5e5 !important; }
  31. .ns-bg-color-light-gray {
  32. background-color: #f9f9f9 !important; }
  33. .ns-bg-color-after::after {
  34. background-color: #4685FD; }
  35. .ns-align-right {
  36. text-align: right !important; }
  37. /**************** 组件颜色 ********************/
  38. .layui-tab-brief li.layui-this {
  39. color: #4685FD !important; }
  40. .layui-tab-brief li.layui-this:after {
  41. border-bottom-color: #4685FD !important; }
  42. /**************** base中的样式 ********************/
  43. .ns-logo {
  44. display: flex;
  45. align-items: center;
  46. height: 50px;
  47. line-height: 40px;
  48. font-size: 28px;
  49. background-color: #ff0000; }
  50. .ns-logo .logo-box {
  51. display: flex;
  52. justify-content: left;
  53. align-items: center;
  54. margin-left: 25px;
  55. height: 14px; }
  56. .ns-logo .logo-box img {
  57. max-height: 100%; }
  58. .ns-logo span:nth-of-type(1) {
  59. font-size: 12px;
  60. color: #D8D8D9;
  61. margin-left: 20px;
  62. position: relative;
  63. height: 40px;
  64. line-height: 40px; }
  65. .ns-logo span:nth-of-type(1):after {
  66. content: "";
  67. height: 15px;
  68. width: 2px;
  69. background-color: #D8D8D9;
  70. position: absolute;
  71. left: -9px;
  72. top: 50%;
  73. transform: translateY(-50%); }
  74. .ns-logo span:nth-of-type(2) {
  75. margin-left: auto;
  76. color: white;
  77. margin-right: 25px;
  78. font-size: 12px; }
  79. .layui-layout-admin .layui-header {
  80. z-index: 99999;
  81. height: 54px;
  82. background-color: #fff;
  83. border-bottom: 1px solid #f1f1f1; }
  84. .layui-layout-admin .layui-side {
  85. top: 94px;
  86. width: 252px; }
  87. .layui-layout-admin .layui-body {
  88. top: 94px;
  89. left: 252px;
  90. bottom: 0;
  91. background-color: #fff; }
  92. .layui-header .layui-layout-left {
  93. left: 0;
  94. padding: 0;
  95. height: 54px; }
  96. .layui-header .layui-layout-left li {
  97. height: 54px; }
  98. .layui-header .layui-layout-left a {
  99. padding: 0;
  100. margin-left: 34px;
  101. height: 54px;
  102. line-height: 54px; }
  103. .layui-header .layui-layout-left a:hover {
  104. color: #4685FD; }
  105. .layui-header .layui-layout-left .layui-this::after {
  106. width: 0; }
  107. .layui-header .layui-layout-left .layui-this a {
  108. color: #4685FD !important; }
  109. .layui-header .layui-layout-right {
  110. height: 54px; }
  111. .layui-header .layui-layout-right li {
  112. line-height: 54px; }
  113. .layui-header .layui-layout-right dd.layui-this a {
  114. background-color: #4685FD !important; }
  115. .layui-header .layui-nav .layui-nav-more {
  116. border-top-color: #000; }
  117. .layui-header .layui-nav .layui-nav-mored {
  118. border-color: transparent transparent #000; }
  119. .layui-header .layui-nav-bar {
  120. width: 0 !important; }
  121. .layui-header .layui-nav .layui-nav-item a {
  122. color: #000;
  123. font-size: 15px; }
  124. .layui-side {
  125. background-color: #F7F8FA; }
  126. .layui-side .layui-side-scroll {
  127. width: 272px; }
  128. .layui-side .ns-side-title {
  129. display: inline-block;
  130. width: 190px;
  131. height: 90px;
  132. line-height: 100px;
  133. margin-left: 38px;
  134. border-bottom: 1px solid #E5E5E5;
  135. text-align: center;
  136. font-size: 24px;
  137. font-weight: 400;
  138. color: #333333; }
  139. .layui-side .layui-nav-tree {
  140. position: absolute;
  141. top: 100px;
  142. width: 252px;
  143. background-color: #F7F8FA !important; }
  144. .layui-side .layui-nav-tree li.layui-this, .layui-side .layui-nav-tree li.layui-this a {
  145. background-color: #E2E5EB !important; }
  146. .layui-side .layui-nav-tree .layui-nav-item > a {
  147. padding-left: 50px;
  148. height: 36px;
  149. line-height: 36px;
  150. color: #333 !important; }
  151. .layui-side .layui-nav-tree .layui-nav-item > a:hover {
  152. background-color: #E2E5EB !important; }
  153. .layui-side .layui-nav-tree .layui-nav-child {
  154. background-color: transparent !important; }
  155. .layui-side .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-side .layui-nav-tree .layui-nav-child dd.layui-this {
  156. background-color: transparent !important; }
  157. .layui-side .layui-nav-tree .layui-nav-child dd.layui-this a {
  158. color: #4685FD !important; }
  159. .layui-side .layui-nav-tree .layui-nav-child dd.layui-this a::after {
  160. background-color: #4685FD !important; }
  161. .layui-side .layui-nav-tree .layui-nav-child a {
  162. position: relative;
  163. padding-left: 78px;
  164. height: 36px;
  165. line-height: 36px;
  166. color: #5B5A5A;
  167. font-weight: 400; }
  168. .layui-side .layui-nav-tree .layui-nav-child a::after {
  169. content: "";
  170. position: absolute;
  171. width: 4px;
  172. height: 4px;
  173. background-color: #5B5B5B;
  174. border-radius: 50%;
  175. top: 50%;
  176. left: 66px;
  177. transform: translateY(-50%); }
  178. .layui-side .layui-nav-tree .layui-nav-child a:hover {
  179. color: #4685FD !important; }
  180. .layui-side .layui-nav-tree .layui-nav-child a:hover::after {
  181. background-color: #4685FD !important; }
  182. .layui-side .layui-nav-bar {
  183. width: 0 !important; }
  184. .layui-side .layui-nav .layui-nav-more {
  185. width: 8px;
  186. height: 8px;
  187. top: 16px;
  188. right: 35px; }
  189. .layui-side .layui-nav-itemed > a .layui-nav-more {
  190. margin-top: -3px;
  191. border: 1px solid #333;
  192. border-color: transparent #333 #333 transparent;
  193. transform: rotate(45deg); }
  194. .layui-side .layui-nav-tree .layui-nav-more {
  195. border: 1px solid #333;
  196. border-color: transparent #333 #333 transparent;
  197. transform: rotate(-45deg); }
  198. /* 面包屑 */
  199. .ns-crumbs {
  200. position: fixed;
  201. width: calc(100% - 252px);
  202. height: 44px;
  203. line-height: 44px;
  204. padding-left: 30px;
  205. border-bottom: 1px solid #f1f1f1;
  206. background-color: #fff;
  207. z-index: 9999; }
  208. .ns-crumbs.child_no_exit {
  209. left: 0;
  210. width: 100%; }
  211. .ns-crumbs a:hover {
  212. color: #4685FD !important; }
  213. .layui-body {
  214. overflow: auto;
  215. /* 四级菜单 */ }
  216. .layui-body.child_no_exit {
  217. left: 0; }
  218. .layui-body .ns-body-content {
  219. border-top: 1px solid transparent;
  220. margin-top: 45px;
  221. min-width: 1300px;
  222. padding: 0 15px 15px; }
  223. .layui-body .ns-body-content.crumbs_no_exit {
  224. margin-top: 0; }
  225. .layui-body .ns-body-content .ns-body {
  226. width: 100%;
  227. min-height: 620px; }
  228. .layui-body .fourstage-nav {
  229. margin: 0 0 10px; }
  230. .layui-body .fourstage-nav ul {
  231. border: 0; }
  232. .layui-body .fourstage-nav ul li {
  233. margin: 0 15px;
  234. padding: 0; }
  235. .layui-body .fourstage-nav ul li.layui-this:after {
  236. border: none !important;
  237. width: 100%;
  238. height: 4px;
  239. background-color: #4685FD;
  240. border-radius: 30px !important;
  241. position: absolute;
  242. top: 40px; }
  243. .layui-body .fourstage-nav ul li.layui-this a {
  244. color: #4685FD; }
  245. .ns-footer {
  246. box-sizing: border-box;
  247. text-align: center;
  248. padding-bottom: 30px;
  249. padding-top: 50px; }
  250. .ns-footer-img {
  251. margin-bottom: 18px; }
  252. .ns-footer-img a {
  253. display: block;
  254. text-align: center; }
  255. .ns-footer-img img {
  256. max-width: 100px;
  257. max-height: 27px; }
  258. .ns-footer-img, .ns-copyright, .ns-put-on-record {
  259. width: 100%;
  260. display: flex;
  261. justify-content: center;
  262. align-items: center; }
  263. .ns-footer-img span, .ns-copyright span, .ns-put-on-record span {
  264. display: inline-block;
  265. color: #898989;
  266. line-height: 25px;
  267. margin-right: 12px; }
  268. .ns-put-on-record img {
  269. margin-right: 3px; }
  270. /*********************** 组件样式 ***************************/
  271. .ns-tips {
  272. padding: 20px;
  273. background-color: #fff;
  274. border: 1px dashed #4685FD;
  275. margin-top: 20px; }
  276. .ns-tips .layui-colla-title {
  277. padding-left: 10px;
  278. height: 30px;
  279. font-size: 16px;
  280. font-weight: 400;
  281. line-height: 30px;
  282. background-color: transparent; }
  283. .ns-tips .layui-colla-title .layui-colla-icon {
  284. left: 80px; }
  285. .ns-tips .layui-colla-content {
  286. padding: 0;
  287. padding-left: 34px;
  288. border: none; }
  289. .ns-tips .layui-colla-content li {
  290. line-height: 25px;
  291. list-style: initial; }
  292. .ns-card-common {
  293. margin-top: 15px;
  294. margin-bottom: 0;
  295. box-shadow: inherit; }
  296. .ns-card-common .layui-card-header {
  297. padding: 0 20px;
  298. display: flex;
  299. justify-content: space-between;
  300. align-items: center; }
  301. .ns-card-common .layui-card-body {
  302. padding: 20px; }
  303. .ns-card-common .ns-card-title {
  304. font-size: 16px;
  305. font-weight: 600; }
  306. .ns-card-common .ns-card-sub {
  307. color: #999999;
  308. font-size: 14px; }
  309. .ns-card-brief .layui-card-header {
  310. border-bottom: 0;
  311. padding-bottom: 0; }
  312. .ns-card-brief .ns-card-title {
  313. position: relative;
  314. padding-left: 10px; }
  315. .ns-card-brief .ns-card-title::before {
  316. content: '';
  317. display: inline-block;
  318. width: 3px;
  319. height: 14px;
  320. background-color: #4685FD;
  321. position: absolute;
  322. left: 0;
  323. top: 50%;
  324. border-radius: 5px;
  325. transform: translateY(-50%); }
  326. .ns-card-block {
  327. display: flex;
  328. justify-content: space-between;
  329. flex-wrap: wrap; }
  330. .ns-card-block .ns-card-sev {
  331. background-color: #FFFFFF;
  332. width: 32.8%; }
  333. .ns-card-block .ns-card-sev .layui-card-header {
  334. height: auto !important;
  335. line-height: normal;
  336. padding-top: 20px;
  337. padding-bottom: 20px; }
  338. .ns-card-block .ns-card-sev .ns-sev-left {
  339. display: flex;
  340. justify-content: flex-start;
  341. align-items: center; }
  342. .ns-card-block .ns-card-sev .ns-img-box {
  343. width: 60px;
  344. height: 60px;
  345. line-height: 60px;
  346. margin-right: 10px; }
  347. .ns-card-block .ns-card-sev .ns-text-box {
  348. line-height: 30px; }
  349. .ns-card-block .ns-card-sev .ns-sev-right {
  350. display: flex;
  351. align-items: center; }
  352. .ns-card-block .layui-card-body div {
  353. height: 76px;
  354. overflow: auto;
  355. font-size: 13px;
  356. color: #999;
  357. scrollbar-width: none;
  358. /* firefox */
  359. -ms-overflow-style: none;
  360. /* IE 10+ */ }
  361. .ns-card-block .layui-card-body div::-webkit-scrollbar {
  362. /* Chrome Safari */
  363. display: none; }
  364. /* 详情面板 */
  365. .ns-detail-card {
  366. width: 100%;
  367. border: 1px solid #F1F1F1;
  368. padding: 20px 0 20px 50px;
  369. box-sizing: border-box;
  370. display: flex; }
  371. .ns-detail-card .ns-detail-img {
  372. width: 60px;
  373. height: 60px;
  374. text-align: center;
  375. margin-right: 15px; }
  376. .ns-detail-card .ns-detail-img img {
  377. max-width: 100%;
  378. max-height: 100%; }
  379. .ns-detail-card .ns-goods-name {
  380. font-size: 16px;
  381. font-weight: 600;
  382. color: #333333; }
  383. .ns-detail-card .ns-detail-line {
  384. height: 32px;
  385. line-height: 32px;
  386. color: #666666; }
  387. .ns-detail-card .ns-inline-span {
  388. display: inline-block;
  389. width: 220px; }
  390. .ns-screen {
  391. margin-top: 20px;
  392. border: 0;
  393. background-color: #fff;
  394. border-radius: 5px; }
  395. .ns-screen .layui-colla-item {
  396. position: relative; }
  397. .ns-screen .layui-colla-title {
  398. position: initial;
  399. height: 0; }
  400. .ns-screen .layui-colla-title .layui-colla-icon {
  401. left: auto;
  402. transform: translateX(-50%);
  403. top: 0;
  404. color: #BEBEBE;
  405. right: 10px; }
  406. .ns-screen .layui-colla-content {
  407. padding: 15px 0;
  408. border: 1px solid #f1f1f1; }
  409. .ns-screen .layui-colla-content .layui-input, .ns-screen .layui-colla-content .layui-form-select {
  410. width: 185px !important; }
  411. .ns-screen .layui-form-label {
  412. width: 120px; }
  413. .ns-screen .ns-form-row {
  414. margin-left: 120px; }
  415. .ns-single-filter-box {
  416. display: flex;
  417. justify-content: space-between;
  418. margin-top: 20px;
  419. background-color: #fff; }
  420. .ns-single-filter-box .layui-form {
  421. margin-left: auto; }
  422. .ns-single-filter-box .layui-form .layui-btn {
  423. border-color: #e6e6e6;
  424. padding: 0 10px; }
  425. .ns-single-filter-box .layui-form .layui-input + .layui-btn {
  426. height: 32px;
  427. line-height: 32px;
  428. position: absolute;
  429. right: 1px;
  430. top: 1px;
  431. border-width: 0;
  432. border-left-width: 1px; }
  433. .ns-single-filter-box .layui-form .layui-input:focus + .layui-btn {
  434. border-color: #4685FD !important; }
  435. .ns-single-filter-box .layui-input-inline {
  436. margin-left: 8px; }
  437. .layui-table-view {
  438. border-width: 0;
  439. background-color: #fff; }
  440. .layui-table-view .layui-input {
  441. width: 80px; }
  442. .layui-table-view thead th {
  443. background-color: #fff; }
  444. .layui-table-view .layui-table[lay-skin='line'] {
  445. border-width: 0; }
  446. .layui-table-view .layui-table {
  447. width: 100%; }
  448. .layui-table-view .layui-table td {
  449. padding: 13px 0; }
  450. .layui-table-view .layui-table thead tr,
  451. .layui-table-view .layui-table tr:hover {
  452. background-color: #f9f9f9; }
  453. .layui-table-view .layui-table thead span {
  454. font-weight: bold; }
  455. .layui-table-view .layui-table-cell {
  456. height: auto;
  457. line-height: 20px; }
  458. .layui-table-view .layui-table-cell .layui-form-switch {
  459. margin-top: 0; }
  460. .layui-table-view .layui-table-cell .layui-form-switch i {
  461. width: 22px;
  462. height: 22px;
  463. top: 0;
  464. left: 0;
  465. transition: 0.2s linear;
  466. box-shadow: 0 2px 5px #999;
  467. background-color: #fff; }
  468. .layui-table-view .layui-table-cell .layui-form-onswitch {
  469. border-color: #4685FD;
  470. background-color: #4685FD; }
  471. .layui-table-view .layui-table-cell .layui-form-onswitch i {
  472. left: 100%; }
  473. .layui-table-view .layui-table-cell a:hover {
  474. color: #4685FD; }
  475. .layui-table-view .layui-table-page {
  476. padding-top: 22px;
  477. height: 56px; }
  478. .layui-table-view #layui-table-page1 {
  479. text-align: right; }
  480. .layui-table-view .layui-laypage-count,
  481. .layui-table-view .layui-laypage-limits {
  482. float: left; }
  483. .layui-table-view .layui-laypage-skip {
  484. display: none; }
  485. .layui-table-view .layui-table-hover {
  486. background-color: #f9f9f9; }
  487. .layui-table-view .layui-form-checked[lay-skin='primary'] i {
  488. border-color: #4685FD !important;
  489. background-color: #4685FD; }
  490. .layui-table-view .layui-form-checkbox[lay-skin='primary']:hover i {
  491. border-color: #4685FD; }
  492. .layui-table-view .layui-laypage input:focus,
  493. .layui-table-view .layui-laypage select:focus {
  494. border-color: #4685FD !important; }
  495. .layui-table-view .layui-laypage .layui-laypage-curr .layui-laypage-em {
  496. background-color: #4685FD; }
  497. .layui-table-view .layui-table[lay-size=lg] td .layui-table-cell {
  498. height: auto;
  499. line-height: 1.8; }
  500. td:last-child .layui-table-cell {
  501. white-space: normal; }
  502. td:last-child .layui-table-cell .layui-btn {
  503. height: inherit;
  504. line-height: inherit;
  505. margin-left: 5px; }
  506. /* .layui-btns-box {
  507. line-height: 1.6;
  508. display: flex;
  509. flex-wrap: wrap;
  510. justify-content: flex-end;
  511. }
  512. .layui-btns-box .default {
  513. color: #666666;
  514. } */
  515. .ns-table-tuwen-box {
  516. display: flex;
  517. align-items: center; }
  518. .ns-table-tuwen-box .ns-img-box {
  519. flex-shrink: 0; }
  520. .ns-table-tuwen-box .ns-font-box {
  521. margin-left: 10px;
  522. flex: 1;
  523. overflow: hidden; }
  524. .ns-img-box {
  525. display: inline-block;
  526. width: 40px;
  527. height: 40px;
  528. text-align: center;
  529. line-height: 40px; }
  530. .ns-img-box img {
  531. max-width: 100%;
  532. max-height: 100%; }
  533. .layui-table-grid-down {
  534. display: none; }
  535. .ns-over-hide-second {
  536. overflow: hidden;
  537. text-overflow: ellipsis;
  538. display: -webkit-box;
  539. -webkit-line-clamp: 2;
  540. line-clamp: 2;
  541. -webkit-box-orient: vertical;
  542. white-space: normal;
  543. line-height: 25px !important;
  544. height: auto !important; }
  545. .ns-line-hiding {
  546. overflow: hidden;
  547. text-overflow: ellipsis;
  548. display: -webkit-box;
  549. -webkit-line-clamp: 1;
  550. line-clamp: 1;
  551. -webkit-box-orient: vertical;
  552. white-space: normal;
  553. word-break: break-all; }
  554. .ns-multi-line-hiding {
  555. overflow: hidden;
  556. text-overflow: ellipsis;
  557. display: -webkit-box;
  558. -webkit-line-clamp: 2;
  559. line-clamp: 2;
  560. -webkit-box-orient: vertical;
  561. white-space: normal;
  562. word-break: break-all;
  563. line-height: 22px !important;
  564. max-height: 42px !important; }
  565. /* 表格分页颜色 */
  566. .layui-laypage a:hover {
  567. color: #4685FD !important; }
  568. .layui-laypage .layui-laypage-curr .layui-laypage-em {
  569. background-color: #4685FD !important; }
  570. .layui-laypage input:focus, .layui-laypage select:focus {
  571. border-color: #4685FD !important; }
  572. .layui-table th {
  573. font-weight: bold;
  574. background-color: #f7f7f7 !important; }
  575. .layui-table, .layui-table-view {
  576. margin-top: 20px;
  577. margin-bottom: 0; }
  578. .layui-table.ns-pithy-table {
  579. border: 0; }
  580. .layui-table.ns-pithy-table .layui-input {
  581. width: 80px; }
  582. .layui-table.ns-pithy-table thead th {
  583. padding: 5px 15px !important;
  584. height: 40px;
  585. line-height: 40px;
  586. border: 0;
  587. border-bottom: 1px solid #e6e6e6; }
  588. .layui-table.ns-pithy-table tbody td {
  589. padding: 13px 15px;
  590. min-height: 40px;
  591. line-height: 40px;
  592. border: 0; }
  593. .layui-table.ns-pithy-table tbody tr {
  594. border-bottom: 1px solid #e6e6e6; }
  595. .layui-table.ns-pithy-table tbody tr:last-of-type {
  596. border-bottom: 0; }
  597. .ns-table-btn {
  598. display: flex;
  599. flex-wrap: wrap; }
  600. .ns-table-btn .layui-btn {
  601. display: flex;
  602. justify-content: center;
  603. align-items: center;
  604. height: 23px;
  605. border-radius: 50px;
  606. background-color: transparent;
  607. font-size: 13px;
  608. color: #4685FD;
  609. text-align: center;
  610. padding: 2px 8px 2px 0;
  611. margin: 5px 0 5px 5px;
  612. position: relative; }
  613. .layui-layer {
  614. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; }
  615. .layui-layer-shade {
  616. background-color: #373737 !important;
  617. opacity: 0.6 !important; }
  618. .layui-layer-page .layui-layer-content {
  619. padding: 20px;
  620. overflow: initial; }
  621. .layui-layer-page .layui-layer-content .layui-form-selected dl {
  622. position: absolute; }
  623. .layui-layer-page #layui-layer-photos {
  624. padding: 0; }
  625. .ns-form {
  626. background-color: #fff;
  627. padding: 20px;
  628. margin-top: 10px;
  629. border-radius: 5px; }
  630. .ns-len-long {
  631. width: 450px !important; }
  632. .ns-len-mid {
  633. width: 250px !important; }
  634. .ns-len-short {
  635. width: 120px !important; }
  636. .ns-special-length {
  637. width: 650px; }
  638. .layui-input, .layui-select, .layui-textarea {
  639. border-color: #E6E6E6; }
  640. .layui-input:focus, .layui-select:focus, .layui-textarea:focus {
  641. border-color: #4685FD !important; }
  642. .layui-input, .layui-select, .ns-input-text, .layui-btn {
  643. height: 34px;
  644. line-height: 34px; }
  645. .ns-btn-hover {
  646. color: #4685FD !important;
  647. border-color: #4685FD !important; }
  648. .layui-form-label {
  649. width: 200px;
  650. height: 34px;
  651. line-height: 34px;
  652. padding: 0 10px 0 0;
  653. box-sizing: border-box;
  654. font-size: 14px;
  655. color: #454545 !important; }
  656. .layui-form-label.sm {
  657. width: 80px; }
  658. .layui-form-label.mid {
  659. width: 150px; }
  660. .layui-form-label + .layui-input-block {
  661. margin-left: 200px; }
  662. .layui-form-label.sm + .layui-input-block {
  663. margin-left: 80px; }
  664. .layui-form-label.mid + .layui-input-block {
  665. margin-left: 150px; }
  666. .required {
  667. color: red;
  668. margin-right: 3px; }
  669. .ns-word-aux {
  670. margin-left: 200px;
  671. display: block;
  672. margin-top: 5px;
  673. color: #B2B2B2;
  674. font-size: 12px;
  675. line-height: 1.6; }
  676. .ns-word-aux.sm {
  677. margin-left: 80px; }
  678. .ns-word-aux.mid {
  679. margin-left: 150px; }
  680. .layui-form-select dl dd.layui-this {
  681. background-color: #4685FD; }
  682. .layui-form-checked[lay-skin='primary'] i {
  683. border-color: #4685FD !important;
  684. background-color: #4685FD;
  685. color: #fff; }
  686. .layui-form-checkbox[lay-skin='primary']:hover i {
  687. border-color: #4685FD; }
  688. .layui-form-radio > i:hover,
  689. .layui-form-radioed > i {
  690. color: #4685FD; }
  691. .layui-form-switch {
  692. margin-top: 6px;
  693. border-radius: 16px;
  694. border-color: #DDDDDD; }
  695. .layui-form-switch i {
  696. width: 21px;
  697. height: 21px;
  698. border-radius: 25px;
  699. background-color: #fff;
  700. position: absolute;
  701. z-index: 2;
  702. top: 0;
  703. left: 1px;
  704. -webkit-transition-duration: 0.3s;
  705. transition-duration: 0.3s;
  706. -webkit-box-shadow: 0 2px 5px #5a5a5a;
  707. box-shadow: 0 2px 5px #5a5a5a; }
  708. .layui-form-switch.layui-form-onswitch i {
  709. left: 46px; }
  710. .layui-form-onswitch {
  711. background-color: #4685FD; }
  712. .layui-textarea {
  713. display: inline-block;
  714. color: #333 !important;
  715. resize: none; }
  716. .layui-textarea::-webkit-scrollbar {
  717. display: none; }
  718. .ns-form-row {
  719. margin-top: 20px;
  720. margin-left: 200px; }
  721. .ns-form-row.sm {
  722. margin-left: 80px; }
  723. .ns-form-row.mid {
  724. margin-left: 150px; }
  725. .ns-form-row .layui-btn {
  726. height: 34px;
  727. line-height: 34px; }
  728. .upload-img-block.square {
  729. width: 100px;
  730. height: 100px; }
  731. .upload-img-block {
  732. padding: 10px;
  733. width: 250px;
  734. height: 100px;
  735. border: 1px dashed #ddd;
  736. box-sizing: border-box; }
  737. .upload-img-block .upload-img-box {
  738. width: 100%;
  739. height: 100%;
  740. text-align: center;
  741. position: relative;
  742. cursor: pointer; }
  743. .upload-img-block .upload-img-box .ns-upload-default {
  744. position: absolute;
  745. top: 50%;
  746. /*偏移*/
  747. left: 50%;
  748. transform: translate(-50%, -50%); }
  749. .upload-img-block .upload-img-box .ns-upload-default p {
  750. color: #5a5a5a;
  751. line-height: 20px;
  752. white-space: nowrap; }
  753. .upload-img-block .upload-img-box > img {
  754. position: absolute;
  755. top: 50%;
  756. /*偏移*/
  757. left: 50%;
  758. transform: translate(-50%, -50%);
  759. max-height: 100%;
  760. max-width: 100%; }
  761. .layui-layer-btn .layui-layer-btn0 {
  762. border-color: #4685FD !important;
  763. background-color: #4685FD !important; }
  764. :root input:-webkit-autofill,
  765. textarea:-webkit-autofill,
  766. select:-webkit-autofill {
  767. box-shadow: 0 0 0 0 white inset; }
  768. .layui-form-item .layui-input-inline {
  769. width: auto;
  770. line-height: 34px; }
  771. .layui-form-radio {
  772. margin: 0; }
  773. .layui-input-block {
  774. line-height: 34px; }
  775. .layui-form-mid, .layui-word-aux {
  776. display: inline-block;
  777. height: 34px;
  778. line-height: 34px;
  779. padding: 0 !important; }
  780. .layui-btn-primary:hover {
  781. border-color: #C9C9C9; }
  782. .ns-dis-input {
  783. background-color: #f7f7f7;
  784. cursor: no-drop; }
  785. .ns-dis-input:hover {
  786. border-color: #e6e6e6 !important; }
  787. .ns-calendar {
  788. position: absolute;
  789. top: 0;
  790. right: 0;
  791. width: 34px;
  792. height: 34px; }
  793. .ns-table-tab {
  794. margin-top: 20px; }
  795. .ns-table-tab .layui-tab-title {
  796. height: 41px;
  797. border-color: #f1f1f1; }
  798. .ns-table-tab .layui-tab-title li {
  799. background-color: #F7F7F7;
  800. border-top: 1px solid #f1f1f1;
  801. border-bottom: 1px solid #f1f1f1;
  802. border-left: 1px solid #f1f1f1; }
  803. .ns-table-tab .layui-tab-title li:first-child {
  804. border-left: 1px solid #f1f1f1;
  805. border-top-left-radius: 3px; }
  806. .ns-table-tab .layui-tab-title li:last-child {
  807. border-right: 1px solid #f1f1f1;
  808. border-top-right-radius: 3px; }
  809. .ns-table-tab .layui-tab-title li.layui-this {
  810. background-color: #fff;
  811. border-bottom-color: #fff; }
  812. .ns-table-tab .layui-tab-title li.layui-this::after {
  813. border: none;
  814. border-radius: 0; }
  815. .ns-table-tab .layui-tab-content {
  816. padding: 0;
  817. border: none;
  818. background-color: #fff; }
  819. .layui-laydate li.layui-this, .layui-laydate td.layui-this {
  820. background-color: #4685FD !important; }
  821. .layui-laydate-footer span:hover {
  822. color: #4685FD !important; }
  823. .layui-laydate-header i:hover, .layui-laydate-header span:hover {
  824. color: #4685FD !important; }
  825. .layui-laydate-footer span[lay-type=date] {
  826. color: #4685FD !important; }
  827. .ns-table-bottom {
  828. border-top: 1px solid #e5e5e5;
  829. padding-top: 10px;
  830. padding-left: 17px;
  831. padding-bottom: 15px;
  832. display: flex;
  833. justify-content: space-between; }
  834. .ns-table-bottom .layui-form-checkbox[lay-skin=primary] {
  835. padding-left: 25px; }
  836. .ns-table-bottom .layui-table-bottom-tool-temp {
  837. line-height: 34px; }
  838. .ns-table-bottom .layui-table-bottom-tool-temp .layui-table-view .layui-form-checkbox {
  839. padding-left: 15px; }
  840. .ns-table-bottom .layui-btn {
  841. padding: 0px 5px;
  842. font-size: 12px;
  843. line-height: 2 !important;
  844. height: auto;
  845. display: inline-block; }
  846. .ns-table-bottom .layui-table-page {
  847. width: auto;
  848. border-top: 0;
  849. padding: 0 !important;
  850. height: 34px !important;
  851. padding-top: 2px !important; }
  852. /**************** 颜色选择器 ********************/
  853. .layui-colorpicker-main .layui-btn-container .layui-btn:last-of-type {
  854. background-color: #4685FD; }
  855. /**************** 弹窗 ********************/
  856. .ns-upload-img,
  857. .ns-upload-wrap {
  858. display: inline-block;
  859. width: 120px;
  860. height: 120px;
  861. border: 1px solid #e5e5e5;
  862. text-align: center;
  863. vertical-align: top;
  864. cursor: pointer; }
  865. .ns-upload-img .add-style {
  866. line-height: 1; }
  867. .ns-upload-img .add-img {
  868. display: inline-block;
  869. margin-top: 25px;
  870. margin-bottom: 12px;
  871. height: 35px;
  872. width: 35px;
  873. border-radius: 50%;
  874. font-size: 40px;
  875. line-height: 37px;
  876. text-align: center;
  877. color: #fff;
  878. background-color: #12b7f5; }
  879. /**************** 站点logo ********************/
  880. .plus-box {
  881. text-align: center;
  882. width: 64px;
  883. height: 64px;
  884. line-height: 64px; }
  885. .layui-fluid {
  886. background-color: #fff;
  887. margin: 10px 10px 85px;
  888. padding: 15px 15px 35px;
  889. overflow: hidden; }
  890. .layui-form-select .layui-input {
  891. padding-right: 30px;
  892. cursor: pointer; }
  893. .layui-form-select .layui-input {
  894. padding-right: 30px;
  895. cursor: pointer; }
  896. .layui-layer-content {
  897. overflow: inherit !important; }
  898. .layui-layer-content .layui-form {
  899. padding: 25px; }
  900. .layui-form-item .layui-input-inline {
  901. width: auto; }
  902. .layui-input-block input,
  903. .layui-input-inline input {
  904. color: #4c4c4c;
  905. height: 34px; }
  906. .layui-anim.layui-anim-upbit dd.layui-this {
  907. background-color: #4685FD; }
  908. .ns-len-tiny {
  909. width: inherit; }
  910. /*************** 列表 ***************/
  911. .ns-tabulation {
  912. border-color: #e6e6e6 !important;
  913. height: 30px;
  914. position: relative;
  915. display: flex;
  916. padding: 13px 0;
  917. min-height: 20px;
  918. align-items: center;
  919. border-bottom: 1px solid; }
  920. .ns-tabulation label {
  921. min-width: 100px;
  922. width: 10%;
  923. margin-right: 20px;
  924. padding-left: 35px;
  925. text-align: left;
  926. color: #333; }
  927. .ns-tabulation span {
  928. width: 70%;
  929. color: #999; }
  930. .ns-tabulation .ns-operation {
  931. color: #4685FD !important;
  932. position: absolute;
  933. top: 50%;
  934. right: 35px;
  935. -webkit-transform: translateY(-50%);
  936. -moz-transform: translateY(-50%);
  937. -ms-transform: translateY(-50%);
  938. -o-transform: translateY(-50%);
  939. transform: translateY(-50%); }
  940. .ns-list .head {
  941. border-bottom: 1px solid #e5e5e5;
  942. background-color: #f7f7f7 !important;
  943. display: flex;
  944. height: 20px;
  945. padding: 13px 0;
  946. align-items: center;
  947. justify-content: space-between; }
  948. .ns-list .head h2 {
  949. padding-left: 35px;
  950. font-size: 14px; }
  951. /*************** 标签块 ***************/
  952. .ns-item-block-parent {
  953. width: 100%;
  954. display: flex;
  955. flex-wrap: wrap;
  956. /* .ns-item-block-hover-a:hover {
  957. border-color: transparent;
  958. box-shadow: 0 0 10px rgba(20, 20, 20, 0.15);
  959. }
  960. */ }
  961. .ns-item-block-parent .ns-item-block {
  962. position: relative;
  963. display: inline-block;
  964. background: #f7f8fa;
  965. box-sizing: border-box; }
  966. .ns-item-block-parent .ns-item-block:hover {
  967. background: #f2f3f5; }
  968. .ns-item-block-parent .ns-item-block-wrap {
  969. padding: 15px;
  970. display: flex;
  971. justify-content: flex-start;
  972. align-items: center; }
  973. .ns-item-block-parent .ns-item-pic {
  974. flex-shrink: 0;
  975. width: 40px;
  976. height: 40px;
  977. text-align: center;
  978. line-height: 40px;
  979. margin-right: 10px; }
  980. .ns-item-block-parent .ns-item-pic img {
  981. max-width: 100%;
  982. max-height: 100%; }
  983. .ns-item-block-parent .ns-item-con {
  984. overflow: hidden;
  985. height: 40px;
  986. display: flex;
  987. flex-direction: column;
  988. justify-content: space-around; }
  989. .ns-item-block-parent .ns-item-con .ns-item-content-title {
  990. white-space: nowrap;
  991. overflow: hidden;
  992. text-overflow: ellipsis;
  993. line-height: 20px;
  994. font-size: 14px;
  995. color: #666; }
  996. .ns-item-block-parent .ns-item-con .ns-item-content-icon {
  997. font-size: 12px;
  998. color: #999;
  999. margin-top: 2px; }
  1000. .ns-item-block-parent .ns-item-con .ns-item-content-icon .label {
  1001. display: inline-block;
  1002. text-overflow: ellipsis;
  1003. white-space: nowrap;
  1004. overflow: hidden;
  1005. max-width: 66%;
  1006. height: 18px;
  1007. padding-left: 5px;
  1008. padding-right: 5px;
  1009. margin-right: 5px;
  1010. margin-bottom: 5px;
  1011. border: 1px solid #e5e5e5;
  1012. vertical-align: middle;
  1013. line-height: 18px;
  1014. border-radius: 2px; }
  1015. .ns-item-block-parent .ns-item-con .ns-item-content-icon img {
  1016. width: 16px;
  1017. height: 16px;
  1018. padding: 2px;
  1019. margin-bottom: 5px; }
  1020. .ns-item-block-parent .ns-item-con .ns-item-content-desc {
  1021. line-height: 20px;
  1022. font-size: 12px;
  1023. color: #999; }
  1024. .ns-item-block-parent .ns-item-float-wrap {
  1025. position: absolute;
  1026. top: 0;
  1027. right: 0;
  1028. bottom: 0;
  1029. left: 0;
  1030. opacity: 0;
  1031. transition: all 0.2s; }
  1032. .ns-item-block-parent .ns-item-float {
  1033. position: absolute;
  1034. bottom: 0;
  1035. left: 0;
  1036. width: 100%;
  1037. height: 30px;
  1038. line-height: 30px;
  1039. padding: 0 20px;
  1040. color: #333;
  1041. box-sizing: border-box;
  1042. background-color: #f2f3f5;
  1043. border-top: 1px solid #e5e5e5;
  1044. font-size: 12px;
  1045. display: flex;
  1046. justify-content: space-between; }
  1047. .ns-item-block-parent .ns-item-float i {
  1048. display: inline-block;
  1049. width: 8px;
  1050. height: 8px;
  1051. border-radius: 5px; }
  1052. .ns-item-block-parent .ns-item-float span {
  1053. margin-left: 5px;
  1054. margin-right: 5px; }
  1055. .ns-item-block-parent .ns-item-block-hover:hover {
  1056. border-color: transparent; }
  1057. .ns-item-block-parent .ns-item-block-hover:hover .ns-item-float-wrap {
  1058. bottom: -30px;
  1059. opacity: 1;
  1060. z-index: 99; }
  1061. .ns-item-block-parent .ns-item-poa-pic {
  1062. position: absolute;
  1063. top: 0;
  1064. right: 0;
  1065. width: 50px;
  1066. height: 50px; }
  1067. .ns-item-block-parent .ns-item-poa-pic img {
  1068. width: 50px;
  1069. height: 50px; }
  1070. @media screen and (min-width: 1700px) {
  1071. .ns-item-block {
  1072. width: 19%;
  1073. margin-right: 1.25%;
  1074. margin-bottom: 25px; }
  1075. .ns-item-block:nth-child(5n) {
  1076. margin-right: 0; } }
  1077. @media screen and (min-width: 1460px) and (max-width: 1699px) {
  1078. .ns-item-block {
  1079. width: 23.5%;
  1080. margin-right: 2%;
  1081. margin-bottom: 25px; }
  1082. .ns-item-block:nth-child(4n) {
  1083. margin-right: 0; } }
  1084. @media screen and (max-width: 1459px) {
  1085. .ns-item-block {
  1086. width: 31.5%;
  1087. margin-right: 2%;
  1088. margin-bottom: 25px; }
  1089. .ns-item-block:nth-child(3n) {
  1090. margin-right: 0; } }
  1091. /* @media screen and (max-width: 1239px) {
  1092. .ns-item-block {
  1093. width: 49%;
  1094. margin-right: 2%;
  1095. margin-bottom: 25px;
  1096. &:nth-child(2n) {
  1097. margin-right: 0;
  1098. }
  1099. }
  1100. } */
  1101. .ns-bg-color-blue {
  1102. background-color: #4685FD !important; }
  1103. .ns-bg-color-red {
  1104. background-color: red !important; }
  1105. /* 禁止点击 */
  1106. .ns-cursor {
  1107. cursor: no-drop; }
  1108. .goods-edit-attr.brand-list ul.unselected li:hover, .goods-edit-attr.brand-list ul.unselected li.selected {
  1109. background-color: #4685FD !important;
  1110. color: #fff; }
  1111. .draggable-element.selected, .draggable-element:hover {
  1112. border-color: #4685FD !important; }
  1113. .ns-prompt-block {
  1114. display: flex;
  1115. align-items: center; }
  1116. .ns-prompt-block .ns-prompt {
  1117. width: 18px;
  1118. height: 18px;
  1119. line-height: 18px;
  1120. position: relative; }
  1121. .ns-prompt-block .ns-prompt:hover .ns-prompt-box {
  1122. display: inline-block; }
  1123. .ns-prompt-block .ns-prompt .iconfont {
  1124. color: #000; }
  1125. .ns-prompt-block .ns-prompt-box {
  1126. position: absolute;
  1127. top: -20px;
  1128. left: 42px;
  1129. border: 1px solid #e4e4e4;
  1130. width: 280px;
  1131. border-radius: 5px;
  1132. background-color: #FFFFFF;
  1133. padding: 15px;
  1134. box-sizing: border-box;
  1135. word-break: break-all;
  1136. color: #666666;
  1137. line-height: 24px;
  1138. z-index: 999;
  1139. display: none; }
  1140. .ns-prompt-block .ns-prompt-box:before, .ns-prompt-block .ns-prompt-box:after {
  1141. content: '';
  1142. display: inline-block;
  1143. border: solid transparent;
  1144. width: 0;
  1145. height: 0;
  1146. border-width: 12px;
  1147. top: 16px;
  1148. position: absolute; }
  1149. .ns-prompt-block .ns-prompt-box:before {
  1150. border-right-color: #e4e4e4;
  1151. left: -25px; }
  1152. .ns-prompt-block .ns-prompt-box:after {
  1153. border-right-color: #FFFFFF;
  1154. left: -23px; }
  1155. .ns-prompt-block .ns-prompt-con {
  1156. width: 100%;
  1157. word-break: break-all;
  1158. white-space: normal; }