aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentLinksButton.scss
blob: 43b1e083f55ff90e00f22800cbe6e907f959f05d (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
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
@use '../global/globalCssVariables.module.scss' as global;

.documentLinksButton-wrapper {
    transform-origin: top left;
    width: 100%;
    height: 100%;
}

.documentLinksButton-menu {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.documentLinksButton-cont {
    min-width: 20px;
    min-height: 20px;
    position: absolute;
}

.documentLinksButton-showCount {
    position: absolute;
    border-radius: 50%;
    opacity: 0.9;
    pointer-events: auto;
    display: flex;
    align-items: center;
    background-color: global.$light-blue;
    color: black;
}
.documentLinksButton,
.documentLinksButton-endLink,
.documentLinksButton-startLink {
    height: 25px;
    width: 25px;
    position: absolute;
    border-radius: 50%;
    opacity: 0.9;
    pointer-events: auto;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    transform-origin: top left;
    transition: transform 0.2s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover {
        // background: deepskyblue;
        // transform: scale(1.05);
        cursor: pointer;
    }
}
.documentLinksButton {
    background-color: global.$dark-gray;
    color: global.$white;
    font-weight: bold;
    font-size: 100%;
    font-family: 'Roboto';
    transition: 0.2s ease all;

    &:hover {
        background-color: global.$black;
    }
}
.documentLinksButton.startLink {
    background-color: global.$medium-blue;
    width: 75%;
    height: 75%;
    color: global.$white;
    font-weight: bold;
    font-size: 100%;
    transition: 0.2s ease all;
}

.documentLinksButton-endLink {
    border: global.$medium-blue 2px dashed;
    color: global.$medium-blue;
    background-color: none !important;
    font-size: 100%;
    transition: 0.2s ease all;
}