Skip to content
Snippets Groups Projects
Commit fe6c564a authored by rhenck's avatar rhenck
Browse files

Fix text-field-simple hover and focus style

To be the same as with Material inputs.

#319
parent 9550df25
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,9 @@ import { ...@@ -32,7 +32,9 @@ import {
`, `,
styles: [ styles: [
'.clozeChild {border: 1px solid rgba(0,0,0,.12); border-radius: 5px}', '.clozeChild {border: 1px solid rgba(0,0,0,.12); border-radius: 5px}',
'input {width: calc(100% - 2px); height: calc(100% - 2px); vertical-align: top; padding: 0;}' 'input {width: calc(100% - 2px); height: calc(100% - 2px); vertical-align: top; padding: 0;}',
'input:hover {border: 1px solid currentColor;}',
'input:focus {outline: 1px solid #3f51b5;}'
] ]
}) })
export class TextFieldSimpleComponent extends FormElementComponent { export class TextFieldSimpleComponent extends FormElementComponent {
......
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