1 | .adm-text-area {
|
2 | --font-size: var(--adm-font-size-9);
|
3 | --color: var(--adm-color-text);
|
4 | --placeholder-color: var(--adm-color-light);
|
5 | --disabled-color: var(--adm-color-weak);
|
6 | --text-align: left;
|
7 | --count-text-align: right;
|
8 | position: relative;
|
9 | width: 100%;
|
10 | max-width: 100%;
|
11 | max-height: 100%;
|
12 | }
|
13 | .adm-text-area-element {
|
14 | font-family: var(--adm-font-family);
|
15 | resize: none;
|
16 | flex: auto;
|
17 | display: block;
|
18 | box-sizing: border-box;
|
19 | width: 100%;
|
20 | max-width: 100%;
|
21 | max-height: 100%;
|
22 | padding: 0;
|
23 | margin: 0;
|
24 | color: var(--color);
|
25 | font-size: var(--font-size);
|
26 | line-height: 1.5;
|
27 | background: transparent;
|
28 | border: 0;
|
29 | outline: none;
|
30 | -webkit-appearance: none;
|
31 | appearance: none;
|
32 | min-height: 1.5em;
|
33 | text-align: var(--text-align);
|
34 | }
|
35 | .adm-text-area-element::-webkit-input-placeholder {
|
36 | color: var(--placeholder-color);
|
37 | font-family: inherit;
|
38 | }
|
39 | .adm-text-area-element::placeholder {
|
40 | color: var(--placeholder-color);
|
41 | font-family: inherit;
|
42 | }
|
43 | .adm-text-area-element:-webkit-autofill {
|
44 | background-color: transparent;
|
45 | }
|
46 | .adm-text-area-element:disabled {
|
47 | color: var(--disabled-color);
|
48 | cursor: not-allowed;
|
49 | opacity: 1;
|
50 | -webkit-text-fill-color: var(--disabled-color);
|
51 | }
|
52 | .adm-text-area-element:read-only {
|
53 | cursor: default;
|
54 | }
|
55 | .adm-text-area-element:invalid {
|
56 | box-shadow: none;
|
57 | }
|
58 | .adm-text-area-element::-ms-clear {
|
59 | display: none;
|
60 | }
|
61 | .adm-text-area-element-hidden {
|
62 | visibility: hidden;
|
63 | position: absolute;
|
64 | top: 0;
|
65 | left: 0;
|
66 | z-index: -1000;
|
67 | }
|
68 | .adm-text-area-count {
|
69 | text-align: var(--count-text-align);
|
70 | color: var(--adm-color-weak);
|
71 | font-size: var(--adm-font-size-9);
|
72 | padding-top: 8px;
|
73 | }
|