_variables.scss 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  1. // Variables
  2. //
  3. // Copy settings from this file into the provided `_custom.scss` to override
  4. // the Bootstrap defaults without modifying key, versioned files.
  5. //
  6. // Variables should follow the `$component-state-property-size` formula for
  7. // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
  8. // Table of Contents
  9. //
  10. // Color system
  11. // Options
  12. // Spacing
  13. // Body
  14. // Links
  15. // Paragraphs
  16. // Grid breakpoints
  17. // Grid containers
  18. // Grid columns
  19. // Fonts
  20. // Components
  21. // Tables
  22. // Buttons
  23. // Forms
  24. // Dropdowns
  25. // Z-index master list
  26. // Navs
  27. // Navbar
  28. // Pagination
  29. // Jumbotron
  30. // Form states and alerts
  31. // Cards
  32. // Tooltips
  33. // Popovers
  34. // Badges
  35. // Modals
  36. // Alerts
  37. // Progress bars
  38. // List group
  39. // Image thumbnails
  40. // Figures
  41. // Breadcrumbs
  42. // Carousel
  43. // Close
  44. // Code
  45. //
  46. // Color system
  47. //
  48. $white: #fff !default;
  49. $gray-100: #f8f9fa !default;
  50. $gray-200: #e9ecef !default;
  51. $gray-300: #dee2e6 !default;
  52. $gray-400: #ced4da !default;
  53. $gray-500: #adb5bd !default;
  54. $gray-600: #868e96 !default;
  55. $gray-700: #495057 !default;
  56. $gray-800: #343a40 !default;
  57. $gray-900: #212529 !default;
  58. $black: #000 !default;
  59. $grays: (
  60. 100: $gray-100,
  61. 200: $gray-200,
  62. 300: $gray-300,
  63. 400: $gray-400,
  64. 500: $gray-500,
  65. 600: $gray-600,
  66. 700: $gray-700,
  67. 800: $gray-800,
  68. 900: $gray-900
  69. ) !default;
  70. $blue: #007bff !default;
  71. $indigo: #6610f2 !default;
  72. $purple: #6f42c1 !default;
  73. $pink: #e83e8c !default;
  74. $red: #dc3545 !default;
  75. $orange: #fd7e14 !default;
  76. $yellow: #ffc107 !default;
  77. $green: #28a745 !default;
  78. $teal: #20c997 !default;
  79. $cyan: #17a2b8 !default;
  80. $colors: (
  81. blue: $blue,
  82. indigo: $indigo,
  83. purple: $purple,
  84. pink: $pink,
  85. red: $red,
  86. orange: $orange,
  87. yellow: $yellow,
  88. green: $green,
  89. teal: $teal,
  90. cyan: $cyan,
  91. white: $white,
  92. gray: $gray-600,
  93. gray-dark: $gray-800
  94. ) !default;
  95. $theme-colors: (
  96. primary: $green,
  97. secondary: $gray-600,
  98. success: $green,
  99. info: $cyan,
  100. warning: $yellow,
  101. danger: $red,
  102. light: $gray-100,
  103. dark: $gray-800
  104. ) !default;
  105. // Set a specific jump point for requesting color jumps
  106. $theme-color-interval: 8% !default;
  107. // Options
  108. //
  109. // Quickly modify global styling by enabling or disabling optional features.
  110. $enable-rounded: true !default;
  111. $enable-shadows: false !default;
  112. $enable-gradients: false !default;
  113. $enable-transitions: true !default;
  114. $enable-hover-media-query: false !default;
  115. $enable-grid-classes: true !default;
  116. $enable-print-styles: true !default;
  117. // Spacing
  118. //
  119. // Control the default styling of most Bootstrap elements by modifying these
  120. // variables. Mostly focused on spacing.
  121. // You can add more entries to the $spacers map, should you need more variation.
  122. $spacer: 1rem !default;
  123. $spacers: (
  124. 0: 0,
  125. 1: ($spacer * .25),
  126. 2: ($spacer * .5),
  127. 3: $spacer,
  128. 4: ($spacer * 1.5),
  129. 5: ($spacer * 3)
  130. ) !default;
  131. // This variable affects the `.h-*` and `.w-*` classes.
  132. $sizes: (
  133. 25: 25%,
  134. 50: 50%,
  135. 75: 75%,
  136. 100: 100%
  137. ) !default;
  138. // Body
  139. //
  140. // Settings for the `<body>` element.
  141. $body-bg: $white !default;
  142. $body-color: $gray-900 !default;
  143. // Links
  144. //
  145. // Style anchor elements.
  146. $link-color: theme-color("primary") !default;
  147. $link-decoration: none !default;
  148. $link-hover-color: darken($link-color, 15%) !default;
  149. $link-hover-decoration: underline !default;
  150. // Paragraphs
  151. //
  152. // Style p element.
  153. $paragraph-margin-bottom: 1rem;
  154. // Grid breakpoints
  155. //
  156. // Define the minimum dimensions at which your layout will change,
  157. // adapting to different screen sizes, for use in media queries.
  158. $grid-breakpoints: (
  159. xs: 0,
  160. sm: 576px,
  161. md: 768px,
  162. lg: 992px,
  163. xl: 1200px
  164. ) !default;
  165. @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
  166. @include _assert-starts-at-zero($grid-breakpoints);
  167. // Grid containers
  168. //
  169. // Define the maximum width of `.container` for different screen sizes.
  170. $container-max-widths: (
  171. sm: 765px,
  172. md: 991px,
  173. lg: 1130px,
  174. xl: 1280px
  175. ) !default;
  176. @include _assert-ascending($container-max-widths, "$container-max-widths");
  177. // Grid columns
  178. //
  179. // Set the number of columns and specify the width of the gutters.
  180. $grid-columns: 12 !default;
  181. $grid-gutter-width: 30px !default;
  182. // Components
  183. //
  184. // Define common padding and border radius sizes and more.
  185. $line-height-lg: 1.5 !default;
  186. $line-height-sm: 1.5 !default;
  187. $border-width: 1px !default;
  188. $border-color: $gray-200 !default;
  189. $border-radius: .25rem !default;
  190. $border-radius-lg: .3rem !default;
  191. $border-radius-sm: .2rem !default;
  192. $component-active-color: $white !default;
  193. $component-active-bg: theme-color("primary") !default;
  194. $caret-width: .3em !default;
  195. $transition-base: all .2s ease-in-out !default;
  196. $transition-fade: opacity .15s linear !default;
  197. $transition-collapse: height .35s ease !default;
  198. // Fonts
  199. //
  200. // Font, line-height, and color for body text, headings, and more.
  201. $font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
  202. $font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
  203. $font-family-base: $font-family-sans-serif !default;
  204. $font-size-root: 14px;
  205. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  206. $font-size-lg: 1.25rem !default;
  207. $font-size-sm: .875rem !default;
  208. $font-size-xs: .75rem !default;
  209. $font-weight-light: 300 !default;
  210. $font-weight-normal: normal !default;
  211. $font-weight-bold: bold !default;
  212. $font-weight-base: $font-weight-normal !default;
  213. $line-height-base: 1.5 !default;
  214. $h1-font-size: 2.5rem !default;
  215. $h2-font-size: 2rem !default;
  216. $h3-font-size: 1.75rem !default;
  217. $h4-font-size: 1.5rem !default;
  218. $h5-font-size: 1.25rem !default;
  219. $h6-font-size: 1rem !default;
  220. $headings-margin-bottom: ($spacer / 2) !default;
  221. $headings-font-family: inherit !default;
  222. $headings-font-weight: 500 !default;
  223. $headings-line-height: 1.1 !default;
  224. $headings-color: inherit !default;
  225. $display1-size: 6rem !default;
  226. $display2-size: 5.5rem !default;
  227. $display3-size: 4.5rem !default;
  228. $display4-size: 3.5rem !default;
  229. $display1-weight: 300 !default;
  230. $display2-weight: 300 !default;
  231. $display3-weight: 300 !default;
  232. $display4-weight: 300 !default;
  233. $display-line-height: $headings-line-height !default;
  234. $lead-font-size: 1.25rem !default;
  235. $lead-font-weight: 300 !default;
  236. $small-font-size: 80% !default;
  237. $text-muted: $gray-600 !default;
  238. $blockquote-small-color: $gray-600 !default;
  239. $blockquote-font-size: ($font-size-base * 1.25) !default;
  240. $hr-border-color: rgba($black,.1) !default;
  241. $hr-border-width: $border-width !default;
  242. $mark-padding: .2em !default;
  243. $dt-font-weight: $font-weight-bold !default;
  244. $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
  245. $nested-kbd-font-weight: $font-weight-bold !default;
  246. $list-inline-padding: 5px !default;
  247. $mark-bg: #fcf8e3 !default;
  248. // Tables
  249. //
  250. // Customizes the `.table` component with basic values, each used across all table variations.
  251. $table-cell-padding: .75rem !default;
  252. $table-cell-padding-sm: .3rem !default;
  253. $table-bg: transparent !default;
  254. $table-accent-bg: rgba($black,.05) !default;
  255. $table-hover-bg: rgba($black,.075) !default;
  256. $table-active-bg: $table-hover-bg !default;
  257. $table-border-width: $border-width !default;
  258. $table-border-color: $gray-200 !default;
  259. $table-head-bg: $gray-200 !default;
  260. $table-head-color: $gray-700 !default;
  261. $table-inverse-bg: $gray-900 !default;
  262. $table-inverse-accent-bg: rgba($white, .05) !default;
  263. $table-inverse-hover-bg: rgba($white, .075) !default;
  264. $table-inverse-border-color: lighten($gray-900, 7.5%) !default;
  265. $table-inverse-color: $body-bg !default;
  266. // Buttons
  267. //
  268. // For each of Bootstrap's buttons, define text, background and border color.
  269. $input-btn-padding-y: .5rem !default;
  270. $input-btn-padding-x: .75rem !default;
  271. $input-btn-line-height: 1.25 !default;
  272. $input-btn-padding-y-sm: .25rem !default;
  273. $input-btn-padding-x-sm: .5rem !default;
  274. $input-btn-line-height-sm: 1.5 !default;
  275. $input-btn-padding-y-lg: .5rem !default;
  276. $input-btn-padding-x-lg: 1rem !default;
  277. $input-btn-line-height-lg: 1.5 !default;
  278. $btn-font-weight: $font-weight-normal !default;
  279. $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
  280. $btn-focus-box-shadow: 0 0 0 3px rgba(theme-color("primary"), .25) !default;
  281. $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
  282. $btn-link-disabled-color: $gray-600 !default;
  283. $btn-block-spacing-y: .5rem !default;
  284. // Allows for customizing button radius independently from global border radius
  285. $btn-border-radius: $border-radius !default;
  286. $btn-border-radius-lg: $border-radius-lg !default;
  287. $btn-border-radius-sm: $border-radius-sm !default;
  288. $btn-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  289. // Forms
  290. $input-bg: $white !default;
  291. $input-disabled-bg: $gray-200 !default;
  292. $input-color: $gray-700 !default;
  293. $input-border-color: rgba($black,.15) !default;
  294. $input-btn-border-width: $border-width !default; // For form controls and buttons
  295. $input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
  296. $input-border-radius: $border-radius !default;
  297. $input-border-radius-lg: $border-radius-lg !default;
  298. $input-border-radius-sm: $border-radius-sm !default;
  299. $input-focus-bg: $input-bg !default;
  300. $input-focus-border-color: lighten(theme-color("primary"), 25%) !default;
  301. $input-focus-box-shadow: $input-box-shadow, $btn-focus-box-shadow !default;
  302. $input-focus-color: $input-color !default;
  303. $input-placeholder-color: $gray-600 !default;
  304. $input-height-border: $input-btn-border-width * 2 !default;
  305. $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
  306. $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
  307. $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
  308. $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
  309. $input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
  310. $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
  311. $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
  312. $form-text-margin-top: .25rem !default;
  313. $form-check-margin-bottom: .5rem !default;
  314. $form-check-input-gutter: 1.25rem !default;
  315. $form-check-input-margin-y: .25rem !default;
  316. $form-check-input-margin-x: .25rem !default;
  317. $form-check-inline-margin-x: .75rem !default;
  318. $form-group-margin-bottom: 1rem !default;
  319. $input-group-addon-color: $input-color !default;
  320. $input-group-addon-bg: $gray-200 !default;
  321. $input-group-addon-border-color: $input-border-color !default;
  322. $input-group-btn-border-color: $input-border-color !default;
  323. $custom-control-gutter: 1.5rem !default;
  324. $custom-control-spacer-y: .25rem !default;
  325. $custom-control-spacer-x: 1rem !default;
  326. $custom-control-indicator-size: 1rem !default;
  327. $custom-control-indicator-bg: #ddd !default;
  328. $custom-control-indicator-bg-size: 50% 50% !default;
  329. $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
  330. $custom-control-indicator-disabled-bg: $gray-200 !default;
  331. $custom-control-description-disabled-color: $gray-600 !default;
  332. $custom-control-indicator-checked-color: $white !default;
  333. $custom-control-indicator-checked-bg: theme-color("primary") !default;
  334. $custom-control-indicator-checked-box-shadow: none !default;
  335. $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px theme-color("primary") !default;
  336. $custom-control-indicator-active-color: $white !default;
  337. $custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%) !default;
  338. $custom-control-indicator-active-box-shadow: none !default;
  339. $custom-checkbox-indicator-border-radius: $border-radius !default;
  340. $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
  341. $custom-checkbox-indicator-indeterminate-bg: theme-color("primary") !default;
  342. $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
  343. $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
  344. $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
  345. $custom-radio-indicator-border-radius: 50% !default;
  346. $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
  347. $custom-select-padding-y: .375rem !default;
  348. $custom-select-padding-x: .75rem !default;
  349. $custom-select-height: $input-height !default;
  350. $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
  351. $custom-select-line-height: $input-btn-line-height !default;
  352. $custom-select-color: $input-color !default;
  353. $custom-select-disabled-color: $gray-600 !default;
  354. $custom-select-bg: $white !default;
  355. $custom-select-disabled-bg: $gray-200 !default;
  356. $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
  357. $custom-select-indicator-color: #333 !default;
  358. $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
  359. $custom-select-border-width: $input-btn-border-width !default;
  360. $custom-select-border-color: $input-border-color !default;
  361. $custom-select-border-radius: $border-radius !default;
  362. $custom-select-focus-border-color: lighten(theme-color("primary"), 25%) !default;
  363. $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
  364. $custom-select-font-size-sm: 75% !default;
  365. $custom-select-height-sm: $input-height-sm !default;
  366. $custom-file-height: $input-height !default;
  367. $custom-file-width: 14rem !default;
  368. $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary") !default;
  369. $custom-file-padding-y: $input-btn-padding-y !default;
  370. $custom-file-padding-x: $input-btn-padding-x !default;
  371. $custom-file-line-height: $input-btn-line-height !default;
  372. $custom-file-color: $input-color !default;
  373. $custom-file-bg: $input-bg !default;
  374. $custom-file-border-width: $input-btn-border-width !default;
  375. $custom-file-border-color: $input-border-color !default;
  376. $custom-file-border-radius: $input-border-radius !default;
  377. $custom-file-box-shadow: $input-box-shadow !default;
  378. $custom-file-button-color: $custom-file-color !default;
  379. $custom-file-button-bg: $input-group-addon-bg !default;
  380. $custom-file-text: (
  381. en: "Choose file..."
  382. ) !default;
  383. // Form validation
  384. $form-feedback-valid-color: theme-color("success") !default;
  385. $form-feedback-invalid-color: theme-color("danger") !default;
  386. // Dropdowns
  387. //
  388. // Dropdown menu container and contents.
  389. $dropdown-min-width: 10rem !default;
  390. $dropdown-padding-y: .5rem !default;
  391. $dropdown-spacer: .125rem !default;
  392. $dropdown-bg: $white !default;
  393. $dropdown-border-color: rgba($black,.15) !default;
  394. $dropdown-border-width: $border-width !default;
  395. $dropdown-divider-bg: $gray-200 !default;
  396. $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
  397. $dropdown-link-color: $gray-900 !default;
  398. $dropdown-link-hover-color: darken($gray-900, 5%) !default;
  399. $dropdown-link-hover-bg: $gray-100 !default;
  400. $dropdown-link-active-color: $component-active-color !default;
  401. $dropdown-link-active-bg: $component-active-bg !default;
  402. $dropdown-link-disabled-color: $gray-600 !default;
  403. $dropdown-item-padding-y: .25rem !default;
  404. $dropdown-item-padding-x: 1.5rem !default;
  405. $dropdown-header-color: $gray-600 !default;
  406. // Z-index master list
  407. //
  408. // Warning: Avoid customizing these values. They're used for a bird's eye view
  409. // of components dependent on the z-axis and are designed to all work together.
  410. $zindex-dropdown: 1000 !default;
  411. $zindex-sticky: 1020 !default;
  412. $zindex-fixed: 1030 !default;
  413. $zindex-modal-backdrop: 1040 !default;
  414. $zindex-modal: 1050 !default;
  415. $zindex-popover: 1060 !default;
  416. $zindex-tooltip: 1070 !default;
  417. // Navs
  418. $nav-link-padding-y: .75rem !default;
  419. $nav-link-padding-x: 1rem !default;
  420. $nav-link-padding: $nav-link-padding-y $nav-link-padding-x;
  421. $nav-link-disabled-color: $gray-600 !default;
  422. $nav-tabs-border-color: #ddd !default;
  423. $nav-tabs-border-width: $border-width !default;
  424. $nav-tabs-border-radius: $border-radius !default;
  425. $nav-tabs-link-hover-border-color: $gray-200 !default;
  426. $nav-tabs-link-active-color: $gray-700 !default;
  427. $nav-tabs-link-active-bg: $body-bg !default;
  428. $nav-tabs-link-active-border-color: #ddd !default;
  429. $nav-pills-border-radius: $border-radius !default;
  430. $nav-pills-link-active-color: $component-active-color !default;
  431. $nav-pills-link-active-bg: $component-active-bg !default;
  432. // Navbar
  433. $navbar-padding-y: ($spacer / 2) !default;
  434. $navbar-padding-x: $spacer !default;
  435. $navbar-brand-font-size: $font-size-lg !default;
  436. // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
  437. $nav-link-height: $navbar-brand-font-size * $line-height-base !default;
  438. $navbar-brand-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
  439. $navbar-brand-padding-y: ($navbar-brand-height - $nav-link-height) / 2 !default;
  440. $navbar-toggler-padding-y: .25rem !default;
  441. $navbar-toggler-padding-x: .75rem !default;
  442. $navbar-toggler-font-size: $font-size-lg !default;
  443. $navbar-toggler-border-radius: $btn-border-radius !default;
  444. $navbar-dark-color: rgba($white,.5) !default;
  445. $navbar-dark-hover-color: rgba($white,.75) !default;
  446. $navbar-dark-active-color: rgba($white,1) !default;
  447. $navbar-dark-disabled-color: rgba($white,.25) !default;
  448. $navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
  449. $navbar-dark-toggler-border-color: rgba($white,.1) !default;
  450. $navbar-light-color: rgba($black,.5) !default;
  451. $navbar-light-hover-color: rgba($black,.7) !default;
  452. $navbar-light-active-color: rgba($black,.9) !default;
  453. $navbar-light-disabled-color: rgba($black,.3) !default;
  454. $navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
  455. $navbar-light-toggler-border-color: rgba($black,.1) !default;
  456. // Pagination
  457. $pagination-padding-y: .5rem !default;
  458. $pagination-padding-x: .75rem !default;
  459. $pagination-padding-y-sm: .25rem !default;
  460. $pagination-padding-x-sm: .5rem !default;
  461. $pagination-padding-y-lg: .75rem !default;
  462. $pagination-padding-x-lg: 1.5rem !default;
  463. $pagination-line-height: 1.25 !default;
  464. $pagination-color: $link-color !default;
  465. $pagination-bg: $white !default;
  466. $pagination-border-width: $border-width !default;
  467. $pagination-border-color: #ddd !default;
  468. $pagination-hover-color: $link-hover-color !default;
  469. $pagination-hover-bg: $gray-200 !default;
  470. $pagination-hover-border-color: #ddd !default;
  471. $pagination-active-color: $white !default;
  472. $pagination-active-bg: theme-color("primary") !default;
  473. $pagination-active-border-color: theme-color("primary") !default;
  474. $pagination-disabled-color: $gray-600 !default;
  475. $pagination-disabled-bg: $white !default;
  476. $pagination-disabled-border-color: #ddd !default;
  477. // Jumbotron
  478. $jumbotron-padding: 2rem !default;
  479. $jumbotron-bg: $gray-200 !default;
  480. // Cards
  481. $card-spacer-y: .75rem !default;
  482. $card-spacer-x: 1.25rem !default;
  483. $card-border-width: 1px !default;
  484. $card-border-radius: $border-radius !default;
  485. $card-border-color: rgba($black,.125) !default;
  486. $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
  487. $card-cap-bg: rgba($black, .03) !default;
  488. $card-bg: $white !default;
  489. $card-img-overlay-padding: 1.25rem !default;
  490. $card-deck-margin: ($grid-gutter-width / 2) !default;
  491. $card-columns-count: 3 !default;
  492. $card-columns-gap: 1.25rem !default;
  493. $card-columns-margin: $card-spacer-y !default;
  494. // Tooltips
  495. $tooltip-max-width: 200px !default;
  496. $tooltip-color: $white !default;
  497. $tooltip-bg: $black !default;
  498. $tooltip-opacity: .9 !default;
  499. $tooltip-padding-y: 3px !default;
  500. $tooltip-padding-x: 8px !default;
  501. $tooltip-margin: 0 !default;
  502. $tooltip-arrow-width: 5px !default;
  503. $tooltip-arrow-height: 5px !default;
  504. $tooltip-arrow-color: $tooltip-bg !default;
  505. // Popovers
  506. $popover-inner-padding: 1px !default;
  507. $popover-bg: $white !default;
  508. $popover-max-width: 276px !default;
  509. $popover-border-width: $border-width !default;
  510. $popover-border-color: rgba($black,.2) !default;
  511. $popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
  512. $popover-header-bg: darken($popover-bg, 3%) !default;
  513. $popover-header-color: $headings-color !default;
  514. $popover-header-padding-y: 8px !default;
  515. $popover-header-padding-x: 14px !default;
  516. $popover-body-color: $body-color !default;
  517. $popover-body-padding-y: 9px !default;
  518. $popover-body-padding-x: 14px !default;
  519. $popover-arrow-width: 10px !default;
  520. $popover-arrow-height: 5px !default;
  521. $popover-arrow-color: $popover-bg !default;
  522. $popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
  523. $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
  524. // Badges
  525. $badge-color: $white !default;
  526. $badge-font-size: 75% !default;
  527. $badge-font-weight: $font-weight-bold !default;
  528. $badge-padding-y: .25em !default;
  529. $badge-padding-x: .4em !default;
  530. $badge-pill-padding-x: .6em !default;
  531. // Use a higher than normal value to ensure completely rounded edges when
  532. // customizing padding or font-size on labels.
  533. $badge-pill-border-radius: 10rem !default;
  534. // Modals
  535. // Padding applied to the modal body
  536. //$modal-inner-padding: 15px !default;
  537. //$modal-dialog-margin: 10px !default;
  538. //$modal-dialog-margin-y-sm-up: 30px !default;
  539. $modal-title-line-height: $line-height-base !default;
  540. $modal-content-bg: $white !default;
  541. $modal-content-border-color: rgba($black,.2) !default;
  542. $modal-content-border-width: $border-width !default;
  543. $modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5) !default;
  544. $modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5) !default;
  545. $modal-backdrop-bg: $black !default;
  546. $modal-backdrop-opacity: .5 !default;
  547. $modal-header-border-color: $gray-200 !default;
  548. $modal-footer-border-color: $modal-header-border-color !default;
  549. $modal-header-border-width: $modal-content-border-width !default;
  550. $modal-footer-border-width: $modal-header-border-width !default;
  551. $modal-header-padding: 15px !default;
  552. $modal-lg: 800px !default;
  553. $modal-md: 500px !default;
  554. $modal-sm: 300px !default;
  555. $modal-transition: transform .3s ease-out !default;
  556. // Alerts
  557. //
  558. // Define alert colors, border radius, and padding.
  559. $alert-padding-y: .75rem !default;
  560. $alert-padding-x: 1.25rem !default;
  561. $alert-margin-bottom: 1rem !default;
  562. $alert-border-radius: $border-radius !default;
  563. $alert-link-font-weight: $font-weight-bold !default;
  564. $alert-border-width: $border-width !default;
  565. // Progress bars
  566. $progress-height: 1rem !default;
  567. $progress-font-size: .75rem !default;
  568. $progress-bg: $gray-200 !default;
  569. $progress-border-radius: $border-radius !default;
  570. $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
  571. $progress-bar-color: $white !default;
  572. $progress-bar-bg: theme-color("primary") !default;
  573. $progress-bar-animation-timing: 1s linear infinite !default;
  574. $progress-bar-transition: width .6s ease !default;
  575. // List group
  576. $list-group-bg: $white !default;
  577. $list-group-border-color: rgba($black,.125) !default;
  578. $list-group-border-width: $border-width !default;
  579. $list-group-border-radius: $border-radius !default;
  580. $list-group-item-padding-y: .75rem !default;
  581. $list-group-item-padding-x: 1.25rem !default;
  582. $list-group-hover-bg: $gray-100 !default;
  583. $list-group-active-color: $component-active-color !default;
  584. $list-group-active-bg: $component-active-bg !default;
  585. $list-group-active-border-color: $list-group-active-bg !default;
  586. $list-group-disabled-color: $gray-600 !default;
  587. $list-group-disabled-bg: $list-group-bg !default;
  588. $list-group-action-color: $gray-700 !default;
  589. $list-group-action-hover-color: $list-group-action-color !default;
  590. $list-group-action-active-color: $body-color !default;
  591. $list-group-action-active-bg: $gray-200 !default;
  592. // Image thumbnails
  593. $thumbnail-padding: .25rem !default;
  594. $thumbnail-bg: $body-bg !default;
  595. $thumbnail-border-width: $border-width !default;
  596. $thumbnail-border-color: #ddd !default;
  597. $thumbnail-border-radius: $border-radius !default;
  598. $thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
  599. $thumbnail-transition: all .2s ease-in-out !default;
  600. // Figures
  601. $figure-caption-font-size: 90% !default;
  602. $figure-caption-color: $gray-600 !default;
  603. // Breadcrumbs
  604. $breadcrumb-padding-y: .75rem !default;
  605. $breadcrumb-padding-x: 1rem !default;
  606. $breadcrumb-item-padding: .5rem !default;
  607. $breadcrumb-margin-bottom: 1rem !default;
  608. $breadcrumb-bg: $gray-200 !default;
  609. $breadcrumb-divider-color: $gray-600 !default;
  610. $breadcrumb-active-color: $gray-600 !default;
  611. $breadcrumb-divider: "/" !default;
  612. // Carousel
  613. $carousel-control-color: $white !default;
  614. $carousel-control-width: 15% !default;
  615. $carousel-control-opacity: .5 !default;
  616. $carousel-indicator-width: 30px !default;
  617. $carousel-indicator-height: 3px !default;
  618. $carousel-indicator-spacer: 3px !default;
  619. $carousel-indicator-active-bg: $white !default;
  620. $carousel-caption-width: 70% !default;
  621. $carousel-caption-color: $white !default;
  622. $carousel-control-icon-width: 20px !default;
  623. $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
  624. $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
  625. $carousel-transition: transform .6s ease !default;
  626. // Close
  627. $close-font-size: $font-size-base * 1.5 !default;
  628. $close-font-weight: $font-weight-bold !default;
  629. $close-color: $black !default;
  630. $close-text-shadow: 0 1px 0 $white !default;
  631. // Code
  632. $code-font-size: 90% !default;
  633. $code-padding-y: .2rem !default;
  634. $code-padding-x: .4rem !default;
  635. $code-color: #bd4147 !default;
  636. $code-bg: $gray-100 !default;
  637. $kbd-color: $white !default;
  638. $kbd-bg: $gray-900 !default;
  639. $pre-color: $gray-900 !default;
  640. $pre-scrollable-max-height: 340px !default;
  641. // NOT INCLUDED IN BS
  642. // Form states and alerts
  643. //
  644. // Define colors for form feedback states and, by default, alerts.
  645. $state-success-text: #3c763d !default;
  646. $state-success-bg: #dff0d8 !default;
  647. $state-success-border: darken($state-success-bg, 5%) !default;
  648. $state-info-text: #31708f !default;
  649. $state-info-bg: #d9edf7 !default;
  650. $state-info-border: darken($state-info-bg, 7%) !default;
  651. $state-warning-text: #8a6d3b !default;
  652. $state-warning-bg: #fcf8e3 !default;
  653. $mark-bg: $state-warning-bg !default;
  654. $state-warning-border: darken($state-warning-bg, 5%) !default;
  655. $state-danger-text: #a94442 !default;
  656. $state-danger-bg: #f2dede !default;
  657. $state-danger-border: darken($state-danger-bg, 5%) !default;
  658. $box-shadow: 0 0 2px rgba(0, 0, 0, .2), 0 2px 2px rgba(0, 0, 0, .125);