Next.js template
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_overwrite.scss 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. // Overwrite
  2. .ais-ClearRefinements-button {
  3. color: $grey-11;
  4. font-size: pxToRem(14px);
  5. letter-spacing: 0;
  6. line-height: 1.15;
  7. background-color: transparent;
  8. border: none;
  9. text-decoration: underline;
  10. position: relative;
  11. transition: all 0.2s;
  12. outline: none;
  13. cursor: pointer;
  14. &[disabled] {
  15. pointer-events: none;
  16. opacity: 0.5;
  17. cursor: auto;
  18. }
  19. &:hover {
  20. color: $color-primary-light;
  21. }
  22. &:active {
  23. color: $color-primary-dark;
  24. }
  25. }
  26. .ais-RefinementList {
  27. margin-bottom: pxToRem(32px);
  28. margin-left: pxToRem(16px);
  29. &.c-filter__refinement--closed {
  30. display: none;
  31. }
  32. }
  33. .ais-RefinementList.expanded {
  34. .ais-RefinementList-showMore::before {
  35. transform: rotate(180deg);
  36. }
  37. }
  38. .ais-RefinementList-showMore {
  39. color: $color-primary;
  40. font-size: pxToRem(14px);
  41. font-weight: 600;
  42. letter-spacing: 0;
  43. line-height: 1.56;
  44. text-align: center;
  45. background-color: transparent;
  46. border: none;
  47. position: relative;
  48. margin-left: pxToRem(20px);
  49. outline: none;
  50. transition: all ease-in-out 0.3s;
  51. cursor: pointer;
  52. &[disabled] {
  53. display: none;
  54. }
  55. &:hover {
  56. color: $color-primary-light;
  57. }
  58. &:active {
  59. color: $color-primary-dark;
  60. }
  61. &::before {
  62. content: '';
  63. background-image: url('../images/chevron-down.svg');
  64. fill: $color-primary;
  65. -webkit-text-stroke-color: $color-primary;
  66. background-position: center;
  67. width: pxToRem(20px);
  68. height: pxToRem(20px);
  69. position: absolute;
  70. left: pxToRem(-22px);
  71. transition: all 0.2s;
  72. }
  73. }
  74. .ais-SearchBox {
  75. display: flex;
  76. justify-content: flex-end;
  77. margin-bottom: pxToRem(24px);
  78. }
  79. .ais-SearchBox-input {
  80. border: none;
  81. color: $blue;
  82. font-size: pxToRem(16px);
  83. letter-spacing: 0;
  84. line-height: 1.5;
  85. outline: none;
  86. -moz-appearance: none;
  87. -webkit-appearance: none;
  88. flex-grow: 1;
  89. &::placeholder {
  90. color: $blue;
  91. font-size: pxToRem(16px);
  92. }
  93. @include media-below($bp-xl) {
  94. font-size: pxToRemMd(16px);
  95. &::placeholder {
  96. font-size: pxToRemMd(16px);
  97. }
  98. }
  99. }
  100. .ais-SearchBox-form {
  101. border: 1px solid $grey-6;
  102. border-radius: $border-radius;
  103. overflow: hidden;
  104. padding: 0 pxToRem(12px);
  105. height: pxToRem(33px);
  106. align-items: center;
  107. display: flex;
  108. justify-content: space-between;
  109. min-width: pxToRem(340px);
  110. }
  111. .ais-SearchBox-submit,
  112. .ais-SearchBox-reset {
  113. border: none;
  114. background: transparent;
  115. outline: none;
  116. height: pxToRem(16px);
  117. > svg {
  118. color: $blue-1;
  119. fill: $blue-1;
  120. }
  121. }
  122. .ais-SearchBox-submitIcon {
  123. width: pxToRem(14px);
  124. height: pxToRem(14px);
  125. color: $blue-1;
  126. fill: $blue-1;
  127. }
  128. .ais-SearchBox-resetIcon {
  129. width: pxToRem(14px);
  130. height: pxToRem(14px);
  131. }
  132. .ais-SearchBox-reset {
  133. margin-left: pxToRem(10px);
  134. cursor: pointer;
  135. }
  136. .c-plaid-link {
  137. padding: 0 !important;
  138. background: transparent !important;
  139. border-width: 0 !important;
  140. border-radius: 0 !important;
  141. box-shadow: $box-shadow !important;
  142. &.c-plaid-link--select-card {
  143. margin-top: pxToRem(40px);
  144. .c-select-card__button {
  145. margin-top: 0;
  146. }
  147. }
  148. }
  149. .ais-InfiniteHitsWrap {
  150. min-height: pxToRem(200px);
  151. }
  152. .ais-Highlight-highlighted {
  153. background: #fff1d6;
  154. font-style: normal;
  155. }
  156. .acsb-trigger {
  157. display: none !important;
  158. visibility: hidden !important;
  159. width: 0 !important;
  160. height: 0 !important;
  161. }
  162. .ais-CurrentRefinements-list {
  163. display: flex;
  164. flex-wrap: wrap;
  165. > :not(:last-child) {
  166. margin-right: pxToRem(16px);
  167. }
  168. }
  169. .ais-CurrentRefinements-item {
  170. border-radius: $border-radius;
  171. background-color: $dark-blue;
  172. padding: pxToRem(4px) pxToRem(8px);
  173. flex-shrink: 0;
  174. margin-bottom: pxToRem(16px);
  175. }
  176. .ais-CurrentRefinements-item-link {
  177. font-size: pxToRem(16px);
  178. line-height: 1.5;
  179. font-weight: 600;
  180. color: $white;
  181. display: flex;
  182. align-items: center;
  183. text-decoration: none;
  184. }
  185. .ais-CurrentRefinements-close {
  186. color: $white;
  187. width: pxToRem(24px);
  188. margin-left: pxToRem(8px);
  189. }
  190. .recharts-surface {
  191. overflow: visible;
  192. }
  193. .recharts-cartesian-axis-tick-value {
  194. color: #9aa1a9;
  195. font-size: 10px;
  196. letter-spacing: 0;
  197. line-height: 20px;
  198. }
  199. .recharts-tooltip-wrapper:empty{
  200. display: 'none',
  201. }
  202. .recharts-text{
  203. &.recharts-pie-label-text{
  204. font-size: 14px;
  205. @include media-below($bp-xl) {
  206. font-size: 12px;
  207. }
  208. }
  209. }