Commit Graph

299 Commits

Author SHA1 Message Date
Wolfsblvt aff4138263 Update loader to use modal dialog overlay 2024-06-30 19:45:42 +02:00
Cohee c34150fef0 Limit height to match large popup 2024-06-28 21:32:39 +03:00
Cohee e98f38b6da Final(?) iOS cope 2024-06-28 21:27:48 +03:00
Cohee 1c69ba1ae3 Change mobile cope styles 2024-06-28 20:51:10 +03:00
Cohee fa1d45635b Put mobile height fix under a breakpoint 2024-06-28 20:40:57 +03:00
Cohee 6b204ada9f Fix no-blur not being respected in popups 2024-06-28 17:01:05 +03:00
Cohee 889a552629 Fix popup height on iPhone 2024-06-28 16:58:37 +03:00
Cohee 89e5562494 Explicitly set min and max dimensions for popup dialog 2024-06-28 13:10:15 +00:00
Wolfsblvt 124cbfdfa4 Update Popup to support custom input checkboxes 2024-06-27 02:28:25 +02:00
Wolfsblvt c8411b6dfb Update delete message to new popup 2024-06-26 03:36:06 +02:00
Cohee d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee 6b716980be Update extension manager to use new popup 2024-06-25 11:54:59 +03:00
Cohee 974b98ed8e Remove green border from selected tags 2024-06-25 01:03:09 +03:00
Cohee 62a1cb1dce Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
Cohee c8b9b62d8a Update built-in extensions to use fixed order in extensions menu 2024-06-24 22:15:08 +03:00
Cohee a161ebfcaf Up visibility of close button 2024-06-23 14:53:01 +03:00
Wolfsblvt 7642b66a0e Improve enlarge inline image
- Make enlarge inline image popup zoomable
- Add optional popup class for transparent popups
2024-06-23 12:26:52 +02:00
Wolfsblvt 42766a715d Popup type "DISPLAY" & image enlarge changes
- New popup type "DISPLAY", for showing content with an X in the corner, without buttons
- Rework popup result controls to automatically support click (or other) events to close complete the popup
- Fix inline image icons/actions being keyboard interactable
- Switch inline image enlarge popup to new DISPLAY type
2024-06-23 02:32:06 +02:00
Wolfsblvt f092269c01 Fix toastr alignment in popups 2024-06-20 21:02:50 +02:00
Wolfsblvt dadef92fdf Switch focus styles to :focus-visible
- Switched dynamic styles to :focus-visible to let the browser decide when to display
- Changed most existing :focus CSS selectors to also use :focus-visible
-Made style variables for focus outlines (main and a faint one)
- Remove focus outline from chat bar buttons
- Fix focus of chat bar highlight, moved to outer border
- Fix buttons in chat backgrounds with keyboard navigation
2024-06-18 00:14:15 +02:00
Cohee 08a0b1e828 Merge branch 'staging' into smol-tag-improvements 2024-06-17 21:52:36 +03:00
Wolfsblvt fca626d246 Add style on hover over focused popup button
- Add CSS styling rule to still highlight a button on hover when it is being focused already (Otherwise you won't get any effect on hovering and clicking on the default button if a popup has just opened)
- Dynamic styles extended to ignore rules where both hover and focus is used
2024-06-16 23:33:07 +02:00
Cohee 065d453477 Use main font variable where possible 2024-06-17 00:25:08 +03:00
Cohee e3a46df010 Merge branch 'staging' into smol-tag-improvements 2024-06-16 16:04:37 +03:00
RossAscends 4c81215a60 fix theme-disrespecting text colorizing 2024-06-14 21:50:54 +09:00
Wolfsblvt bdf7fccbae Fix small things from code review
- Remove unused tailwind classes
- Added comment about timeout jsdoc
- Moved new CSS files to @import
2024-06-13 23:55:28 +02:00
Wolfsblvt 96f04a1c49 Merge branch 'staging' into smol-tag-improvements 2024-06-13 23:40:19 +02:00
Len aa4bdec79c
Fix syntax highlight editor (#2300)
* add Noto Sans Mono as default monospace font

* fix ::selection for syntax highlighted editor

* add full noto sans mono

* add explicit "overflow: auto" to textarea to stop Firefox from freaking out

* add syntax hightlight disable toggle

* fix noto sans mono path

* fix details position on scroll

* disable pointer events on autocomplete wrap

* fix for Firefox bug using relative colors

* Shorten font file names.
So that I won't have to scroll the list horizontally

---------

Co-authored-by: LenAnderson <Anderson.Len@outlook.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-13 21:05:50 +03:00
Wolfsblvt d14af1592e Refactor naming/structure of popup CSS classes
- Refactor naming/structure of popup CSS classes
- Prepare Popup utility of opening/showing dialogs
2024-06-09 22:02:51 +02:00
Wolfsblvt 10da7eb474 Comment interactable selectors & more small fixes 2024-06-08 21:15:37 +02:00
Wolfsblvt d98d811cc1 Merge branch 'staging' into smol-tag-improvements 2024-06-08 21:13:11 +02:00
Wolfsblvt e2089b1e44 Dozens new keyboard interactables
- Made dozens of existing controls keyboard interactable
- Tweaked styling so the keyboard focus looks more pleasant
2024-06-06 02:48:06 +02:00
Wolfsblvt e9d4a982c0 Small tweaks to (focus) element styling 2024-06-03 06:19:41 +02:00
Wolfsblvt 98905e0e53 Slight layout fixes to the char import popup
- Need to pull my "wider" popup type from the other branch, because 1/1 aspect ratio scaling is just bad
- Add a few tailwind-like classes for ul-li styling
- Add <kbd> element styling for keyboard buttons
2024-06-03 01:17:19 +02:00
Wolfsblvt 9318f94f08 Merge branch 'staging' into smol-tag-improvements 2024-06-02 21:07:46 +02:00
Wolfsblvt 89d1bc8341 Drag&Drop handler utility and animation 2024-06-02 05:54:41 +02:00
Wolfsblvt 6ca71c3e2c Popup styling changes for smaller content & small fixes 2024-06-02 00:09:25 +02:00
Cohee 2e23e78937 Update WI top block layout 2024-06-01 02:05:42 +03:00
Cohee 358d40f502 Restyle WI activation settings 2024-05-31 23:54:24 +03:00
Wolfsblvt c939c544e2 Rename popup css classes 2024-05-31 21:59:26 +02:00
Wolfsblvt d3327f7829 Create popup and animation css files 2024-05-31 03:30:41 +02:00
Wolfsblvt 311fb261a4 Allow re-linking tag colors to theme
- Add button to link tag color back to theme color, but explicitly setting it to empty again
- Debounce redrawing of tag color for performance
2024-05-27 05:02:00 +02:00
Wolfsblvt 35e21c3568 WIP: Rework import tags popup for more options
- Rework "import tags" dialog, providing options which tags to import, and rendering the tags there, for manual management
- Refactor tag list function to allow custom remove actions
- Refactor functions to allow adding of multiple tags at once
2024-05-26 20:29:50 +02:00
Cohee 761f903fdb Expand rightmost column a bit 2024-05-24 22:27:24 +03:00
Cohee 99e24f5588 Fix group tags opacity 2024-05-18 17:51:10 +03:00
Cohee 9e10022014 I want my 5px back... 2024-05-16 23:11:59 +03:00
Cohee 2eaabe13e3 Merge branch 'staging' into wi-regex-keys 2024-05-16 22:18:32 +03:00
Wolfsblvt 97de520f9a Fix switchy button to top-right 2024-05-16 00:25:11 +02:00
Cohee eb57289b2a Non-Chromium browsers require padding to wrap around 2024-05-16 00:38:32 +03:00
Wolfsblvt 068b542c50 Tag folders "onboarding" icon (: 2024-05-15 23:37:18 +02:00
Cohee 912fd36e29 Set proper height of fancypants button instead of 100% 2024-05-16 00:32:58 +03:00
Cohee b7a91770dc Set line height for select2 search textarea
Prevent height from jumping around when input is focused
2024-05-16 00:28:35 +03:00
Cohee f0af503b4a Transition to full opacity on hover 2024-05-16 00:22:09 +03:00
Cohee 3d023a5cf6 Add opacity to fancypants switch button
Want it to be more subtle yet still visible
2024-05-16 00:18:27 +03:00
Cohee cd90e252bf Add 1px height 2024-05-15 01:23:44 +03:00
Wolfsblvt 00ce078630 WI key input mode switch fancy/plaintext
- Implemented switch between fancy and plaintext input controls
- Fixed splitting keys into regexes index issue
- Fixed focus falsely adding text as key
2024-05-14 04:51:22 +02:00
Wolfsblvt bb3ac095c4 WI key input allow click to edit
- Allow click on WI keys to edit
- Removes them from the key list, allowing direct text editing
- Refactor select2 click subscribe some more, fixing a few issues
2024-05-10 00:42:35 +02:00
Wolfsblvt eb273a1873 WI key dropdown templating shows all keys
- Cache all keys for the loaded lorebook
- Key selection dropdown shows all keys and how often they are used already
- More templating changes
2024-05-08 20:34:53 +02:00
Wolfsblvt fda0e886e4 WI custom styling for regex keys
- WI custom style for regex keys
- moved select2 styling to its own file
2024-05-07 05:44:18 +02:00
Cohee 83c77c1f18 Split group weight and trigger% 2024-05-06 17:00:42 +03:00
Cohee 408151c9cb Use menu_button style colors 2024-05-02 22:50:07 +03:00
Wolfsblvt f0adbc3c28 WI world search allows quick-select 2024-05-02 20:04:24 +02:00
Cohee 2b071bed90 Format style 2024-05-01 10:25:42 +03:00
Wolfsblvt 9d8ebd7bd2 WI search bar now flexibly scales width 2024-04-30 21:35:27 +02:00
Cohee 0d310c434d Update FontAwesome 2024-04-27 23:25:35 +03:00
Cohee ea050b98ef
Merge pull request #2150 from evpeople/release
add a button to translate input message
2024-04-27 21:23:26 +03:00
Cohee b30d69b2a6 Clean-up styles and JQuery use 2024-04-27 21:22:50 +03:00
Cohee b2f40e490b Fix mobile-styles.css for waifuMode
Mobile bros want a waifu too
2024-04-26 21:51:28 +03:00
Cohee 0070950911 Revert grid view spacing 2024-04-25 12:26:21 +03:00
RossAscends e59a5b4449 toggle to hide chat avatars 2024-04-25 12:51:56 +09:00
Cohee df93d43c36 Remove obnoxious mobile padding on right panel 2024-04-22 00:02:48 +03:00
Cohee f75daba6c0 Image inlining hint always visible 2024-04-21 23:38:18 +03:00
Cohee 70c4e82b89 Merge branch 'staging' into neo-server 2024-04-20 21:10:43 +03:00
RossAscends cee1774554 TC/kobold/novel sampler panel layout shuffle 2024-04-21 00:37:03 +09:00
Cohee 242d57c14b Add Data Bank manager 2024-04-16 02:14:34 +03:00
Cohee 2b12d3f8e8 Merge branch 'staging' into neo-server 2024-04-15 01:23:36 +03:00
Cohee 0263be8c1f Merge branch 'staging' into neo-server 2024-04-15 00:26:52 +03:00
Cohee 23ac23010d Fix the rest of mobile cases 2024-04-14 21:17:18 +03:00
Cohee e3f24ac3a0 Fix mobile and ipads 2024-04-14 20:43:17 +03:00
Cohee fcb47c9401 Fix zoomed avatars with moving UI 2024-04-14 20:13:45 +03:00
Kristan Schlikow 928fa7a3fc
Close zoomed image when clicking the parent div instead of image
Makes it easier to close on mobile
2024-04-14 17:12:26 +02:00
Cohee 33c6f34f6c Adjust load spinner position 2024-04-14 15:16:59 +03:00
Cohee 1a372abaff Customizable avatars for users 2024-04-13 17:52:37 +03:00
Cohee bd4d8847ce Merge branch 'staging' into neo-server 2024-04-10 21:41:03 +03:00
Kristan Schlikow d4adbf496f
Address styling issues 2024-04-10 12:15:51 +02:00
Kristan Schlikow 7d4e689bec
Update layout for avatar tags and controls 2024-04-10 12:15:51 +02:00
Cohee 189d096834 Admin change password flow 2024-04-10 00:01:03 +03:00
Cohee 497f38111f Merge branch 'staging' into neo-server 2024-04-09 20:26:03 +03:00
Cohee 3f3e23420d Working login flow 2024-04-07 23:08:19 +03:00
Wolfsblvt 4a4296127c Group chat-specific join prefix/suffix for char fields
- Add group chat setting fields for "prefix" and "suffix"
- Settings will be visible when any "join" setting is selected
- each part will be surrounded, which optional macro replacements on the prefix/suffix
2024-04-07 21:12:41 +02:00
Wolfsblvt fe8f0a8ff2 Limit drawing of tags to 50 with expander
- No matter where we draw tags, we'll draw a maximum of 50 tags
- Filtered tags (selected, excluded) will always be drawn
- Display "expander"  icon/tag to show full tag list
- Cache the full tag list display so consecutive redraws respect it
2024-04-06 07:14:45 +02:00
Cohee 54a6f4bc62 Add speed control 2024-04-02 22:52:51 +03:00
Cohee e99baac9c0 Adjust drilldown arrow style
This thing was huge
2024-03-31 10:48:23 +03:00
Cohee 8c5a81baff Only transition actionable tag filters 2024-03-30 23:23:14 +02:00
Cohee 39768b78ce Decrease brightness of disabled inputs 2024-03-28 00:27:00 +02:00
Cohee 8a7ad5ef91 Indicate overridden prompts 2024-03-24 02:19:10 +02:00
Cohee 3b637cc9a6 Add forbid overrides to prompts 2024-03-24 01:28:35 +02:00
Cohee a805099822 Hide maximize in phone view 2024-03-19 02:57:04 +02:00
Cohee 5b7b06aba8 Make logprobs draggable, fix conflicts between moving UI and maximization, fix z-fighting 2024-03-19 01:40:02 +02:00
Cohee f18733266d Add ability to maximize floating drawers (logprobs, A/N, CFG) 2024-03-18 02:12:23 +02:00