_variables.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. @use '../variables';
  2. //
  3. // Variables
  4. // --------------------------------------------------
  5. //== Colors
  6. //
  7. $primary: variables.$growi-blue !default;
  8. $secondary: #6c757d !default;
  9. $info: #009fbb !default;
  10. $success: #00bb83 !default;
  11. $warning: #ffa32b !default;
  12. $danger: #ff0a54 !default;
  13. $light: #e4e7ea !default;
  14. $dark: #343a40 !default;
  15. $gray-50: lighten($light, 7%) !default;
  16. $gray-100: lighten($light, 4%) !default;
  17. $gray-200: $light !default;
  18. $gray-300: darken($light, 5%) !default;
  19. $gray-400: darken($light, 20%) !default;
  20. $gray-500: darken($light, 30%) !default;
  21. $gray-550: lighten($dark, 15%) !default;
  22. $gray-600: lighten($dark, 10%) !default;
  23. $gray-700: lighten($dark, 5%) !default;
  24. $gray-800: $dark !default;
  25. $gray-900: darken($dark, 5%) !default;
  26. $grays: (
  27. '50': $gray-50,
  28. ) !default;
  29. $red: #ff0a54 !default;
  30. // Options
  31. //
  32. // Quickly modify global styling by enabling or disabling optional features.
  33. $enable-shadows: true;
  34. // Links
  35. //
  36. // Style anchor elements.
  37. $link-hover-decoration: none !default;
  38. // Grid breakpoints
  39. //
  40. // Define the minimum dimensions at which your layout will change,
  41. // adapting to different screen sizes, for use in media queries.
  42. $grid-breakpoints: (
  43. xs: 0,
  44. sm: 576px,
  45. md: 768px,
  46. lg: 992px,
  47. xl: 1200px,
  48. xxl: 1480px,
  49. );
  50. // Grid containers
  51. //
  52. // Define the maximum width of `.container` for different screen sizes.
  53. $container-max-widths: (
  54. sm: 540px,
  55. md: 720px,
  56. lg: 960px,
  57. xl: 1140px,
  58. xxl: 1320px,
  59. );
  60. //== Typography
  61. //
  62. //## Font, line-height, and color for body text, headings, and more.
  63. $font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  64. $font-family-serif: Georgia, 'Times New Roman', Times, serif;
  65. $font-family-monospace: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
  66. $font-family-base: $font-family-sans-serif;
  67. $font-size-base: 0.875rem; // 16px -> 14px
  68. $line-height-base: 1.42857;
  69. $blockquote-small-color: $gray-500;
  70. //== Components
  71. //
  72. $border-radius: 4px;
  73. $border-radius-sm: 0;
  74. $border-radius-lg: 8px;
  75. // Buttons
  76. //
  77. // For each of Bootstrap's buttons, define text, background, and border color.
  78. $btn-link-disabled-color: $gray-500;
  79. $btn-focus-box-shadow: none;
  80. $btn-active-box-shadow: none;
  81. //== Forms
  82. //
  83. $input-border-color: $gray-300;
  84. $input-placeholder-color: $gray-500;
  85. $custom-control-indicator-border-color: $gray-400;
  86. $custom-control-label-disabled-color: $gray-500;
  87. $custom-select-disabled-color: $gray-500;
  88. $custom-range-thumb-disabled-bg: $gray-400;
  89. //== Navs
  90. $nav-link-padding-y: 0.75rem;
  91. $nav-link-padding-x: 1rem;
  92. $nav-link-disabled-color: $gray-500;
  93. //== Navbar
  94. $navbar-padding-y: 0;
  95. $navbar-brand-padding-y: 0;
  96. $navbar-nav-link-padding-x: 1rem;
  97. //== Dropdowns
  98. $dropdown-border-radius: $border-radius-lg;
  99. $dropdown-link-disabled-color: $gray-500;
  100. $dropdown-header-color: $gray-500;
  101. $dropdown-box-shadow: 0 0.5rem 0.7rem rgba(black, 0.1);
  102. //== Popovers
  103. $popover-border-radius: $border-radius;
  104. $popover-box-shadow: 0 0.5rem 0.7rem rgba(black, 0.1);
  105. //== Pagination
  106. $pagination-disabled-color: $gray-500;
  107. //== Cards
  108. $card-spacer-y: 7px;
  109. $card-spacer-x: 15px;
  110. //== Toasts
  111. $toast-header-color: $gray-500;
  112. //== Modals
  113. $modal-content-border-width: 0;
  114. $modal-content-border-radius: $border-radius-lg;
  115. $modal-header-padding-y: 0.75rem;
  116. $modal-header-padding-x: 1rem;
  117. //== Alerts
  118. $alert-bg-level: -2;
  119. $alert-border-level: 0;
  120. $alert-color-level: -10;
  121. //== Progress bar
  122. $progress-height: 4px;
  123. $progress-bg: $gray-100;
  124. $progress-box-shadow: none;
  125. //== List group
  126. $list-group-disabled-color: $gray-500;
  127. //== Figures
  128. $figure-caption-color: $gray-500;
  129. //== Breadcrumbs
  130. $breadcrumb-divider-color: $gray-500;
  131. $breadcrumb-active-color: $gray-500;
  132. //== Code
  133. $pre-color: dummyinvalildcolor; // disable pre color specification with invalid value
  134. //== Custom Checkbox
  135. $custom-checkbox-indicator-border-radius: 0px;
  136. $custom-control-indicator-focus-box-shadow: none;
  137. $custom-control-indicator-size: 1.2rem;