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

.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);
        max-height: 230px;
        overflow-y: scroll;
        z-index: 10;
    }

    .linkMenu-list {
        white-space: nowrap;
        overflow-x: hidden;
        width: 100%;
        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: 1px;
        padding-left: 5px;
        font-size: 10px;
        font-style: italic;
        font-weight: bold;

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

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

            .linkEditor-tableButton {
                display: block;
            }
        }

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

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