_mui-rest.scss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. /****mui reset*****/
  2. .mui-picker-icon {
  3. height: 36px;
  4. width: 36px;
  5. display: inline-block;
  6. background: center center no-repeat;
  7. vertical-align: middle;
  8. background-size: 28px auto;
  9. }
  10. .mui-toast-container {
  11. bottom: 50%;
  12. -webkit-transform: translate3d(-50%, -50%, 0);
  13. transform: translate3d(-50%, -50%, 0);
  14. }
  15. .mui-toast-message {
  16. word-break: break-all;
  17. }
  18. .input-row {
  19. position: relative;
  20. background-color: #fff;
  21. }
  22. .input-row ~ .input-row {
  23. border-top: 1px solid #e5e5e5;
  24. }
  25. .input-row input,
  26. .input-row textarea,
  27. .input-row button {
  28. height: 44px;
  29. margin: 0;
  30. border: 0;
  31. border-radius: 4px;
  32. }
  33. .input-row textarea {
  34. height: auto;
  35. }
  36. .input-row input {
  37. padding-right: 35px;
  38. }
  39. .input-row.code:after {
  40. display: table;
  41. content: '';
  42. clear: both;
  43. }
  44. .input-row.code input {
  45. float: left;
  46. width: 60%;
  47. }
  48. .input-row.code button[type="button"] {
  49. float: right;
  50. width: 35%;
  51. height: 38px;
  52. margin: 4px 5% 4px 0;
  53. color: #fff;
  54. background-color: $default-color;
  55. }
  56. .input-clear .mui-icon {
  57. position: absolute;
  58. top: 50%;
  59. right: 0;
  60. z-index: 1;
  61. width: 44px;
  62. height: 44px;
  63. color: #999;
  64. font-size: 20px;
  65. line-height: 44px;
  66. text-align: center;
  67. -webkit-transform: translateY(-50%);
  68. transform: translateY(-50%);
  69. }
  70. // 搜索框会自动生成mui-placeholder
  71. .mui-reset .mui-search .mui-placeholder,.mui-reset .mui-search:before {
  72. color: #8f8f94;
  73. line-height: 44px;
  74. }
  75. .mui-reset .mui-search .mui-placeholder{
  76. font-size: 14px;
  77. }
  78. .mui-search .mui-placeholder .mui-icon{
  79. color: #686868;
  80. }
  81. .mui-reset .mui-search:before {
  82. line-height: 44px;
  83. margin-top: 0;
  84. top: 0;
  85. color: #8f8f94;
  86. }
  87. .mui-pull-caption {
  88. font-size: 13px;
  89. font-weight: normal;
  90. color: #aaa;
  91. }
  92. .mui-navigate-right:after,
  93. .mui-push-left:after,
  94. .mui-push-right:after {
  95. top: 50%;
  96. color: #b2b2b2;
  97. font-size: 20px;
  98. font-weight: 600;
  99. right: 5px;
  100. }
  101. .mui-table-view-cell.mui-collapse.mui-active {
  102. //默认的-1px是为了防止:变色的展开头和上一个li的线条分离
  103. }
  104. .mui-table-view.split .mui-table-view-cell:after {
  105. left: 0;
  106. }
  107. .mui-table-view-cell .mui-pull-right {
  108. color: rgba(0, 0, 0, .4);
  109. font-size: 14px;
  110. }
  111. .mui-input-group .mui-input-row,
  112. .mui-input-group .mui-input-row input {
  113. height: 44px;
  114. }
  115. .mui-input-group .mui-input-row.autoheight {
  116. height: auto;
  117. }
  118. .mui-input-group .mui-input-row label {
  119. height: 44px;
  120. padding: 15px;
  121. padding-right: 0;
  122. }
  123. .mui-input-group.navigate-after .mui-input-row label ~ input,
  124. .mui-input-group.navigate-after .mui-input-row label ~ p {
  125. width: 65%;
  126. padding-right: 30px;
  127. margin-bottom: 0;
  128. }
  129. .mui-input-group .mui-input-row label ~ input {
  130. float: left;
  131. height: 44px;
  132. color: rgba(0, 0, 0, .5);
  133. font-size: 14px;
  134. }
  135. .mui-input-group .mui-input-row label ~ p {
  136. float: left;
  137. width: 65%;
  138. height: 44px;
  139. margin-bottom: 0;
  140. color: rgba(0, 0, 0, .5);
  141. font-size: 14px;
  142. line-height: 44px;
  143. word-break: break-all;
  144. }
  145. .mui-input-group .mui-input-row.code input {
  146. width: 30%;
  147. }
  148. .mui-input-group .mui-input-row.code button {
  149. position: absolute;
  150. top: 50%;
  151. right: 10px;
  152. width: 30%;
  153. -webkit-transform: translateY(-50%);
  154. transform: translateY(-50%);
  155. }
  156. .mui-input-group .mui-input-row .mui-numbox input {
  157. height: 100%;
  158. }
  159. .mui-input-row .mui-pull-left {
  160. float: none;
  161. padding: 15px;
  162. }
  163. .mui-input-row .mui-pull-left span {
  164. display: block;
  165. color: rgba(0, 0, 0, .5);
  166. font-size: 14px;
  167. }
  168. .mui-input-row .mui-switch {
  169. position: absolute;
  170. top: 50%;
  171. right: 15px;
  172. margin-top: 0;
  173. margin-right: 0;
  174. -webkit-transform: translateY(-50%);
  175. transform: translateY(-50%);
  176. }
  177. .mui-table-view.interval .mui-table-view-cell p ~ p,
  178. .mui-input-group.interval .mui-input-row p ~ p {
  179. margin-top: 6px;
  180. }
  181. .mui-table-view .mui-table-view-cell:last-child:after,
  182. .mui-input-group .mui-input-row:last-child:after {
  183. height: 0;
  184. }
  185. .mui-input-row .mui-input-clear ~ .mui-icon-clear,
  186. .mui-input-row .mui-input-password ~ .mui-icon-eye,
  187. .mui-input-row .mui-input-speech ~ .mui-icon-speech {
  188. top: 0;
  189. right: 0;
  190. line-height: 44px;
  191. height: 44px;
  192. }
  193. .mui-numbox {
  194. width: 140px;
  195. background-color: #fff;
  196. border: 1px solid #e5e5e5;
  197. }
  198. .mui-numbox .mui-input-numbox {
  199. border-left: 1px solid #e5e5e5 !important;
  200. border-right: 1px solid #e5e5e5 !important;
  201. }
  202. .mui-numbox [class*=btn-numbox],
  203. .mui-numbox .mui-input-numbox {
  204. background-color: #fff;
  205. }
  206. .mui-bar {
  207. -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .3);
  208. box-shadow: 0 0 1px rgba(0, 0, 0, .3);
  209. }
  210. /*部分mui表单样式定制 **/
  211. .navigate-after .mui-navigate-right:after {
  212. right: 10px
  213. }
  214. .navigate-after .custom-right {
  215. margin-right: 1em;
  216. }
  217. .input-group-card {
  218. margin: 1em;
  219. border: 1px solid #e5e5e5;
  220. border-radius: 4px;
  221. }
  222. .input-group-card .input-row:first-child {
  223. border-radius: 4px 4px 0 0;
  224. }
  225. .input-group-card .input-row:last-child {
  226. border-radius: 0 0 4px 4px;
  227. }
  228. .input-group-vertical {
  229. border-top: 1px solid #e5e5e5;
  230. border-bottom: 1px solid #e5e5e5;
  231. }
  232. .input-group-vertical .input-row input {
  233. border-radius: 0;
  234. }
  235. .input-group-vertical .input-clear.code .mui-icon {
  236. right: 50%;
  237. }
  238. /*picker & datepick*/
  239. .mui-poppicker-header .mui-btn,
  240. .mui-dtpicker-header .mui-btn {
  241. font-size: 12pt !important;
  242. border: 0 !important;
  243. background-color: transparent !important;
  244. }
  245. .mui-poppicker-btn-cancel,
  246. .mui-dtpicker-header button[data-id='btn-cancel'] {
  247. color: #85868a;
  248. }
  249. /*radio*/
  250. .mui-radio input[type=radio]:checked:before {
  251. content: '\e442';
  252. }
  253. /*alert*/
  254. .mui-popup {
  255. border-radius: 4px;
  256. }
  257. .mui-popup-inner {
  258. border-radius: 4px 4px 0 0;
  259. }
  260. .mui-popup-button:first-child {
  261. border-radius: 0 0 0 4px;
  262. }
  263. .mui-popup-button:first-child:last-child {
  264. border-radius: 0 0 4px 4px;
  265. }
  266. .mui-popup-button:last-child {
  267. border-radius: 0 0 4px;
  268. }
  269. .mui-popup-button.mui-popup-button-bold {
  270. font-weight: normal;
  271. }
  272. // 营销活动用到的
  273. .mui-card-content, .mui-card-footer {
  274. background: rgba(255, 255, 255, 1);
  275. }