base.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @import "./variables.less";
  2. :global(.clearfix) {
  3. zoom: 1;
  4. }
  5. :global(.clearfix:after) {
  6. content: "";
  7. display: block;
  8. height: 0;
  9. clear: both;
  10. visibility: hidden;
  11. }
  12. :global(.hide) {
  13. display: none !important;
  14. }
  15. :global(.show) {
  16. display: block !important;
  17. }
  18. :global(.show-inline) {
  19. display: inline-block !important;
  20. }
  21. :global(.fix-center) {
  22. position: fixed;
  23. z-index: 20;
  24. margin: auto;
  25. margin-bottom: 50px;
  26. right: 0;
  27. left: 0;
  28. top: 50px;
  29. height: 85%;
  30. }
  31. button + button {
  32. margin-left: 10px;
  33. margin-bottom: 0;
  34. }
  35. :global(.fl) {
  36. float: left;
  37. }
  38. :global(.fr) {
  39. float: right;
  40. }
  41. :global(.icon) {
  42. margin: 0 8px 0 3px;
  43. display: inline-block;
  44. height: 23px;
  45. width: 16px;
  46. }
  47. html,body {
  48. font-size: @font-size-base;
  49. // color: @B800;
  50. background: @body-bg;
  51. }
  52. :global(#root) {
  53. overflow: auto;
  54. }
  55. :global(.cb-box) {//下拉框
  56. }
  57. :global(.inline-box) {
  58. }
  59. :global(.mainsuit-box) {
  60. }
  61. :global(.ql-align-center) {
  62. text-align: center;
  63. }
  64. :global(.ql-align-right) {
  65. text-align: right;
  66. }
  67. //标准颜色(主诉、现病史、其他史、查体)
  68. //字体修改
  69. :global(.inheritStyle){//继承样式
  70. color: inherit;
  71. font-size: inherit;
  72. }
  73. :global(.largeFontSize){//超大字号
  74. font-size: 18px !important;
  75. }
  76. :global(.middleFontSize){//大字号
  77. font-size: 16px !important;
  78. }
  79. :global(.simpleFontSize){//默认字号
  80. font-size: 14px !important;
  81. }
  82. :global(.simpleLightColor){//标签未选中颜色
  83. color: #bfbfbf !important;
  84. }
  85. :global(.simpleColor){
  86. color: #333 !important;
  87. }
  88. :global(.selectColor){//选中颜色
  89. color: #000 !important;
  90. }
  91. :global(.prefixUnset){//选中颜色
  92. color: unset !important;
  93. font-size: unset !important;
  94. }
  95. :global(.prefixUnsetColor){//继承颜色
  96. color: unset !important;
  97. }
  98. :global(.widthChangeed){
  99. width: 318px !important;
  100. }
  101. :global(.pdright){
  102. padding-right: 308px !important;
  103. }
  104. :global(.middleImg){
  105. img {
  106. margin-bottom: 7px !important;
  107. }
  108. }
  109. :global(.titleWidth){
  110. width: 78px !important;
  111. margin-top: 8px !important;
  112. #mainSuit {
  113. margin-left: 78px;
  114. }
  115. }
  116. :global(.specialSize){
  117. margin-left: 74px !important;
  118. }
  119. :global(.specialpaceSize){
  120. margin-left: 74px !important;
  121. }
  122. :global(.fontWeight){
  123. font-weight: bold !important;
  124. }