_variables.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. // TODO: activate (https://redmine.weseek.co.jp/issues/128307)
  2. // Variables
  3. //
  4. // Variables should follow the `$component-state-property-size` formula for
  5. // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
  6. // Color system
  7. $success: #4a9017 !default;
  8. $info: #4689aa !default;
  9. $warning: #c99818 !default;
  10. $danger: #de4d4d !default;
  11. $success-text-emphasis: mix($gray-900, $success, 30%) !default;
  12. $info-text-emphasis: mix($gray-900, $info, 30%) !default;
  13. $warning-text-emphasis: mix($gray-900, $warning, 30%) !default;
  14. $danger-text-emphasis: mix($gray-900, $danger, 30%) !default;
  15. $success-bg-subtle: mix(#fff, $success, 90%) !default;
  16. $info-bg-subtle: mix(#fff, $info, 90%) !default;
  17. $warning-bg-subtle: mix(#fff, $warning, 90%) !default;
  18. $danger-bg-subtle: mix(#fff, $danger, 90%) !default;
  19. $success-border-subtle: mix(#fff, $success, 70%) !default;
  20. $info-border-subtle: mix(#fff, $info, 70%) !default;
  21. $warning-border-subtle: mix(#fff, $warning, 70%) !default;
  22. $danger-border-subtle: mix(#fff, $danger, 70%) !default;
  23. // Options
  24. //
  25. // Quickly modify global styling by enabling or disabling optional features.
  26. // $enable-shadows: true;
  27. // Links
  28. //
  29. // Style anchor elements.
  30. $link-decoration: none;
  31. // Grid breakpoints
  32. //
  33. // Define the minimum dimensions at which your layout will change,
  34. // adapting to different screen sizes, for use in media queries.
  35. // $grid-breakpoints: (
  36. // xs: 0,
  37. // sm: 576px,
  38. // md: 768px,
  39. // lg: 992px,
  40. // xl: 1200px,
  41. // xxl: 1480px,
  42. // );
  43. // Grid containers
  44. //
  45. // Define the maximum width of `.container` for different screen sizes.
  46. // $container-max-widths: (
  47. // sm: 540px,
  48. // md: 720px,
  49. // lg: 960px,
  50. // xl: 1140px,
  51. // xxl: 1320px,
  52. // );
  53. //== Typography
  54. //
  55. //## Font, line-height, and color for body text, headings, and more.
  56. $font-family-sans-serif: var(--font-family-sans-serif);
  57. $font-family-serif: var(--font-family-serif);
  58. $font-family-monospace: var(--font-family-monospace);
  59. $font-family-base: $font-family-sans-serif;
  60. // $font-size-base: 0.875rem; // 16px -> 14px
  61. // $line-height-base: 1.42857;
  62. // $blockquote-footer-color: $gray-500;
  63. //== Components
  64. //
  65. // $border-radius: 4px;
  66. // $border-radius-sm: 0;
  67. // $border-radius-lg: 8px;
  68. // Buttons
  69. //
  70. // For each of Bootstrap's buttons, define text, background, and border color.
  71. // $btn-focus-box-shadow: none;
  72. // $btn-active-box-shadow: none;
  73. //== Forms
  74. //
  75. // $input-border-color: $gray-300;
  76. // $input-placeholder-color: $gray-500;
  77. // $form-check-indicator-border-color: $gray-400;
  78. // $form-check-label-disabled-color: $gray-500;
  79. // $form-select-disabled-color: $gray-500;
  80. // $form-range-thumb-disabled-bg: $gray-400;
  81. //== Navs
  82. // $nav-link-padding-y: 0.75rem;
  83. // $nav-link-padding-x: 1rem;
  84. // $nav-link-disabled-color: $gray-500;
  85. //== Navbar
  86. // $navbar-padding-y: 0;
  87. // $navbar-brand-padding-y: 0;
  88. // $navbar-nav-link-padding-x: 1rem;
  89. //== Dropdowns
  90. // $dropdown-border-radius: $border-radius-lg;
  91. // $dropdown-link-disabled-color: $gray-500;
  92. // $dropdown-header-color: $gray-500;
  93. // $dropdown-box-shadow: 0 0.5rem 0.7rem rgba(black, 0.1);
  94. //== Popovers
  95. // $popover-border-radius: $border-radius;
  96. // $popover-box-shadow: 0 0.5rem 0.7rem rgba(black, 0.1);
  97. //== Pagination
  98. // $pagination-disabled-color: $gray-500;
  99. //== Cards
  100. // $card-spacer-y: 7px;
  101. // $card-spacer-x: 15px;
  102. //== Toasts
  103. // $toast-header-color: $gray-500;
  104. //== Modals
  105. // $modal-content-border-width: 0;
  106. // $modal-content-border-radius: $border-radius-lg;
  107. // $modal-header-padding-y: 0.75rem;
  108. // $modal-header-padding-x: 1rem;
  109. $modal-footer-border-width: 0;
  110. //== Alerts
  111. // $alert-bg-level: -2;
  112. // $alert-border-level: 0;
  113. // $alert-color-level: -10;
  114. //== Progress bar
  115. // $progress-height: 4px;
  116. // $progress-bg: $gray-100;
  117. // $progress-box-shadow: none;
  118. //== List group
  119. // $list-group-disabled-color: $gray-500;
  120. //== Figures
  121. // $figure-caption-color: $gray-500;
  122. //== Breadcrumbs
  123. // $breadcrumb-divider-color: $gray-500;
  124. // $breadcrumb-active-color: $gray-500;
  125. //== Code
  126. $pre-color: dummyinvalildcolor; // disable pre color specification with invalid value
  127. //== Custom Checkbox
  128. // $form-check-indicator-border-radius: 0px;
  129. // $form-check-indicator-focus-box-shadow: none;
  130. // $form-check-indicator-size: 1.2rem;