-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.css
105 lines (92 loc) · 2.19 KB
/
form.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Example styling to customize json-editor styles */
/* Toggle button */
.json-editor-btn-collapse.json-editor-btntype-toggle {
display: none;
}
/* Schema title */
.je-header.je-object__title label {
font-weight: 600;
font-size: 1.3rem;
}
/* Schema description */
.je-object__container[data-schemapath="root"] > p {
font-size: 1rem;
margin: 0.1rem 0 1.5rem 0;
font-weight: 400;
}
/* Panel */
.je-object__container[data-schemapath="root"] > .je-indented-panel {
margin: 0;
padding: 0;
border: none;
}
/* Row */
.je-object__container[data-schemapath="root"] > .je-indented-panel .row {
margin: 0.4rem 0;
}
/* Input label */
.je-object__container[data-schemapath="root"]
> .je-indented-panel
label.je-form-input-label {
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 0.4rem;
}
/* Input */
.je-object__container[data-schemapath="root"] > .je-indented-panel input {
padding: 0.1rem 0.4rem;
border: solid 1px rgb(203 213 225);
border-radius: 0.3rem;
height: fit-content;
font-size: 0.875;
width: auto;
margin-bottom: 0.5rem;
}
/* Input description */
.je-object__container[data-schemapath="root"]
> .je-indented-panel
p.je-form-input-label {
font-weight: 400;
font-size: 0.875rem;
margin-bottom: 0.4rem;
padding: 0.4rem 0rem;
}
/* Select */
.je-object__container[data-schemapath="root"] > .je-indented-panel select {
padding: 0.15rem 0.4rem;
border: solid 1px rgb(158, 166, 176);
background-color: transparent;
border-radius: 0.3rem;
height: fit-content;
font-size: 0.875;
width: fit-content;
}
/* Browse button */
button.json-editor-btn-[type="button"] {
padding: 0.1rem 0.4rem;
border: solid 1px #374151;
color: #374151;
border-radius: 0.3rem;
height: fit-content;
font-size: 0.875;
margin-left: 0.4rem;
transition: ease-in-out 0.1s;
}
button.json-editor-btn-[type="button"]:hover {
opacity: 0.7;
}
/* Upload button */
.json-editor-btn-upload[type="button"] {
padding: 0.1rem 0.4rem;
background-color: #374151;
color: white;
border-radius: 0.3rem;
height: fit-content;
font-size: 0.8rem;
font-weight: 400;
margin-top: 0.5rem;
transition: ease-in-out 0.1s;
}
.json-editor-btn-upload[type="button"]:hover {
opacity: 0.9;
}