variables.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. @orange: #f6b37f;
  2. @green: #4caf50;
  3. @cyan: #00bcd4;
  4. @blue: #3B9ED0;
  5. @red:#ff0000;
  6. @tab-color:#3B9ED0;
  7. /***按钮hover***/
  8. @button-hover: #aaa;
  9. @base-color: #dbdfe8;
  10. @body-bg: @base-color;
  11. @btn-text-color: #fff;
  12. @text-color: #333;
  13. @placeholder-color: #bfbfbf;
  14. @link-hover-decoration: underline;
  15. /* 个人信息,表格边框颜色 */
  16. @person-table-color:#BBBFC1;
  17. /* 各模块边框颜色 */
  18. @part-border-color:#aaa7a7;
  19. @font-size-base: 12px;
  20. @font-size-large: 14px;
  21. @font-size-small: 10px;
  22. @font-size-h1: 24px;
  23. @font-size-h2: 20px;
  24. @font-size-h3: 16px;
  25. @font-size-h4: 14px;
  26. @font-size-h5: @font-size-base;
  27. @font-size-h6: @font-size-base;
  28. @box-shadow: 2px 0px 7px rgba(152, 151, 152, .4);
  29. @border-color:#666;
  30. @border-radius: 2px;
  31. @border-radius-default: 2px;
  32. @dropdwon-normal-width:200px;
  33. @dropdwon-small-width:400px;
  34. @dropdwon-long-width:600px;
  35. @dropdwon-height:200px;
  36. @selected-bg:#fff;
  37. @import-color:#ffad5f;
  38. /*********推送内容容器宽度*************/
  39. @push-width: 450px;
  40. /****电子病历容器宽度*****/
  41. @EMR-width: calc(~"100% - "@push-width);
  42. /*******下拉框公用样式**********/
  43. .pop{
  44. position: absolute;
  45. // top:40px;
  46. // top:30px;
  47. background: #fff;
  48. box-shadow: 0 10px 20px 0 #989DA3;
  49. // filter:progid:DXImageTransform.Microsoft.Shadow(color='#989DA3',Direction=125,Strength=6);
  50. border: 1px solid #dedede;
  51. z-index: 203;
  52. padding: 20px;
  53. white-space: nowrap;
  54. }
  55. .mult-li{
  56. // width: 200px;
  57. height: 32px;
  58. line-height: 32px;
  59. padding-right: 8px;
  60. }
  61. .select-li{
  62. height: 32px;
  63. line-height: 32px;
  64. width: 100%;
  65. font-size: 14px;
  66. text-align: left;
  67. border: none;
  68. color:#000000;
  69. /*padding-left: 40px;*/
  70. cursor: pointer;
  71. background: rgba(59,158,208,0.1);
  72. background-image: url(../images/first.png);
  73. background-repeat: no-repeat;
  74. background-position: 0px 10px;
  75. }
  76. .clear{
  77. width: 60px;
  78. height: 44px;
  79. line-height: 44px;
  80. font-size: 12px;
  81. color:@red;
  82. border: none;
  83. background: #fff;
  84. float: left;
  85. outline: none;
  86. text-align: center;
  87. cursor: pointer;
  88. margin-left: 22px;
  89. position: relative;
  90. bottom: -10px;
  91. }
  92. .confirm{
  93. width: 120px;
  94. height: 44px;
  95. line-height: 44px;
  96. color:@blue;
  97. font-size: 12px;
  98. // border: 1px solid @blue;
  99. background: #fff;
  100. margin-left: 20px;
  101. float: right;
  102. outline: none;
  103. text-align: right;
  104. cursor: pointer;
  105. font-weight: bold;
  106. position: relative;
  107. bottom: -10px;
  108. padding-right: 10px;
  109. }
  110. :global(.red){
  111. color: @red;
  112. }
  113. .tag{
  114. display: inline-block;
  115. position: relative;
  116. /* margin-right: 5px;*/
  117. padding: 0 3px 3px 0;
  118. color: @placeholder-color;
  119. cursor: pointer;
  120. &:before{
  121. content: '[';
  122. /*text-indent: -5px;*/
  123. display: inline-block;
  124. }
  125. &:after{
  126. content: ']';
  127. /*width: 8px;*/
  128. display: inline-block;
  129. }
  130. }
  131. .selected-tag{
  132. position: relative;//发热
  133. display: inline-block;
  134. color: @text-color;
  135. /*padding: 0 3px 0;*/
  136. border-bottom: 1px @border-color solid;
  137. }
  138. .no-tag{
  139. display: inline-block;
  140. position: relative;
  141. /*margin-right: 5px;
  142. padding: 0 3px 0;*/
  143. color: unset!important;
  144. border:none!important;
  145. &:before,&:after{
  146. content: ''!important;
  147. }
  148. /*color: @placeholder-color;*/
  149. }
  150. .hide{
  151. display: none!important;
  152. }
  153. .llStyle{
  154. box-shadow: 0 10px 20px 0 #989DA3;
  155. // filter:progid:DXImageTransform.Microsoft.Shadow(color='#989DA3',Direction=125,Strength=6);
  156. border: 1px solid #dedede;
  157. }
  158. .borderd{
  159. border:1px #000 solid;
  160. }
  161. .blue-border{
  162. border:2px @blue solid;
  163. border-radius: 2px;
  164. /*box-shadow: 0px 0px 2px @blue;*/
  165. }
  166. .orange-border{
  167. border:1px solid @import-color;
  168. //color: @import-color!important;
  169. }
  170. :global(.drag-title) {
  171. cursor: move;
  172. moz-user-select: -moz-none;
  173. -moz-user-select: none;
  174. -o-user-select: none;
  175. -khtml-user-select: none;
  176. -webkit-user-select: none;
  177. -ms-user-select: none;
  178. user-select: none;
  179. }