mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Tab color fix
This commit is contained in:
@@ -877,7 +877,6 @@ class KoboldStoryRegister(object):
|
||||
old_options = None
|
||||
self.actions[self.action_count+1] = {"Selected Text": "", "Selected Text Length": 0, "In AI Input": False, "Options": [{"text": x, "Pinned": False, "Previous Selection": False, "Edited": False, "Probabilities": []} for x in option_list]}
|
||||
process_variable_changes(self.socketio, "story", 'actions', {"id": self.action_count+1, 'action': self.actions[self.action_count+1]}, None)
|
||||
print(self.actions[self.action_count+1])
|
||||
self.set_game_saved()
|
||||
|
||||
def set_options(self, option_list, action_id):
|
||||
|
@@ -129,16 +129,16 @@ input[type="range"]::-ms-fill-upper {
|
||||
content: " ";
|
||||
}
|
||||
.tabrow span:before {
|
||||
left: -6px;
|
||||
left: -5px;
|
||||
border-bottom-right-radius: 6px;
|
||||
border-width: 0 1px 1px 0;
|
||||
box-shadow: 2px 2px 0 #D1D1D1;
|
||||
box-shadow: 2px 2px 0 var(--tab_color);
|
||||
}
|
||||
.tabrow span:after {
|
||||
right: -6px;
|
||||
right: -5px;
|
||||
border-bottom-left-radius: 6px;
|
||||
border-width: 0 0 1px 1px;
|
||||
box-shadow: -2px 2px 0 #D1D1D1;
|
||||
box-shadow: -2px 2px 0 var(--tab_color);
|
||||
}
|
||||
.tabrow span.selected:before {
|
||||
box-shadow: 2px 2px 0 #FFF;
|
||||
@@ -1000,6 +1000,8 @@ body {
|
||||
|
||||
.themerow {
|
||||
grid-area: theme;
|
||||
width: 500px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.inputrow {
|
||||
@@ -1158,7 +1160,7 @@ body {
|
||||
background-color: var(--popup_background_color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1175,7 +1177,7 @@ body {
|
||||
background-color: var(--popup_background_color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1184,6 +1186,7 @@ body {
|
||||
color: var(--on_error_palette);
|
||||
height: 30vh;
|
||||
top: 35vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.popup .title {
|
||||
@@ -1216,8 +1219,9 @@ body {
|
||||
|
||||
.popup .popup_list_area {
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
flex-shrink: 1;
|
||||
flex-basis: auto;
|
||||
}
|
||||
|
||||
|
@@ -109,7 +109,7 @@
|
||||
--popup_hover_color: var(--secondary_palette);
|
||||
--popup_hover_color_text: var(--on_secondary_palette);
|
||||
--popup_selected_color: var(--secondary_container_palette);
|
||||
--popup_selected_color_text: var(--on_secondary_container_palette_palette);
|
||||
--popup_selected_color_text: var(--on_secondary_container_palette);
|
||||
|
||||
--popup_button_color: var(--primary_containter_palette);
|
||||
--popup_button_color_text: var(--on_primary_containter_palette);
|
||||
|
Reference in New Issue
Block a user