diff --git a/assets/form.css b/assets/form.css index d1520f9..2dfb2d2 100644 --- a/assets/form.css +++ b/assets/form.css @@ -4,7 +4,6 @@ * @license MIT License */ -textarea { min-height: 38px; } input:read-only { color: var(--secondary) !important; } input:-webkit-autofill:is(*,:focus,:active,:hover) { filter: none; /* needed for firefox! */ @@ -12,6 +11,21 @@ input:-webkit-autofill:is(*,:focus,:active,:hover) { border-color: var(--orange) !important; } +textarea { min-height: 38px; } +textarea.code { + font-size: .7rem; + font-family: Consolas, 'Courier New', Courier, monospace; +} + +/* TextArea counter */ +.form-group span[data-count="maxlength"] { + position: absolute; + text-align: center; + bottom: 6px; + left: 5px; + right: 5px; +} + .custom-file-label::after { display: none; } .custom-control-label::before, .custom-file-label, @@ -48,6 +62,11 @@ input:-webkit-autofill:is(*,:focus,:active,:hover) { color: #fff; } +.ts-wrapper.multi.rows-3 .ts-control { + align-items: start; + min-height: 72px; +} + .ts-wrapper.has-items.plugin-input_autogrow .ts-control > input { flex: none; min-width: 0px; } .ts-wrapper.focus .ts-control, .ts-wrapper input { box-shadow: none !important; }