summaryrefslogtreecommitdiff
path: root/src/options/options.css
blob: 5322e2e51f1b77ca54b162255712572b4f119050 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
body {
  margin: 0;
  padding: 24px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #1f1f1f;
  background: #fafafa;
}

main {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 20px 24px;
}

h1 {
  font-size: 18px;
  margin: 0 0 16px;
}

fieldset {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  margin: 0 0 16px;
  padding: 12px 16px;
}

legend {
  font-weight: 600;
  padding: 0 6px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.field.inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Advanced numeric rows: fixed label width so every input starts at the
   same x position regardless of the label text length. */
#advanced-fields .field.inline label {
  flex: 0 0 150px;
  min-width: 150px;
}

#advanced-fields .field.inline input[type='number'] {
  width: 120px;
}

label,
.label-text {
  font-weight: 500;
}

.hint {
  color: #5f6368;
  font-size: 11px;
  margin: 2px 0 0;
}

.status {
  color: #5f6368;
  font-size: 12px;
}

.status.error {
  color: #c5221f;
}

input[type='text'],
input[type='number'],
select,
textarea {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  padding: 4px 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.inline {
  display: flex;
  gap: 6px;
  align-items: center;
}

.inline select {
  flex: 1;
  min-width: 0;
}

.inline input[type='number'] {
  width: 120px;
}
.segmented {
  display: flex;
  gap: 12px;
  margin: 4px 0;
}

.segmented label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}

#seed-value-row {
  margin-top: 4px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#save {
  padding: 6px 24px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #1a73e8;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

#save:hover {
  background: #1765cc;
}

.dev-link {
  margin-top: 16px;
  font-size: 11px;
}

.dev-link a {
  color: #5f6368;
}