variables.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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: #716e6e;
  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. color:#000000;
  81. border: 1px solid #fff;
  82. cursor: pointer;
  83. background:url(../images/first.png) rgba(59,158,208,0.1) 5px 8px no-repeat;
  84. }
  85. .clear{
  86. width: 60px;
  87. height: 44px;
  88. line-height: 44px;
  89. font-size: 12px;
  90. color:@red;
  91. // border: none;
  92. background: #fff;
  93. float: left;
  94. // outline: none;
  95. // text-align: center;
  96. // cursor: pointer;
  97. margin-left: 22px;
  98. position: relative;
  99. bottom: -10px;
  100. }
  101. .confirm{
  102. width: 120px;
  103. height: 44px;
  104. line-height: 44px;
  105. color:@blue;
  106. font-size: 12px;
  107. // border: 1px solid @blue;
  108. background: #fff;
  109. margin-left: 20px;
  110. float: right;
  111. // outline: none;
  112. text-align: right;
  113. // cursor: pointer;
  114. font-weight: bold;
  115. position: relative;
  116. bottom: -10px;
  117. padding-right: 10px;
  118. }
  119. :global(.red){
  120. color: @red;
  121. }
  122. .tag{
  123. display: inline-block;
  124. position: relative;
  125. /* margin-right: 5px;*/
  126. padding: 0 3px 3px 2px;
  127. color: @placeholder-color;
  128. cursor: pointer;
  129. &:before{
  130. content: '[';
  131. /*text-indent: -5px;*/
  132. display: inline-block;
  133. }
  134. &:after{
  135. content: ']';
  136. /*width: 8px;*/
  137. display: inline-block;
  138. }
  139. }
  140. .selected-tag{
  141. position: relative;//发热
  142. display: inline-block;
  143. color: @text-color;
  144. /*padding: 0 3px 0;*/
  145. border-bottom: 1px @border-color solid;
  146. }
  147. .no-tag{
  148. display: inline-block;
  149. position: relative;
  150. /*margin-right: 5px;
  151. padding: 0 3px 0;*/
  152. color: unset;
  153. border:none!important;
  154. &:before,&:after{
  155. content: ''!important;
  156. }
  157. /*color: @placeholder-color;*/
  158. }
  159. .hide{
  160. display: none!important;
  161. }
  162. .ellipsis {
  163. overflow: hidden;
  164. text-overflow: ellipsis;
  165. white-space: nowrap;
  166. }
  167. .llStyle{
  168. box-shadow: 0 10px 20px 0 #989DA3;
  169. // filter:progid:DXImageTransform.Microsoft.Shadow(color='#989DA3',Direction=125,Strength=6);
  170. border: 1px solid #dedede;
  171. }
  172. .borderd{
  173. border:1px #000 solid;
  174. }
  175. .blue-border{
  176. border:2px @blue solid;
  177. border-radius: 2px;
  178. /*box-shadow: 0px 0px 2px @blue;*/
  179. }
  180. .orange-border{
  181. border:1px solid @import-color;
  182. //color: @import-color!important;
  183. }
  184. :global(.drag-title) {
  185. cursor: move;
  186. moz-user-select: -moz-none;
  187. -moz-user-select: none;
  188. -o-user-select: none;
  189. -khtml-user-select: none;
  190. -webkit-user-select: none;
  191. -ms-user-select: none;
  192. user-select: none;
  193. }
  194. :global(.clearfix) {
  195. zoom: 1;
  196. }
  197. :global(.clearfix:after) {
  198. content: "";
  199. display: block;
  200. height: 0;
  201. clear: both;
  202. visibility: hidden;
  203. }
  204. // 加入病历
  205. .add-record{
  206. float: right;
  207. text-align: left;
  208. padding-left: 5px;
  209. cursor: default;
  210. display: inline-block;
  211. width: 99px;
  212. height: 26px;
  213. line-height: 26px;
  214. border: 1px solid #EAEDF1;
  215. border-radius: 4px;
  216. font-size: 12px;
  217. img{
  218. vertical-align: middle;
  219. width: 12px;
  220. margin:-3px 3px 0 0;
  221. }
  222. }
  223. .disable-add{
  224. float: right;
  225. text-align: left;
  226. padding-left: 5px;
  227. cursor: default;
  228. display: inline-block;
  229. width: 99px;
  230. height: 26px;
  231. line-height: 26px;
  232. border: 1px solid #EAEDF1;
  233. border-radius: 4px;
  234. font-size: 12px;
  235. color: @placeholder-color;
  236. img{
  237. vertical-align: middle;
  238. width: 12px;
  239. margin:-3px 3px 0 0;
  240. opacity: .5;
  241. }
  242. }
  243. // 弹窗遮罩
  244. .mask{
  245. position: fixed;
  246. top: 0;
  247. left: 0;
  248. right: 0;
  249. bottom: 0;
  250. background: #000;
  251. opacity: .6;
  252. filter:alpha(opacity=60);
  253. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  254. z-index: 999;
  255. }
  256. .maskZIndex {
  257. z-index: 100;
  258. }
  259. .maskContentZIndex1 {
  260. z-index: 110;
  261. }
  262. .maskContentZIndex2 {
  263. z-index: 120;
  264. }
  265. .contentZIndex1 {
  266. z-index: 10;
  267. }
  268. .contentZIndex2 {
  269. z-index: 20;
  270. }
  271. .contentZIndex3 {
  272. z-index: 30;
  273. }