Skip to content

Commit

Permalink
Added few custom classes
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 6, 2024
1 parent cbf8211 commit e5d220a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion assets/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,28 @@
* @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! */
box-shadow: 0 0 0 100px #fff inset;
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,
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit e5d220a

Please sign in to comment.