editableDetail.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. @import './reset.less';
  2. body{
  3. overflow-y: auto;
  4. background: #fff;
  5. border-left: 40px solid #EFF1F6;
  6. border-right: 40px solid #EFF1F6;
  7. }
  8. .ellipsis{
  9. overflow: hidden;
  10. text-overflow:ellipsis;
  11. white-space: nowrap;
  12. }
  13. #loading{
  14. text-align: center;
  15. height: 2000px;
  16. margin-top: 30px;
  17. }
  18. .waring {
  19. color: #FF4D4F;
  20. margin-top: 18px;
  21. height: 18px;
  22. }
  23. .tab-container{
  24. /*background: @disColor;
  25. height: 100%;*/
  26. .content-box1{
  27. margin: 0 30px;
  28. padding-bottom: 90px;
  29. position: relative;
  30. overflow-y: auto;
  31. /*background: #fff;
  32. border-right: 10px #EFF1F6 solid;
  33. border-left: 10px #EFF1F6 solid;*/
  34. box-sizing: border-box;
  35. }
  36. .content-item{
  37. /*display: none;
  38. height: 100%;*/
  39. .content-item-wrapper{
  40. margin-bottom: 50px;
  41. }
  42. /**********危急值记录*************/
  43. &.danger-record{
  44. height:auto;
  45. .title{
  46. /*position: unset;*/
  47. }
  48. }
  49. .title{
  50. /*position: absolute;
  51. top: 0;*/
  52. width: 100%;
  53. color: #333333;
  54. font-size: 16px;
  55. text-align: center;
  56. font-weight: bold;
  57. height: 44px;
  58. line-height: 44px;
  59. border-bottom:1px #E2E5EF solid;
  60. text-indent: 20px;
  61. }
  62. .container{
  63. /*margin-top: 45px;*/
  64. padding: 20px 30px 0;
  65. height: 100%;
  66. /*overflow-y: auto;*/
  67. }
  68. .info-table{
  69. margin: 0 0 15px;
  70. }
  71. table{
  72. width: 100%;
  73. border:1px @tableBorderColor solid;
  74. }
  75. .inline-table{
  76. display: inline;
  77. border: none;
  78. td{
  79. border: none;
  80. }
  81. }
  82. .inner-table table{
  83. border: none;
  84. td{
  85. border: none;
  86. text-align: left;
  87. vertical-align: text-bottom;
  88. width: 41%;
  89. &[rowspan]{
  90. // font-weight: bold;
  91. width: 100px;
  92. padding-left: 0;
  93. }
  94. &.active{
  95. background: @anchorBg;
  96. }
  97. }
  98. }
  99. .embed-table{
  100. border:1px @tableBorderColor solid;
  101. &>tbody>tr:first-child>td{
  102. padding: 0;
  103. border:none;
  104. &>table td{
  105. border:1px @tableBorderColor solid;
  106. line-height: 20px;
  107. padding: 7px 8px;
  108. white-space: nowrap;
  109. }
  110. }
  111. .table-tip{
  112. text-align: left;
  113. }
  114. }
  115. th{
  116. table{
  117. border:none;
  118. }
  119. border:1px @tableBorderColor solid;
  120. background: @thBgColor;
  121. line-height: 20px;
  122. padding: 7px 8px;
  123. white-space: nowrap;
  124. }
  125. td{
  126. text-align: center;
  127. border:1px @tableBorderColor solid;
  128. padding:2px 8px;
  129. height: 20px;
  130. table,td{
  131. border:none;
  132. }
  133. }
  134. .info-item{
  135. border-bottom: 1px @borderColor solid;
  136. .text-left{
  137. width: 100%;
  138. text-align: right;
  139. }
  140. .cont{
  141. display: inline-block;
  142. min-width: 33%;
  143. margin-bottom: 5px;
  144. box-sizing: border-box;
  145. // padding-left: 5px;
  146. &.active{
  147. background: @anchorBg;
  148. }
  149. & div[contenteditable="true"]{
  150. border:1px solid #ccc;
  151. width: 98%;
  152. min-height: 46px;
  153. padding: 2px 5px;
  154. border-radius: 2px;
  155. margin-top: 5px;
  156. }
  157. span{
  158. line-height: 20px;
  159. vertical-align: middle;
  160. }
  161. .text-indent{
  162. text-indent: 28px;
  163. }
  164. .text-bold{
  165. font-weight: bold;
  166. }
  167. .label{
  168. display: inline-block;
  169. /*min-width: 70px;*/
  170. font-weight: bold;
  171. overflow-x: hidden;
  172. }
  173. .revisitPlanTan{
  174. border: none;
  175. td{
  176. border: none;
  177. }
  178. }
  179. }
  180. &.cont-2 .cont{
  181. min-width: 48%;
  182. }
  183. &.cont-4 .cont{
  184. min-width: 23%;
  185. }
  186. &.cont-5 .cont{
  187. min-width: 19%;
  188. }
  189. &.no-border{
  190. border-bottom: none;
  191. margin-bottom: 0;
  192. }
  193. margin-bottom: 5px;
  194. .info-title{
  195. font-weight: bold;
  196. margin-bottom: 10px;
  197. }
  198. }
  199. }
  200. .oper{
  201. text-align: right;
  202. }
  203. }
  204. .empty{
  205. /*display: none;*/
  206. margin-top: 120px;
  207. text-align: center;
  208. img{
  209. width: 240px;
  210. }
  211. p{
  212. margin-top: 15px;
  213. font-size: 12px;
  214. text-indent: 10px;
  215. color: #aaa;
  216. }
  217. }
  218. .empty2{
  219. margin-top: 60px;
  220. text-align: center;
  221. height: 170px;
  222. td{
  223. width: 100%;
  224. }
  225. img{
  226. width: 140px;
  227. }
  228. p{
  229. // margin-top: 15px;
  230. font-size: 12px;
  231. text-indent: 10px;
  232. color: #aaa;
  233. }
  234. }
  235. .oper-box{
  236. background: #fff;
  237. text-align: center;
  238. padding: 30px 0;
  239. position: absolute;
  240. bottom: 0;
  241. width: calc(100% - 140px);
  242. margin-left: 40px;
  243. button{
  244. display: inline-block;
  245. width: 68px;
  246. height: 30px;
  247. line-height: 30px;
  248. text-align: center;
  249. border-radius: 4px;
  250. box-sizing: border-box;
  251. border: 1px solid #00A1FF;
  252. color: #fff;
  253. background: #00A1FF;
  254. }
  255. }