aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkMenu.scss
blob: 19c6463d3690c5bf6e7fe543f10ab5cde0052f29 (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
@import "../global/globalCssVariables";

.linkMenu {
    width: auto;
    height: auto;
    position: absolute;
    z-index: 2001;

    .linkMenu-list,
    .linkMenu-listEditor {
        display: inline-block;
        position: relative;
        border: 1px solid #e4e4e4;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
        background: white;
        min-width: 170px;
        max-height: 230px;
        overflow-y: scroll;
        z-index: 10;
    }

    .linkMenu-list {
        white-space: nowrap;
        overflow-x: hidden;
        width: 240px;
        scrollbar-color: white;

        &:last-child {
            border-bottom: none;
        }

        &:hover {
            scrollbar-color: rgb(201, 239, 252);
        }
    }
}

.linkMenu-group {
    border-bottom: 0.5px solid lightgray;
    //@extend: 5px 0;


    &:last-child {
        border-bottom: none;
    }

    .linkMenu-group-name {
        padding: 10px;


        &:hover {
            // p {
            //     background-color: lightgray;
            // }

            p.expand-one {
                width: calc(100% + 20px);
            }

            .linkEditor-tableButton {
                display: block;
            }
        }

        p {
            width: 100%;
            line-height: 12px;
            border-radius: 5px;
            text-transform: capitalize;
        }

        .linkEditor-tableButton {
            display: none;
        }
    }
}