stylist / frontend / src / styles / globals.scss
globals.scss
Raw
@import '../styles/global.colors.scss';
@import 'swiper/scss';

:root {
  max-width: 100%;
  overflow-x: hidden;
}

.swiper {
  --swiper-pagination-color: #4c9fc1;
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-inactive-color: #ffffff;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background-color: $background-off-white-color;
  max-width: 100%;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(35, 97, 166, 0.6);
}

*,
::after,
::before {
  box-sizing: border-box;
}

button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
  text-align: unset;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

a {
  text-decoration: none;
  color: unset;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

input {
  padding: 0;
  margin: 0;
}