Welcome to mirror list, hosted at ThFree Co, Russian Federation.

swiper-custom.scss « lib « foundation « scss « src - github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b98d456063e426ccc09b00f4cf74b9c2c90a0a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@use "../variable/breakpoint.scss" as breakpoint;

.swiper-container {
  height: 150px;
}

.swiper-wrapper {
  margin: 0;
  padding: 0;
}

.related-prev,
.related-next {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #555;
  &:hover {
    cursor: pointer;
  }
  &::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 5px;
    height: 5px;
    border: solid #fafafa;
  }
  @include breakpoint.mq-down(md) {
    display: none !important;
  }
}

.related-prev {
  left: -32px;
  &::after {
    left: 1px;
    border-width: 2px 0 0 2px;
    transform: rotate(-45deg);
  }
}

.related-next {
  right: -32px;
  &::after {
    right: 1px;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
  }
}