editableDetail.less 4.7 KB

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