mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge pull request #30 from one-some/ui2-cursor-fixes
Assorted small additions
This commit is contained in:
@@ -386,6 +386,10 @@
|
||||
}
|
||||
|
||||
/* -----------------------------------------Bias-------------------------------------- */
|
||||
#biases_label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bias {
|
||||
display: grid;
|
||||
grid-template-areas: "phrase percent max";
|
||||
@@ -551,6 +555,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.story_menu_pin {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
table.server_vars {
|
||||
border: 1px solid #959595;
|
||||
@@ -582,6 +591,10 @@ td.server_vars {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.wi_folder_collapser, .wi_add_button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.world_info_card {
|
||||
width: 95%;
|
||||
border: 2px outset var(--wi_card_border_color);
|
||||
@@ -953,6 +966,7 @@ body {
|
||||
.popup .item .file {
|
||||
grid-area: file;
|
||||
display: grid;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.popup .item .file:hover {
|
||||
@@ -997,6 +1011,7 @@ body {
|
||||
display: grid;
|
||||
grid-template-areas: "item gpu_size";
|
||||
grid-template-columns: auto 40px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.popup .item .model:hover {
|
||||
|
@@ -1151,6 +1151,7 @@ function world_info_folder(data) {
|
||||
collapse_icon = document.createElement("span");
|
||||
collapse_icon.id = "world_info_folder_collapse_"+folder_name;
|
||||
collapse_icon.classList.add("oi");
|
||||
collapse_icon.classList.add("wi_folder_collapser");
|
||||
collapse_icon.setAttribute("data-glyph", "chevron-bottom");
|
||||
collapse_icon.setAttribute("folder", folder_name);
|
||||
collapse_icon.onclick = function () {
|
||||
@@ -1162,6 +1163,7 @@ function world_info_folder(data) {
|
||||
expand_icon = document.createElement("span");
|
||||
expand_icon.id = "world_info_folder_expand_"+folder_name;
|
||||
expand_icon.classList.add("oi");
|
||||
expand_icon.classList.add("wi_folder_collapser");
|
||||
expand_icon.setAttribute("data-glyph", "chevron-right");
|
||||
expand_icon.setAttribute("folder", folder_name);
|
||||
expand_icon.onclick = function () {
|
||||
@@ -1190,6 +1192,7 @@ function world_info_folder(data) {
|
||||
//create add button
|
||||
add_icon = document.createElement("span");
|
||||
add_icon.classList.add("oi");
|
||||
add_icon.classList.add("wi_add_button");
|
||||
add_icon.setAttribute("data-glyph", "plus");
|
||||
add_icon.textContent = "Add World Info Entry";
|
||||
add_icon.setAttribute("folder", folder_name);
|
||||
|
@@ -57,7 +57,7 @@
|
||||
{% include 'settings item.html' %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
<h4>
|
||||
<h4 id="biases_label">
|
||||
<span id="bias_open" class="oi" data-glyph="chevron-bottom" onclick='this.classList.add("hidden");
|
||||
document.getElementById("bias_close").classList.remove("hidden");
|
||||
document.getElementById("biasing").classList.add("hidden");'> Biasing:</span>
|
||||
|
Reference in New Issue
Block a user