neon_arch commited on
Commit
d59d147
β€’
1 Parent(s): 74d64ce

πŸ“ docs: update the `Themes` section (#265)

Browse files
Files changed (1) hide show
  1. docs/theming.md +124 -2
docs/theming.md CHANGED
@@ -129,6 +129,126 @@ body {
129
  .search_bar button:hover {
130
  filter: brightness(1.2);
131
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  ```
133
 
134
  ### Styles for the footer and header
@@ -499,7 +619,8 @@ This part is only available right now in the **rolling/edge/unstable** version
499
  color: var(--foreground-color);
500
  }
501
 
502
- .settings_container .user_interface select {
 
503
  margin: 0.7rem 0;
504
  width: 20rem;
505
  background-color: var(--background-color);
@@ -511,7 +632,8 @@ This part is only available right now in the **rolling/edge/unstable** version
511
  text-transform: capitalize;
512
  }
513
 
514
- .settings_container .user_interface option:hover {
 
515
  background-color: var(--color-one);
516
  }
517
 
 
129
  .search_bar button:hover {
130
  filter: brightness(1.2);
131
  }
132
+
133
+ .search_area .search_options {
134
+ display: flex;
135
+ justify-content: space-between;
136
+ align-items: center;
137
+ }
138
+
139
+ .search_area .search_options select {
140
+ margin: 0.7rem 0;
141
+ width: 20rem;
142
+ background-color: var(--color-one);
143
+ color: var(--foreground-color);
144
+ padding: 1rem 2rem;
145
+ border-radius: 0.5rem;
146
+ outline: none;
147
+ border: none;
148
+ text-transform: capitalize;
149
+ }
150
+
151
+ .search_area .search_options option:hover {
152
+ background-color: var(--color-one);
153
+ }
154
+
155
+ .result_not_found {
156
+ display: flex;
157
+ flex-direction: column;
158
+ font-size: 1.5rem;
159
+ color: var(--foreground-color);
160
+ }
161
+
162
+ .result_not_found p {
163
+ margin: 1rem 0;
164
+ }
165
+
166
+ .result_not_found ul {
167
+ margin: 1rem 0;
168
+ }
169
+
170
+ .result_not_found img {
171
+ width: 40rem;
172
+ }
173
+ ```
174
+
175
+ ```css
176
+ /* styles for the error box */
177
+ .error_box .error_box_toggle_button {
178
+ background: var(--foreground-color);
179
+ }
180
+
181
+ .error_box .dropdown_error_box {
182
+ position: absolute;
183
+ display: none;
184
+ flex-direction: column;
185
+ background: var(--background-color);
186
+ border-radius: 0;
187
+ margin-left: 2rem;
188
+ min-height: 20rem;
189
+ min-width: 22rem;
190
+ }
191
+ .error_box .dropdown_error_box.show {
192
+ display: flex;
193
+ }
194
+ .error_box .dropdown_error_box .error_item,
195
+ .error_box .dropdown_error_box .no_errors {
196
+ display: flex;
197
+ align-items: center;
198
+ color: var(--foreground-color);
199
+ letter-spacing: 0.1rem;
200
+ padding: 1rem;
201
+ font-size: 1.2rem;
202
+ }
203
+ .error_box .dropdown_error_box .error_item {
204
+ justify-content: space-between;
205
+ }
206
+ .error_box .dropdown_error_box .no_errors {
207
+ min-height: 18rem;
208
+ justify-content: center;
209
+ }
210
+
211
+ .error_box .dropdown_error_box .error_item:hover {
212
+ box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
213
+ }
214
+
215
+ .error_box .error_item .severity_color {
216
+ width: 1.2rem;
217
+ height: 1.2rem;
218
+ }
219
+ .results .result_disallowed,
220
+ .results .result_filtered,
221
+ .results .result_engine_not_selected {
222
+ display: flex;
223
+ justify-content: center;
224
+ align-items: center;
225
+ gap: 10rem;
226
+ font-size: 2rem;
227
+ color: var(--foreground-color);
228
+ margin: 0rem 7rem;
229
+ }
230
+
231
+ .results .result_disallowed .user_query,
232
+ .results .result_filtered .user_query,
233
+ .results .result_engine_not_selected .user_query {
234
+ color: var(--background-color);
235
+ font-weight: 300;
236
+ }
237
+
238
+ .results .result_disallowed img,
239
+ .results .result_filtered img,
240
+ .results .result_engine_not_selected img {
241
+ width: 30rem;
242
+ }
243
+
244
+ .results .result_disallowed div,
245
+ .results .result_filtered div,
246
+ .results .result_engine_not_selected div {
247
+ display: flex;
248
+ flex-direction: column;
249
+ gap: 1rem;
250
+ line-break: strict;
251
+ }
252
  ```
253
 
254
  ### Styles for the footer and header
 
619
  color: var(--foreground-color);
620
  }
621
 
622
+ .settings_container .user_interface select,
623
+ .settings_container .general select {
624
  margin: 0.7rem 0;
625
  width: 20rem;
626
  background-color: var(--background-color);
 
632
  text-transform: capitalize;
633
  }
634
 
635
+ .settings_container .user_interface option:hover,
636
+ .settings_container .general option:hover {
637
  background-color: var(--color-one);
638
  }
639