fnschool 20250109.80531.837__py3-none-any.whl → 20251011.81638.854__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fnschool might be problematic. Click here for more details.

Files changed (278) hide show
  1. fnschoo1/__init__.py +53 -0
  2. fnschoo1/canteen/admin.py +3 -0
  3. fnschoo1/canteen/apps.py +6 -0
  4. fnschoo1/canteen/forms.py +84 -0
  5. fnschoo1/canteen/migrations/0001_initial.py +119 -0
  6. fnschoo1/canteen/migrations/0002_ingredient_is_disabled.py +20 -0
  7. fnschoo1/canteen/migrations/0003_consumption_is_disabled_alter_ingredient_is_disabled.py +23 -0
  8. fnschoo1/canteen/migrations/0004_alter_ingredient_name_category_and_more.py +66 -0
  9. fnschoo1/canteen/migrations/0005_alter_category_created_at_alter_category_name_and_more.py +41 -0
  10. fnschoo1/canteen/migrations/0006_category_is_disabled_alter_category_user_and_more.py +49 -0
  11. fnschoo1/canteen/migrations/0007_alter_consumption_amount_used_and_more.py +30 -0
  12. fnschoo1/canteen/migrations/0008_category_abbreviation_mealtype.py +67 -0
  13. fnschoo1/canteen/migrations/0009_alter_category_abbreviation_and_more.py +55 -0
  14. fnschoo1/canteen/migrations/0010_alter_consumption_options_alter_ingredient_options_and_more.py +215 -0
  15. fnschoo1/canteen/migrations/0011_category_pin_to_consumptions_top.py +23 -0
  16. fnschoo1/canteen/migrations/0012_alter_ingredient_storage_date.py +18 -0
  17. fnschoo1/canteen/models.py +179 -0
  18. fnschoo1/canteen/templates/canteen/category/create.html +17 -0
  19. fnschoo1/canteen/templates/canteen/category/delete.html +61 -0
  20. fnschoo1/canteen/templates/canteen/category/list.html +63 -0
  21. fnschoo1/canteen/templates/canteen/category/update.html +23 -0
  22. fnschoo1/canteen/templates/canteen/close.html +11 -0
  23. fnschoo1/canteen/templates/canteen/consumption/_create.html +19 -0
  24. fnschoo1/canteen/templates/canteen/consumption/create.html +456 -0
  25. fnschoo1/canteen/templates/canteen/ingredient/close.html +11 -0
  26. fnschoo1/canteen/templates/canteen/ingredient/create.html +19 -0
  27. fnschoo1/canteen/templates/canteen/ingredient/create_one.html +17 -0
  28. fnschoo1/canteen/templates/canteen/ingredient/delete.html +41 -0
  29. fnschoo1/canteen/templates/canteen/ingredient/list.html +128 -0
  30. fnschoo1/canteen/templates/canteen/ingredient/update.html +23 -0
  31. fnschoo1/canteen/templates/canteen/meal_type/create.html +17 -0
  32. fnschoo1/canteen/templates/canteen/meal_type/delete.html +56 -0
  33. fnschoo1/canteen/templates/canteen/meal_type/list.html +59 -0
  34. fnschoo1/canteen/templates/canteen/meal_type/update.html +23 -0
  35. fnschoo1/canteen/tests.py +3 -0
  36. fnschoo1/canteen/urls.py +116 -0
  37. fnschoo1/canteen/views.py +814 -0
  38. fnschoo1/canteen/workbook/generate.py +2098 -0
  39. fnschoo1/db.sqlite3 +0 -0
  40. fnschoo1/fnschool/__init__.py +13 -0
  41. fnschoo1/fnschool/asgi.py +16 -0
  42. fnschoo1/fnschool/settings.py +167 -0
  43. fnschoo1/fnschool/templatetags/fnschool_tags.py +27 -0
  44. fnschoo1/fnschool/urls.py +30 -0
  45. fnschoo1/fnschool/views.py +9 -0
  46. fnschoo1/fnschool/wsgi.py +16 -0
  47. fnschoo1/locale/en/LC_MESSAGES/django.mo +0 -0
  48. fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  49. fnschoo1/manage.py +25 -0
  50. fnschoo1/profiles/admin.py +27 -0
  51. fnschoo1/profiles/apps.py +12 -0
  52. fnschoo1/profiles/forms.py +67 -0
  53. fnschoo1/profiles/migrations/0001_initial.py +192 -0
  54. fnschoo1/profiles/migrations/0002_alter_profile_bio.py +20 -0
  55. fnschoo1/profiles/migrations/0003_alter_profile_options_alter_profile_address_and_more.py +67 -0
  56. fnschoo1/profiles/migrations/0004_profile_gender.py +26 -0
  57. fnschoo1/profiles/migrations/0005_alter_profile_gender.py +23 -0
  58. fnschoo1/profiles/models.py +60 -0
  59. fnschoo1/profiles/signals.py +20 -0
  60. fnschoo1/profiles/templates/profiles/create.html +16 -0
  61. fnschoo1/profiles/templates/profiles/detail.html +14 -0
  62. fnschoo1/profiles/templates/profiles/edit.html +12 -0
  63. fnschoo1/profiles/templates/profiles/log_in.html +20 -0
  64. fnschoo1/profiles/templates/profiles/log_out.html +12 -0
  65. fnschoo1/profiles/tests.py +3 -0
  66. fnschoo1/profiles/urls.py +15 -0
  67. fnschoo1/profiles/views.py +63 -0
  68. fnschoo1/static/css/bootstrap.min.css +11776 -0
  69. fnschoo1/static/css/fnschool.css +26 -0
  70. fnschoo1/static/images/favicon.ico +0 -0
  71. fnschoo1/static/js/bootstrap.bundle.min.js +4223 -0
  72. fnschoo1/static/js/bootstrap.min.js +2919 -0
  73. fnschoo1/static/js/fnschool.js +84 -0
  74. fnschoo1/static/js/jquery.min.js +5413 -0
  75. fnschoo1/static/js/jquery.slim.min.js +4331 -0
  76. fnschoo1/static/js/popper.min.js +1306 -0
  77. fnschoo1/static_collected/admin/css/autocomplete.css +377 -0
  78. fnschoo1/static_collected/admin/css/base.css +1224 -0
  79. fnschoo1/static_collected/admin/css/changelists.css +334 -0
  80. fnschoo1/static_collected/admin/css/dark_mode.css +136 -0
  81. fnschoo1/static_collected/admin/css/dashboard.css +30 -0
  82. fnschoo1/static_collected/admin/css/forms.css +546 -0
  83. fnschoo1/static_collected/admin/css/login.css +62 -0
  84. fnschoo1/static_collected/admin/css/nav_sidebar.css +145 -0
  85. fnschoo1/static_collected/admin/css/responsive.css +1043 -0
  86. fnschoo1/static_collected/admin/css/responsive_rtl.css +84 -0
  87. fnschoo1/static_collected/admin/css/rtl.css +311 -0
  88. fnschoo1/static_collected/admin/css/vendor/select2/select2.css +708 -0
  89. fnschoo1/static_collected/admin/css/vendor/select2/select2.min.css +1 -0
  90. fnschoo1/static_collected/admin/css/widgets.css +639 -0
  91. fnschoo1/static_collected/admin/js/SelectBox.js +128 -0
  92. fnschoo1/static_collected/admin/js/SelectFilter2.js +503 -0
  93. fnschoo1/static_collected/admin/js/actions.js +232 -0
  94. fnschoo1/static_collected/admin/js/admin/DateTimeShortcuts.js +496 -0
  95. fnschoo1/static_collected/admin/js/admin/RelatedObjectLookups.js +276 -0
  96. fnschoo1/static_collected/admin/js/autocomplete.js +33 -0
  97. fnschoo1/static_collected/admin/js/calendar.js +251 -0
  98. fnschoo1/static_collected/admin/js/cancel.js +29 -0
  99. fnschoo1/static_collected/admin/js/change_form.js +21 -0
  100. fnschoo1/static_collected/admin/js/collapse.js +43 -0
  101. fnschoo1/static_collected/admin/js/core.js +174 -0
  102. fnschoo1/static_collected/admin/js/filters.js +37 -0
  103. fnschoo1/static_collected/admin/js/inlines.js +439 -0
  104. fnschoo1/static_collected/admin/js/jquery.init.js +8 -0
  105. fnschoo1/static_collected/admin/js/nav_sidebar.js +81 -0
  106. fnschoo1/static_collected/admin/js/popup_response.js +24 -0
  107. fnschoo1/static_collected/admin/js/prepopulate.js +43 -0
  108. fnschoo1/static_collected/admin/js/prepopulate_init.js +20 -0
  109. fnschoo1/static_collected/admin/js/theme.js +57 -0
  110. fnschoo1/static_collected/admin/js/urlify.js +529 -0
  111. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.js +10913 -0
  112. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.min.js +2 -0
  113. fnschoo1/static_collected/admin/js/vendor/select2/i18n/af.js +43 -0
  114. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ar.js +36 -0
  115. fnschoo1/static_collected/admin/js/vendor/select2/i18n/az.js +33 -0
  116. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bg.js +38 -0
  117. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bn.js +39 -0
  118. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bs.js +48 -0
  119. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ca.js +41 -0
  120. fnschoo1/static_collected/admin/js/vendor/select2/i18n/cs.js +62 -0
  121. fnschoo1/static_collected/admin/js/vendor/select2/i18n/da.js +37 -0
  122. fnschoo1/static_collected/admin/js/vendor/select2/i18n/de.js +41 -0
  123. fnschoo1/static_collected/admin/js/vendor/select2/i18n/dsb.js +51 -0
  124. fnschoo1/static_collected/admin/js/vendor/select2/i18n/el.js +43 -0
  125. fnschoo1/static_collected/admin/js/vendor/select2/i18n/en.js +41 -0
  126. fnschoo1/static_collected/admin/js/vendor/select2/i18n/es.js +41 -0
  127. fnschoo1/static_collected/admin/js/vendor/select2/i18n/et.js +38 -0
  128. fnschoo1/static_collected/admin/js/vendor/select2/i18n/eu.js +45 -0
  129. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fa.js +42 -0
  130. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fi.js +42 -0
  131. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fr.js +43 -0
  132. fnschoo1/static_collected/admin/js/vendor/select2/i18n/gl.js +40 -0
  133. fnschoo1/static_collected/admin/js/vendor/select2/i18n/he.js +44 -0
  134. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hi.js +40 -0
  135. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hr.js +45 -0
  136. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hsb.js +51 -0
  137. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hu.js +44 -0
  138. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hy.js +40 -0
  139. fnschoo1/static_collected/admin/js/vendor/select2/i18n/id.js +36 -0
  140. fnschoo1/static_collected/admin/js/vendor/select2/i18n/is.js +37 -0
  141. fnschoo1/static_collected/admin/js/vendor/select2/i18n/it.js +43 -0
  142. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ja.js +40 -0
  143. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ka.js +42 -0
  144. fnschoo1/static_collected/admin/js/vendor/select2/i18n/km.js +38 -0
  145. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ko.js +42 -0
  146. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lt.js +45 -0
  147. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lv.js +41 -0
  148. fnschoo1/static_collected/admin/js/vendor/select2/i18n/mk.js +42 -0
  149. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ms.js +38 -0
  150. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nb.js +38 -0
  151. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ne.js +44 -0
  152. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nl.js +46 -0
  153. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pl.js +43 -0
  154. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ps.js +41 -0
  155. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt-BR.js +39 -0
  156. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt.js +41 -0
  157. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ro.js +43 -0
  158. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ru.js +48 -0
  159. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sk.js +61 -0
  160. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sl.js +41 -0
  161. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sq.js +43 -0
  162. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr-Cyrl.js +48 -0
  163. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr.js +48 -0
  164. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sv.js +40 -0
  165. fnschoo1/static_collected/admin/js/vendor/select2/i18n/th.js +36 -0
  166. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tk.js +36 -0
  167. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tr.js +40 -0
  168. fnschoo1/static_collected/admin/js/vendor/select2/i18n/uk.js +59 -0
  169. fnschoo1/static_collected/admin/js/vendor/select2/i18n/vi.js +37 -0
  170. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-CN.js +36 -0
  171. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-TW.js +33 -0
  172. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.js +7115 -0
  173. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.min.js +2 -0
  174. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.js +4993 -0
  175. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.min.js +160 -0
  176. fnschoo1/static_collected/css/bootstrap.min.css +11776 -0
  177. fnschoo1/static_collected/css/fnschool.css +26 -0
  178. fnschoo1/static_collected/images/favicon.ico +0 -0
  179. fnschoo1/static_collected/js/bootstrap.bundle.min.js +4223 -0
  180. fnschoo1/static_collected/js/bootstrap.min.js +2919 -0
  181. fnschoo1/static_collected/js/fnschool.js +84 -0
  182. fnschoo1/static_collected/js/jquery.min.js +5413 -0
  183. fnschoo1/static_collected/js/jquery.slim.min.js +4331 -0
  184. fnschoo1/static_collected/js/popper.min.js +1306 -0
  185. fnschoo1/templates/base/_css.html +1 -0
  186. fnschoo1/templates/base/_js.html +15 -0
  187. fnschoo1/templates/base/content.html +30 -0
  188. fnschoo1/templates/base/header_content_footer.html +35 -0
  189. fnschoo1/templates/close.html +11 -0
  190. fnschoo1/templates/home.html +51 -0
  191. fnschoo1/templates/includes/_footer.html +39 -0
  192. fnschoo1/templates/includes/_header.html +77 -0
  193. fnschoo1/templates/includes/_navigation.html +0 -0
  194. fnschoo1/templates/includes/_paginator.html +27 -0
  195. fnschoo1/templates/registration/logged_out.html +0 -0
  196. fnschoo1/templates/registration/login.html +0 -0
  197. fnschool-20251011.81638.854.dist-info/METADATA +179 -0
  198. fnschool-20251011.81638.854.dist-info/RECORD +209 -0
  199. {fnschool-20250109.80531.837.dist-info → fnschool-20251011.81638.854.dist-info}/WHEEL +1 -1
  200. fnschool-20251011.81638.854.dist-info/entry_points.txt +2 -0
  201. fnschool-20251011.81638.854.dist-info/top_level.txt +1 -0
  202. fnschool/__init__.py +0 -35
  203. fnschool/__main__.py +0 -16
  204. fnschool/app.py +0 -103
  205. fnschool/canteen/__init__.py +0 -3
  206. fnschool/canteen/__main__.py +0 -3
  207. fnschool/canteen/bill.py +0 -253
  208. fnschool/canteen/canteen.py +0 -1
  209. fnschool/canteen/canteen.toml +0 -61
  210. fnschool/canteen/config.py +0 -10
  211. fnschool/canteen/consuming.py +0 -53
  212. fnschool/canteen/currency.py +0 -17
  213. fnschool/canteen/data/bill.i18n.xlsx +0 -0
  214. fnschool/canteen/data/bill.xlsx +0 -0
  215. fnschool/canteen/data/consuming.xlsx +0 -0
  216. fnschool/canteen/data/purchase_list.xlsx +0 -0
  217. fnschool/canteen/entry.py +0 -40
  218. fnschool/canteen/food.py +0 -206
  219. fnschool/canteen/food_classes.py +0 -33
  220. fnschool/canteen/food_classes.toml +0 -64
  221. fnschool/canteen/operator.py +0 -91
  222. fnschool/canteen/path.py +0 -28
  223. fnschool/canteen/spreadsheet/base.py +0 -213
  224. fnschool/canteen/spreadsheet/consuming.py +0 -310
  225. fnschool/canteen/spreadsheet/consumingsum.py +0 -76
  226. fnschool/canteen/spreadsheet/cover.py +0 -64
  227. fnschool/canteen/spreadsheet/ctspreadsheet.py +0 -351
  228. fnschool/canteen/spreadsheet/food.py +0 -680
  229. fnschool/canteen/spreadsheet/inventory.py +0 -375
  230. fnschool/canteen/spreadsheet/merging.py +0 -340
  231. fnschool/canteen/spreadsheet/preconsuming.py +0 -329
  232. fnschool/canteen/spreadsheet/purchasing.py +0 -885
  233. fnschool/canteen/spreadsheet/purchasingsum.py +0 -110
  234. fnschool/canteen/spreadsheet/spreadsheet.py +0 -363
  235. fnschool/canteen/spreadsheet/translating.py +0 -12
  236. fnschool/canteen/spreadsheet/unwarehousing.py +0 -178
  237. fnschool/canteen/spreadsheet/unwarehousingsum.py +0 -11
  238. fnschool/canteen/spreadsheet/warehousing.py +0 -360
  239. fnschool/canteen/spreadsheet/workbook.py +0 -17
  240. fnschool/canteen/test.py +0 -97
  241. fnschool/config.py +0 -48
  242. fnschool/entry.py +0 -67
  243. fnschool/exam/__init__.py +0 -8
  244. fnschool/exam/data/parental_emails.xlsx +0 -0
  245. fnschool/exam/data/score.xlsx +0 -0
  246. fnschool/exam/email.py +0 -349
  247. fnschool/exam/entry.py +0 -36
  248. fnschool/exam/language.py +0 -19
  249. fnschool/exam/path.py +0 -24
  250. fnschool/exam/score.py +0 -1191
  251. fnschool/exam/subject.py +0 -20
  252. fnschool/exam/teacher.py +0 -54
  253. fnschool/external.py +0 -89
  254. fnschool/games/__init__.py +0 -1
  255. fnschool/games/__main__.py +0 -1
  256. fnschool/games/games.py +0 -1
  257. fnschool/inoutput.py +0 -97
  258. fnschool/language.py +0 -40
  259. fnschool/locales/en_US/LC_MESSAGES/fnschool.mo +0 -0
  260. fnschool/locales/zh_CN/LC_MESSAGES/fnschool.mo +0 -0
  261. fnschool/locales/zh_HK/LC_MESSAGES/fnschool.mo +0 -0
  262. fnschool/locales/zh_SG/LC_MESSAGES/fnschool.mo +0 -0
  263. fnschool/locales/zh_TW/LC_MESSAGES/fnschool.mo +0 -0
  264. fnschool/path.py +0 -45
  265. fnschool/test.py +0 -24
  266. fnschool/user.py +0 -262
  267. fnschool-20250109.80531.837.dist-info/METADATA +0 -342
  268. fnschool-20250109.80531.837.dist-info/RECORD +0 -78
  269. fnschool-20250109.80531.837.dist-info/entry_points.txt +0 -5
  270. fnschool-20250109.80531.837.dist-info/top_level.txt +0 -1
  271. /fnschool/canteen/consume.py → /fnschoo1/canteen/__init__.py +0 -0
  272. /fnschool/canteen/food_recount.toml → /fnschoo1/canteen/migrations/__init__.py +0 -0
  273. {fnschool/canteen/spreadsheet → fnschoo1/canteen/workbook}/__init__.py +0 -0
  274. /fnschool/exam/__main__.py → /fnschoo1/fnschool/templatetags/__init__.py +0 -0
  275. /fnschool/canteen/food_recounts.toml → /fnschoo1/profiles/__init__.py +0 -0
  276. /fnschool/canteen/warehouse.py → /fnschoo1/profiles/migrations/__init__.py +0 -0
  277. /fnschool/canteen/workbook.toml → /fnschoo1/templates/base/_content.html +0 -0
  278. {fnschool-20250109.80531.837.dist-info → fnschool-20251011.81638.854.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,334 @@
1
+ /* CHANGELISTS */
2
+
3
+ #changelist {
4
+ display: flex;
5
+ align-items: flex-start;
6
+ justify-content: space-between;
7
+ }
8
+
9
+ #changelist .changelist-form-container {
10
+ flex: 1 1 auto;
11
+ min-width: 0;
12
+ }
13
+
14
+ #changelist table {
15
+ width: 100%;
16
+ }
17
+
18
+ .change-list .hiddenfields {
19
+ display: none;
20
+ }
21
+
22
+ .change-list .filtered table {
23
+ border-right: none;
24
+ }
25
+
26
+ .change-list .filtered {
27
+ min-height: 400px;
28
+ }
29
+
30
+ .change-list .filtered .results,
31
+ .change-list .filtered .paginator,
32
+ .filtered #toolbar,
33
+ .filtered div.xfull {
34
+ width: auto;
35
+ }
36
+
37
+ .change-list .filtered table tbody th {
38
+ padding-right: 1em;
39
+ }
40
+
41
+ #changelist-form .results {
42
+ overflow-x: auto;
43
+ width: 100%;
44
+ }
45
+
46
+ #changelist .toplinks {
47
+ border-bottom: 1px solid var(--hairline-color);
48
+ }
49
+
50
+ #changelist .paginator {
51
+ color: var(--body-quiet-color);
52
+ border-bottom: 1px solid var(--hairline-color);
53
+ background: var(--body-bg);
54
+ overflow: hidden;
55
+ }
56
+
57
+ /* CHANGELIST TABLES */
58
+
59
+ #changelist table thead th {
60
+ padding: 0;
61
+ white-space: nowrap;
62
+ vertical-align: middle;
63
+ }
64
+
65
+ #changelist table thead th.action-checkbox-column {
66
+ width: 1.5em;
67
+ text-align: center;
68
+ }
69
+
70
+ #changelist table tbody td.action-checkbox {
71
+ text-align: center;
72
+ }
73
+
74
+ #changelist table tfoot {
75
+ color: var(--body-quiet-color);
76
+ }
77
+
78
+ /* TOOLBAR */
79
+
80
+ #toolbar {
81
+ padding: 8px 10px;
82
+ margin-bottom: 15px;
83
+ border-top: 1px solid var(--hairline-color);
84
+ border-bottom: 1px solid var(--hairline-color);
85
+ background: var(--darkened-bg);
86
+ color: var(--body-quiet-color);
87
+ }
88
+
89
+ #toolbar form input {
90
+ border-radius: 4px;
91
+ font-size: 0.875rem;
92
+ padding: 5px;
93
+ color: var(--body-fg);
94
+ }
95
+
96
+ #toolbar #searchbar {
97
+ height: 1.1875rem;
98
+ border: 1px solid var(--border-color);
99
+ padding: 2px 5px;
100
+ margin: 0;
101
+ vertical-align: top;
102
+ font-size: 0.8125rem;
103
+ max-width: 100%;
104
+ }
105
+
106
+ #toolbar #searchbar:focus {
107
+ border-color: var(--body-quiet-color);
108
+ }
109
+
110
+ #toolbar form input[type='submit'] {
111
+ border: 1px solid var(--border-color);
112
+ font-size: 0.8125rem;
113
+ padding: 4px 8px;
114
+ margin: 0;
115
+ vertical-align: middle;
116
+ background: var(--body-bg);
117
+ box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
118
+ cursor: pointer;
119
+ color: var(--body-fg);
120
+ }
121
+
122
+ #toolbar form input[type='submit']:focus,
123
+ #toolbar form input[type='submit']:hover {
124
+ border-color: var(--body-quiet-color);
125
+ }
126
+
127
+ #changelist-search img {
128
+ vertical-align: middle;
129
+ margin-right: 4px;
130
+ }
131
+
132
+ #changelist-search .help {
133
+ word-break: break-word;
134
+ }
135
+
136
+ /* FILTER COLUMN */
137
+
138
+ #changelist-filter {
139
+ flex: 0 0 240px;
140
+ order: 1;
141
+ background: var(--darkened-bg);
142
+ border-left: none;
143
+ margin: 0 0 0 30px;
144
+ }
145
+
146
+ #changelist-filter h2 {
147
+ font-size: 0.875rem;
148
+ text-transform: uppercase;
149
+ letter-spacing: 0.5px;
150
+ padding: 5px 15px;
151
+ margin-bottom: 12px;
152
+ border-bottom: none;
153
+ }
154
+
155
+ #changelist-filter h3,
156
+ #changelist-filter details summary {
157
+ font-weight: 400;
158
+ padding: 0 15px;
159
+ margin-bottom: 10px;
160
+ }
161
+
162
+ #changelist-filter details summary > * {
163
+ display: inline;
164
+ }
165
+
166
+ #changelist-filter details > summary {
167
+ list-style-type: none;
168
+ }
169
+
170
+ #changelist-filter details > summary::-webkit-details-marker {
171
+ display: none;
172
+ }
173
+
174
+ #changelist-filter details > summary::before {
175
+ content: '→';
176
+ font-weight: bold;
177
+ color: var(--link-hover-color);
178
+ }
179
+
180
+ #changelist-filter details[open] > summary::before {
181
+ content: '↓';
182
+ }
183
+
184
+ #changelist-filter ul {
185
+ margin: 5px 0;
186
+ padding: 0 15px 15px;
187
+ border-bottom: 1px solid var(--hairline-color);
188
+ }
189
+
190
+ #changelist-filter ul:last-child {
191
+ border-bottom: none;
192
+ }
193
+
194
+ #changelist-filter li {
195
+ list-style-type: none;
196
+ margin-left: 0;
197
+ padding-left: 0;
198
+ }
199
+
200
+ #changelist-filter a {
201
+ display: block;
202
+ color: var(--body-quiet-color);
203
+ word-break: break-word;
204
+ }
205
+
206
+ #changelist-filter li.selected {
207
+ border-left: 5px solid var(--hairline-color);
208
+ padding-left: 10px;
209
+ margin-left: -15px;
210
+ }
211
+
212
+ #changelist-filter li.selected a {
213
+ color: var(--link-selected-fg);
214
+ }
215
+
216
+ #changelist-filter a:focus,
217
+ #changelist-filter a:hover,
218
+ #changelist-filter li.selected a:focus,
219
+ #changelist-filter li.selected a:hover {
220
+ color: var(--link-hover-color);
221
+ }
222
+
223
+ #changelist-filter #changelist-filter-clear a {
224
+ font-size: 0.8125rem;
225
+ padding-bottom: 10px;
226
+ border-bottom: 1px solid var(--hairline-color);
227
+ }
228
+
229
+ /* DATE DRILLDOWN */
230
+
231
+ .change-list .toplinks {
232
+ display: flex;
233
+ padding-bottom: 5px;
234
+ flex-wrap: wrap;
235
+ gap: 3px 17px;
236
+ font-weight: bold;
237
+ }
238
+
239
+ .change-list .toplinks a {
240
+ font-size: 0.8125rem;
241
+ }
242
+
243
+ .change-list .toplinks .date-back {
244
+ color: var(--body-quiet-color);
245
+ }
246
+
247
+ .change-list .toplinks .date-back:focus,
248
+ .change-list .toplinks .date-back:hover {
249
+ color: var(--link-hover-color);
250
+ }
251
+
252
+ /* ACTIONS */
253
+
254
+ .filtered .actions {
255
+ border-right: none;
256
+ }
257
+
258
+ #changelist table input {
259
+ margin: 0;
260
+ vertical-align: baseline;
261
+ }
262
+
263
+ /* Once the :has() pseudo-class is supported by all browsers, the tr.selected
264
+ selector and the JS adding the class can be removed. */
265
+ #changelist tbody tr.selected {
266
+ background-color: var(--selected-row);
267
+ }
268
+
269
+ #changelist tbody tr:has(.action-select:checked) {
270
+ background-color: var(--selected-row);
271
+ }
272
+
273
+ #changelist .actions {
274
+ padding: 10px;
275
+ background: var(--body-bg);
276
+ border-top: none;
277
+ border-bottom: none;
278
+ line-height: 1.5rem;
279
+ color: var(--body-quiet-color);
280
+ width: 100%;
281
+ }
282
+
283
+ #changelist .actions span.all,
284
+ #changelist .actions span.action-counter,
285
+ #changelist .actions span.clear,
286
+ #changelist .actions span.question {
287
+ font-size: 0.8125rem;
288
+ margin: 0 0.5em;
289
+ }
290
+
291
+ #changelist .actions:last-child {
292
+ border-bottom: none;
293
+ }
294
+
295
+ #changelist .actions select {
296
+ vertical-align: top;
297
+ height: 1.5rem;
298
+ color: var(--body-fg);
299
+ border: 1px solid var(--border-color);
300
+ border-radius: 4px;
301
+ font-size: 0.875rem;
302
+ padding: 0 0 0 4px;
303
+ margin: 0;
304
+ margin-left: 10px;
305
+ }
306
+
307
+ #changelist .actions select:focus {
308
+ border-color: var(--body-quiet-color);
309
+ }
310
+
311
+ #changelist .actions label {
312
+ display: inline-block;
313
+ vertical-align: middle;
314
+ font-size: 0.8125rem;
315
+ }
316
+
317
+ #changelist .actions .button {
318
+ font-size: 0.8125rem;
319
+ border: 1px solid var(--border-color);
320
+ border-radius: 4px;
321
+ background: var(--body-bg);
322
+ box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
323
+ cursor: pointer;
324
+ height: 1.5rem;
325
+ line-height: 1;
326
+ padding: 4px 8px;
327
+ margin: 0;
328
+ color: var(--body-fg);
329
+ }
330
+
331
+ #changelist .actions .button:focus,
332
+ #changelist .actions .button:hover {
333
+ border-color: var(--body-quiet-color);
334
+ }
@@ -0,0 +1,136 @@
1
+ @media (prefers-color-scheme: dark) {
2
+ :root {
3
+ --primary: #264b5d;
4
+ --primary-fg: #f7f7f7;
5
+
6
+ --body-fg: #eeeeee;
7
+ --body-bg: #121212;
8
+ --body-quiet-color: #e0e0e0;
9
+ --body-loud-color: #ffffff;
10
+
11
+ --breadcrumbs-link-fg: #e0e0e0;
12
+ --breadcrumbs-bg: var(--primary);
13
+
14
+ --link-fg: #81d4fa;
15
+ --link-hover-color: #4ac1f7;
16
+ --link-selected-fg: #6f94c6;
17
+
18
+ --hairline-color: #272727;
19
+ --border-color: #353535;
20
+
21
+ --error-fg: #e35f5f;
22
+ --message-success-bg: #006b1b;
23
+ --message-warning-bg: #583305;
24
+ --message-error-bg: #570808;
25
+
26
+ --darkened-bg: #212121;
27
+ --selected-bg: #1b1b1b;
28
+ --selected-row: #00363a;
29
+
30
+ --close-button-bg: #333333;
31
+ --close-button-hover-bg: #666666;
32
+ }
33
+ }
34
+
35
+ html[data-theme='dark'] {
36
+ --primary: #264b5d;
37
+ --primary-fg: #f7f7f7;
38
+
39
+ --body-fg: #eeeeee;
40
+ --body-bg: #121212;
41
+ --body-quiet-color: #e0e0e0;
42
+ --body-loud-color: #ffffff;
43
+
44
+ --breadcrumbs-link-fg: #e0e0e0;
45
+ --breadcrumbs-bg: var(--primary);
46
+
47
+ --link-fg: #81d4fa;
48
+ --link-hover-color: #4ac1f7;
49
+ --link-selected-fg: #6f94c6;
50
+
51
+ --hairline-color: #272727;
52
+ --border-color: #353535;
53
+
54
+ --error-fg: #e35f5f;
55
+ --message-success-bg: #006b1b;
56
+ --message-warning-bg: #583305;
57
+ --message-error-bg: #570808;
58
+
59
+ --darkened-bg: #212121;
60
+ --selected-bg: #1b1b1b;
61
+ --selected-row: #00363a;
62
+
63
+ --close-button-bg: #333333;
64
+ --close-button-hover-bg: #666666;
65
+ }
66
+
67
+ /* THEME SWITCH */
68
+ .theme-toggle {
69
+ cursor: pointer;
70
+ border: none;
71
+ padding: 0;
72
+ background: transparent;
73
+ vertical-align: middle;
74
+ margin-inline-start: 5px;
75
+ margin-top: -1px;
76
+ }
77
+
78
+ .theme-toggle svg {
79
+ vertical-align: middle;
80
+ height: 1rem;
81
+ width: 1rem;
82
+ display: none;
83
+ }
84
+
85
+ /*
86
+ Fully hide screen reader text so we only show the one matching the current
87
+ theme.
88
+ */
89
+ .theme-toggle .visually-hidden {
90
+ display: none;
91
+ }
92
+
93
+ html[data-theme='auto'] .theme-toggle .theme-label-when-auto {
94
+ display: block;
95
+ }
96
+
97
+ html[data-theme='dark'] .theme-toggle .theme-label-when-dark {
98
+ display: block;
99
+ }
100
+
101
+ html[data-theme='light'] .theme-toggle .theme-label-when-light {
102
+ display: block;
103
+ }
104
+
105
+ /* ICONS */
106
+ .theme-toggle svg.theme-icon-when-auto,
107
+ .theme-toggle svg.theme-icon-when-dark,
108
+ .theme-toggle svg.theme-icon-when-light {
109
+ fill: var(--header-link-color);
110
+ color: var(--header-bg);
111
+ }
112
+
113
+ html[data-theme='auto'] .theme-toggle svg.theme-icon-when-auto {
114
+ display: block;
115
+ }
116
+
117
+ html[data-theme='dark'] .theme-toggle svg.theme-icon-when-dark {
118
+ display: block;
119
+ }
120
+
121
+ html[data-theme='light'] .theme-toggle svg.theme-icon-when-light {
122
+ display: block;
123
+ }
124
+
125
+ .visually-hidden {
126
+ position: absolute;
127
+ width: 1px;
128
+ height: 1px;
129
+ padding: 0;
130
+ overflow: hidden;
131
+ clip: rect(0, 0, 0, 0);
132
+ white-space: nowrap;
133
+ border: 0;
134
+ color: var(--body-fg);
135
+ background-color: var(--body-bg);
136
+ }
@@ -0,0 +1,30 @@
1
+ /* DASHBOARD */
2
+ .dashboard td,
3
+ .dashboard th {
4
+ word-break: break-word;
5
+ }
6
+
7
+ .dashboard .module table th {
8
+ width: 100%;
9
+ }
10
+
11
+ .dashboard .module table td {
12
+ white-space: nowrap;
13
+ }
14
+
15
+ .dashboard .module table td a {
16
+ display: block;
17
+ padding-right: 0.6em;
18
+ }
19
+
20
+ /* RECENT ACTIONS MODULE */
21
+
22
+ .module ul.actionlist {
23
+ margin-left: 0;
24
+ }
25
+
26
+ ul.actionlist li {
27
+ list-style-type: none;
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
+ }