File size: 869 Bytes
6bcb42f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "../../css/colors.css";

@keyframes iconSpin {
    0% {
        rotate: 0deg;
    }
    50% {
        rotate: 180deg;
    }
    100% {
        rotate: 360deg;
    }
}

.share-button {
    background: $motion-primary;
    color: $ui-white;
    box-shadow: 0 0 0 1px $ui-black-transparent;
}

.disabled {
    cursor: not-allowed;
}

.share-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

[theme="dark"] .share-button {
    background: transparent;
    color: $ui-white;
    box-shadow: 0 0 0 1px $ui-black-transparent;
}

.share-button-is-shared {
    background: $ui-black-transparent;
    cursor: default;
}

.icon {
    height: 1.5rem;
    margin-left: 4px;
    animation-name: iconSpin;
    animation-timing-function: linear;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}