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

.linkMenu {
    width: 100%;
    height: auto;
    //border: 1px solid black;

    &:hover {
        width: calc(auto + 26px);
    }
}

.linkMenu-list {
    border: 1px solid black;
    max-height: 200px;
    overflow-y: scroll;
    position: absolute;
    z-index: 10;
    background: white;
    min-width: 150px;
    border-radius: 5px;
    padding-top: 6.5px;
    padding-bottom: 6.5px;
    padding-left: 6.5px;
    padding-right: 2px;
    //width: calc(auto + 50px);
}

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


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

    .linkMenu-group-name {
        display: flex;


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

            }

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

            .linkEditor-tableButton {
                display: block;
            }
        }

        p {
            width: 100%;
            padding: 4px 6px;
            line-height: 12px;
            border-radius: 5px;
            font-weight: bold;
        }

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