SillyTavern/public/css/promptmanager.css

320 lines
9.6 KiB
CSS
Raw Normal View History

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%
}
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt .completion_prompt_manager_prompt_name .fa-solid {
color: var(--white50a);
2023-06-01 18:53:56 +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;
justify-content: space-between;
font-size: calc(var(--mainFontSize)*1.2);
}
#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);
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,
#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;
padding: 0.5em;
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 {
padding: 1em;
margin-top: 2em;
2023-05-28 15:58:30 +02:00
}
#completion_prompt_manager_popup #completion_prompt_manager_popup_inspect .completion_prompt_manager_popup_entry {
padding: 1em;
}
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 {
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;
}
.completion_prompt_manager_popup_entry_form_control {
margin-top: 1em;
2023-05-28 15:58:30 +02:00
}
#prompt-manager-reset-character,
#completion_prompt_manager_popup .completion_prompt_manager_popup_entry_form_footer #completion_prompt_manager_popup_entry_form_reset {
color: rgb(220 173 16);
}
#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;
}
#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;
}
#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;
}
#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
}
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt_disabled .completion_prompt_manager_prompt_name,
#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
}
#completion_prompt_manager #completion_prompt_manager_list .completion_prompt_manager_prompt:not(.completion_prompt_manager_prompt_disabled) .prompt-manager-toggle-action {
color: var(--SmartThemeQuoteColor);
}
#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 {
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 {
padding: 0.75em;
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;
}
#completion_prompt_manager_footer_append_prompt {
font-size: 16px;
2023-05-28 15:58:30 +02:00
}
#prompt-manager-export-format-popup {
2023-07-04 21:13:21 +02:00
padding: 0.25em;
display: none;
2023-07-04 21:13:21 +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 {
overflow-y: auto;
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;
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;
z-index: 3010 !important;
2023-05-28 15:58:30 +02:00
border-radius: 0 0 20px 20px;
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 {
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;
}
#prompt-manager-export-format-popup span {
font-size: 16px;
}
2023-06-22 20:23:14 +02:00
@media screen and (max-width: 412px) {
#completion_prompt_manager_popup {
max-width: 100%;
}
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
}