Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

118 lignes
4.1 KiB

  1. // Core variables
  2. $version: "0.5.8";
  3. // Core features
  4. $rtl: false !default;
  5. // Core colors
  6. $primary-color: #5755d9 !default;
  7. $primary-color-dark: darken($primary-color, 3%) !default;
  8. $primary-color-light: lighten($primary-color, 3%) !default;
  9. $secondary-color: lighten($primary-color, 37.5%) !default;
  10. $secondary-color-dark: darken($secondary-color, 3%) !default;
  11. $secondary-color-light: lighten($secondary-color, 3%) !default;
  12. // Gray colors
  13. $dark-color: #303742 !default;
  14. $light-color: #fff !default;
  15. $gray-color: lighten($dark-color, 55%) !default;
  16. $gray-color-dark: darken($gray-color, 30%) !default;
  17. $gray-color-light: lighten($gray-color, 20%) !default;
  18. $border-color: lighten($dark-color, 65%) !default;
  19. $border-color-dark: darken($border-color, 10%) !default;
  20. $border-color-light: lighten($border-color, 8%) !default;
  21. $bg-color: lighten($dark-color, 75%) !default;
  22. $bg-color-dark: darken($bg-color, 3%) !default;
  23. $bg-color-light: $light-color !default;
  24. // Control colors
  25. $success-color: #32b643 !default;
  26. $warning-color: #ffb700 !default;
  27. $error-color: #e85600 !default;
  28. // Other colors
  29. $code-color: #d73e48 !default;
  30. $highlight-color: #ffe9b3 !default;
  31. $body-bg: $bg-color-light !default;
  32. $body-font-color: lighten($dark-color, 5%) !default;
  33. $link-color: $primary-color !default;
  34. $link-color-dark: darken($link-color, 10%) !default;
  35. $link-color-light: lighten($link-color, 10%) !default;
  36. // Fonts
  37. // Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
  38. $base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto !default;
  39. $mono-font-family: "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Courier, monospace !default;
  40. $fallback-font-family: "Helvetica Neue", sans-serif !default;
  41. $cjk-zh-hans-font-family: $base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", $fallback-font-family !default;
  42. $cjk-zh-hant-font-family: $base-font-family, "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", $fallback-font-family !default;
  43. $cjk-jp-font-family: $base-font-family, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, $fallback-font-family !default;
  44. $cjk-ko-font-family: $base-font-family, "Malgun Gothic", $fallback-font-family !default;
  45. $body-font-family: $base-font-family, $fallback-font-family !default;
  46. // Unit sizes
  47. $unit-o: .05rem !default;
  48. $unit-h: .1rem !default;
  49. $unit-1: .2rem !default;
  50. $unit-2: .4rem !default;
  51. $unit-3: .6rem !default;
  52. $unit-4: .8rem !default;
  53. $unit-5: 1rem !default;
  54. $unit-6: 1.2rem !default;
  55. $unit-7: 1.4rem !default;
  56. $unit-8: 1.6rem !default;
  57. $unit-9: 1.8rem !default;
  58. $unit-10: 2rem !default;
  59. $unit-12: 2.4rem !default;
  60. $unit-16: 3.2rem !default;
  61. // Font sizes
  62. $html-font-size: 20px !default;
  63. $html-line-height: 1.5 !default;
  64. $font-size: .8rem !default;
  65. $font-size-sm: .7rem !default;
  66. $font-size-lg: .9rem !default;
  67. $line-height: 1.2rem !default;
  68. // Sizes
  69. $layout-spacing: $unit-2 !default;
  70. $layout-spacing-sm: $unit-1 !default;
  71. $layout-spacing-lg: $unit-4 !default;
  72. $border-radius: $unit-h !default;
  73. $border-width: $unit-o !default;
  74. $border-width-lg: $unit-h !default;
  75. $control-size: $unit-9 !default;
  76. $control-size-sm: $unit-7 !default;
  77. $control-size-lg: $unit-10 !default;
  78. $control-padding-x: $unit-2 !default;
  79. $control-padding-x-sm: $unit-2 * .75 !default;
  80. $control-padding-x-lg: $unit-2 * 1.5 !default;
  81. $control-padding-y: ($control-size - $line-height) / 2 - $border-width !default;
  82. $control-padding-y-sm: ($control-size-sm - $line-height) / 2 - $border-width !default;
  83. $control-padding-y-lg: ($control-size-lg - $line-height) / 2 - $border-width !default;
  84. $control-icon-size: .8rem !default;
  85. $control-width-xs: 180px !default;
  86. $control-width-sm: 320px !default;
  87. $control-width-md: 640px !default;
  88. $control-width-lg: 960px !default;
  89. $control-width-xl: 1280px !default;
  90. // Responsive breakpoints
  91. $size-xs: 480px !default;
  92. $size-sm: 600px !default;
  93. $size-md: 840px !default;
  94. $size-lg: 960px !default;
  95. $size-xl: 1280px !default;
  96. $size-2x: 1440px !default;
  97. $responsive-breakpoint: $size-xs !default;
  98. // Z-index
  99. $zindex-0: 1 !default;
  100. $zindex-1: 100 !default;
  101. $zindex-2: 200 !default;
  102. $zindex-3: 300 !default;
  103. $zindex-4: 400 !default;