style/text editor/forms: tweak text boxes

This commit is contained in:
Adorian Doran 2025-09-03 04:29:02 +03:00
parent 27fdd9e715
commit c40398df5d
2 changed files with 11 additions and 6 deletions

View File

@ -154,8 +154,8 @@ input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input.ck.ck-input-text,
input.ck.ck-input-number,
:root input.ck.ck-input-text,
:root input.ck.ck-input-number,
textarea.form-control,
textarea,
.tn-input-field {
@ -174,8 +174,8 @@ input[type="password"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover,
input.ck.ck-input-text:hover,
input.ck.ck-input-number:hover,
:root input.ck.ck-input-text:not([readonly="true"]):hover,
:root input.ck.ck-input-number:not([readonly="true"]):hover,
textarea.form-control:hover,
textarea:hover,
.tn-input-field:hover {
@ -190,8 +190,8 @@ input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input.ck.ck-input-text:focus,
input.ck.ck-input-number:focus,
:root input.ck.ck-input-text:focus,
:root input.ck.ck-input-number:focus,
textarea.form-control:focus,
textarea:focus,
.tn-input-field:focus,

View File

@ -498,6 +498,11 @@ button.ck.ck-button:is(.ck-button-action, .ck-button-save, .ck-button-cancel).ck
font-weight: 600;
}
:root input.ck.ck-input-text[readonly="true"] {
cursor: not-allowed;
background: var(--input-background-color);
}
/* Forms */
:root .ck.ck-form__row.ck-form__row_with-submit > :not(:first-child) {