common.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. @import './reset.less';
  2. .ellipsis{
  3. overflow: hidden;
  4. text-overflow:ellipsis;
  5. white-space: nowrap;
  6. }
  7. .partTitle p a {
  8. color: #8592B9;
  9. opacity: 1;
  10. }
  11. input:disabled {
  12. background-color: @disColor;
  13. }
  14. .main-body-com{
  15. background: #fff;
  16. margin: 0;
  17. padding: 20px 25px;
  18. border:10px @disColor solid;
  19. box-sizing: border-box;
  20. }
  21. th[code]{
  22. cursor: pointer;
  23. &:after{
  24. content:"";
  25. display:inline-block;
  26. width: 11px;
  27. height: 14px;
  28. margin-left: 4px;
  29. vertical-align: middle;
  30. background-size: 100%;
  31. background-image: url("../images/grey.png");
  32. }
  33. &.asc:after{
  34. background: url("../images/up_blue.png");
  35. background-size: 100%;
  36. }
  37. &.desc:after{
  38. background: url("../images/down_blue.png");
  39. background-size: 100%;
  40. }
  41. }
  42. .dataSelectLight {
  43. .partDetailControl .filterItem input {
  44. width: 120px;
  45. height: 40px;
  46. border-radius: 4px;
  47. border: 1px solid #E2E5EF;
  48. outline: none;
  49. margin-right: 10px;
  50. padding: 0 10px;
  51. box-sizing: border-box;
  52. }
  53. .partDetailControl .filterItem span {
  54. display: inline-block;
  55. line-height: 40px;
  56. position: relative;
  57. }
  58. .datapickerBox input {
  59. margin-right: 0px !important;
  60. }
  61. .iconCalen{
  62. position: absolute;
  63. width: 15px;
  64. top: 10px !important;
  65. right: 10px;
  66. }
  67. .divide {
  68. margin: 0 10px;
  69. }
  70. }
  71. .dataSelectDark {
  72. // position: relative;
  73. // display: inline-block;
  74. margin: 4px 20px 10px 0;
  75. top: 0px !important;
  76. height: 34px !important;
  77. line-height: 34px !important;
  78. float: right !important;
  79. span {
  80. position: relative;
  81. display: inline-block;
  82. height: 34px !important;
  83. line-height: 34px !important;
  84. float: left;
  85. }
  86. input {
  87. width: 120px;
  88. height: 32px;
  89. border-radius: 4px;
  90. border: 1px solid @themeBorderClr;
  91. outline: none;
  92. padding: 0 10px;
  93. box-sizing: border-box;
  94. background-color: @themeColor;
  95. color: @secColor;
  96. }
  97. .iconCalen{
  98. position: absolute;
  99. width: 15px;
  100. top: 8px;
  101. right: 10px;
  102. }
  103. .divide {
  104. margin: 0 10px;
  105. color: #fff;
  106. }
  107. }
  108. .managerContainer .filter,.filterclear.abnormalClear {
  109. margin-bottom: 20px;
  110. }
  111. .ui-datepicker-calendar {
  112. border: 0 none;
  113. min-width: 0;
  114. }
  115. .ui-datepicker thead {
  116. background-color: #fff;
  117. color: #c3cbd6;
  118. }
  119. .ui-datepicker td {
  120. padding: 0;
  121. height: auto;
  122. color: #657180;
  123. }
  124. .ui-datepicker td span, .ui-datepicker td a {
  125. text-align: center;
  126. height: 30px;
  127. line-height: 30px;
  128. }
  129. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  130. border: 0;
  131. background-color: #fff;
  132. &:hover {
  133. background-color: #c4d8fe;
  134. }
  135. }
  136. .iconCalen{
  137. position: absolute;
  138. width: 15px;
  139. top: 10px;
  140. right: 10px;
  141. }
  142. .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  143. color: #333;
  144. font-weight: normal;
  145. height: 30px;
  146. line-height: 30px;
  147. margin: 0 5px;
  148. width: 40%;
  149. border-radius: 3px;
  150. }
  151. .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  152. top: 5px;
  153. }
  154. .ui-state-active, .ui-widget-content .ui-state-active {
  155. background-color: @activeColor !important;
  156. color: #fff;
  157. }
  158. .ui-state-highlight, .ui-widget-content .ui-state-highlight {
  159. background-color: #fff5bf !important;
  160. color: #657180;
  161. }
  162. .ui-widget-header {
  163. background-color: #fff;
  164. border: 0 none;
  165. }
  166. input::-webkit-outer-spin-button,
  167. input::-webkit-inner-spin-button {
  168. -webkit-appearance: none;
  169. }
  170. .datapickerBox input {
  171. height: 34px !important;
  172. line-height: 34px !important;
  173. box-sizing: border-box;
  174. }
  175. input[type="number"] {
  176. -moz-appearance: textfield;
  177. }
  178. input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  179. /* WebKit browsers */
  180. color: #aaa;
  181. }
  182. input:-moz-placeholder, textarea:-moz-placeholder {
  183. /* Mozilla Firefox 4 to 18 */
  184. color: #aaa;
  185. }
  186. input::-moz-placeholder, textarea::-moz-placeholder {
  187. /* Mozilla Firefox 19+ */
  188. color: #aaa;
  189. }
  190. input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  191. /* Internet Explorer 10+ */
  192. color: #aaa;
  193. }