2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .caution {
|
2023-05-28 15:58:30 +02:00
|
|
|
color: var(--fullred);
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_list_separator hr {
|
2023-05-28 15:58:30 +02:00
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 4;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0.5em 0;
|
2023-09-16 08:48:28 +02:00
|
|
|
background-image: linear-gradient(90deg, var(--transparent), var(--SmartThemeBorderColor), var(--transparent));
|
2023-05-28 15:58:30 +02:00
|
|
|
min-height: 1px;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: grid;
|
2024-05-24 21:27:24 +02:00
|
|
|
grid-template-columns: 4fr 80px 45px;
|
2023-05-28 15:58:30 +02:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2023-07-27 18:08:32 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt .completion_prompt_manager_prompt_name .fa-solid {
|
2023-06-02 19:15:45 +02:00
|
|
|
color: var(--white50a);
|
2023-06-01 18:53:56 +02:00
|
|
|
}
|
|
|
|
|
2023-07-15 16:54:30 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_visible {
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_list_head .prompt_manager_prompt_tokens,
|
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt .prompt_manager_prompt_tokens {
|
2024-03-24 00:28:35 +01:00
|
|
|
font-size: calc(var(--mainFontSize)*0.9);
|
2023-06-01 18:53:56 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt .prompt_manager_prompt_controls {
|
2023-05-28 15:58:30 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_list_head {
|
2023-07-31 15:28:01 +02:00
|
|
|
padding: 0.5em 0.5em 0;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt {
|
2023-05-28 15:58:30 +02:00
|
|
|
align-items: center;
|
|
|
|
padding: 0.5em;
|
2023-09-16 08:42:26 +02:00
|
|
|
border: 1px solid var(--SmartThemeBorderColor);
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt .prompt_manager_prompt_controls {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
2023-07-27 19:17:21 +02:00
|
|
|
justify-content: space-between;
|
2023-09-01 06:33:04 +02:00
|
|
|
font-size: calc(var(--mainFontSize)*1.2);
|
2023-07-27 19:17:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt .prompt_manager_prompt_controls span {
|
|
|
|
display: flex;
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt span span span {
|
2023-05-28 15:58:30 +02:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: 0.3s ease-in-out;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
filter: drop-shadow(0px 0px 2px black);
|
2023-09-01 06:33:04 +02:00
|
|
|
opacity: 0.4;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt span span:hover {
|
2023-05-28 15:58:30 +02:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2023-07-02 21:35:14 +02:00
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_edit,
|
2023-07-08 22:35:12 +02:00
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_chathistory_edit,
|
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_dialogueexamples_edit,
|
2023-07-02 21:35:14 +02:00
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_inspect {
|
|
|
|
display: none;
|
2023-07-08 20:18:04 +02:00
|
|
|
padding: 0.5em;
|
2024-09-23 22:11:28 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-07-02 21:35:14 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry {
|
2024-09-23 22:11:28 +02:00
|
|
|
padding: 0.5em;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt) {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_prompt {
|
|
|
|
flex: 1;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-07-08 20:18:04 +02:00
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_inspect .completion_prompt_manager_popup_entry {
|
2024-09-23 22:11:28 +02:00
|
|
|
padding: 0.5em;
|
2023-07-08 20:18:04 +02:00
|
|
|
}
|
|
|
|
|
2023-07-02 21:35:14 +02:00
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_entry_form_inspect_list {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_prompt {
|
2023-07-08 20:18:04 +02:00
|
|
|
margin: 1em 0;
|
2023-07-02 21:35:14 +02:00
|
|
|
padding: 0.5em;
|
2023-09-16 08:42:26 +02:00
|
|
|
border: 1px solid var(--SmartThemeBorderColor);
|
2023-07-02 21:35:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager_popup #completion_prompt_manager_popup_close_button {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-07-08 22:35:12 +02:00
|
|
|
.completion_prompt_manager_popup_entry_form_control {
|
2023-08-25 00:06:52 +02:00
|
|
|
margin-top: 1em;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-07-15 17:18:55 +02:00
|
|
|
#prompt-manager-reset-character,
|
2023-07-08 22:35:12 +02:00
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_footer #completion_prompt_manager_popup_entry_form_reset {
|
2023-06-27 19:44:10 +02:00
|
|
|
color: rgb(220 173 16);
|
|
|
|
}
|
|
|
|
|
2023-07-08 22:35:12 +02:00
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_footer #completion_prompt_manager_popup_entry_form_close,
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_footer #completion_prompt_manager_popup_entry_form_reset,
|
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_footer #completion_prompt_manager_popup_entry_form_save {
|
2023-06-22 20:23:14 +02:00
|
|
|
font-size: 1.25em;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_control #completion_prompt_manager_popup_entry_form_prompt {
|
2023-05-28 15:58:30 +02:00
|
|
|
min-height: 200px;
|
|
|
|
}
|
|
|
|
|
2023-07-08 22:35:12 +02:00
|
|
|
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry .completion_prompt_manager_popup_entry_form_footer {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2023-07-15 17:18:55 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_draggable {
|
2023-05-28 15:58:30 +02:00
|
|
|
cursor: grab;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_name {
|
2023-06-22 20:23:14 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-07-27 19:17:21 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_name .prompt-manager-inspect-action {
|
|
|
|
color: var(--SmartThemeBodyColor);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_name .prompt-manager-inspect-action:hover {
|
|
|
|
text-decoration: underline;
|
2023-06-22 20:23:14 +02:00
|
|
|
}
|
|
|
|
|
2023-07-27 19:21:18 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_disabled .completion_prompt_manager_prompt_name,
|
2023-07-27 19:17:21 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_disabled .completion_prompt_manager_prompt_name .prompt-manager-inspect-action {
|
2023-06-22 20:23:14 +02:00
|
|
|
color: var(--white30a);
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-09-01 06:33:04 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt:not(.completion_prompt_manager_prompt_disabled) .prompt-manager-toggle-action {
|
|
|
|
color: var(--SmartThemeQuoteColor);
|
|
|
|
}
|
|
|
|
|
2023-07-27 19:17:21 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt.completion_prompt_manager_prompt_disabled {
|
|
|
|
border: 1px solid var(--white20a);
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt .mes_edit {
|
2023-05-28 15:58:30 +02:00
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_error {
|
2023-06-18 15:23:32 +02:00
|
|
|
padding: 1em;
|
|
|
|
border: 3px solid var(--fullred);
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_header {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
color: var(--white50a);
|
|
|
|
margin-top: 0.5em;
|
|
|
|
padding: 0 0.25em;
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_header div {
|
2023-05-28 15:58:30 +02:00
|
|
|
margin-top: 0.5em;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_header_advanced {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_header_advanced span {
|
2023-05-28 15:58:30 +02:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
transition: 0.3s ease-in-out;
|
|
|
|
filter: drop-shadow(0px 0px 2px black);
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_header_advanced span.fa-solid {
|
2023-06-01 18:53:56 +02:00
|
|
|
display: inherit;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_footer {
|
2023-05-28 15:58:30 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
gap: 0.25em;
|
|
|
|
padding: 0 0.25em;
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_footer a {
|
2023-07-04 19:27:45 +02:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2024-03-24 00:28:35 +01:00
|
|
|
#completion_prompt_manager .completion_prompt_manager_important a {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2024-03-24 01:19:10 +01:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt .completion_prompt_manager_prompt_name .fa-solid.prompt-manager-overridden {
|
|
|
|
margin-left: 5px;
|
|
|
|
color: var(--SmartThemeQuoteColor);
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2023-07-04 19:27:45 +02:00
|
|
|
#completion_prompt_manager_footer_append_prompt {
|
2024-09-23 22:11:28 +02:00
|
|
|
font-size: 1em;
|
2023-05-28 15:58:30 +02:00
|
|
|
}
|
|
|
|
|
2023-08-25 00:06:52 +02:00
|
|
|
#prompt-manager-export-format-popup {
|
2023-07-04 21:13:21 +02:00
|
|
|
padding: 0.25em;
|
2023-08-25 00:06:52 +02:00
|
|
|
display: none;
|
2023-07-04 21:13:21 +02:00
|
|
|
}
|
|
|
|
|
2023-08-25 00:06:52 +02:00
|
|
|
#prompt-manager-export-format-popup[data-show] {
|
|
|
|
display: block;
|
2023-07-04 21:13:21 +02:00
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager_popup {
|
2023-05-28 15:58:30 +02:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager_popup {
|
2023-07-31 16:12:56 +02:00
|
|
|
overflow-y: auto;
|
2023-08-25 00:06:52 +02:00
|
|
|
height: calc(100% - var(--topBarBlockSize));
|
2023-05-28 15:58:30 +02:00
|
|
|
position: absolute;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2023-08-25 00:06:52 +02:00
|
|
|
top: var(--topBarBlockSize);
|
2023-05-28 15:58:30 +02:00
|
|
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
|
|
|
padding: 1em;
|
2023-09-16 08:42:26 +02:00
|
|
|
border: 1px solid var(--SmartThemeBorderColor);
|
2023-05-28 15:58:30 +02:00
|
|
|
flex-direction: column;
|
2023-08-14 20:27:16 +02:00
|
|
|
z-index: 3010 !important;
|
2023-05-28 15:58:30 +02:00
|
|
|
border-radius: 0 0 20px 20px;
|
2023-08-25 00:06:52 +02:00
|
|
|
background-color: var(--SmartThemeBlurTintColor);
|
2023-06-01 18:53:56 +02:00
|
|
|
}
|
2023-06-22 20:23:14 +02:00
|
|
|
|
2023-07-08 17:47:04 +02:00
|
|
|
#prompt-manager-export-format-popup {
|
2023-08-25 00:06:52 +02:00
|
|
|
display: none;
|
2023-07-08 17:47:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-manager-export-format-popup-flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-manager-export-format-popup-flex .row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prompt-manager-export-format-popup-flex a,
|
|
|
|
.prompt-manager-export-format-popup-flex span {
|
|
|
|
display: flex;
|
|
|
|
margin: auto 0;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2023-06-22 20:23:14 +02:00
|
|
|
@media screen and (max-width: 412px) {
|
2023-07-16 19:15:35 +02:00
|
|
|
#completion_prompt_manager_popup {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2023-08-25 00:06:52 +02:00
|
|
|
|
2023-06-25 18:20:53 +02:00
|
|
|
#completion_prompt_manager #completion_prompt_manager_list li.completion_prompt_manager_prompt span span span {
|
2023-06-22 20:23:14 +02:00
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2024-03-24 00:28:35 +01:00
|
|
|
}
|
2024-09-18 20:51:10 +02:00
|
|
|
|
2024-09-23 22:11:28 +02:00
|
|
|
.completion_prompt_manager_popup_entry_form_control:has(#completion_prompt_manager_popup_entry_form_prompt:disabled)>div:first-child::after {
|
2024-09-18 20:51:10 +02:00
|
|
|
content: 'The content of this prompt is pulled from elsewhere and cannot be edited here.';
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
font-weight: 600;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.completion_prompt_manager_popup_entry_form_control #completion_prompt_manager_popup_entry_form_prompt:disabled {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|