No Description
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.

_variables.scss 34KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. //
  2. // Variables
  3. //
  4. // Global settings
  5. $enable-caret: true !default;
  6. $enable-rounded: true !default;
  7. $enable-shadows: true !default;
  8. $enable-gradients: false !default;
  9. $enable-transitions: true !default;
  10. $enable-grid-classes: true !default;
  11. $enable-print-styles: true !default;
  12. // Color system
  13. $white: #fff !default;
  14. $gray-100: #f6f9fc !default;
  15. $gray-200: #e9ecef !default;
  16. $gray-300: #dee2e6 !default;
  17. $gray-400: #ced4da !default;
  18. $gray-500: #adb5bd !default;
  19. $gray-600: #8898aa !default; // Line footer color
  20. $gray-700: #525f7f !default; // Line p color
  21. $gray-800: #32325d !default; // Line heading color
  22. $gray-900: #212529 !default;
  23. $black: #000 !default;
  24. $grays: () !default;
  25. $grays: map-merge((
  26. "100": $gray-100,
  27. "200": $gray-200,
  28. "300": $gray-300,
  29. "400": $gray-400,
  30. "500": $gray-500,
  31. "600": $gray-600,
  32. "700": $gray-700,
  33. "800": $gray-800,
  34. "900": $gray-900
  35. ), $grays);
  36. $blue: #5e72e4 !default;
  37. $indigo: #5603ad !default;
  38. $purple: #8965e0 !default;
  39. $pink: #f3a4b5 !default;
  40. $red: #f5365c !default;
  41. $orange: #fb6340 !default;
  42. $yellow: #ffd600 !default;
  43. $green: #2dce89 !default;
  44. $teal: #11cdef !default;
  45. $cyan: #2bffc6 !default;
  46. $colors: () !default;
  47. $colors: map-merge((
  48. "blue": $blue,
  49. "indigo": $indigo,
  50. "purple": $purple,
  51. "pink": $pink,
  52. "red": $red,
  53. "orange": $orange,
  54. "yellow": $yellow,
  55. "green": $green,
  56. "teal": $teal,
  57. "cyan": $cyan,
  58. "white": $white,
  59. "gray": $gray-600,
  60. "light": $gray-400,
  61. "lighter": $gray-200,
  62. "gray-dark": $gray-800
  63. ), $colors);
  64. $default: #172b4d !default;
  65. $primary: #5e72e4 !default;
  66. $secondary: #f7fafc !default;
  67. $success: $green !default;
  68. $info: $teal !default;
  69. $warning: $orange !default;
  70. $danger: $red !default;
  71. $light: $gray-500 !default;
  72. $dark: $gray-900 !default;
  73. $darker: darken($gray-900, 15%) !default;
  74. $facebook: #3b5999 !default;
  75. $twitter: #1da1f2 !default;
  76. $google-plus: #dd4b39 !default;
  77. $instagram: #e4405f !default;
  78. $pinterest: #bd081c !default;
  79. $youtube: #cd201f !default;
  80. $slack: #3aaf85 !default;
  81. $dribbble: #ea4c89 !default;
  82. $github: #222222 !default;
  83. $theme-colors: () !default;
  84. $theme-colors: map-merge((
  85. "default": $default,
  86. "primary": $primary,
  87. "secondary": $secondary,
  88. "success": $success,
  89. "info": $info,
  90. "warning": $warning,
  91. "danger": $danger,
  92. "white": $white,
  93. "neutral": $white,
  94. "dark": $dark,
  95. "darker": $darker
  96. ), $theme-colors);
  97. $brand-colors: () !default;
  98. $brand-colors: map-merge((
  99. "facebook": $facebook,
  100. "twitter": $twitter,
  101. "google-plus": $google-plus,
  102. "instagram": $instagram,
  103. "pinterest": $pinterest,
  104. "youtube": $youtube,
  105. "slack": $slack,
  106. "dribbble": $dribbble,
  107. "github": $github
  108. ), $brand-colors);
  109. $shape-colors: () !default;
  110. $shape-colors: map-merge((
  111. "default": #32325d,
  112. "primary": #5533ff,
  113. "secondary": #24b47e,
  114. "neutral": #e9ecef,
  115. "blue-gray": #b2cbe1,
  116. ), $shape-colors);
  117. $shapes-primary-colors: () !default;
  118. $shapes-primary-colors: map-merge((
  119. "step-1-gradient-bg": #281483,
  120. "step-2-gradient-bg": #8f6ed5,
  121. "step-3-gradient-bg": #d782d9,
  122. "span-1-bg": #53f,
  123. "span-2-bg": #4553ff,
  124. "span-3-bg": #4f40ff,
  125. "span-4-bg": #25ddf5,
  126. "span-5-bg": #1fa2ff
  127. ), $shapes-primary-colors);
  128. $shapes-default-colors: () !default;
  129. $shapes-default-colors: map-merge((
  130. "step-1-gradient-bg": #7795f8,
  131. "step-2-gradient-bg": #6772e5,
  132. "step-3-gradient-bg": #555abf,
  133. "span-1-bg": #7795f8,
  134. "span-2-bg": #7b9aff,
  135. "span-3-bg": #6f8ff8,
  136. "span-4-bg": #76eea7,
  137. "span-5-bg": #6adaff
  138. ), $shapes-default-colors);
  139. $shapes-light-colors: () !default;
  140. $shapes-light-colors: map-merge((
  141. "step-1-gradient-bg": #b2cbe1,
  142. "step-2-gradient-bg": #f6f9fc,
  143. "step-3-gradient-bg": #f6f9fc,
  144. "span-1-bg": #b4cce1,
  145. "span-2-bg": #c5dbef,
  146. "span-3-bg": #b9d5ed,
  147. "span-4-bg": #74e4a2,
  148. "span-5-bg": #008169
  149. ), $shapes-light-colors);
  150. $shapes-dark-colors: () !default;
  151. $shapes-dark-colors: map-merge((
  152. "step-1-gradient-bg": #32325d,
  153. "step-2-gradient-bg": #32325d,
  154. "step-3-gradient-bg": #32325d,
  155. "span-1-bg": #2e2e57,
  156. "span-2-bg": #2b2b58,
  157. "span-3-bg": #25254d,
  158. "span-4-bg": #d782d9,
  159. "span-5-bg": #008169
  160. ), $shapes-dark-colors);
  161. // Translucent color variations
  162. $translucent-color-opacity: .6 !default;
  163. // Set a specific jump point for requesting color jumps
  164. $theme-color-interval: 8% !default;
  165. // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
  166. $yiq-contrasted-threshold: 200 !default;
  167. // Customize the light and dark text colors for use in our YIQ color contrast function.
  168. $yiq-text-dark: $gray-900 !default;
  169. $yiq-text-light: $white !default;
  170. // Action colors
  171. $star-rating-color: $gray-400 !default;
  172. $star-rating-color-active: $yellow !default;
  173. $favorite-color: $yellow !default;
  174. $like-color: $blue !default;
  175. $love-color: $red !default;
  176. // Body
  177. $body-bg: #f8f9fe !default;
  178. $body-color: $gray-700 !default;
  179. // Sections
  180. $section-colors: () !default;
  181. $section-colors: map-merge((
  182. "primary": $body-bg,
  183. "secondary": $secondary,
  184. "light": $gray-400,
  185. "dark": $dark,
  186. "darker": $darker
  187. ), $section-colors);
  188. // Links
  189. $link-color: $primary !default;
  190. $link-decoration: none !default;
  191. $link-hover-color: darken($link-color, 15%) !default;
  192. $link-hover-decoration: none !default;
  193. // Grid breakpoints
  194. $grid-breakpoints: (
  195. xs: 0,
  196. sm: 576px,
  197. md: 768px,
  198. lg: 992px,
  199. xl: 1200px
  200. );
  201. @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
  202. @include _assert-starts-at-zero($grid-breakpoints);
  203. // Grid containers
  204. //
  205. // Define the maximum width of `.container` for different screen sizes.
  206. // Spacing
  207. $spacer: 1rem !default;
  208. $spacers: () !default;
  209. $spacers: map-merge((
  210. -9: -($spacer * 10),
  211. -8: -($spacer * 8),
  212. -7: -($spacer * 6),
  213. -6: -($spacer * 4.5),
  214. -5: -($spacer * 3),
  215. -4: -($spacer * 1.5),
  216. -3: -$spacer,
  217. -2: -($spacer * .5),
  218. -1: -($spacer * .25),
  219. 0: 0,
  220. 1: ($spacer * .25),
  221. 2: ($spacer * .5),
  222. 3: $spacer,
  223. 4: ($spacer * 1.5),
  224. 5: ($spacer * 3),
  225. 6: ($spacer * 4.5),
  226. 7: ($spacer * 6),
  227. 8: ($spacer * 8),
  228. 9: ($spacer * 10)
  229. ), $spacers);
  230. // This variable affects the `.h-*` and `.w-*` classes.
  231. $sizes: () !default;
  232. $sizes: map-merge((
  233. 25: 25%,
  234. 50: 50%,
  235. 75: 75%,
  236. 100: 100%
  237. ), $sizes);
  238. // Components
  239. $shape-height-xl: 1.5 !default;
  240. $shape-height-lg: 1.5 !default;
  241. $shape-height-sm: 1.5 !default;
  242. $border-width: 1px !default;
  243. $border-color: $gray-200 !default;
  244. $border-radius: .375rem !default;
  245. $border-radius-xl: .5rem !default;
  246. $border-radius-lg: .4375rem !default;
  247. $border-radius-sm: .25rem !default;
  248. $box-shadow-sm: 0 0 .5rem rgba($gray-600, .075) !default;
  249. $box-shadow: 0 0 2rem 0 rgba($gray-600, .15) !default;
  250. $box-shadow-lg: 0 0 3rem rgba($gray-600, .175) !default;
  251. $component-active-color: $white !default;
  252. $component-active-bg: theme-color("primary") !default;
  253. $component-active-border-color: theme-color("primary") !default;
  254. $component-hover-color: $gray-300 !default;
  255. $component-hover-bg: $gray-300 !default;
  256. $component-hover-border-color: $gray-300 !default;
  257. $caret-width: .3em !default;
  258. $transition-base: all .15s ease !default;
  259. $transition-fade: opacity .15s linear !default;
  260. $transition-collapse: height .35s ease !default;
  261. // Fonts
  262. $font-family-sans-serif: Open Sans, sans-serif !default;
  263. $font-family-base: $font-family-sans-serif !default;
  264. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  265. $font-size-xl: ($font-size-base * 1.5);
  266. $font-size-lg: ($font-size-base * 1.25);
  267. $font-size-sm: ($font-size-base * .875);
  268. $font-size-xs: ($font-size-base * .75);
  269. $font-weight-light: 300 !default;
  270. $font-weight-normal: 400 !default;
  271. $font-weight-bold: 600 !default;
  272. $font-weight-extra-bold: 700 !default;
  273. $font-weight-base: $font-weight-normal !default;
  274. $line-height-base: 1.5 !default;
  275. $shape-height-base: 1.5 !default;
  276. $h1-font-size: $font-size-base * 1.625 !default;
  277. $h2-font-size: $font-size-base * 1.25 !default;
  278. $h3-font-size: $font-size-base * 1.0625 !default;
  279. $h4-font-size: $font-size-base * .9375 !default;
  280. $h5-font-size: $font-size-base * .8125 !default;
  281. $h6-font-size: $font-size-base * .625 !default;
  282. $headings-margin-bottom: ($spacer / 2);
  283. $headings-font-family: inherit !default;
  284. $headings-font-weight: $font-weight-bold !default;
  285. $headings-line-height: 1.5 !default;
  286. $headings-color: $gray-800 !default;
  287. $heading-letter-spacing: .025em !default;
  288. $heading-font-size: .95rem !default;
  289. $heading-text-transform: uppercase !default;
  290. $heading-font-weight: $headings-font-weight !default;
  291. $heading-title-letter-spacing: .025em !default;
  292. $heading-title-font-size: 1.375rem !default;
  293. $heading-title-font-weight: $font-weight-bold !default;
  294. $heading-title-text-transform: uppercase !default;
  295. $heading-section-letter-spacing: .025em !default;
  296. $heading-section-font-size: 1.375rem !default;
  297. $heading-section-font-weight: $font-weight-bold !default;
  298. $heading-section-text-transform: uppercase !default;
  299. $display1-size: 3.3rem !default;
  300. $display2-size: 2.75rem !default;
  301. $display3-size: 2.1875rem !default;
  302. $display4-size: 1.6275rem !default;
  303. $display1-weight: $font-weight-bold !default;
  304. $display2-weight: $font-weight-bold !default;
  305. $display3-weight: $font-weight-bold !default;
  306. $display4-weight: $font-weight-bold !default;
  307. $display-line-height: $headings-line-height !default;
  308. $paragraph-font-size: 1rem !default;
  309. $paragraph-font-weight: 300 !default;
  310. $paragraph-line-height: 1.7 !default;
  311. $lead-font-size: ($paragraph-font-size * 1.25) !default;
  312. $lead-font-weight: 300 !default;
  313. $small-font-size: 80% !default;
  314. $text-muted: $gray-600 !default;
  315. $blockquote-small-color: $gray-600 !default;
  316. $blockquote-font-size: ($font-size-base * 1.25) !default;
  317. $hr-border-color: rgba($black, .1);
  318. $hr-border-width: $border-width !default;
  319. $mark-padding: .2em !default;
  320. $dt-font-weight: $font-weight-bold !default;
  321. $list-inline-padding: .5rem !default;
  322. $mark-bg: #fcf8e3 !default;
  323. $hr-margin-y: $spacer * 2 !default;
  324. // Icons
  325. $icon-size: 3rem !default;
  326. $icon-size-xl: 5rem !default;
  327. $icon-size-lg: 4rem !default;
  328. $icon-size-sm: 2rem !default;
  329. // Tables
  330. $table-cell-padding: 1rem !default;
  331. $table-cell-padding-sm: .5rem !default;
  332. $table-bg: transparent !default;
  333. $table-accent-bg: rgba($black, .05) !default;
  334. $table-hover-bg: $gray-100 !default;
  335. $table-active-bg: $table-hover-bg !default;
  336. $table-border-width: $border-width !default;
  337. $table-border-color: $gray-200 !default;
  338. $table-head-bg: $gray-100 !default;
  339. $table-head-color: $gray-600 !default;
  340. $table-head-spacer-y: .75rem !default;
  341. $table-head-font-size: .65rem !default;
  342. $table-head-font-weight: $font-weight-bold !default;
  343. $table-head-text-transform: uppercase !default;
  344. $table-head-letter-spacing: 1px !default;
  345. $table-body-font-size: .8125rem !default;
  346. $table-dark-bg: theme-color("default") !default;
  347. $table-dark-accent-bg: rgba($white, .05) !default;
  348. $table-dark-hover-bg: rgba($white, .075) !default;
  349. $table-dark-border-color: lighten(theme-color("default"), 7%) !default;
  350. $table-dark-color: $body-bg !default;
  351. $table-dark-head-bg: lighten(theme-color("default"), 4%) !default;
  352. $table-dark-head-color: lighten(theme-color("default"), 35%) !default;
  353. // Buttons + Forms
  354. $input-btn-padding-y: .625rem !default;
  355. $input-btn-padding-x: .75rem !default;
  356. $input-btn-line-height: $shape-height-base !default;
  357. $input-btn-focus-width: 0 !default;
  358. $input-btn-focus-color: rgba($component-active-bg, 1) !default;
  359. $input-btn-focus-box-shadow: none !default;
  360. $input-btn-padding-y-sm: .25rem !default;
  361. $input-btn-padding-x-sm: .5rem !default;
  362. $input-btn-line-height-sm: $shape-height-sm !default;
  363. $input-btn-padding-y-lg: .875rem !default;
  364. $input-btn-padding-x-lg: 1rem !default;
  365. $input-btn-line-height-lg: $shape-height-lg !default;
  366. $input-btn-border-width: 1px !default;
  367. $input-btn-font-size-sm: .75rem !default;
  368. $input-btn-font-size: .875rem !default;
  369. $input-btn-font-size-lg: .875rem !default;
  370. // Buttons
  371. $btn-padding-y: $input-btn-padding-y !default;
  372. $btn-padding-x: $input-btn-padding-x + 0.5 !default;
  373. $btn-line-height: $input-btn-line-height !default;
  374. $btn-padding-y-sm: $input-btn-padding-y-sm !default;
  375. $btn-padding-x-sm: $input-btn-padding-x-sm !default;
  376. $btn-line-height-sm: $input-btn-line-height-sm !default;
  377. $btn-padding-y-lg: $input-btn-padding-y-lg !default;
  378. $btn-padding-x-lg: $input-btn-padding-x-lg !default;
  379. $btn-line-height-lg: $input-btn-line-height-lg !default;
  380. $btn-border-width: $input-btn-border-width !default;
  381. $btn-font-weight: 600 !default;
  382. $btn-text-transform: none !default;
  383. $btn-letter-spacing: .025em !default;
  384. $btn-box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08) !default;
  385. $btn-hover-box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08) !default;
  386. $btn-focus-box-shadow: $btn-hover-box-shadow !default;
  387. $btn-focus-width: $input-btn-focus-width !default;
  388. $btn-active-box-shadow: none !default;
  389. $btn-hover-translate-y: -1px !default;
  390. // Forms
  391. $input-padding-y: $input-btn-padding-y !default;
  392. $input-padding-x: $input-btn-padding-x !default;
  393. $input-line-height: $input-btn-line-height !default;
  394. $input-padding-y-sm: $input-btn-padding-y-sm !default;
  395. $input-padding-x-sm: $input-btn-padding-x-sm !default;
  396. $input-line-height-sm: $input-btn-line-height-sm !default;
  397. $input-padding-y-lg: $input-btn-padding-y-lg !default;
  398. $input-padding-x-lg: $input-btn-padding-x-lg !default;
  399. $input-line-height-lg: $input-btn-line-height-lg !default;
  400. $input-border-radius: $border-radius !default;
  401. $input-border-radius-xl: $border-radius-xl !default;
  402. $input-border-radius-lg: $border-radius-lg !default;
  403. $input-border-radius-sm: $border-radius-sm !default;
  404. $input-bg: $white !default;
  405. $input-disabled-bg: $gray-200 !default;
  406. $input-muted-bg: #F7FAFE !default;
  407. $input-focus-muted-bg: lighten($input-muted-bg, 1%) !default;
  408. $input-alternative-box-shadow: 0 1px 3px rgba(50,50,93,.15), 0 1px 0 rgba(0,0,0,.02) !default;
  409. $input-focus-alternative-box-shadow: 0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08) !default;
  410. $input-color: $gray-600 !default;
  411. $input-border-color: #cad1d7 !default;
  412. $input-border-width: $input-btn-border-width !default;
  413. $input-box-shadow: none !default; // 0 1px 3px 0 $gray-400 !default;
  414. $input-focus-bg: $white !default;
  415. $input-focus-border-color: rgba(50,151,211,.25) !default;
  416. $input-focus-color: $input-color !default;
  417. $input-focus-width: 0 !default;
  418. $input-focus-box-shadow: none !default; //0 1px 3px 0 $gray-500 !default;
  419. $input-placeholder-color: $gray-500 !default;
  420. $input-focus-placeholder-color: $gray-500 !default;
  421. $input-height-border: $input-border-width * 2 !default;
  422. $input-transition: all .2s cubic-bezier(0.68, -0.55, 0.265, 1.55) !default;
  423. // Input groups
  424. $input-group-addon-color: $input-placeholder-color !default;
  425. $input-group-addon-bg: $input-bg !default;
  426. $input-group-addon-border-color: $input-border-color !default;
  427. $input-group-addon-focus-color: $input-focus-color !default;
  428. $input-group-addon-focus-bg: $input-focus-bg !default;
  429. $input-group-addon-focus-border-color: $input-focus-border-color !default;
  430. // Form group
  431. $form-group-margin-bottom: 1.5rem !default;
  432. // Custom forms
  433. $custom-control-gutter: 1.75rem !default;
  434. $custom-control-spacer-x: 1rem !default;
  435. $custom-control-indicator-size: 1.25rem !default;
  436. $custom-control-indicator-bg: $input-bg !default;
  437. $custom-control-indicator-border-width: 1px !default;
  438. $custom-control-indicator-border-color: $input-border-color !default;
  439. $custom-control-indicator-box-shadow: none !default;
  440. $custom-control-indicator-focus-box-shadow: $custom-control-indicator-box-shadow !default;
  441. $custom-control-indicator-hover-color: $component-hover-color !default;
  442. $custom-control-indicator-hover-bg: $component-hover-bg !default;
  443. $custom-control-indicator-hover-border-color: $component-hover-border-color !default;
  444. $custom-control-indicator-active-color: $component-active-color !default;
  445. $custom-control-indicator-active-bg: $component-active-bg !default;
  446. $custom-control-indicator-active-border-color: $component-active-border-color !default;
  447. $custom-control-indicator-active-box-shadow: $custom-control-indicator-box-shadow !default;
  448. $custom-control-indicator-checked-color: $component-active-color !default;
  449. $custom-control-indicator-checked-bg: $component-active-bg !default;
  450. $custom-control-indicator-checked-border-color: $component-active-border-color !default;
  451. $custom-control-indicator-checked-box-shadow: $custom-control-indicator-box-shadow !default;
  452. $custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
  453. $custom-control-indicator-disabled-bg: $gray-200 !default;
  454. $custom-control-label-disabled-color: $gray-600 !default;
  455. $custom-checkbox-indicator-border-radius: $border-radius-sm !default;
  456. //$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml !default;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' 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;
  457. // Custom toggle
  458. $custom-toggle-width: 50px !default;
  459. $custom-toggle-slider-bg: $gray-200 !default;
  460. $custom-toggle-checked-bg: theme-color("primary") !default;
  461. // Form validation
  462. $form-feedback-valid-bg: lighten($success, 15%) !default;
  463. $form-feedback-valid-color: theme-color("success") !default;
  464. $form-feedback-invalid-bg: lighten($warning, 15%) !default;
  465. $form-feedback-invalid-color: theme-color("warning") !default;
  466. // Allows for customizing button radius independently from global border radius
  467. $btn-border-radius: $input-border-radius !default;
  468. $btn-border-radius-xl: $input-border-radius-xl !default;
  469. $btn-border-radius-lg: $input-border-radius-lg !default;
  470. $btn-border-radius-sm: $input-border-radius !default;
  471. $chart-height: 350px !default;
  472. $chart-height-sm: 230px !default;
  473. $chart-legend-margin-top: 2.5rem !default;
  474. $chart-legend-font-size: $font-size-sm !default;
  475. $chart-legend-color: $text-muted !default;
  476. $chart-legend-height: $chart-legend-margin-top + $chart-legend-font-size * $line-height-base !default;
  477. // Map
  478. $map-height: 500px !default;
  479. // No UI Slider
  480. $noui-target-bg: #eceeef !default;
  481. $noui-target-thickness: 5px !default;
  482. $noui-target-border-radius: 5px !default;
  483. $noui-target-border-color: 0 !default;
  484. $noui-target-box-shadow: inset 0 1px 2px rgba(90,97,105,.1) !default;
  485. $noui-slider-connect-bg: $primary !default;
  486. $noui-slider-connect-disabled-bg: #b2b2b2 !default;
  487. $noui-handle-width: 15px !default;
  488. $noui-handle-bg: theme-color("primary") !default;
  489. $noui-handle-border: 0 !default;
  490. $noui-handle-border-radius: 100% !default;
  491. $noui-origin-border-radius: 2px !default;
  492. // Dropdown
  493. $dropdown-bg: $white !default;
  494. $dropdown-border-width: 0 !default;
  495. $dropdown-border-color: rgba($black, .15) !default;
  496. $dropdown-border-radius: $border-radius-lg !default;
  497. $dropdown-box-shadow: 0 50px 100px rgba(50, 50, 93, .1), 0 15px 35px rgba(50, 50, 93, .15), 0 5px 15px rgba(0, 0, 0, .1) !default;
  498. // Navs
  499. $nav-link-padding-y: .25rem !default;
  500. $nav-link-padding-x: .75rem !default;
  501. $nav-link-color: $gray-700 !default;
  502. $nav-link-hover-color: theme-color("primary") !default;
  503. $nav-link-disabled-color: $gray-600 !default;
  504. $nav-pills-padding-y: .75rem !default;
  505. $nav-pills-padding-x: 1rem !default;
  506. $nav-pills-space-x: 1rem !default;
  507. $nav-pills-bg: $white !default;
  508. $nav-pills-border-width: 1px !default;
  509. $nav-pills-border-color: theme-color("primary") !default;
  510. $nav-pills-border-radius: $border-radius !default;
  511. $nav-pills-link-color: theme-color("primary") !default;
  512. $nav-pills-link-hover-color: darken(theme-color("primary"), 5%) !default;
  513. $nav-pills-link-active-color: color-yiq(theme-color("primary")) !default;
  514. $nav-pills-link-active-bg: theme-color("primary") !default;
  515. $nav-pills-box-shadow: $btn-box-shadow !default;
  516. // Navbar
  517. $navbar-transition: all .15s linear !default;
  518. $navbar-padding-y: 1rem !default;
  519. $navbar-padding-x: 1rem !default;
  520. $navbar-nav-link-padding-x: 1rem !default;
  521. $navbar-nav-link-padding-y: 1rem !default;
  522. $navbar-nav-link-font-size: .9rem !default;
  523. $navbar-nav-link-font-weight: 400 !default;
  524. $navbar-nav-link-text-transform: normal !default;
  525. $navbar-nav-link-letter-spacing: 0 !default;
  526. $navbar-nav-link-border-radius: $border-radius !default;
  527. $navbar-search-width: 270px !default;
  528. $navbar-search-bg: transparent !default;
  529. $navbar-search-border-radius: 2rem !default;
  530. $navbar-search-border-width: 2px !default;
  531. $navbar-dark-bg: transparent !default;
  532. $navbar-dark-hover-bg: rgba(255, 255, 255, .1) !default;
  533. $navbar-dark-active-bg: rgba(255, 255, 255, .1) !default;
  534. $navbar-dark-color: rgba($white, .95) !default;
  535. $navbar-dark-hover-color: rgba($white, .65) !default;
  536. $navbar-dark-active-color: rgba($white, .65) !default;
  537. $navbar-dark-disabled-color: rgba($white, .25) !default;
  538. $navbar-dark-toggler-border-color: transparent !default;
  539. $navbar-search-dark-border-color: rgba(255, 255, 255, .6) !default;
  540. $navbar-search-dark-color: rgba(255, 255, 255, .6) !default;
  541. $navbar-search-dark-focus-border-color: rgba(255, 255, 255, .9) !default;
  542. $navbar-search-dark-focus-color: rgba(255, 255, 255, .9) !default;
  543. $navbar-light-bg: transparent !default;
  544. $navbar-light-hover-bg: rgba(0, 0, 0, .1) !default;
  545. $navbar-light-active-bg: rgba(0, 0, 0, .1) !default;
  546. $navbar-light-border-color: $gray-100 !default;
  547. $navbar-light-color: rgba($black, .5) !default;
  548. $navbar-light-hover-color: rgba($black, .7) !default;
  549. $navbar-light-active-color: rgba($black, .9) !default;
  550. $navbar-light-disabled-color: rgba($black, .3) !default;
  551. $navbar-light-toggler-border-color: transparent !default;
  552. $navbar-search-light-border-color: rgba(0, 0, 0, .6) !default;
  553. $navbar-search-light-color: rgba(0, 0, 0, .6) !default;
  554. $navbar-search-light-focus-border-color: rgba(0, 0, 0, .9) !default;
  555. $navbar-search-light-focus-color: rgba(0, 0, 0, .9) !default;
  556. // Vertical navbar
  557. $navbar-vertical-box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15) !important;
  558. $navbar-vertical-width: 250px !default;
  559. $navbar-vertical-padding-x: 1.5rem !default;
  560. $navbar-vertical-nav-link-padding-x: 1.5rem !default;
  561. $navbar-vertical-nav-link-padding-y: .65rem !default;
  562. $navbar-icon-min-width: 2.25rem !default;
  563. $navbar-breadcrumb-padding-y: $nav-link-padding-y !default;
  564. $navbar-breadcrumb-padding-x: 0 !default;
  565. $navbar-light-bg: $white !default;
  566. $navbar-light-border-color: $border-color !default;
  567. // Main content
  568. $main-content-padding-y: 40px !default;
  569. $main-content-padding-x: 24px !default; // in px to combine with $grid-gutter-width
  570. // Alerts
  571. $alert-padding-y: 1rem !default;
  572. $alert-padding-x: 1.5rem !default;
  573. $alert-border-radius: $border-radius !default;
  574. $alert-bg-level: -2 !default;
  575. $alert-border-level: -2 !default;
  576. $alert-color-level: 0 !default;
  577. // List group
  578. $list-group-bg: $white !default;
  579. $list-group-border-color: $border-color !default; //rgba($black, .125);
  580. $list-group-border-width: $border-width !default;
  581. $list-group-border-radius: $border-radius !default;
  582. $list-group-item-padding-y: 1rem !default;
  583. $list-group-item-padding-x: 1rem !default;
  584. $list-group-hover-bg: $gray-100 !default;
  585. $list-group-active-color: $component-active-color !default;
  586. $list-group-active-bg: $component-active-bg !default;
  587. $list-group-active-border-color: $list-group-active-bg !default;
  588. $list-group-disabled-color: $gray-600 !default;
  589. $list-group-disabled-bg: $list-group-bg !default;
  590. $list-group-action-color: $gray-700 !default;
  591. $list-group-action-hover-color: $list-group-action-color !default;
  592. $list-group-action-active-color: $list-group-action-color !default;
  593. $list-group-action-active-bg: $gray-200 !default;
  594. // Close
  595. $close-font-size: $font-size-base * 1.5 !default;
  596. $close-font-weight: $font-weight-bold !default;
  597. $close-bg: transparent !default;
  598. $close-hover-bg: transparent !default;
  599. $close-color: rgba(0, 0, 0, .6) !default !default;
  600. $close-hover-color: rgba(0, 0, 0, .9) !default;
  601. $close-text-shadow: none !default;
  602. // Popovers
  603. $popover-font-size: $font-size-sm !default;
  604. $popover-bg: $white !default;
  605. $popover-max-width: 276px !default;
  606. $popover-border-width: 1px !default;
  607. $popover-border-color: rgba($black, .05) !default;
  608. $popover-border-radius: $border-radius-lg !default;
  609. $popover-box-shadow: 0px .5rem 2rem 0px rgba($black, .2) !default;
  610. $popover-header-bg: $popover-bg !default;
  611. $popover-header-color: $headings-color !default;
  612. $popover-header-padding-y: .5rem !default;
  613. $popover-header-padding-x: .95rem !default;
  614. $popover-body-color: $body-color !default;
  615. $popover-body-padding-y: $popover-header-padding-y !default;
  616. $popover-body-padding-x: $popover-header-padding-x !default;
  617. $popover-arrow-width: 1.5rem !default;
  618. $popover-arrow-height: .75rem !default;
  619. $popover-arrow-color: $popover-bg !default;
  620. $popover-arrow-outer-color: transparent !default;
  621. // Badges
  622. $badge-font-size: 66% !default;
  623. $badge-font-weight: $font-weight-bold !default;
  624. $badge-padding-y: .35rem !default;
  625. $badge-padding-x: .375rem !default;
  626. $badge-border-radius: $border-radius !default;
  627. $badge-text-transfom: uppercase;
  628. $badge-pill-padding-x: .875em !default;
  629. $badge-pill-border-radius: 10rem !default;
  630. $badge-circle-size: 2rem !default;
  631. // Pagination
  632. // $pagination-padding-y: .5rem !default;
  633. // $pagination-padding-x: .75rem !default;
  634. // $pagination-padding-y-sm: .25rem !default;
  635. // $pagination-padding-x-sm: .5rem !default;
  636. // $pagination-padding-y-lg: .75rem !default;
  637. // $pagination-padding-x-lg: 1.5rem !default;
  638. // $pagination-line-height: 1.25 !default;
  639. $pagination-color: $gray-600 !default;
  640. $pagination-bg: $white !default;
  641. $pagination-border-width: $border-width !default;
  642. $pagination-border-color: $gray-300 !default;
  643. //$pagination-focus-box-shadow: $btn-hover-box-shadow !default;
  644. $pagination-hover-color: $gray-600 !default;
  645. $pagination-hover-bg: $gray-300 !default;
  646. $pagination-hover-border-color: $gray-300 !default;
  647. $pagination-active-color: $component-active-color !default;
  648. $pagination-active-bg: $component-active-bg !default;
  649. $pagination-active-border-color: $pagination-active-bg !default;
  650. $pagination-active-box-shadow: $btn-hover-box-shadow !default;
  651. $pagination-disabled-color: $gray-600 !default;
  652. $pagination-disabled-bg: $white !default;
  653. $pagination-disabled-border-color: $gray-300 !default;
  654. // Cards
  655. $card-spacer-y: 1.25rem !default;
  656. $card-spacer-x: 1.5rem !default;
  657. $card-border-width: $border-width !default;
  658. $card-border-radius: $border-radius !default;
  659. $card-border-color: rgba($black, .05) !default;
  660. $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
  661. $card-cap-bg: $white !default;
  662. $card-bg: $white !default;
  663. $card-img-overlay-padding: 1.25rem !default;
  664. //$card-group-margin: ($grid-gutter-width / 2);
  665. //$card-deck-margin: $card-group-margin !default;
  666. $card-columns-count: 3 !default;
  667. $card-columns-gap: 1.25rem !default;
  668. $card-columns-margin: $card-spacer-y !default;
  669. // Tooltips
  670. $tooltip-font-size: $font-size-sm !default;
  671. // Modals
  672. $modal-inner-padding: 1.5rem !default;
  673. $modal-lg: 800px !default;
  674. $modal-md: 500px !default;
  675. $modal-sm: 380px !default;
  676. $modal-title-line-height: 1.1;
  677. $modal-content-bg: $white !default;
  678. $modal-content-border-color: rgba($black, .2) !default;
  679. $modal-content-border-width: 0 !default;
  680. $modal-content-border-radius: $border-radius-lg !default;
  681. $modal-content-box-shadow-xs: 0 15px 35px rgba(50,50,93,.2), 0 5px 15px rgba(0,0,0,.17);
  682. $modal-content-box-shadow-sm-up: 0 15px 35px rgba(50,50,93,.2), 0 5px 15px rgba(0,0,0,.17);
  683. $modal-backdrop-bg: $black !default;
  684. $modal-backdrop-opacity: .16 !default;
  685. $modal-header-border-color: $gray-200 !default;
  686. $modal-footer-border-color: $modal-header-border-color !default;
  687. $modal-header-border-width: $modal-content-border-width !default;
  688. $modal-footer-border-width: $modal-header-border-width !default;
  689. $modal-header-padding: 1.25rem !default;
  690. // Datepicker
  691. $datepicker-border-radius: $card-border-radius !default;
  692. $datepicker-dropdown-padding: 20px 22px !default;
  693. $datepicker-cell-transition: $transition-base !default;
  694. $datepicker-cell-hover-background: lighten($gray-400, 55%);
  695. $datepicker-cell-border-radius: 50% !default;
  696. $datepicker-cell-width: 36px !default;
  697. $datepicker-cell-height: 36px !default;
  698. $datepicker-disabled-cell-color: $gray-300 !default;
  699. $datepicker-disabled-old-new-color: $gray-500 !default;
  700. $datepicker-header-cell-border-radius: $border-radius !default;
  701. $datepicker-active-color: $white !default;
  702. $datepicker-active-background: theme-color("primary") !default;
  703. $datepicker-active-box-shadow: none !default;
  704. $datepicker-range-background: theme-color("primary") !default;
  705. $datepicker-range-cell-focused-background: darken($datepicker-range-background, 5%);
  706. $datepicker-range-color: $white !default;
  707. $datepicker-range-highlighted-bg: $gray-200 !default;
  708. $datepicker-dropdown-border: lighten($gray-400, 40%);
  709. $datepicker-dropdown-bg: $white !default;
  710. $datepicker-highlighted-bg: $datepicker-active-background !default;
  711. // Footer
  712. $footer-padding-y: 2.5rem;
  713. $footer-padding-x: 0;
  714. $footer-link-font-size: .85rem !default;
  715. $footer-bg: theme-color("secondary") !default;
  716. $footer-color: $gray-600 !default;
  717. $footer-link-color: $gray-600 !default;
  718. $footer-link-hover-color: $gray-700 !default;
  719. $footer-heading-color: $gray-600 !default;
  720. $footer-heading-font-size: $font-size-sm !default;
  721. // Import Bootstrap variable defaults
  722. @import "../bootstrap/variables";