nui.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. @CHARSET "UTF-8";
  2. /* common start */
  3. * {
  4. margin:0;
  5. padding:0;
  6. -webkit-tap-highlight-color: rgba(0,0,0,0);
  7. box-sizing:border-box;
  8. }
  9. html, body{
  10. height:100%;
  11. }
  12. body {
  13. font: 14px Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96c5\9ED1,Tahoma,Arial,sans-serif;
  14. line-height: 24px;
  15. }
  16. a:active,a:hover{
  17. outline: 0
  18. }
  19. a{
  20. /* color: #FFF; */
  21. text-decoration: none
  22. }
  23. a:hover{
  24. color: #777
  25. }
  26. .nui-show {
  27. display:block!important;
  28. }
  29. .nui-hide {
  30. display:none!important;
  31. }
  32. .nui-left{
  33. float:left!important;
  34. }
  35. .nui-right{
  36. float:right!important;
  37. }
  38. .nui-clearfix {
  39. clear: both;
  40. *zoom: 1
  41. }
  42. .nui-clearfix:after {
  43. content: "";
  44. display: block;
  45. clear: both;
  46. *zoom: 1
  47. }
  48. /* common end */
  49. .nui-nav{
  50. position: relative;
  51. color: #fff;
  52. }
  53. .nui-nav .nui-nav-item {
  54. position: relative;
  55. display: inline-block;
  56. vertical-align: middle;
  57. line-height: 50px;
  58. }
  59. .nui-nav-vert .nui-nav-item {
  60. width: 100%;
  61. display: block;
  62. line-height: 40px;
  63. }
  64. .nui-nav .nui-nav-item a {
  65. display: block;
  66. padding: 0 20px;
  67. color: #fff;
  68. transition: all .3s;
  69. -webkit-transition: all .3s;
  70. margin:0;
  71. }
  72. .nui-nav .nui-nav-item a:hover{
  73. background-color:#000;
  74. }
  75. .nui-nav .nui-nav-item.active{
  76. background-color:#000;
  77. }
  78. /* 栅格 start */
  79. .nui-box{
  80. padding:10px;
  81. }
  82. .nui-row:after{
  83. content: "";
  84. display: block;
  85. clear: both;
  86. }
  87. .nui-block{
  88. height:100%;
  89. background-color:#FFF;
  90. }
  91. .nui-col-1,
  92. .nui-col-2,
  93. .nui-col-3,
  94. .nui-col-4,
  95. .nui-col-5,
  96. .nui-col-6,
  97. .nui-col-7,
  98. .nui-col-8,
  99. .nui-col-9,
  100. .nui-col-10,
  101. .nui-col-11,
  102. .nui-col-12{
  103. float: left;
  104. }
  105. .nui-col-1{width:8.333333%}
  106. .nui-col-2{width:16.666666%}
  107. .nui-col-3{width:25%}
  108. .nui-col-4{width:33.333333%}
  109. .nui-col-5{width:41.666666%}
  110. .nui-col-6{width:50%;}
  111. .nui-col-7{width:58.333333%}
  112. .nui-col-8{width:66.666666%}
  113. .nui-col-9{width:75%}
  114. .nui-col-10{width:83.33333%}
  115. .nui-col-11{width:91.66666%}
  116. .nui-col-12{width:100%;}
  117. /* 外间距 */
  118. .nui-col-space1 {margin: -0.5px;}
  119. .nui-col-space1>* {padding: 0.5px;}
  120. .nui-col-space5 {margin: -2.5px;}
  121. .nui-col-space5>* {padding: 2.5px;}
  122. .nui-col-space10 {margin: -5px;}
  123. .nui-col-space10>* {padding: 5px;}
  124. .nui-col-space15 {margin: -7.5px;}
  125. .nui-col-space15>* {padding: 7.5px;}
  126. .nui-col-space30 {margin: -15px;}
  127. .nui-col-space30>* {padding: 15px;}
  128. /* 列偏移 */
  129. .nui-col-offset1 {margin-left: 8.333333%;}
  130. .nui-col-offset2 {margin-left: 16.666666%;}
  131. .nui-col-offset3 {margin-left: 25%;}
  132. .nui-col-offset4 {margin-left: 33.333333%;}
  133. .nui-col-offset5 {margin-left: 41.666666%;}
  134. .nui-col-offset6 {margin-left: 50%;}
  135. .nui-col-offset7 {margin-left: 58.333333%;}
  136. .nui-col-offset8 {margin-left: 66.666666%;}
  137. .nui-col-offset9 {margin-left: 75%;}
  138. .nui-col-offset10 {margin-left: 83.33333%;}
  139. .nui-col-offset11 {margin-left: 91.66666%;}
  140. /* 栅格 end */
  141. /* 按钮 start */
  142. .nui-btn {
  143. display: inline-block;
  144. height: 30px;
  145. line-height: 30px;
  146. padding: 0 14px;
  147. background-color: #126AE4;
  148. color: #fff;
  149. white-space: nowrap;
  150. text-align: center;
  151. font-size: 14px;
  152. border: none;
  153. cursor: pointer;
  154. }
  155. .nui-btn:hover, .nui-btn:active{
  156. background-color:rgb(0, 0, 0);
  157. }
  158. .nui-btn.disabled, .nui-btn.disabled:active, .nui-btn.disabled:hover{
  159. border: 1px solid #e6e6e6;
  160. background-color: #FBFBFB;
  161. color: #C9C9C9;
  162. cursor: not-allowed;
  163. opacity: 1;
  164. }
  165. .nui-btn-primary{
  166. border: 1px solid #C9C9C9;
  167. background-color: #fff;
  168. color: #555;
  169. }
  170. .nui-btn-primary:hover{
  171. border: 1px solid #ccc;
  172. background-color: #fff;
  173. color: #555;
  174. }
  175. .nui-btn-success{
  176. background-color: #5cb85c;
  177. }
  178. .nui-btn-success:hover{
  179. background-color: #449d44;
  180. }
  181. .nui-btn-info{
  182. background-color: #5bc0de;
  183. }
  184. .nui-btn-info:hover{
  185. background-color: #31b0d5;
  186. }
  187. .nui-btn-warning{
  188. background-color: #f0ad4e;
  189. }
  190. .nui-btn-warning:hover{
  191. background-color: #ec971f;
  192. }
  193. .nui-btn-danger{
  194. background-color: #d9534f;
  195. }
  196. .nui-btn-danger:hover{
  197. background-color: #c9302c;
  198. }
  199. .nui-btn-link{}
  200. .nui-btn-lg {
  201. height: 44px;
  202. line-height: 44px;
  203. padding: 0 25px;
  204. font-size: 16px;
  205. }
  206. .nui-btn-sm {
  207. height: 30px;
  208. line-height: 30px;
  209. padding: 0 10px;
  210. font-size: 12px;
  211. }
  212. .nui-btn-xs {
  213. height: 22px;
  214. line-height: 22px;
  215. padding: 0 5px;
  216. font-size: 12px;
  217. }
  218. .btn-block{
  219. width: 100%;
  220. }
  221. /* 按钮 end */
  222. /* 表单 start */
  223. input {
  224. /* -webkit-appearance: textfield; */
  225. /* background-color: white; */
  226. /* -webkit-rtl-ordering: logical; */
  227. /* user-select: text; */
  228. /* cursor: auto; */
  229. /* padding: 1px; */
  230. /* border-width: 2px; */
  231. /* border-style: inset; */
  232. /* border-color: initial; */
  233. /* border-image: initial; */
  234. }
  235. input, textarea, select, button {
  236. /* text-rendering: auto; */
  237. /* color: initial; */
  238. /* letter-spacing: normal; */
  239. /* word-spacing: normal; */
  240. /* text-transform: none; */
  241. /* text-indent: 0px; */
  242. /* text-shadow: none; */
  243. /* display: inline-block; */
  244. /* text-align: start; */
  245. /* margin: 0em; */
  246. /* font: 13.3333px Arial; */
  247. }
  248. button, input, optgroup, option, select, textarea {
  249. /* font-family: inherit; */
  250. /* font-size: inherit; */
  251. /* font-style: inherit; */
  252. /* font-weight: inherit; */
  253. /* outline: 0; */
  254. }
  255. .nui-form-item{
  256. margin-bottom:10px;
  257. }
  258. .nui-form-item:after{
  259. content: "";
  260. display: block;
  261. clear: both;
  262. }
  263. .nui-form-label{
  264. padding: 9px 15px;
  265. font-weight: 400;
  266. line-height: 20px;
  267. text-align: right;
  268. }
  269. .nui-form-explain{
  270. padding: 9px 15px;
  271. font-weight: 400;
  272. line-height: 20px;
  273. color:red;
  274. }
  275. .nui-form-box .nui-form-explain{
  276. padding: 9px 0;
  277. /* display:none; */
  278. }
  279. .nui-input, .nui-select, .nui-textarea{
  280. width:100%;
  281. height: 38px;
  282. line-height: 1.3;
  283. line-height: 38px\9;
  284. border-width: 1px;
  285. border-style: solid;
  286. background-color: #fff;
  287. border-color: #e6e6e6;
  288. padding-left:10px;
  289. }
  290. .nui-form input[type=checkbox], .nui-form input[type=radio]{
  291. /* display: none; */
  292. }
  293. /* 表单 end */
  294. .nui-tab{
  295. width:100%;
  296. text-align:left!important;
  297. }
  298. .nui-tab-head{
  299. position: relative;
  300. left: 0;
  301. height: 40px;
  302. white-space: nowrap;
  303. font-size: 0;
  304. color:#333;
  305. border-bottom-width: 1px;
  306. border-bottom-style: solid;
  307. border-bottom-color:red;
  308. transition: all .2s;
  309. -webkit-transition: all .2s;
  310. }
  311. .nui-tab-head-item{
  312. display: inline-block;
  313. vertical-align: middle;
  314. font-size: 14px;
  315. transition: all .2s;
  316. -webkit-transition: all .2s;
  317. position: relative;
  318. line-height: 40px;
  319. min-width: 65px;
  320. padding: 0 15px;
  321. text-align: center;
  322. cursor: pointer;
  323. }
  324. .nui-tab-head-item.active:after{
  325. position: absolute;
  326. left: 0;
  327. top: 0;
  328. content: '';
  329. width: 100%;
  330. height: 41px;
  331. border-width: 1px;
  332. border-style: solid;
  333. border-bottom-color: #fff;
  334. border-radius: 2px 2px 0 0;
  335. box-sizing: border-box;
  336. pointer-events: none;
  337. }
  338. .nui-tab-head-item.active{
  339. font-weight:500;
  340. color:#126AE4;
  341. }
  342. .nui-tab-head-item.active:after{
  343. border: none;
  344. border-radius: 0;
  345. border-bottom: 2px solid #126AE4;
  346. }
  347. .nui-tab-body{
  348. padding:10px;
  349. }
  350. .nui-tab-body-item{
  351. display:none;
  352. }
  353. /* 表格 start */
  354. table {
  355. border-collapse: collapse;
  356. border-spacing: 0;
  357. }
  358. .nui-table{
  359. width:100%;
  360. background-color:#FFF;
  361. color:#333;
  362. }
  363. .nui-table tbody tr:hover,
  364. .nui-table thead tr{
  365. background-color:#e5e5e5;
  366. }
  367. .nui-table tr {
  368. transition: all .3s;
  369. -webkit-transition: all .3s
  370. }
  371. .nui-table th{
  372. text-align:left;
  373. font-weight:400;
  374. }
  375. .nui-table td,.nui-table th{
  376. position: relative;
  377. padding: 9px 15px;
  378. min-height: 20px;
  379. line-height: 20px;
  380. font-size: 14px
  381. }
  382. .nui-table.line{
  383. border:1px solid red;
  384. }
  385. .nui-table td,.nui-table th{
  386. border:1px solid red;
  387. }
  388. .nui-table.line td, .nui-table.line th{
  389. border-width:0 0 1px;
  390. }
  391. .nui-table.no-border td, .nui-table.no-border th{
  392. border:none;
  393. }
  394. /* .nui-table tr:nth-child(even){ */
  395. /* background-color:#f2f2f2; */
  396. /* } */
  397. /* 表格 end */