File size: 2,044 Bytes
1e3b872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.litegraph.litecontextmenu .litemenu-title .tinyterra-contextmenu-title,
.litegraph.litecontextmenu .litemenu-entry.tinyterra-contextmenu-item {
  background-color: #212121 !important;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
}

.litegraph.litecontextmenu .litemenu-title .tinyterra-contextmenu-title,
.litegraph.litecontextmenu .litemenu-entry.tinyterra-contextmenu-label {
  background-color: #000 !important;
  margin: 0;
  cursor: default;
  opacity: 1;
  padding: 4px;
  font-weight: bold;
}




/* Dropdown */
.ttN-dropdown, .ttN-nested-dropdown {
    position: relative;
    box-sizing: border-box;
    background-color: #171717;
    box-shadow: 0 4px 4px rgba(255, 255, 255, .25);
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    overflow: visible;
    max-height: fit-content;
    max-width: fit-content;
}

.ttN-dropdown {
    position: absolute;
    border-radius: 0;
}

/* Style for final items */
.ttN-dropdown li.item, .ttN-nested-dropdown li.item {
    font-weight: normal;
    min-width: max-content;
}

/* Style for folders (parent items) */
.ttN-dropdown li.folder, .ttN-nested-dropdown li.folder {
    cursor: default;
    position: relative;
    border-right: 3px solid #005757;
}

.ttN-dropdown li.folder::after, .ttN-nested-dropdown li.folder::after {
    content: ">"; 
    position: absolute; 
    right: 2px; 
    font-weight: normal;
}

.ttN-dropdown li, .ttN-nested-dropdown li {
    padding: 4px 10px;
    cursor: pointer;
    font-family: system-ui;
    font-size: 0.7rem;
    position: relative; 
}

/* Style for nested dropdowns */
.ttN-nested-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    border: none;
    display: none;
}

.ttN-dropdown li.selected > .ttN-nested-dropdown,
.ttN-nested-dropdown li.selected > .ttN-nested-dropdown {
    display: block;
    border: none;
}
  
.ttN-dropdown li.selected,
.ttN-nested-dropdown li.selected {
    background-color: #222222;
    border: none;
}