aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ContextMenu.scss
blob: 588eff1d17da57b53d96b2902f2071dcd35611c5 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@import 'global/globalCssVariables';

.contextMenu-cont {
    position: absolute;
    display: flex;
    z-index: $contextMenu-zindex;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 30%);
    flex-direction: column;
    background: whitesmoke;
    color: black;
    border-radius: 3px;
}

// .contextMenu-item:first-child {
//     background: $medium-gray;
//     color: $white;
// }

// .contextMenu-item:first-child::placeholder {
//     color: $white;
// }

// .contextMenu-item:first-child:hover {
//     background: $medium-gray;
//     color: $white;
// }

.contextMenu-subMenu-cont {
    position: absolute;
    display: flex;
    z-index: 1000;
    box-shadow: #aaaaaa 0.2vw 0.2vw 0.4vw;
    flex-direction: column;
    border: 1px solid #bbbbbbbb;
    border-radius: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: whitesmoke;
}

.contextMenu-item {
    // width: 11vw; //10vw
    height: 25px; //2vh
    display: flex; //comment out to allow search icon to be inline with search text
    justify-content: left;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.1s;
    border-style: none;
    position: relative;
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-right: 30px;

    .contextMenu-item-background {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        filter: opacity(0);
    }

    &:hover {
        .contextMenu-item-background {
            filter: opacity(0.2) !important;
        }
    }

    .contextMenu-item-icon-background {
        pointer-events: all;
        background-color: transparent;
        width: 35px;
        text-align: center;
        font-size: 20px;
        margin-left: 5px;
    }
}

.contextMenu-description {
    // width: 11vw; //10vw
    display: flex; //comment out to allow search icon to be inline with search text
    justify-content: left;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.1s;
    border-style: none;
    // padding: 10px 0px 10px 0px;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-right: 30px;
}

.contextMenu-item:hover {
    border-width: 0.11px;
    border-style: none;
    border-color: $medium-gray; //  rgb(187, 186, 186);
    border-bottom-style: solid;
    border-top-style: solid;

    cursor: pointer;
}

.contextMenu-itemSelected {
    background: lightgoldenrodyellow;
    border-style: none;
}

.contextMenu-group {
    // width: 11vw; //10vw
    height: 30px; //2vh
    background: lightgray;
    display: flex; //comment out to allow search icon to be inline with search text
    justify-content: left;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.1s;
    border-width: 0.11px;
    border-style: none;
    border-color: $medium-gray; //  rgb(187, 186, 186);
    // padding: 10px 0px 10px 0px;
    white-space: nowrap;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-left: 5px;
}

.contextMenu-inlineMenu {
    // border-top: solid 1px; //TODO:glr clean
}

.contextMenu-description {
    margin-left: 5px;
    text-align: left;
    display: inline; //need this?
}

.search-icon {
    margin: 10px;
}

.search {
    margin-left: 10px;
    padding-left: 10px;
    border: solid black 1px;
    border-radius: 5px;
}