[fix] simple theme: style password inputs like text inputs
The AI summary API key is a password input, the preferences stylesheet only styled input[type="text"] -- the field rendered with the browser default (white) instead of the theme background. The description of the field is shortened to what a user needs to decide whether to fill it in. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,8 @@ table {
|
|||||||
width: 300px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"],
|
||||||
|
input[type="password"] {
|
||||||
width: 13.25rem;
|
width: 13.25rem;
|
||||||
color: var(--color-toolkit-input-text-font);
|
color: var(--color-toolkit-input-text-font);
|
||||||
border: none;
|
border: none;
|
||||||
@@ -65,7 +66,8 @@ table {
|
|||||||
width: 15em;
|
width: 15em;
|
||||||
|
|
||||||
select,
|
select,
|
||||||
input[type="text"] {
|
input[type="text"],
|
||||||
|
input[type="password"] {
|
||||||
font-size: inherit !important;
|
font-size: inherit !important;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
.ltr-margin-right(1rem);
|
.ltr-margin-right(1rem);
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -25,7 +25,7 @@
|
|||||||
value="{{ preferences.get_value('ai_summary_api_key') }}">{{- '' -}}
|
value="{{ preferences.get_value('ai_summary_api_key') }}">{{- '' -}}
|
||||||
</div>{{- '' -}}
|
</div>{{- '' -}}
|
||||||
<div class="description">
|
<div class="description">
|
||||||
{{- _('Only needed if the server URL above is your own server and it requires authentication. Leave empty for a server without authentication and for the default server of this instance (which uses the key of the administrator, never yours). The key is stored in a cookie in your browser and is not part of the preferences URL.') -}}
|
{{- _('Optional, only needed if your server requires authentication.') -}}
|
||||||
</div>{{- '' -}}
|
</div>{{- '' -}}
|
||||||
</fieldset>{{- '' -}}
|
</fieldset>{{- '' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user