common.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. @import './reset.css';
  2. @fontClr:#333;//通用字体颜色
  3. @txtColor:#666;//正文字体颜色
  4. @mainBg:#fff; //主体背景色
  5. @tabColor: #fff; // 左侧Tab文字颜色
  6. @tabBgColor: #1C6EC3; // 左侧Tab背景颜色
  7. @bgcBlue:#4F9FF3; //背景蓝色
  8. @dangerColor:#FF7F5B; //警惕
  9. @shadowColor:#DEDDDD; //阴影颜色
  10. @linkColor:#1677FF; //链接颜色
  11. @warnColor:#FF8042; //错误提示颜色
  12. @suggerColor:#267FD7; //推送颜色
  13. @treatColor:#1ECEBD; //治疗颜色
  14. @pushBgColor:#E3F0FF; //推送title背景颜色
  15. @markFontColor:#1E1E1E; //着重色
  16. @hoverBg:#EEF3FF; //鼠标悬浮背景色
  17. @grayColor:#D1D1D1; //边框
  18. @colorBlue:#267FD7; //hover
  19. @staticMainColor: #2A9BD5; // 静态知识主要颜色
  20. @colorBlue: #267fd7; //hover
  21. @bgcWaring: #fdf4ee; //病情提示
  22. @colorWaring: #FF7836; //警惕
  23. @bgcPlan: #e3fefe; //治疗
  24. @bgcMay: #faebec; //疑似,警惕,可能
  25. @bgcModal: #dfeafe; //弹窗头
  26. @fontColor: #666;
  27. .disCopy {
  28. -webkit-touch-callout: none;
  29. -webkit-user-select: none;
  30. -khtml-user-select: none;
  31. -moz-user-select: none;
  32. -ms-user-select: none;
  33. user-select: none;
  34. }
  35. .ellipsis{
  36. white-space: nowrap;/*强制在一行显示*/
  37. text-overflow:ellipsis;/*设置超出内容显示...*/
  38. overflow: hidden;/*一定不能少 超出的内容进行隐藏*/
  39. }
  40. .clearfix:after {
  41. content: "";
  42. display: block;
  43. height: 0;
  44. clear: both;
  45. visibility: hidden;
  46. }
  47. .clearfix {
  48. zoom: 1;
  49. }
  50. .clearfix:after{
  51. content: "";
  52. display: block;
  53. height: 0;
  54. clear: both;
  55. visibility: hidden;
  56. }
  57. .clearfix {
  58. zoom: 1;
  59. }
  60. .fl{
  61. float: left;
  62. }
  63. .fr{
  64. float: right;
  65. }
  66. // 文本编辑器返回dom样式
  67. .ql-align-right {
  68. text-align: right;
  69. }
  70. .ql-align-left {
  71. text-align: left;
  72. }
  73. .ql-align-justify {
  74. text-align: justify;
  75. }
  76. .ql-align-center {
  77. text-align: center;
  78. }
  79. .warning-box {
  80. display: none;
  81. position: fixed;
  82. width: 100%;
  83. height: 100%;
  84. top: 0;
  85. left: 0;
  86. .bg {
  87. width: 100%;
  88. height: 100%;
  89. background: #000;
  90. opacity: .3;
  91. filter:Alpha(opacity=30);
  92. z-index: 999;
  93. }
  94. .inner-box {
  95. width: 400px;
  96. background: #fff;
  97. position: absolute;
  98. top: 50%;
  99. left: 50%;
  100. margin: -90px 0 0 -200px;
  101. color: #333;
  102. border-radius: 4px;
  103. }
  104. .title {
  105. border-bottom: 1px #EBEBEB solid;
  106. height: 40px;
  107. line-height: 40px;
  108. span {
  109. margin-left: 20px;
  110. }
  111. i {
  112. margin-left: 322px;
  113. font-size: 16px;
  114. cursor: pointer;
  115. }
  116. }
  117. .content {
  118. padding: 30px 20px;
  119. img {
  120. width: 20px;
  121. height: 20px;
  122. vertical-align: middle;
  123. margin-right: 10px;
  124. }
  125. }
  126. button {
  127. width: 60px;
  128. height: 34px;
  129. background: @staticMainColor;
  130. color: #fff;
  131. text-align: center;
  132. border-radius: 3px;
  133. margin: 0 0 20px 322px;
  134. }
  135. }
  136. /*********免责声明,版本信息*********/
  137. .disclaimer{
  138. h1{
  139. background: @bgcBlue;
  140. height: 100px;
  141. margin-bottom: 30px;
  142. span{
  143. font-size: 20px;
  144. color: #fff;
  145. display: inline-block;
  146. border-bottom: 2px solid #fff;
  147. padding-bottom: 4px;
  148. margin-top: 36px;
  149. }
  150. }
  151. }
  152. .version .banner{
  153. background: @bgcBlue;
  154. height: 100px;
  155. margin-bottom: 30px;
  156. h1{
  157. padding-top: 20px;
  158. color: #fff;
  159. text-align: left;
  160. font-size: 20px;
  161. margin-bottom: 8px;
  162. img{
  163. margin: 0 14px 0 45px;
  164. vertical-align: middle;
  165. }
  166. span{
  167. font-size: 20px;
  168. }
  169. }
  170. .time{
  171. display: inline-block;
  172. margin-left: 83px;
  173. padding: 0 26px 0 4px;
  174. color: @bgcBlue;
  175. font-size: 12px;
  176. line-height: 20px;
  177. background: url("../images/arr.png") #fff 76px center no-repeat;
  178. }
  179. }
  180. /* chrome & safari 浏览器 */
  181. /*滚动条整体部分,必须要设置*/
  182. /*滚动条的上下两端的按钮*/
  183. // .right_content::-webkit-scrollbar-button,
  184. // ul::-webkit-scrollbar-button {
  185. // height: 0;
  186. // background-color: #fff;
  187. // }
  188. ::-webkit-scrollbar{
  189. /*滚动条整体样式*/
  190. width: 8px;
  191. /*高宽分别对应横竖滚动条的尺寸*/
  192. height: 8px;
  193. background: #fff;
  194. -webkit-box-shadow: inset 1px 0 1px rgba(0, 0, 0, 0.2);
  195. }
  196. ::-webkit-scrollbar-thumb{
  197. /*滚动条里面小方块*/
  198. width: 8px;
  199. height: 8px;
  200. border-radius: 5px;
  201. background: @bgcBlue;
  202. }
  203. ::-webkit-scrollbar-track{
  204. /*滚动条里面轨道*/
  205. border-radius: 5px;
  206. background: #fff;
  207. opacity: .2;
  208. }