index.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @import './base.less';
  2. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, textarea, p, th, td, hr, button {
  3. margin: 0;
  4. padding: 0;
  5. font-family: Arial, sans-serif, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB";
  6. color: #323232;
  7. // -webkit-text-size-adjust:100%;
  8. -webkit-text-size-adjust:auto;
  9. -webkit-tap-highlight-color: rgba(0,0,0,0);
  10. -webkit-tap-highlight-color: transparent;
  11. }
  12. input, textarea{
  13. outline: none;
  14. border: 0 none;
  15. -webkit-tap-highlight-color:transparent; //ios去掉选择阴影
  16. }
  17. input::-webkit-input-placeholder{
  18. // color:#f9f9f7;
  19. font-size: .30rem;
  20. }
  21. button {
  22. border: 0 none;
  23. }
  24. i {
  25. font-style: normal;
  26. }
  27. ol, ul {
  28. list-style: none;
  29. }
  30. a {
  31. text-decoration: none;
  32. }
  33. .fl {
  34. float: left;
  35. }
  36. .fr {
  37. float: right;
  38. }
  39. /* 清理浮动 */
  40. .clearfix:after {
  41. visibility: hidden;
  42. display: block;
  43. font-size: 0;
  44. content: "";
  45. clear: both;
  46. height: 0;
  47. line-height:0;
  48. }
  49. .clearfix {
  50. zoom: 1; /* for IE6 IE7 */
  51. }
  52. /* 单行文字溢出时出现省略号,需设定宽度 */
  53. .ellips {
  54. overflow: hidden;
  55. white-space: nowrap;
  56. text-overflow: ellipsis;
  57. }
  58. html,body{
  59. width: 100%;
  60. height: 100%;
  61. position: absolute;
  62. overflow: hidden;
  63. }
  64. html{
  65. margin: 0;
  66. padding: 0;
  67. font-size: 13.33333333vw !important;
  68. }
  69. // 兼容ipad和pc端大屏幕
  70. @media screen and (min-width: 560px){
  71. html{
  72. font-size: 54px;
  73. }
  74. }
  75. /* @media screen and (max-width:320px){兼容iphone5
  76. .symptomDes .arrorTop p {
  77. padding-left: 0 !important;
  78. text-align: right;
  79. }
  80. .resultSym {
  81. overflow: hidden;
  82. white-space: nowrap;
  83. text-overflow: ellipsis;
  84. width: 110px;
  85. }
  86. .main .mainBtm .Recommend {
  87. font-size: 14px !important;
  88. }
  89. .main .mainBtm .Recommend .btn {
  90. padding: 0 10px !important;
  91. }
  92. } */