aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkMenu.scss
blob: 0e03b46db890c2659ac9fd7fd9fad4aa236bcba3 (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
90
91
92
93
94
95
96
97
98
99
100
@import "../globalCssVariables";

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

    .linkMenu-list {

        display: inline-block;

        border: 1px solid black;

        box-shadow: 3px 3px 1.5px grey;

        max-height: 170px;
        overflow-y: scroll;
        position: relative;
        z-index: 10;
        background: white;
        min-width: 170px;
        //border-radius: 5px;
        //padding-top: 6.5px;
        //padding-bottom: 6.5px;
        //padding-left: 6.5px;
        //padding-right: 2px;
        //width: calc(auto + 50px);

        white-space: nowrap;
        overflow-x: hidden;
        width: 240px;
        scrollbar-color: white;

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

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

    .linkMenu-listEditor {

        display: inline-block;

        border: 1px solid black;

        box-shadow: 3px 3px 1.5px grey;

        max-height: 170px;
        overflow-y: scroll;
        position: relative;
        z-index: 10;
        background: white;
        min-width: 170px;
    }
}

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


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

    .linkMenu-group-name {


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

            }

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

            .linkEditor-tableButton {
                display: block;
            }
        }

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

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