reset.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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: 46px;
  60. height: 46px;
  61. border-radius: 50% !important;
  62. }
  63. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  64. color: #fff !important;
  65. background-color: $mainColor !important;
  66. border: none !important;
  67. }
  68. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  69. font-size: 36px;
  70. }
  71. img {
  72. width: 100%;
  73. height: auto;
  74. display: block;
  75. }
  76. .datetime-picker {
  77. .picker-body {
  78. font-size: 32px !important;
  79. }
  80. .btn-picker {
  81. font-size: 32px !important;
  82. &.submit {
  83. color: #3a1b06 !important;
  84. padding: 0 20px !important;
  85. border-radius: 24px !important;
  86. }
  87. &.cancel {
  88. color: #878787 !important;
  89. }
  90. }
  91. }
  92. uni-button::after {
  93. border: none;
  94. }