variables.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. @orange: #f6b37f;
  2. @green: #4caf50;
  3. @cyan: #00bcd4;
  4. @blue: #3B9ED0;
  5. @red:#ff0000;
  6. @extBlue:#71A9FE;
  7. @tab-color:#3B9ED0;
  8. @ipt-color:#E9F5FA;
  9. @ipt-bg-color:#F0F0F0;
  10. @ipt-wrap-color:#e2e2e2;
  11. /***按钮hover***/
  12. @button-hover: #aaa;
  13. @base-color: #dbdfe8;
  14. @body-bg: @base-color;
  15. @btn-text-color: #fff;
  16. @text-color: #333;
  17. @placeholder-color: #bfbfbf;
  18. @link-hover-decoration: underline;
  19. /* 个人信息,表格边框颜色 */
  20. @person-table-color:#BBBFC1;
  21. /* 各模块边框颜色 */
  22. @part-border-color:#aaa7a7;
  23. @font-size-base: 12px;
  24. @font-size-large: 14px;
  25. @font-size-small: 10px;
  26. @font-size-h1: 24px;
  27. @font-size-h2: 20px;
  28. @font-size-h3: 16px;
  29. @font-size-h4: 14px;
  30. @font-size-h5: @font-size-base;
  31. @font-size-h6: @font-size-base;
  32. @box-shadow: 2px 0px 7px rgba(152, 151, 152, .4);
  33. @border-color:#666;
  34. @border-radius: 2px;
  35. @border-radius-default: 2px;
  36. @dropdwon-normal-width:200px;
  37. @dropdwon-small-width:400px;
  38. @dropdwon-long-width:600px;
  39. @dropdwon-height:200px;
  40. @selected-bg:#fff;
  41. @import-color:#ffad5f;
  42. @closeIcon:url(../images/del_nor.png) no-repeat;
  43. @closeHor:url(../images/del_hor.png) no-repeat;
  44. /*********推送内容容器宽度*************/
  45. @push-width: 450px;
  46. /****电子病历容器宽度*****/
  47. @EMR-width: calc(~"100% - "@push-width);
  48. /*******下拉框公用样式**********/
  49. .btnCom{
  50. border: none;
  51. outline: none;
  52. cursor: pointer;
  53. border-radius: 4px;
  54. text-align: center;
  55. }
  56. .pop{
  57. position: absolute;
  58. // top:40px;
  59. // top:30px;
  60. background: #fff;
  61. box-shadow: 0 10px 20px 0 #989DA3;
  62. // filter:progid:DXImageTransform.Microsoft.Shadow(color='#989DA3',Direction=125,Strength=6);
  63. border: 1px solid #dedede;
  64. z-index: 20;
  65. padding: 20px;
  66. white-space: nowrap;
  67. }
  68. .mult-li{
  69. // width: 200px;
  70. height: 32px;
  71. line-height: 32px;
  72. padding-right: 8px;
  73. }
  74. .select-li{
  75. height: 30px;
  76. line-height: 30px;
  77. width: 100%;
  78. font-size: 14px;
  79. text-align: left;
  80. border: none;
  81. color:#000000;
  82. /*padding-left: 40px;*/
  83. cursor: pointer;
  84. background: rgba(59,158,208,0.1);
  85. background-image: url(../images/first.png);
  86. background-repeat: no-repeat;
  87. background-position: 0px 10px;
  88. }
  89. .clear{
  90. width: 60px;
  91. height: 44px;
  92. line-height: 44px;
  93. font-size: 12px;
  94. color:@red;
  95. // border: none;
  96. background: #fff;
  97. float: left;
  98. // outline: none;
  99. // text-align: center;
  100. // cursor: pointer;
  101. margin-left: 22px;
  102. position: relative;
  103. bottom: -10px;
  104. }
  105. .confirm{
  106. width: 120px;
  107. height: 44px;
  108. line-height: 44px;
  109. color:@blue;
  110. font-size: 12px;
  111. // border: 1px solid @blue;
  112. background: #fff;
  113. margin-left: 20px;
  114. float: right;
  115. // outline: none;
  116. text-align: right;
  117. // cursor: pointer;
  118. font-weight: bold;
  119. position: relative;
  120. bottom: -10px;
  121. padding-right: 10px;
  122. }
  123. :global(.red){
  124. color: @red;
  125. }
  126. .tag{
  127. display: inline-block;
  128. position: relative;
  129. /* margin-right: 5px;*/
  130. padding: 0 3px 3px 2px;
  131. color: @placeholder-color;
  132. cursor: pointer;
  133. &:before{
  134. content: '[';
  135. /*text-indent: -5px;*/
  136. display: inline-block;
  137. }
  138. &:after{
  139. content: ']';
  140. /*width: 8px;*/
  141. display: inline-block;
  142. }
  143. }
  144. .selected-tag{
  145. position: relative;//发热
  146. display: inline-block;
  147. color: @text-color;
  148. /*padding: 0 3px 0;*/
  149. border-bottom: 1px @border-color solid;
  150. }
  151. .no-tag{
  152. display: inline-block;
  153. position: relative;
  154. /*margin-right: 5px;
  155. padding: 0 3px 0;*/
  156. color: unset;
  157. border:none!important;
  158. &:before,&:after{
  159. content: ''!important;
  160. }
  161. /*color: @placeholder-color;*/
  162. }
  163. .hide{
  164. display: none!important;
  165. }
  166. .ellipsis {
  167. overflow: hidden;
  168. text-overflow: ellipsis;
  169. white-space: nowrap;
  170. }
  171. .llStyle{
  172. box-shadow: 0 10px 20px 0 #989DA3;
  173. // filter:progid:DXImageTransform.Microsoft.Shadow(color='#989DA3',Direction=125,Strength=6);
  174. border: 1px solid #dedede;
  175. }
  176. .borderd{
  177. border:1px #000 solid;
  178. }
  179. .blue-border{
  180. border:2px @blue solid;
  181. border-radius: 2px;
  182. /*box-shadow: 0px 0px 2px @blue;*/
  183. }
  184. .orange-border{
  185. border:1px solid @import-color;
  186. //color: @import-color!important;
  187. }
  188. :global(.drag-title) {
  189. cursor: move;
  190. moz-user-select: -moz-none;
  191. -moz-user-select: none;
  192. -o-user-select: none;
  193. -khtml-user-select: none;
  194. -webkit-user-select: none;
  195. -ms-user-select: none;
  196. user-select: none;
  197. }
  198. :global(.clearfix) {
  199. zoom: 1;
  200. }
  201. :global(.clearfix:after) {
  202. content: "";
  203. display: block;
  204. height: 0;
  205. clear: both;
  206. visibility: hidden;
  207. }
  208. // 加入病历
  209. .add-record{
  210. float: right;
  211. text-align: left;
  212. padding-left: 5px;
  213. cursor: default;
  214. display: inline-block;
  215. width: 99px;
  216. height: 26px;
  217. line-height: 26px;
  218. border: 1px solid #EAEDF1;
  219. border-radius: 4px;
  220. font-size: 12px;
  221. img{
  222. vertical-align: middle;
  223. width: 12px;
  224. margin:-3px 3px 0 0;
  225. }
  226. }
  227. .disable-add{
  228. float: right;
  229. text-align: left;
  230. padding-left: 5px;
  231. cursor: default;
  232. display: inline-block;
  233. width: 99px;
  234. height: 26px;
  235. line-height: 26px;
  236. border: 1px solid #EAEDF1;
  237. border-radius: 4px;
  238. font-size: 12px;
  239. color: @placeholder-color;
  240. img{
  241. vertical-align: middle;
  242. width: 12px;
  243. margin:-3px 3px 0 0;
  244. opacity: .5;
  245. }
  246. }
  247. // 弹窗遮罩
  248. .mask{
  249. position: fixed;
  250. top: 0;
  251. left: 0;
  252. right: 0;
  253. bottom: 0;
  254. background: #000;
  255. opacity: .6;
  256. filter:alpha(opacity=60);
  257. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  258. z-index: 999;
  259. }
  260. .maskZIndex {
  261. z-index: 100;
  262. }
  263. .maskContentZIndex1 {
  264. z-index: 110;
  265. }
  266. .maskContentZIndex2 {
  267. z-index: 120;
  268. }
  269. .contentZIndex1 {
  270. z-index: 10;
  271. }
  272. .contentZIndex2 {
  273. z-index: 20;
  274. }
  275. .contentZIndex3 {
  276. z-index: 30;
  277. }