result-page.component.scss 1.75 KB
Newer Older
1
2
3
4
5
6
@import "theme";

.no-result-icon {
  font-size: 8rem;
  color: $gray-300;
}
7

8
.result {
9
  border-top: 4.5px solid #c2c2c2;
10
11
12
  border-bottom: 1px solid #c2c2c2;
}

13
.bolder {
14
15
16
17
  font-size: 1.2rem;
  font-weight: bold;
}

18
19
20
21
22
// Loading spinner
.lds-spinner {
  $scale: 0.75;

  color: black;
23
  display: block;
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
  position: relative;
  width: 64px * $scale;
  height: 64px * $scale;

  div {
    transform-origin: 32px * $scale 32px * $scale;
    animation: lds-spinner 1.2s linear infinite;
  }
  div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 29px * $scale;
    width: 5px * $scale;
    height: 14px * $scale;
    border-radius: 20%;
    background: black;
  }
  div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
91
92
}

93
94
95
96
97
98
99
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
100
}