You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

339 lines
10 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //
  2. // Bootstrap variables (overrides)
  3. // --------------------------------------------------
  4. //
  5. // Color system
  6. //
  7. $white: #fff !default;
  8. $gray-100: #f8f9fa !default;
  9. $gray-200: #e9ecef !default;
  10. $gray-300: #dee2e6 !default;
  11. $gray-400: #ced4da !default;
  12. $gray-500: #adb5bd !default;
  13. $gray-600: #6c757d !default;
  14. $gray-700: #495057 !default;
  15. $gray-800: #343a40 !default;
  16. $gray-900: #212529 !default;
  17. $black: #000 !default;
  18. $primary: #0665d0 !default;
  19. $secondary: $gray-600 !default;
  20. $success: #6f9c40 !default;
  21. $info: #3c90df !default;
  22. $warning: #e69f17 !default;
  23. $danger: #e04f1a !default;
  24. $light: darken(#f4f6fa, 1%) !default;
  25. $dark: $gray-800 !default;
  26. $theme-colors: (
  27. "primary": $primary,
  28. "secondary": $secondary,
  29. "success": $success,
  30. "info": $info,
  31. "warning": $warning,
  32. "danger": $danger,
  33. "light": $light,
  34. "dark": $dark
  35. ) !default;
  36. // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
  37. // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
  38. $min-contrast-ratio: 3 !default;
  39. // Options
  40. //
  41. // Quickly modify global styling by enabling or disabling optional features.
  42. $enable-validation-icons: false !default;
  43. $enable-negative-margins: true !default;
  44. // Spacing
  45. //
  46. // Control the default styling of most Bootstrap elements by modifying these
  47. // variables. Mostly focused on spacing.
  48. // You can add more entries to the $spacers map, should you need more variation.
  49. $spacer: 1rem !default;
  50. $spacers: (
  51. 0: 0,
  52. 1: $spacer * .25,
  53. 2: $spacer * .5,
  54. 3: $spacer,
  55. 4: $spacer * 1.5,
  56. 5: $spacer * 3,
  57. 6: ($spacer * 4.5),
  58. 7: ($spacer * 6),
  59. 8: ($spacer * 9),
  60. 9: ($spacer * 12),
  61. 10: ($spacer * 18),
  62. ) !default;
  63. // Body
  64. //
  65. // Settings for the `<body>` element.
  66. $body-bg: #edf0f7 !default;
  67. $body-color: $gray-800 !default;
  68. // Links
  69. //
  70. // Style anchor elements.
  71. $link-color: $primary !default;
  72. $link-decoration: none !default;
  73. $link-hover-color: darken($link-color, 20%) !default;
  74. $link-hover-decoration: none !default;
  75. // Paragraphs
  76. //
  77. // Style p element.
  78. $paragraph-margin-bottom: 1.75rem !default;
  79. // Grid columns
  80. //
  81. // Set the number of columns and specify the width of the gutters.
  82. $grid-gutter-width: 1.75rem !default;
  83. // Components
  84. //
  85. // Define common padding and border radius sizes and more.
  86. $border-color: darken($body-bg, 4%) !default;
  87. $transition-fade: opacity .15s ease-out !default;
  88. // Fonts
  89. //
  90. // Font, line-height, and color for body text, headings, and more.
  91. $font-family-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
  92. $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
  93. $font-family-base: $font-family-sans-serif !default;
  94. $font-size-root: 16px !default;
  95. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  96. $font-size-xs: $font-size-base * .75 !default;
  97. $font-size-sm: $font-size-base * .875 !default;
  98. $font-size-lg: $font-size-base * 1.25 !default;
  99. $font-weight-medium: 500 !default;
  100. $font-weight-semibold: 600 !default;
  101. $h1-font-size: $font-size-base * 2.25 !default;
  102. $h2-font-size: $font-size-base * 1.875 !default;
  103. $h3-font-size: $font-size-base * 1.5 !default;
  104. $h4-font-size: $font-size-base * 1.25 !default;
  105. $h5-font-size: $font-size-base * 1.125 !default;
  106. $h6-font-size: $font-size-base !default;
  107. $headings-margin-bottom: ($spacer * 1.375) !default;
  108. $headings-font-family: null !default;
  109. $headings-font-weight: 600 !default;
  110. $headings-line-height: 1.25 !default;
  111. $text-muted: $gray-600 !default;
  112. $hr-opacity: .1 !default;
  113. // Tables
  114. //
  115. // Customizes the `.table` component with basic values, each used across all table variations.
  116. $table-cell-padding-y: .75rem !default;
  117. $table-cell-padding-x: .75rem !default;
  118. $table-cell-padding-y-sm: .25rem !default;
  119. $table-cell-padding-x-sm: .25rem !default;
  120. $table-color: $body-color !default;
  121. $table-th-font-weight: $font-weight-semibold !default;
  122. $table-striped-bg: lighten($body-bg, 1.5%) !default;
  123. $table-active-bg: $body-bg !default;
  124. $table-hover-bg: darken($body-bg, 1.5%) !default;
  125. $table-border-color: $border-color !default;
  126. $table-group-separator-color: $border-color !default;
  127. // Buttons + Forms
  128. //
  129. // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
  130. $input-btn-font-size-lg: $font-size-base !default;
  131. // Buttons
  132. //
  133. // For each of Bootstrap's buttons, define text, background and border color.
  134. $btn-font-weight: $font-weight-semibold !default;
  135. $btn-hover-bg-shade-amount: 20% !default;
  136. $btn-hover-bg-tint-amount: 20% !default;
  137. $btn-hover-border-shade-amount: 25% !default;
  138. $btn-hover-border-tint-amount: 15% !default;
  139. // Forms
  140. $form-text-margin-top: .375rem !default;
  141. $form-label-margin-bottom: .375rem !default;
  142. $form-label-font-weight: $font-weight-medium !default;
  143. $input-bg: $white !default;
  144. $input-color: $body-color !default;
  145. $input-border-color: darken($body-bg, 8%) !default;
  146. $input-group-addon-color: $input-color !default;
  147. $input-group-addon-bg: $body-bg !default;
  148. $input-group-addon-border-color: $input-border-color !default;
  149. $form-feedback-font-size: $font-size-sm !default;
  150. $form-check-input-border: 1px solid darken($body-bg, 10%) !default;
  151. $form-switch-color: darken($body-bg, 10%) !default;
  152. $form-switch-width: 2.5em !default;
  153. // Navs
  154. $nav-link-font-weight: $font-weight-semibold !default;
  155. $nav-tabs-border-color: $border-color !default;
  156. $nav-tabs-link-hover-border-color: $border-color $border-color $border-color !default;
  157. $nav-tabs-link-active-color: $body-color !default;
  158. $nav-tabs-link-active-bg: $white !default;
  159. $nav-tabs-link-active-border-color: $border-color $border-color $border-color !default;
  160. // Dropdowns
  161. //
  162. // Dropdown menu container and contents.
  163. $dropdown-min-width: 12rem !default;
  164. $dropdown-border-color: $border-color !default;
  165. $dropdown-border-width: 0 !default;
  166. $dropdown-divider-bg: $border-color !default;
  167. $dropdown-box-shadow: 0 .25rem 2rem rgba($black, .08) !default;
  168. $dropdown-link-color: $body-color !default;
  169. $dropdown-link-hover-color: $body-color !default;
  170. $dropdown-link-hover-bg: $body-bg !default;
  171. $dropdown-item-padding-y: .375rem !default;
  172. $dropdown-item-padding-x: .75rem !default;
  173. // Cards
  174. $card-spacer-y: 1.25rem !default;
  175. $card-spacer-x: 1.25rem !default;
  176. $card-title-spacer-y: $card-spacer-y * .5 !default;
  177. $card-border-color: darken($body-bg, 4%) !default;
  178. $card-border-radius: .25rem !default;
  179. $card-cap-padding-y: .75rem !default;
  180. $card-cap-padding-x: $card-spacer-x !default;
  181. $card-cap-bg: lighten($body-bg, 3%) !default;
  182. $card-img-overlay-padding: $card-spacer-y !default;
  183. $card-group-margin: $card-spacer-y !default;
  184. // Pagination
  185. $pagination-color: $body-color !default;
  186. $pagination-bg: $body-bg !default;
  187. $pagination-border-color: $body-bg !default;
  188. $pagination-focus-box-shadow: none !default;
  189. $pagination-hover-color: $body-color !default;
  190. $pagination-hover-bg: darken($body-bg, 10%) !default;
  191. $pagination-hover-border-color: darken($body-bg, 10%) !default;
  192. $pagination-disabled-color: $gray-500 !default;
  193. $pagination-disabled-bg: $white !default;
  194. $pagination-disabled-border-color: $white !default;
  195. // Popovers
  196. $popover-border-color: $border-color !default;
  197. $popover-box-shadow: 0 1rem 1.5rem rgba($black,.05) !default;
  198. $popover-header-bg: $white !default;
  199. $popover-header-padding-y: .75rem !default;
  200. $popover-header-padding-x: .625rem !default;
  201. $popover-body-padding-y: .625rem !default;
  202. $popover-body-padding-x: .625rem !default;
  203. // Badges
  204. $badge-font-weight: $font-weight-semibold !default;
  205. // Modals
  206. $modal-content-box-shadow-xs: none !default;
  207. $modal-content-box-shadow-sm-up: none !default;
  208. $modal-backdrop-opacity: .8 !default;
  209. $modal-header-border-color: $border-color !default;
  210. $modal-footer-border-color: $border-color !default;
  211. // Alerts
  212. //
  213. // Define alert colors, border radius, and padding.
  214. $alert-border-width: 0 !default;
  215. // Progress bars
  216. $progress-height: 1.25rem !default;
  217. $progress-font-size: 1rem !default;
  218. // List group
  219. $list-group-border-color: $border-color !default;
  220. $list-group-item-padding-y: .75rem !default;
  221. $list-group-item-padding-x: 1.25rem !default;
  222. $list-group-hover-bg: lighten($body-bg, 1.5%) !default;
  223. $list-group-action-color: $body-color !default;
  224. $list-group-action-hover-color: $body-color !default;
  225. $list-group-action-active-color: $body-color !default;
  226. $list-group-action-active-bg: $border-color !default;
  227. // Breadcrumbs
  228. $breadcrumb-font-size: $font-size-sm !default;
  229. $breadcrumb-margin-bottom: 0 !default;