Skip to content
Snippets Groups Projects
Commit d00e5a83 authored by Martin Leblanc's avatar Martin Leblanc Committed by Kevin Paxman
Browse files

ISTWCMS-5945: css to match textarea background to other text input background...

ISTWCMS-5945: css to match textarea background to other text input background and add matching focus behaviour
parent 3fd942b6
No related branches found
No related tags found
1 merge request!55ISTWCMS-5945 - m26lebla- css to match textarea background to other text input background
......@@ -2,14 +2,22 @@
// Textarea element styles.
:where(textarea) {
background-color: var(--gray-2);
border: var(--size-xs) solid var(--gray-3);
box-shadow: inset 0 var(--size-xs) 3px var(--gray-3);
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: var(--font-systemmedium);
font-size: var(--font-size-0);
letter-spacing: inherit;
overflow: auto;
padding-block: var(--size-1);
padding-inline: var(--size-2);
resize: block;
touch-action: manipulation;
&:focus {
border: var(--size-xs) solid var(--gray-5) !important;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(104, 104, 104, 0.7);
outline: var(--gray-5);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment