From 8b5130c21a28c62d5696552a74bcea59a02e1c3f Mon Sep 17 00:00:00 2001 From: somebody Date: Sat, 8 Oct 2022 22:05:44 -0500 Subject: [PATCH] Inital work on substitution --- static/koboldai.css | 20 +++++++++++++++++ templates/settings flyout.html | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/static/koboldai.css b/static/koboldai.css index 4e3a3593..06e6664d 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -2259,6 +2259,26 @@ body { margin-right: 5px; } +/* Substitutions */ +#substitution-header { + display: flex; + width: 100%; + justify-content: space-around; +} + +.substitution-card { + display: flex; + + column-gap: 5px; + height: 30px; + width: 100%; + padding: 1px 0px; +} + +.substitution-card > *{ + min-width: 0; +} + /*---------------------------------- Global ------------------------------------------------*/ .hidden { display: none; diff --git a/templates/settings flyout.html b/templates/settings flyout.html index 7fcabc70..dd937914 100644 --- a/templates/settings flyout.html +++ b/templates/settings flyout.html @@ -412,6 +412,46 @@ + +
+

expand_more Substitutions

+
+ + +
+ Automatically replaces characters as you type. +
+ Replace With +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ + add + +
+
+