reset.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* #ifdef H5 */
  2. .uni-page-head {
  3. background-color: transparent !important;
  4. }
  5. /* #endif */
  6. /* #ifdef H5 */
  7. /* #endif */
  8. uni-page-body,
  9. body,
  10. html {
  11. height: auto;
  12. min-height: 100%;
  13. }
  14. body {
  15. -webkit-overflow-scrolling: touch;
  16. }
  17. // 修改uni-nav-bar样式
  18. .uni-navbar-header {
  19. line-height: 96px !important;
  20. height: 96px !important;
  21. }
  22. .uni-status-bar {
  23. height: auto !important;
  24. }
  25. .uni-navbar-container {
  26. display: flex !important;
  27. align-items: center !important;
  28. justify-content: center !important;
  29. }
  30. .uni-navbar-shadow {
  31. box-shadow: 0 0 6px 2px #ccc;
  32. }
  33. uni-picker .uni-picker-item {
  34. font-size: 30px;
  35. }
  36. .iconfont {
  37. display: inline-block;
  38. vertical-align: middle;
  39. }
  40. // 修改image的图片样式
  41. // image {
  42. // width: 100%;
  43. // height: auto;
  44. // display: block;
  45. // }
  46. // 修改radio大小
  47. .uni-radio-wrapper {
  48. .uni-radio-input {
  49. width: 42px;
  50. height: 42px;
  51. }
  52. .uni-radio-input-checked {
  53. background-color: $mainColor !important;
  54. border-color: $mainColor !important;
  55. }
  56. }
  57. // 修改checkbox 样式
  58. .ljd-checkbox,.ljd-checkbox .uni-checkbox-input {
  59. width: 42px;
  60. height: 42px;
  61. border-radius: 50% !important;
  62. margin-right: 12px;
  63. }
  64. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  65. color: #fff !important;
  66. background-color: $mainColor !important;
  67. // border: none !important;
  68. border-color: $mainColor !important;
  69. }
  70. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  71. font-size: 36px;
  72. }
  73. img {
  74. width: 100%;
  75. height: auto;
  76. display: block;
  77. }
  78. .datetime-picker {
  79. .picker-body {
  80. font-size: 32px !important;
  81. }
  82. .btn-picker {
  83. font-size: 32px !important;
  84. &.submit {
  85. color: #3a1b06 !important;
  86. padding: 0 20px !important;
  87. border-radius: 24px !important;
  88. }
  89. &.cancel {
  90. color: #878787 !important;
  91. }
  92. }
  93. }
  94. uni-button::after {
  95. border: none;
  96. }