accrete 0.0.142__py3-none-any.whl → 0.0.144__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.
- accrete/contrib/log/admin.py +1 -1
- accrete/contrib/system_mail/tasks.py +4 -5
- accrete/contrib/ui/__init__.py +16 -14
- accrete/contrib/ui/filter.py +22 -13
- accrete/contrib/ui/response.py +540 -0
- accrete/contrib/ui/static/css/accrete.css +69 -12
- accrete/contrib/ui/static/css/accrete.css.map +1 -1
- accrete/contrib/ui/static/css/accrete.scss +370 -300
- accrete/contrib/ui/templates/ui/content.html +0 -0
- accrete/contrib/ui/templates/ui/content_right.html +2 -2
- accrete/contrib/ui/templates/ui/detail.html +11 -0
- accrete/contrib/ui/templates/ui/filter/filter.html +5 -5
- accrete/contrib/ui/templates/ui/filter/query_tags.html +1 -1
- accrete/contrib/ui/templates/ui/form_error.html +1 -1
- accrete/contrib/ui/templates/ui/layout.html +69 -64
- accrete/contrib/ui/templates/ui/list.html +21 -19
- accrete/contrib/ui/templates/ui/list_update.html +9 -3
- accrete/contrib/ui/templates/ui/message.html +1 -1
- accrete/contrib/ui/templates/ui/modal.html +41 -32
- accrete/contrib/ui/templates/ui/table_row_update.html +2 -2
- accrete/contrib/ui/templates/ui/templatetags/field.html +19 -6
- accrete/contrib/ui/templates/ui/widgets/model_search_select.html +7 -7
- accrete/contrib/ui/templates/ui/widgets/model_search_select_multi.html +3 -3
- accrete/contrib/ui/templatetags/ui.py +24 -2
- accrete/contrib/user/templates/user/password_forgotten.html +1 -0
- accrete/contrib/user/templates/user/user_preferences.html +43 -0
- accrete/contrib/user/views.py +36 -37
- accrete/migrations/0008_alter_member_access_groups_and_more.py +23 -0
- accrete/utils/__init__.py +1 -0
- accrete/utils/forms.py +48 -28
- accrete/utils/views.py +1 -2
- accrete/views.py +2 -3
- {accrete-0.0.142.dist-info → accrete-0.0.144.dist-info}/METADATA +2 -2
- {accrete-0.0.142.dist-info → accrete-0.0.144.dist-info}/RECORD +36 -34
- accrete/contrib/ui/context.py +0 -123
- accrete/contrib/ui/static/css/.sass-cache/15adf1eed05371361b08787c918a7f18fc15be79/accrete.scssc +0 -0
- accrete/contrib/ui/utils.py +0 -77
- accrete/contrib/user/templates/user/user_form.html +0 -58
- {accrete-0.0.142.dist-info → accrete-0.0.144.dist-info}/WHEEL +0 -0
- {accrete-0.0.142.dist-info → accrete-0.0.144.dist-info}/licenses/LICENSE +0 -0
@@ -3,11 +3,12 @@
|
|
3
3
|
--bulma-body-size: .9em;
|
4
4
|
--bulma-navbar-height: 40px;
|
5
5
|
--bulma-menu-item-selected-h: --bulma-success-h;
|
6
|
-
--accrete-
|
6
|
+
--accrete-detail-width: 500px;
|
7
7
|
--accrete-action-panel-width: 320px;
|
8
8
|
--bulma-input-icon-focus-color: var(--bulma-success);
|
9
9
|
--bulma-input-arrow: var(--bulma-success);
|
10
10
|
--bulma-arrow-color: var(--bulma-success);
|
11
|
+
--bulma-menu-nested-list-margin: .5em 0 0.5em 0.75em;
|
11
12
|
--bulma-navbar-burger-color: var(--bulma-success);
|
12
13
|
--accrete-hover-color: #F0F2F4; }
|
13
14
|
|
@@ -18,10 +19,12 @@ html[data-theme='light'] {
|
|
18
19
|
--bulma-menu-item-background-l: 50%;
|
19
20
|
--bulma-menu-item-color-l: 10%;
|
20
21
|
--bulma-navbar-burger-color: var(--bulma-success);
|
22
|
+
--bulma-input-disabled-border-color: var(--bulma-input-border-color) !important;
|
21
23
|
--accrete-hover-color: #F0F2F4; }
|
22
24
|
|
23
25
|
html[data-theme='dark'] {
|
24
26
|
--bulma-navbar-burger-color: var(--bulma-success);
|
27
|
+
--bulma-input-disabled-border-color: var(--bulma-input-border-color) !important;
|
25
28
|
--accrete-hover-color: #1E2128; }
|
26
29
|
html[data-theme='dark'] .button.is-light {
|
27
30
|
--bulma-button-h: var(--bulma-dark-h);
|
@@ -45,12 +48,18 @@ a {
|
|
45
48
|
color: inherit;
|
46
49
|
text-decoration: inherit; }
|
47
50
|
|
51
|
+
.label {
|
52
|
+
font-weight: normal; }
|
53
|
+
|
48
54
|
.navbar-burger {
|
49
55
|
color: black; }
|
50
56
|
|
51
57
|
.button.is-subtle {
|
52
58
|
box-shadow: none;
|
53
|
-
border:
|
59
|
+
border-top-color: transparent;
|
60
|
+
border-right-color: transparent;
|
61
|
+
border-bottom-color: transparent;
|
62
|
+
border-left-color: transparent; }
|
54
63
|
|
55
64
|
.input {
|
56
65
|
border-top: none;
|
@@ -60,12 +69,20 @@ a {
|
|
60
69
|
border-top-right-radius: 0;
|
61
70
|
border-bottom-right-radius: 0;
|
62
71
|
border-bottom-left-radius: 0;
|
63
|
-
box-shadow: none;
|
72
|
+
box-shadow: none;
|
73
|
+
font-weight: bold; }
|
64
74
|
|
65
75
|
.input:focus, .input:focus-within {
|
66
76
|
box-shadow: none;
|
67
77
|
border-bottom: 1px solid var(--bulma-success); }
|
68
78
|
|
79
|
+
input[disabled] {
|
80
|
+
background-color: transparent !important;
|
81
|
+
cursor: unset !important; }
|
82
|
+
|
83
|
+
input[disabled] ~ .helptext {
|
84
|
+
font-weight: normal !important; }
|
85
|
+
|
69
86
|
textarea {
|
70
87
|
border-top: transparent !important;
|
71
88
|
border-right: transparent !important;
|
@@ -94,15 +111,16 @@ select {
|
|
94
111
|
border-right: transparent !important;
|
95
112
|
border-left: transparent !important;
|
96
113
|
border-radius: 0 !important;
|
97
|
-
box-shadow: none !important;
|
114
|
+
box-shadow: none !important;
|
115
|
+
font-weight: bold; }
|
98
116
|
|
99
117
|
select:focus {
|
100
118
|
box-shadow: none;
|
101
119
|
border-bottom: 1px solid var(--bulma-success) !important; }
|
102
120
|
|
103
|
-
#
|
121
|
+
#detail-container {
|
104
122
|
flex-shrink: 0;
|
105
|
-
width: var(--accrete-
|
123
|
+
width: var(--accrete-detail-width);
|
106
124
|
border-top-left-radius: var(--bulma-radius-medium);
|
107
125
|
border-bottom-left-radius: var(--bulma-radius-medium);
|
108
126
|
box-shadow: -2px 0 20px 0 var(--bulma-grey-light);
|
@@ -111,8 +129,8 @@ select:focus {
|
|
111
129
|
.responsive-heading {
|
112
130
|
display: none; }
|
113
131
|
|
114
|
-
#
|
115
|
-
container-name:
|
132
|
+
#overview-container {
|
133
|
+
container-name: overview-container;
|
116
134
|
container-type: inline-size; }
|
117
135
|
|
118
136
|
.htmx-indicator {
|
@@ -124,6 +142,24 @@ select:focus {
|
|
124
142
|
.modal-request-overlay.htmx-request {
|
125
143
|
pointer-events: auto; }
|
126
144
|
|
145
|
+
#detail-indicator {
|
146
|
+
position: fixed;
|
147
|
+
background: rgba(47, 47, 62, 0.2);
|
148
|
+
height: 100%;
|
149
|
+
width: 100%;
|
150
|
+
z-index: -100; }
|
151
|
+
|
152
|
+
#detail-indicator.htmx-request {
|
153
|
+
z-index: 999;
|
154
|
+
transition-delay: 300ms;
|
155
|
+
transition-property: opacity; }
|
156
|
+
|
157
|
+
#detail-indicator > .progress {
|
158
|
+
position: fixed;
|
159
|
+
top: 50%;
|
160
|
+
margin-left: 3%;
|
161
|
+
max-width: calc(var(--accrete-detail-width) - 6%); }
|
162
|
+
|
127
163
|
.list-entry > .box:hover, .box.selected {
|
128
164
|
outline: 2px solid var(--bulma-success); }
|
129
165
|
|
@@ -135,7 +171,11 @@ select:focus {
|
|
135
171
|
font-weight: var(--bulma-weight-normal);
|
136
172
|
line-height: 1.25; }
|
137
173
|
|
138
|
-
|
174
|
+
.container {
|
175
|
+
padding-left: 0.5rem;
|
176
|
+
padding-right: 0.5rem; }
|
177
|
+
|
178
|
+
@container overview-container (max-width: 768px) {
|
139
179
|
table.can-compact * td {
|
140
180
|
width: 100%;
|
141
181
|
float: left;
|
@@ -168,8 +208,11 @@ select:focus {
|
|
168
208
|
|
169
209
|
.list-entry {
|
170
210
|
height: fit-content !important; } }
|
211
|
+
@media screen and (min-width: 769px) {
|
212
|
+
.modal-card {
|
213
|
+
max-width: 100%; } }
|
171
214
|
@media screen and (max-width: 768px) {
|
172
|
-
#
|
215
|
+
#detail-container {
|
173
216
|
flex-grow: 1;
|
174
217
|
flex-shrink: 1;
|
175
218
|
width: auto;
|
@@ -177,7 +220,16 @@ select:focus {
|
|
177
220
|
border-bottom-left-radius: 0; }
|
178
221
|
|
179
222
|
.level > .level-item.box {
|
180
|
-
width: 100%; }
|
223
|
+
width: 100%; }
|
224
|
+
|
225
|
+
.modal {
|
226
|
+
padding-top: 0 !important;
|
227
|
+
padding-bottom: 0 !important;
|
228
|
+
justify-content: center !important; }
|
229
|
+
|
230
|
+
.modal-card {
|
231
|
+
width: 100% !important;
|
232
|
+
max-height: 100svh; } }
|
181
233
|
#action-panel {
|
182
234
|
max-width: var(--accrete-action-panel-width);
|
183
235
|
min-width: var(--accrete-action-panel-width);
|
@@ -188,7 +240,7 @@ select:focus {
|
|
188
240
|
#action-panel {
|
189
241
|
position: absolute;
|
190
242
|
background: var(--bulma-scheme-main);
|
191
|
-
z-index:
|
243
|
+
z-index: 40;
|
192
244
|
box-shadow: 2px 0 20px 0 var(--bulma-grey-light); } }
|
193
245
|
.menu-list a.is-active, .menu-list a.is-selected, .menu-list button.is-active, .menu-list button.is-selected, .menu-list .menu-item.is-active, .menu-list .menu-item.is-selected {
|
194
246
|
--bulma-menu-item-h: var(--bulma-success-h);
|
@@ -235,4 +287,9 @@ input[type=number] {
|
|
235
287
|
padding-left: 0;
|
236
288
|
border-left: none !important; }
|
237
289
|
|
290
|
+
.header-items > * {
|
291
|
+
margin-right: 0.4rem;
|
292
|
+
margin-bottom: 0.5rem;
|
293
|
+
margin-left: 0.4rem; }
|
294
|
+
|
238
295
|
/*# sourceMappingURL=accrete.css.map */
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"mappings": "AAAQ,mCAAwB;AAEhC,KAAM;EACJ,iBAAiB,CAAC,KAAK;EACvB,qBAAqB,CAAC,KAAK;EAC3B,4BAA4B,CAAC,kBAAkB;EAC/C,
|
3
|
+
"mappings": "AAAQ,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