fnschool 20250109.80531.837__py3-none-any.whl → 20251011.80531.840__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 (276) hide show
  1. fnschoo1/__init__.py +52 -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/js/bootstrap.bundle.min.js +4223 -0
  71. fnschoo1/static/js/bootstrap.min.js +2919 -0
  72. fnschoo1/static/js/fnschool.js +84 -0
  73. fnschoo1/static/js/jquery.min.js +5413 -0
  74. fnschoo1/static/js/jquery.slim.min.js +4331 -0
  75. fnschoo1/static/js/popper.min.js +1306 -0
  76. fnschoo1/static_collected/admin/css/autocomplete.css +377 -0
  77. fnschoo1/static_collected/admin/css/base.css +1224 -0
  78. fnschoo1/static_collected/admin/css/changelists.css +334 -0
  79. fnschoo1/static_collected/admin/css/dark_mode.css +136 -0
  80. fnschoo1/static_collected/admin/css/dashboard.css +30 -0
  81. fnschoo1/static_collected/admin/css/forms.css +546 -0
  82. fnschoo1/static_collected/admin/css/login.css +62 -0
  83. fnschoo1/static_collected/admin/css/nav_sidebar.css +145 -0
  84. fnschoo1/static_collected/admin/css/responsive.css +1043 -0
  85. fnschoo1/static_collected/admin/css/responsive_rtl.css +84 -0
  86. fnschoo1/static_collected/admin/css/rtl.css +311 -0
  87. fnschoo1/static_collected/admin/css/vendor/select2/select2.css +708 -0
  88. fnschoo1/static_collected/admin/css/vendor/select2/select2.min.css +1 -0
  89. fnschoo1/static_collected/admin/css/widgets.css +639 -0
  90. fnschoo1/static_collected/admin/js/SelectBox.js +128 -0
  91. fnschoo1/static_collected/admin/js/SelectFilter2.js +503 -0
  92. fnschoo1/static_collected/admin/js/actions.js +232 -0
  93. fnschoo1/static_collected/admin/js/admin/DateTimeShortcuts.js +496 -0
  94. fnschoo1/static_collected/admin/js/admin/RelatedObjectLookups.js +276 -0
  95. fnschoo1/static_collected/admin/js/autocomplete.js +33 -0
  96. fnschoo1/static_collected/admin/js/calendar.js +251 -0
  97. fnschoo1/static_collected/admin/js/cancel.js +29 -0
  98. fnschoo1/static_collected/admin/js/change_form.js +21 -0
  99. fnschoo1/static_collected/admin/js/collapse.js +43 -0
  100. fnschoo1/static_collected/admin/js/core.js +174 -0
  101. fnschoo1/static_collected/admin/js/filters.js +37 -0
  102. fnschoo1/static_collected/admin/js/inlines.js +439 -0
  103. fnschoo1/static_collected/admin/js/jquery.init.js +8 -0
  104. fnschoo1/static_collected/admin/js/nav_sidebar.js +81 -0
  105. fnschoo1/static_collected/admin/js/popup_response.js +24 -0
  106. fnschoo1/static_collected/admin/js/prepopulate.js +43 -0
  107. fnschoo1/static_collected/admin/js/prepopulate_init.js +20 -0
  108. fnschoo1/static_collected/admin/js/theme.js +57 -0
  109. fnschoo1/static_collected/admin/js/urlify.js +529 -0
  110. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.js +10913 -0
  111. fnschoo1/static_collected/admin/js/vendor/jquery/jquery.min.js +2 -0
  112. fnschoo1/static_collected/admin/js/vendor/select2/i18n/af.js +43 -0
  113. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ar.js +36 -0
  114. fnschoo1/static_collected/admin/js/vendor/select2/i18n/az.js +33 -0
  115. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bg.js +38 -0
  116. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bn.js +39 -0
  117. fnschoo1/static_collected/admin/js/vendor/select2/i18n/bs.js +48 -0
  118. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ca.js +41 -0
  119. fnschoo1/static_collected/admin/js/vendor/select2/i18n/cs.js +62 -0
  120. fnschoo1/static_collected/admin/js/vendor/select2/i18n/da.js +37 -0
  121. fnschoo1/static_collected/admin/js/vendor/select2/i18n/de.js +41 -0
  122. fnschoo1/static_collected/admin/js/vendor/select2/i18n/dsb.js +51 -0
  123. fnschoo1/static_collected/admin/js/vendor/select2/i18n/el.js +43 -0
  124. fnschoo1/static_collected/admin/js/vendor/select2/i18n/en.js +41 -0
  125. fnschoo1/static_collected/admin/js/vendor/select2/i18n/es.js +41 -0
  126. fnschoo1/static_collected/admin/js/vendor/select2/i18n/et.js +38 -0
  127. fnschoo1/static_collected/admin/js/vendor/select2/i18n/eu.js +45 -0
  128. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fa.js +42 -0
  129. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fi.js +42 -0
  130. fnschoo1/static_collected/admin/js/vendor/select2/i18n/fr.js +43 -0
  131. fnschoo1/static_collected/admin/js/vendor/select2/i18n/gl.js +40 -0
  132. fnschoo1/static_collected/admin/js/vendor/select2/i18n/he.js +44 -0
  133. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hi.js +40 -0
  134. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hr.js +45 -0
  135. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hsb.js +51 -0
  136. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hu.js +44 -0
  137. fnschoo1/static_collected/admin/js/vendor/select2/i18n/hy.js +40 -0
  138. fnschoo1/static_collected/admin/js/vendor/select2/i18n/id.js +36 -0
  139. fnschoo1/static_collected/admin/js/vendor/select2/i18n/is.js +37 -0
  140. fnschoo1/static_collected/admin/js/vendor/select2/i18n/it.js +43 -0
  141. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ja.js +40 -0
  142. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ka.js +42 -0
  143. fnschoo1/static_collected/admin/js/vendor/select2/i18n/km.js +38 -0
  144. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ko.js +42 -0
  145. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lt.js +45 -0
  146. fnschoo1/static_collected/admin/js/vendor/select2/i18n/lv.js +41 -0
  147. fnschoo1/static_collected/admin/js/vendor/select2/i18n/mk.js +42 -0
  148. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ms.js +38 -0
  149. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nb.js +38 -0
  150. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ne.js +44 -0
  151. fnschoo1/static_collected/admin/js/vendor/select2/i18n/nl.js +46 -0
  152. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pl.js +43 -0
  153. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ps.js +41 -0
  154. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt-BR.js +39 -0
  155. fnschoo1/static_collected/admin/js/vendor/select2/i18n/pt.js +41 -0
  156. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ro.js +43 -0
  157. fnschoo1/static_collected/admin/js/vendor/select2/i18n/ru.js +48 -0
  158. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sk.js +61 -0
  159. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sl.js +41 -0
  160. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sq.js +43 -0
  161. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr-Cyrl.js +48 -0
  162. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sr.js +48 -0
  163. fnschoo1/static_collected/admin/js/vendor/select2/i18n/sv.js +40 -0
  164. fnschoo1/static_collected/admin/js/vendor/select2/i18n/th.js +36 -0
  165. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tk.js +36 -0
  166. fnschoo1/static_collected/admin/js/vendor/select2/i18n/tr.js +40 -0
  167. fnschoo1/static_collected/admin/js/vendor/select2/i18n/uk.js +59 -0
  168. fnschoo1/static_collected/admin/js/vendor/select2/i18n/vi.js +37 -0
  169. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-CN.js +36 -0
  170. fnschoo1/static_collected/admin/js/vendor/select2/i18n/zh-TW.js +33 -0
  171. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.js +7115 -0
  172. fnschoo1/static_collected/admin/js/vendor/select2/select2.full.min.js +2 -0
  173. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.js +4993 -0
  174. fnschoo1/static_collected/admin/js/vendor/xregexp/xregexp.min.js +160 -0
  175. fnschoo1/static_collected/css/bootstrap.min.css +11776 -0
  176. fnschoo1/static_collected/css/fnschool.css +26 -0
  177. fnschoo1/static_collected/js/bootstrap.bundle.min.js +4223 -0
  178. fnschoo1/static_collected/js/bootstrap.min.js +2919 -0
  179. fnschoo1/static_collected/js/fnschool.js +84 -0
  180. fnschoo1/static_collected/js/jquery.min.js +5413 -0
  181. fnschoo1/static_collected/js/jquery.slim.min.js +4331 -0
  182. fnschoo1/static_collected/js/popper.min.js +1306 -0
  183. fnschoo1/templates/base/_css.html +1 -0
  184. fnschoo1/templates/base/_js.html +15 -0
  185. fnschoo1/templates/base/content.html +30 -0
  186. fnschoo1/templates/base/header_content_footer.html +35 -0
  187. fnschoo1/templates/close.html +11 -0
  188. fnschoo1/templates/home.html +51 -0
  189. fnschoo1/templates/includes/_footer.html +39 -0
  190. fnschoo1/templates/includes/_header.html +77 -0
  191. fnschoo1/templates/includes/_navigation.html +0 -0
  192. fnschoo1/templates/includes/_paginator.html +27 -0
  193. fnschoo1/templates/registration/logged_out.html +0 -0
  194. fnschoo1/templates/registration/login.html +0 -0
  195. fnschool-20251011.80531.840.dist-info/METADATA +179 -0
  196. fnschool-20251011.80531.840.dist-info/RECORD +207 -0
  197. {fnschool-20250109.80531.837.dist-info → fnschool-20251011.80531.840.dist-info}/WHEEL +1 -1
  198. fnschool-20251011.80531.840.dist-info/entry_points.txt +2 -0
  199. fnschool-20251011.80531.840.dist-info/top_level.txt +1 -0
  200. fnschool/__init__.py +0 -35
  201. fnschool/__main__.py +0 -16
  202. fnschool/app.py +0 -103
  203. fnschool/canteen/__init__.py +0 -3
  204. fnschool/canteen/__main__.py +0 -3
  205. fnschool/canteen/bill.py +0 -253
  206. fnschool/canteen/canteen.py +0 -1
  207. fnschool/canteen/canteen.toml +0 -61
  208. fnschool/canteen/config.py +0 -10
  209. fnschool/canteen/consuming.py +0 -53
  210. fnschool/canteen/currency.py +0 -17
  211. fnschool/canteen/data/bill.i18n.xlsx +0 -0
  212. fnschool/canteen/data/bill.xlsx +0 -0
  213. fnschool/canteen/data/consuming.xlsx +0 -0
  214. fnschool/canteen/data/purchase_list.xlsx +0 -0
  215. fnschool/canteen/entry.py +0 -40
  216. fnschool/canteen/food.py +0 -206
  217. fnschool/canteen/food_classes.py +0 -33
  218. fnschool/canteen/food_classes.toml +0 -64
  219. fnschool/canteen/operator.py +0 -91
  220. fnschool/canteen/path.py +0 -28
  221. fnschool/canteen/spreadsheet/base.py +0 -213
  222. fnschool/canteen/spreadsheet/consuming.py +0 -310
  223. fnschool/canteen/spreadsheet/consumingsum.py +0 -76
  224. fnschool/canteen/spreadsheet/cover.py +0 -64
  225. fnschool/canteen/spreadsheet/ctspreadsheet.py +0 -351
  226. fnschool/canteen/spreadsheet/food.py +0 -680
  227. fnschool/canteen/spreadsheet/inventory.py +0 -375
  228. fnschool/canteen/spreadsheet/merging.py +0 -340
  229. fnschool/canteen/spreadsheet/preconsuming.py +0 -329
  230. fnschool/canteen/spreadsheet/purchasing.py +0 -885
  231. fnschool/canteen/spreadsheet/purchasingsum.py +0 -110
  232. fnschool/canteen/spreadsheet/spreadsheet.py +0 -363
  233. fnschool/canteen/spreadsheet/translating.py +0 -12
  234. fnschool/canteen/spreadsheet/unwarehousing.py +0 -178
  235. fnschool/canteen/spreadsheet/unwarehousingsum.py +0 -11
  236. fnschool/canteen/spreadsheet/warehousing.py +0 -360
  237. fnschool/canteen/spreadsheet/workbook.py +0 -17
  238. fnschool/canteen/test.py +0 -97
  239. fnschool/config.py +0 -48
  240. fnschool/entry.py +0 -67
  241. fnschool/exam/__init__.py +0 -8
  242. fnschool/exam/data/parental_emails.xlsx +0 -0
  243. fnschool/exam/data/score.xlsx +0 -0
  244. fnschool/exam/email.py +0 -349
  245. fnschool/exam/entry.py +0 -36
  246. fnschool/exam/language.py +0 -19
  247. fnschool/exam/path.py +0 -24
  248. fnschool/exam/score.py +0 -1191
  249. fnschool/exam/subject.py +0 -20
  250. fnschool/exam/teacher.py +0 -54
  251. fnschool/external.py +0 -89
  252. fnschool/games/__init__.py +0 -1
  253. fnschool/games/__main__.py +0 -1
  254. fnschool/games/games.py +0 -1
  255. fnschool/inoutput.py +0 -97
  256. fnschool/language.py +0 -40
  257. fnschool/locales/en_US/LC_MESSAGES/fnschool.mo +0 -0
  258. fnschool/locales/zh_CN/LC_MESSAGES/fnschool.mo +0 -0
  259. fnschool/locales/zh_HK/LC_MESSAGES/fnschool.mo +0 -0
  260. fnschool/locales/zh_SG/LC_MESSAGES/fnschool.mo +0 -0
  261. fnschool/locales/zh_TW/LC_MESSAGES/fnschool.mo +0 -0
  262. fnschool/path.py +0 -45
  263. fnschool/test.py +0 -24
  264. fnschool/user.py +0 -262
  265. fnschool-20250109.80531.837.dist-info/METADATA +0 -342
  266. fnschool-20250109.80531.837.dist-info/RECORD +0 -78
  267. fnschool-20250109.80531.837.dist-info/entry_points.txt +0 -5
  268. fnschool-20250109.80531.837.dist-info/top_level.txt +0 -1
  269. /fnschool/canteen/consume.py → /fnschoo1/canteen/__init__.py +0 -0
  270. /fnschool/canteen/food_recount.toml → /fnschoo1/canteen/migrations/__init__.py +0 -0
  271. {fnschool/canteen/spreadsheet → fnschoo1/canteen/workbook}/__init__.py +0 -0
  272. /fnschool/exam/__main__.py → /fnschoo1/fnschool/templatetags/__init__.py +0 -0
  273. /fnschool/canteen/food_recounts.toml → /fnschoo1/profiles/__init__.py +0 -0
  274. /fnschool/canteen/warehouse.py → /fnschoo1/profiles/migrations/__init__.py +0 -0
  275. /fnschool/canteen/workbook.toml → /fnschoo1/templates/base/_content.html +0 -0
  276. {fnschool-20250109.80531.837.dist-info → fnschool-20251011.80531.840.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,546 @@
1
+ @import url('widgets.css');
2
+
3
+ /* FORM ROWS */
4
+
5
+ .form-row {
6
+ overflow: hidden;
7
+ padding: 10px;
8
+ font-size: 0.8125rem;
9
+ border-bottom: 1px solid var(--hairline-color);
10
+ }
11
+
12
+ .form-row img,
13
+ .form-row input {
14
+ vertical-align: middle;
15
+ }
16
+
17
+ .form-row label input[type='checkbox'] {
18
+ margin-top: 0;
19
+ vertical-align: 0;
20
+ }
21
+
22
+ form .form-row p {
23
+ padding-left: 0;
24
+ }
25
+
26
+ .flex-container {
27
+ display: flex;
28
+ }
29
+
30
+ .form-multiline {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .form-multiline > div {
35
+ padding-bottom: 10px;
36
+ }
37
+
38
+ /* FORM LABELS */
39
+
40
+ label {
41
+ font-weight: normal;
42
+ color: var(--body-quiet-color);
43
+ font-size: 0.8125rem;
44
+ }
45
+
46
+ .required label,
47
+ label.required {
48
+ font-weight: bold;
49
+ color: var(--body-fg);
50
+ }
51
+
52
+ /* RADIO BUTTONS */
53
+
54
+ form div.radiolist div {
55
+ padding-right: 7px;
56
+ }
57
+
58
+ form div.radiolist.inline div {
59
+ display: inline-block;
60
+ }
61
+
62
+ form div.radiolist label {
63
+ width: auto;
64
+ }
65
+
66
+ form div.radiolist input[type='radio'] {
67
+ margin: -2px 4px 0 0;
68
+ padding: 0;
69
+ }
70
+
71
+ form ul.inline {
72
+ margin-left: 0;
73
+ padding: 0;
74
+ }
75
+
76
+ form ul.inline li {
77
+ float: left;
78
+ padding-right: 7px;
79
+ }
80
+
81
+ /* ALIGNED FIELDSETS */
82
+
83
+ .aligned label {
84
+ display: block;
85
+ padding: 4px 10px 0 0;
86
+ min-width: 160px;
87
+ width: 160px;
88
+ word-wrap: break-word;
89
+ line-height: 1;
90
+ }
91
+
92
+ .aligned label:not(.vCheckboxLabel):after {
93
+ content: '';
94
+ display: inline-block;
95
+ vertical-align: middle;
96
+ height: 1.625rem;
97
+ }
98
+
99
+ .aligned label + p,
100
+ .aligned .checkbox-row + div.help,
101
+ .aligned label + div.readonly {
102
+ padding: 6px 0;
103
+ margin-top: 0;
104
+ margin-bottom: 0;
105
+ margin-left: 0;
106
+ overflow-wrap: break-word;
107
+ }
108
+
109
+ .aligned ul label {
110
+ display: inline;
111
+ float: none;
112
+ width: auto;
113
+ }
114
+
115
+ .aligned .form-row input {
116
+ margin-bottom: 0;
117
+ }
118
+
119
+ .colMS .aligned .vLargeTextField,
120
+ .colMS .aligned .vXMLLargeTextField {
121
+ width: 350px;
122
+ }
123
+
124
+ form .aligned ul {
125
+ margin-left: 160px;
126
+ padding-left: 10px;
127
+ }
128
+
129
+ form .aligned div.radiolist {
130
+ display: inline-block;
131
+ margin: 0;
132
+ padding: 0;
133
+ }
134
+
135
+ form .aligned p.help,
136
+ form .aligned div.help {
137
+ margin-top: 0;
138
+ margin-left: 160px;
139
+ padding-left: 10px;
140
+ }
141
+
142
+ form .aligned p.date div.help.timezonewarning,
143
+ form .aligned p.datetime div.help.timezonewarning,
144
+ form .aligned p.time div.help.timezonewarning {
145
+ margin-left: 0;
146
+ padding-left: 0;
147
+ font-weight: normal;
148
+ }
149
+
150
+ form .aligned p.help:last-child,
151
+ form .aligned div.help:last-child {
152
+ margin-bottom: 0;
153
+ padding-bottom: 0;
154
+ }
155
+
156
+ form .aligned input + p.help,
157
+ form .aligned textarea + p.help,
158
+ form .aligned select + p.help,
159
+ form .aligned input + div.help,
160
+ form .aligned textarea + div.help,
161
+ form .aligned select + div.help {
162
+ margin-left: 160px;
163
+ padding-left: 10px;
164
+ }
165
+
166
+ form .aligned ul li {
167
+ list-style: none;
168
+ }
169
+
170
+ form .aligned table p {
171
+ margin-left: 0;
172
+ padding-left: 0;
173
+ }
174
+
175
+ .aligned .vCheckboxLabel {
176
+ float: none;
177
+ width: auto;
178
+ display: inline-block;
179
+ vertical-align: -3px;
180
+ padding: 0 0 5px 5px;
181
+ }
182
+
183
+ .aligned .vCheckboxLabel + p.help,
184
+ .aligned .vCheckboxLabel + div.help {
185
+ margin-top: -4px;
186
+ }
187
+
188
+ .colM .aligned .vLargeTextField,
189
+ .colM .aligned .vXMLLargeTextField {
190
+ width: 610px;
191
+ }
192
+
193
+ fieldset .fieldBox {
194
+ margin-right: 20px;
195
+ }
196
+
197
+ /* WIDE FIELDSETS */
198
+
199
+ .wide label {
200
+ width: 200px;
201
+ }
202
+
203
+ form .wide p,
204
+ form .wide ul.errorlist,
205
+ form .wide input + p.help,
206
+ form .wide input + div.help {
207
+ margin-left: 200px;
208
+ }
209
+
210
+ form .wide p.help,
211
+ form .wide div.help {
212
+ padding-left: 50px;
213
+ }
214
+
215
+ form div.help ul {
216
+ padding-left: 0;
217
+ margin-left: 0;
218
+ }
219
+
220
+ .colM fieldset.wide .vLargeTextField,
221
+ .colM fieldset.wide .vXMLLargeTextField {
222
+ width: 450px;
223
+ }
224
+
225
+ /* COLLAPSED FIELDSETS */
226
+
227
+ fieldset.collapsed * {
228
+ display: none;
229
+ }
230
+
231
+ fieldset.collapsed h2,
232
+ fieldset.collapsed {
233
+ display: block;
234
+ }
235
+
236
+ fieldset.collapsed {
237
+ border: 1px solid var(--hairline-color);
238
+ border-radius: 4px;
239
+ overflow: hidden;
240
+ }
241
+
242
+ fieldset.collapsed h2 {
243
+ background: var(--darkened-bg);
244
+ color: var(--body-quiet-color);
245
+ }
246
+
247
+ fieldset .collapse-toggle {
248
+ color: var(--header-link-color);
249
+ }
250
+
251
+ fieldset.collapsed .collapse-toggle {
252
+ background: transparent;
253
+ display: inline;
254
+ color: var(--link-fg);
255
+ }
256
+
257
+ /* MONOSPACE TEXTAREAS */
258
+
259
+ fieldset.monospace textarea {
260
+ font-family: var(--font-family-monospace);
261
+ }
262
+
263
+ /* SUBMIT ROW */
264
+
265
+ .submit-row {
266
+ padding: 12px 14px 12px;
267
+ margin: 0 0 20px;
268
+ background: var(--darkened-bg);
269
+ border: 1px solid var(--hairline-color);
270
+ border-radius: 4px;
271
+ overflow: hidden;
272
+ display: flex;
273
+ gap: 10px;
274
+ flex-wrap: wrap;
275
+ }
276
+
277
+ body.popup .submit-row {
278
+ overflow: auto;
279
+ }
280
+
281
+ .submit-row input {
282
+ height: 2.1875rem;
283
+ line-height: 0.9375rem;
284
+ }
285
+
286
+ .submit-row input,
287
+ .submit-row a {
288
+ margin: 0;
289
+ }
290
+
291
+ .submit-row input.default {
292
+ text-transform: uppercase;
293
+ }
294
+
295
+ .submit-row a.deletelink {
296
+ margin-left: auto;
297
+ }
298
+
299
+ .submit-row a.deletelink {
300
+ display: block;
301
+ background: var(--delete-button-bg);
302
+ border-radius: 4px;
303
+ padding: 0.625rem 0.9375rem;
304
+ height: 0.9375rem;
305
+ line-height: 0.9375rem;
306
+ color: var(--button-fg);
307
+ }
308
+
309
+ .submit-row a.closelink {
310
+ display: inline-block;
311
+ background: var(--close-button-bg);
312
+ border-radius: 4px;
313
+ padding: 10px 15px;
314
+ height: 0.9375rem;
315
+ line-height: 0.9375rem;
316
+ color: var(--button-fg);
317
+ }
318
+
319
+ .submit-row a.deletelink:focus,
320
+ .submit-row a.deletelink:hover,
321
+ .submit-row a.deletelink:active {
322
+ background: var(--delete-button-hover-bg);
323
+ text-decoration: none;
324
+ }
325
+
326
+ .submit-row a.closelink:focus,
327
+ .submit-row a.closelink:hover,
328
+ .submit-row a.closelink:active {
329
+ background: var(--close-button-hover-bg);
330
+ text-decoration: none;
331
+ }
332
+
333
+ /* CUSTOM FORM FIELDS */
334
+
335
+ .vSelectMultipleField {
336
+ vertical-align: top;
337
+ }
338
+
339
+ .vCheckboxField {
340
+ border: none;
341
+ }
342
+
343
+ .vDateField,
344
+ .vTimeField {
345
+ margin-right: 2px;
346
+ margin-bottom: 4px;
347
+ }
348
+
349
+ .vDateField {
350
+ min-width: 6.85em;
351
+ }
352
+
353
+ .vTimeField {
354
+ min-width: 4.7em;
355
+ }
356
+
357
+ .vURLField {
358
+ width: 30em;
359
+ }
360
+
361
+ .vLargeTextField,
362
+ .vXMLLargeTextField {
363
+ width: 48em;
364
+ }
365
+
366
+ .flatpages-flatpage #id_content {
367
+ height: 40.2em;
368
+ }
369
+
370
+ .module table .vPositiveSmallIntegerField {
371
+ width: 2.2em;
372
+ }
373
+
374
+ .vIntegerField {
375
+ width: 5em;
376
+ }
377
+
378
+ .vBigIntegerField {
379
+ width: 10em;
380
+ }
381
+
382
+ .vForeignKeyRawIdAdminField {
383
+ width: 5em;
384
+ }
385
+
386
+ .vTextField,
387
+ .vUUIDField {
388
+ width: 20em;
389
+ }
390
+
391
+ /* INLINES */
392
+
393
+ .inline-group {
394
+ padding: 0;
395
+ margin: 0 0 30px;
396
+ }
397
+
398
+ .inline-group thead th {
399
+ padding: 8px 10px;
400
+ }
401
+
402
+ .inline-group .aligned label {
403
+ width: 160px;
404
+ }
405
+
406
+ .inline-related {
407
+ position: relative;
408
+ }
409
+
410
+ .inline-related h3 {
411
+ margin: 0;
412
+ color: var(--body-quiet-color);
413
+ padding: 5px;
414
+ font-size: 0.8125rem;
415
+ background: var(--darkened-bg);
416
+ border-top: 1px solid var(--hairline-color);
417
+ border-bottom: 1px solid var(--hairline-color);
418
+ }
419
+
420
+ .inline-related h3 span.delete {
421
+ float: right;
422
+ }
423
+
424
+ .inline-related h3 span.delete label {
425
+ margin-left: 2px;
426
+ font-size: 0.6875rem;
427
+ }
428
+
429
+ .inline-related fieldset {
430
+ margin: 0;
431
+ background: var(--body-bg);
432
+ border: none;
433
+ width: 100%;
434
+ }
435
+
436
+ .inline-related fieldset.module h3 {
437
+ margin: 0;
438
+ padding: 2px 5px 3px 5px;
439
+ font-size: 0.6875rem;
440
+ text-align: left;
441
+ font-weight: bold;
442
+ background: #bcd;
443
+ color: var(--body-bg);
444
+ }
445
+
446
+ .inline-group .tabular fieldset.module {
447
+ border: none;
448
+ }
449
+
450
+ .inline-related.tabular fieldset.module table {
451
+ width: 100%;
452
+ overflow-x: scroll;
453
+ }
454
+
455
+ .last-related fieldset {
456
+ border: none;
457
+ }
458
+
459
+ .inline-group .tabular tr.has_original td {
460
+ padding-top: 2em;
461
+ }
462
+
463
+ .inline-group .tabular tr td.original {
464
+ padding: 2px 0 0 0;
465
+ width: 0;
466
+ _position: relative;
467
+ }
468
+
469
+ .inline-group .tabular th.original {
470
+ width: 0px;
471
+ padding: 0;
472
+ }
473
+
474
+ .inline-group .tabular td.original p {
475
+ position: absolute;
476
+ left: 0;
477
+ height: 1.1em;
478
+ padding: 2px 9px;
479
+ overflow: hidden;
480
+ font-size: 0.5625rem;
481
+ font-weight: bold;
482
+ color: var(--body-quiet-color);
483
+ _width: 700px;
484
+ }
485
+
486
+ .inline-group ul.tools {
487
+ padding: 0;
488
+ margin: 0;
489
+ list-style: none;
490
+ }
491
+
492
+ .inline-group ul.tools li {
493
+ display: inline;
494
+ padding: 0 5px;
495
+ }
496
+
497
+ .inline-group div.add-row,
498
+ .inline-group .tabular tr.add-row td {
499
+ color: var(--body-quiet-color);
500
+ background: var(--darkened-bg);
501
+ padding: 8px 10px;
502
+ border-bottom: 1px solid var(--hairline-color);
503
+ }
504
+
505
+ .inline-group .tabular tr.add-row td {
506
+ padding: 8px 10px;
507
+ border-bottom: 1px solid var(--hairline-color);
508
+ }
509
+
510
+ .inline-group ul.tools a.add,
511
+ .inline-group div.add-row a,
512
+ .inline-group .tabular tr.add-row td a {
513
+ background: url(../img/icon-addlink.svg) 0 1px no-repeat;
514
+ padding-left: 16px;
515
+ font-size: 0.75rem;
516
+ }
517
+
518
+ .empty-form {
519
+ display: none;
520
+ }
521
+
522
+ /* RELATED FIELD ADD ONE / LOOKUP */
523
+
524
+ .related-lookup {
525
+ margin-left: 5px;
526
+ display: inline-block;
527
+ vertical-align: middle;
528
+ background-repeat: no-repeat;
529
+ background-size: 14px;
530
+ }
531
+
532
+ .related-lookup {
533
+ width: 1rem;
534
+ height: 1rem;
535
+ background-image: url(../img/search.svg);
536
+ }
537
+
538
+ form .related-widget-wrapper ul {
539
+ display: inline-block;
540
+ margin-left: 0;
541
+ padding-left: 0;
542
+ }
543
+
544
+ .clearable-file-input input {
545
+ margin-top: 0;
546
+ }
@@ -0,0 +1,62 @@
1
+ /* LOGIN FORM */
2
+
3
+ .login {
4
+ background: var(--darkened-bg);
5
+ height: auto;
6
+ }
7
+
8
+ .login #header {
9
+ height: auto;
10
+ padding: 15px 16px;
11
+ justify-content: center;
12
+ }
13
+
14
+ .login #header h1 {
15
+ font-size: 1.125rem;
16
+ margin: 0;
17
+ }
18
+
19
+ .login #header h1 a {
20
+ color: var(--header-link-color);
21
+ }
22
+
23
+ .login #content {
24
+ padding: 20px 20px 0;
25
+ }
26
+
27
+ .login #container {
28
+ background: var(--body-bg);
29
+ border: 1px solid var(--hairline-color);
30
+ border-radius: 4px;
31
+ overflow: hidden;
32
+ width: 28em;
33
+ min-width: 300px;
34
+ margin: 100px auto;
35
+ height: auto;
36
+ }
37
+
38
+ .login .form-row {
39
+ padding: 4px 0;
40
+ }
41
+
42
+ .login .form-row label {
43
+ display: block;
44
+ line-height: 2em;
45
+ }
46
+
47
+ .login .form-row #id_username,
48
+ .login .form-row #id_password {
49
+ padding: 8px;
50
+ width: 100%;
51
+ box-sizing: border-box;
52
+ }
53
+
54
+ .login .submit-row {
55
+ padding: 1em 0 0 0;
56
+ margin: 0;
57
+ text-align: center;
58
+ }
59
+
60
+ .login .password-reset-link {
61
+ text-align: center;
62
+ }