_variables.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. $gray-900: #1b1b1b;
  2. $black: #000;
  3. // Texte de départ (id: 9) WHITE
  4. $white: #fff;
  5. // Texte critique (id: 22) ORANGE
  6. $orange: #ffba7d;
  7. // Constellation en écho (id: 63) PURPLE
  8. $purple: #db7dff;
  9. // Réflexion théorique (id: 6) YELLOW
  10. $yellow: #ffe87d;
  11. // Lecture rapprochée (id: 7) BLUE
  12. $blue: #9191ff;
  13. // Expérience sensible (id: 8) BROWN
  14. $brown: #cdae87;
  15. // Kit de désapprentissage (id: 23) RED
  16. $red: #ff775f;
  17. // Créations numériques (id: ???) GREEN
  18. $green: #98ff98;
  19. $colors: (
  20. 'black': $black,
  21. 'white': $white,
  22. 'orange': $orange,
  23. 'purple': $purple,
  24. 'yellow': $yellow,
  25. 'blue': $blue,
  26. 'brown': $brown,
  27. 'red': $red,
  28. 'green': $green,
  29. );
  30. $dark: $gray-900;
  31. $light: $white;
  32. $theme-colors: (
  33. 'depart': $white,
  34. 'critique': $orange,
  35. 'echo': $purple,
  36. 'reflexion': $yellow,
  37. 'lecture': $blue,
  38. 'sensible': $brown,
  39. 'kit': $red,
  40. 'creation': $green
  41. );
  42. $yiq-contrasted-threshold: 120;
  43. $grid-breakpoints: (
  44. xs: 0,
  45. sm: 576px,
  46. tb: 769px,
  47. md: 1024px,
  48. lg: 1200px,
  49. xl: 1440px,
  50. xxl: 1920px,
  51. );
  52. $layout-bp: md;
  53. $layout-bp-down: tb;
  54. $size-bp: tb;
  55. $size-bp-down: sm;
  56. // Body
  57. $body-bg: #fffcfb;
  58. $body-color: $black;
  59. // Links
  60. $link-color: $black;
  61. $link-decoration: underline;
  62. // Borders
  63. $border-width: 2px;
  64. $border-color: $black;
  65. $border-radius: 0;
  66. $border-radius-lg: 0;
  67. $border-radius-sm: 0;
  68. // Font
  69. $font-family-sans-serif: 'Noto Sans';
  70. $font-family-text: 'Redaction'; // custom
  71. $font-size-base: 1rem;
  72. $font-size-base-em: 1em;
  73. $font-size-sm: $font-size-base * .9;
  74. $line-height-base: 1.5;
  75. $line-height-lg: $line-height-base;
  76. $line-height-sm: $line-height-base;
  77. // Headings
  78. $headings-font-weight: 700;
  79. $headings-line-height: $line-height-base;
  80. $h1-font-size: $font-size-base-em * 2.5;
  81. $h2-font-size: $font-size-base-em * 2;
  82. $h3-font-size: $font-size-base-em * 1.75;
  83. $h4-font-size: $font-size-base-em * 1.5;
  84. $h5-font-size: $font-size-base-em * 1.25;
  85. $h6-font-size: $font-size-base-em;
  86. // Buttons
  87. $input-btn-padding-y: 0;
  88. $input-btn-padding-x: .5rem;
  89. $input-btn-font-family: null;
  90. $input-btn-line-height: 1.25;
  91. $input-btn-focus-width: 0;
  92. $input-btn-padding-y-sm: 0;
  93. $input-btn-padding-x-sm: .5rem;
  94. $input-btn-font-size-sm: $font-size-sm;
  95. $input-btn-line-height-sm: 1;
  96. $input-btn-border-width: 2px;
  97. // Dropdowns
  98. $dropdown-border-color: $border-color;
  99. $dropdown-link-hover-bg: #efebe9;
  100. $dropdown-link-active-color: $white;
  101. $dropdown-link-active-bg: $dark;
  102. // Cards
  103. $card-spacer-y: .75rem;
  104. $card-spacer-x: .75rem;
  105. $card-border-width: 0;
  106. // $card-border-color: $black;
  107. // List group
  108. $list-group-border-width: 0;
  109. $list-group-item-padding-y: 5px;
  110. $list-group-item-padding-x: 18px;
  111. // INPUT RANGE
  112. $custom-range-track-height: .1875rem;
  113. $custom-range-track-bg: $black;
  114. $custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1);
  115. $custom-range-thumb-width: 1.25rem;
  116. $custom-range-thumb-bg: $white;
  117. $custom-range-thumb-border: 3px solid $black;
  118. $custom-range-thumb-border-radius: 1rem;
  119. $custom-range-thumb-active-bg: $black;
  120. // SPINNER
  121. $spinner-width: 50px;
  122. // POPOVERS
  123. $popover-font-size: $font-size-base;
  124. $popover-bg: $white;
  125. $popover-max-width: 450px;
  126. $popover-border-width: 0;
  127. $popover-box-shadow: null;
  128. $popover-body-color: $white;
  129. $popover-body-padding-y: 18px;
  130. $popover-body-padding-x: 18px;
  131. $popover-arrow-width: 2rem;
  132. $popover-arrow-height: 2rem;
  133. $popover-arrow-outer-color: null;
  134. // ╭─╴╷ ╷╭─╴╶┬╴╭─╮╭╮╮
  135. // │ │ │╰─╮ │ │ ││││
  136. // ╰─╴╰─╯╶─╯ ╵ ╰─╯╵╵╵
  137. // HEADER
  138. $header-spacer-sm: 18px;
  139. $header-spacer: 30px;
  140. $header-height: 86px;
  141. // NODEVIEW
  142. $node-view-spacer-sm-x: 18px;
  143. $node-view-spacer-sm-y: 18px;
  144. $node-view-spacer-x: 30px;
  145. $node-view-spacer-y: 25px;
  146. $node-card-spacer-sm-x: 8px;
  147. $node-card-spacer-sm-y: 8px;
  148. $node-card-spacer-x: 15px;
  149. $node-card-spacer-y: 10px;
  150. $node-card-width: 560px;
  151. $node-card-height: 350px;
  152. $node-card-width-sm: $node-card-width / 1.5;
  153. $node-card-height-sm: $node-card-height / 1.5;
  154. // MISC
  155. $btn-size: 26px;
  156. $line: $border-width solid $black;
  157. @import '~bootstrap/scss/variables';
  158. @import '~bootstrap-vue/src/variables';