1 | // mixins shared between the our themes and the public API
|
2 |
|
3 | // Apply styles to all text fields. Usage:
|
4 | // @include ag.text-input {
|
5 | // border: solid dashed red;
|
6 | // }
|
7 | @mixin text-input {
|
8 | input[class^='ag-']:not([type]),
|
9 | input[class^='ag-'][type='text'],
|
10 | input[class^='ag-'][type='number'],
|
11 | input[class^='ag-'][type='tel'],
|
12 | input[class^='ag-'][type='date'],
|
13 | input[class^='ag-'][type='datetime-local'],
|
14 | textarea[class^='ag-'] {
|
15 | @content;
|
16 | }
|
17 | } |
\ | No newline at end of file |