variable.scss 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // ---- color ----
  2. $primary-color: #F0250F !default;
  3. $normal-color: #848484 !default;
  4. $link-color: $primary-color !default;
  5. $link-hover-color: mix($link-color, #000, 80%) !default;
  6. $title-color: #2D2D2D !default;
  7. $text-color: #848484 !default;
  8. $light-color: #F6F6F6 !default;
  9. $dark-color: #DADADA !default;
  10. // ---- base ----
  11. $body-background: #F6F6F6 !default;
  12. $mask-bg: rgba(0, 0, 0, 0.5) !default;
  13. $font-family: PingHei,
  14. "Lucida Grande",
  15. "Lucida Sans Unicode",
  16. STHeiti,
  17. Helvetica,
  18. Arial,
  19. Verdana,
  20. "sans-serif",
  21. "PingHei-light",
  22. SimHei,
  23. "Droid Sans" !default;
  24. $font-size-base: 14px !default;
  25. $font-size-small: 12px !default;
  26. $font-size-large: 16px !default;
  27. $line-height-base: 1.5 !default;
  28. $border-radius-base: 8px !default;
  29. $border-radius-small: 3px !default;
  30. $border-radius-large: 50px !default;
  31. // ---- Animation ----
  32. $animation-duration: .25s !default;
  33. $transition-duration: .2s !default;
  34. $transition-duration-fast: .2s !default;
  35. $transition-duration-slow: .4s !default;
  36. $animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
  37. $ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  38. $ease-out: cubic-bezier(0.895, 0.03, 0.685, 0.22);
  39. // ---- Border color ----
  40. $border-color-base: $dark-color !default;
  41. $border-color-dark: #ABABAB !default;
  42. $border-width-base: 1px !default;
  43. $border-style-base: solid !default;
  44. $border-color-active: $primary-color !default;
  45. // ---- Disabled ----
  46. $disabled-color: #F6F6F6 !default;
  47. $disabled-bg: #DADADA !default;
  48. $disabled-primary-bg: #eb8a7e !default;
  49. // ---- Shadow ----
  50. $shadow-color: rgba(0, 0, 0, .15) !default;
  51. $shadow-up: 0 -2px 8px $shadow-color !default;
  52. $shadow-down: 0 2px 8px $shadow-color !default;
  53. $shadow-left: -2px 0 8px $shadow-color !default;
  54. $shadow-right: 2px 0 8px $shadow-color !default;
  55. $shadow-base: $shadow-down !default;
  56. // ---- Buttons ----
  57. $btn-font-weight: normal !default;
  58. $btn-border-radius-base: 8px !default;
  59. $btn-border-radius-small: 3px !default;
  60. $btn-border-radius-large: 50px !default;
  61. $btn-height-small: 30px !default;
  62. $btn-height-big: 40px !default;
  63. $btn-icon-height-small: 12px !default;
  64. $btn-icon-height-big: 16px !default;
  65. $btn-menu-icon-height: 20px !default;
  66. $btn-menu-height: 50px !default;
  67. $btn-primary-color: #FFF !default;
  68. $btn-primary-bg: $primary-color !default;
  69. $btn-gradient-color: #FFF !default;
  70. $btn-gradient-start-color: #ff4f18;
  71. $btn-gradient-end-color: #f20000;
  72. $btn-gradient-bg: linear-gradient(315deg, $btn-gradient-start-color 0%, $btn-gradient-end-color 100%) !default;
  73. $btn-gradient-active-bg: linear-gradient(315deg, darken($btn-gradient-start-color, 10%) 0%, darken($btn-gradient-end-color, 10%) 100%) !default;
  74. $btn-default-color: $normal-color !default;
  75. $btn-default-bg: #FFF !default;
  76. $btn-default-border: $border-color-dark !default;
  77. $btn-active-color: #FFF !default;
  78. $btn-active-bg: $primary-color !default;
  79. $btn-active-border: 􏰅􏴦􏵘􏵑􏱱􏵘􏴦$primary-color !default;
  80. $btn-disable-color: $disabled-color !default;
  81. $btn-disable-bg: $disabled-bg !default;
  82. $btn-disable-border: $disabled-color !default;
  83. $btn-icon-margin: 5px;
  84. $btn-label-light-bg: rgba(240, 37, 15, .05);
  85. // ---- z-index ----
  86. $zindex-mask: 9998 !default;
  87. $zindex-actionsheet: 10001 !default;
  88. $zindex-dialog: 10000 !default;
  89. $zindex-picker: 10050 !default;
  90. // ---- Assets path ----
  91. $assetsPath:'../../assets' !default;
  92. // ---- Stepper ----
  93. $stepper-color: #333 !default;
  94. $stepperbar-width: 11px !default;
  95. $stepperbar-color: #333 !default;