]> git.proxmox.com Git - pve-eslint.git/blob - eslint/docs/src/assets/scss/forms.scss
import 8.41.0 source
[pve-eslint.git] / eslint / docs / src / assets / scss / forms.scss
1 .c-custom-select {
2 appearance: none;
3 box-sizing: border-box;
4 display: block;
5 width: 100%;
6 max-width: 100%;
7 min-width: 0;
8 padding: .625rem .875rem;
9 padding-right: calc(.875rem * 2.5);
10 padding-inline-end: calc(.875rem * 2.5);
11 font: inherit;
12 color: var(--body-text-color);
13 line-height: 1.3;
14 border: 1px solid var(--border-color);
15 border-radius: var(--border-radius);
16 box-shadow: var(--shadow-xs);
17 background-color: var(--body-background-color);
18 background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.60938L10 12.6094L15 7.60938' stroke='%23667085' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"), linear-gradient(to bottom, var(--body-background-color) 0%, var(--body-background-color) 100%);
19 background-repeat: no-repeat, repeat;
20 background-position: right .875rem top 50%, 0 0;
21 background-size: 1em auto, 100%;
22 }
23
24 .label__text.label__text {
25 display: flex;
26 align-items: center;
27 gap: .5rem;
28 font-size: .875rem;
29 font-family: var(--text-font);
30 color: inherit;
31 font-weight: 400;
32 line-height: 1.5;
33 margin-bottom: .25rem;
34 margin-block-end: .25rem;
35 }
36
37 input {
38 border: 1px solid var(--border-color);
39 border-radius: var(--border-radius);
40 padding: .625rem .875rem;
41 font: inherit;
42 font-size: 1rem;
43 display: block;
44 min-width: 0;
45 line-height: 1.3;
46 max-width: 100%;
47 background-color: var(--body-background-color);
48 color: inherit;
49 }