Improvement: Enhanced UI Consistency (#4499) * Improvement: Enhanced UI Consistency - Added a class to `<div class="inline-drawer-toggle inline-drawer-header">` in **AI Response Configuration** and **API Connections** menus to match the styling of similar elements in **User Settings** - Improved spacing and sizing for buttons such as `.bg_example .jg-menu` in the **Backgrounds** menu. The previous widths and gaps were too small, often causing accidental taps (especially on mobile devices) * fix * Adjust padding and background color in style.css * Update inline drawer classes for configuration sections * Remove border styles from expandable sections * fix * fix * fix(sad) * Adjust desktop bg_list width --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Signed| @@ -146,11 +146,13 @@ body.reduced-motion #bg_custom { | ||
| 146 | 146 | right: 2px; |
| 147 | 147 | background-color: rgba(0, 0, 0, 0.5); |
| 148 | 148 | border-radius: 8px; |
| 149 | 149 | gap: 2px3px; |
| 150 | 150 | padding: 3px 5px; |
| 151 | 151 | z-index: 3; |
| 152 | 152 | backdrop-filter: blur(4px); |
| 153 | 153 | border: 1px solid var(--SmartThemeBorderColor); |
| 154 | + justify-items: center; | |
| 155 | + align-items: center; | |
| 154 | 156 | |
| 155 | 157 | opacity: 0; |
| 156 | 158 | visibility: hidden; |
| @@ -168,11 +170,13 @@ body.reduced-motion #bg_custom { | ||
| 168 | 170 | |
| 169 | 171 | .bg_example .jg-button { |
| 170 | 172 | display: flex; |
| 173 | + width: 30px; | |
| 174 | + height: 30px; | |
| 171 | 175 | align-items: center; |
| 172 | 176 | justify-content: center; |
| 173 | 177 | color: white; |
| 174 | 178 | padding: 5px; |
| 175 | 179 | font-size: 1.2em1em; |
| 176 | 180 | border-radius: 6px; |
| 177 | 181 | transition: background-color var(--animation-duration) ease; |
| 178 | 182 | } |
| @@ -47,8 +47,8 @@ | ||
| 47 | 47 | position: absolute; |
| 48 | 48 | top: 5px; |
| 49 | 49 | right: 5px; |
| 50 | 50 | width: 28px30px; |
| 51 | 51 | height: 28px30px; |
| 52 | 52 | background-color: rgba(0, 0, 0, 0.4); |
| 53 | 53 | color: white; |
| 54 | 54 | border-radius: 6px; |
| @@ -3239,7 +3239,7 @@ input[type=search]:focus::-webkit-search-cancel-button { | ||
| 3239 | 3239 | .bg_list { |
| 3240 | 3240 | display: flex; |
| 3241 | 3241 | flex-wrap: wrap; |
| 3242 | 3242 | width: calc(var(--sheldWidth) - 10px15px); |
| 3243 | 3243 | max-width: 100vw; |
| 3244 | 3244 | max-width: 100dvw; |
| 3245 | 3245 | justify-content: space-evenly; |