File size: 1,973 Bytes
1813a37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.25rem;
  margin: 0;
  border: 0.0625rem solid var(--text-secondary);
  height: 2.25rem;
  line-height: 2.25rem;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: 1.125rem;

  white-space: nowrap;
  cursor: pointer;
  //overflow: hidden;

  &:not(.disabled):hover {
    border-color: var(--text-hover-secondary);
    color: var(--text-hover-secondary);
  }
  //
  //&:active {
  //  //border-color: var(--text-secondary);
  //  background: var(--text-secondary);
  //}

  &.secondary {
    color: #fff;
    background-color: var(--text-secondary);

    &:not(.disabled):hover {
      border-color: var(--text-hover-secondary);
      background: var(--text-hover-secondary);
      color: #fff;
    }
  }
}

.spinner {
  font-size: 10px;
  //margin: 50px auto;
  margin-right: 1em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #ffffff;
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  animation: load3 1.4s infinite linear;
  transform: translateZ(0);

  &:before {
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
  }

  &:after {
    background: var(--text-secondary);
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
}

@keyframes load3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.disabled {
  cursor: not-allowed;

  &:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #4f4f4f;
    border: 0.0625rem solid #4f4f4f;
    border-radius: 1.125rem;
    opacity: 0.5;
    box-sizing: content-box;
  }
}