File size: 2,862 Bytes
8866644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.easyuse-prompt-styles{
    overflow: auto;
}
.easyuse-prompt-styles .tools{
    display:flex;
    justify-content:space-between;
    height:30px;
    padding-bottom:10px;
    border-bottom:2px solid var(--border-color);
}
.easyuse-prompt-styles .tools button.delete{
    height:30px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size:11px;
    background:var(--comfy-input-bg);
    color:var(--error-text);
    box-shadow:none;
    cursor:pointer;
}
.easyuse-prompt-styles .tools button.delete:hover{
    filter: brightness(1.2);
}
.easyuse-prompt-styles .tools textarea.search{
    flex:1;
    margin-left:10px;
    height:20px;
    line-height:20px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size:11px;
    background:var(--comfy-input-bg);
    color:var(--input-text);
    box-shadow:none;
    padding:4px 10px;
    outline: none;
    resize: none;
    appearance:none;
}
.easyuse-prompt-styles-list{
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 150px;
    height: calc(100% - 40px);
    overflow: auto;
    /*display: flex;*/
    /*flex-wrap: wrap;*/
}
.easyuse-prompt-styles-list.no-top{
    height: auto;
}

.easyuse-prompt-styles-tag{
    display: inline-block;
    vertical-align: middle;
    margin-top: 8px;
    margin-right: 8px;
    padding:4px;
    color: var(--input-text);
    background-color: var(--comfy-input-bg);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size:11px;
    cursor:pointer;
}
.easyuse-prompt-styles-tag.hide{
    display:none;
}
.easyuse-prompt-styles-tag:hover{
   filter: brightness(1.2);
}
.easyuse-prompt-styles-tag input{
    --ring-color: transparent;
    position: relative;
    box-shadow: none;
    border: 2px solid var(--border-color);
    border-radius: 2px;
    background: linear-gradient(135deg, var(--comfy-menu-bg) 0%, var(--comfy-input-bg) 60%);
}
.easyuse-prompt-styles-tag input[type=checkbox]:checked{
    border: 1px solid var(--theme-color-light);
    background-color: var(--theme-color-light);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
.easyuse-prompt-styles-tag input[type=checkbox]{
    color-adjust: exact;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    appearance: none;
    border: 2px solid var(--border-color);
    background-origin: border-box;
    padding: 0;
    width: 1rem;
    height: 1rem;
    border-radius:4px;
    color:var(--theme-color-light);
    user-select: none;
}
.easyuse-prompt-styles-tag span{
    margin:0 4px;
    vertical-align: middle;
}
#show_image_id{
    width:128px;
    height:128px;
}