aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ContextMenu.scss
blob: 8f112de0c7b0f17ff93022af6c3c3d91dbbc3f23 (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
@import "globalCssVariables";

.contextMenu-cont {
    position: absolute;
    display: flex;
    z-index: $contextMenu-zindex;
    box-shadow: $intermediate-color 0.2vw 0.2vw 0.4vw;
    flex-direction: column;
    background: whitesmoke;
    padding-bottom: 10px;
    border-radius: 15px;
    border: solid #BBBBBBBB 1px;
}

// .contextMenu-item:first-child {
//     background: $intermediate-color;
//     color: $light-color;
// }

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

// .contextMenu-item:first-child:hover {
//     background: $intermediate-color;
//     color: $light-color;
// }

.contextMenu-subMenu-cont {
    position: absolute;
    display: flex;
    z-index: 1000;
    box-shadow: #AAAAAA .2vw .2vw .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: 30px; //2vh
    background: whitesmoke;
    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 .1s;
    border-style: none;
    // padding: 10px 0px 10px 0px;
    white-space: nowrap;
    font-size: 13px;
    color: grey;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-right: 30px;
}

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

.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 .1s;
    border-width: .11px;
    border-style: none;
    border-color: $intermediate-color; //  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-item:hover {
    transition: all 0.1s ease;
    background: $lighter-alt-accent;
}

.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;
}

.icon-background {
    pointer-events: all;
    height:100%;
    margin-top: 15px;
    background-color: transparent;
    width: 35px;
    text-align: center;
    font-size: 20px;
    margin-left: 5px;
}