Browse Source

Removed uniform.css foo

Sebastian Lohff 2 years ago
parent
commit
e127f0a494

+ 0
- 320
static/css/style.uni-form.css View File

@@ -1,320 +0,0 @@
1
-/* ==========================================================================
2
-   UNI-FORM STYLE by DRAGAN BABIC
3
-   --------------------------------------------------------------------------
4
-   Copyright (c) 2013, Dragan Babic
5
-   --------------------------------------------------------------------------
6
-   Permission is hereby granted, free of charge, to any person obtaining a 
7
-   copy of this software and associated documentation files (the "Software"),
8
-   to deal in the Software without restriction, including without limitation 
9
-   the rights to use, copy, modify, merge, publish, distribute, sublicense, 
10
-   and/or sell copies of the Software, and to permit persons to whom the 
11
-   Software is furnished to do so, subject to the following conditions: 
12
-   The above copyright notice and this permission notice shall be included in
13
-   all copies or substantial portions of the Software. 
14
-   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
-   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
16
-   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
-   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
18
-   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
19
-   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
-   DEALINGS IN THE SOFTWARE.
21
-   --------------------------------------------------------------------------
22
-   NOTE ABOUT STYLING FORMS 
23
-   --------------------------------------------------------------------------
24
-   When styling your form make sure to copy the selector from uni-form.css
25
-   into this file and override it with your properties and values.
26
-   ========================================================================== */
27
-
28
-.uni-form {
29
-  margin: 1.5em 0;
30
-  padding-top: 1px;
31
-}
32
-
33
-/* ==========================================================================
34
-   Form titles
35
-   ========================================================================== */
36
-
37
-.uni-form .uni-form-title {
38
-  margin: 1.5em 0;
39
-  font-weight: bold;
40
-  font-size: 1.25em;
41
-}
42
-
43
-/* ==========================================================================
44
-   Holders
45
-   ========================================================================== */
46
-
47
-.uni-form .ctrl-holder {
48
-  padding: 1em 1em 1.5em 1em;
49
-  border: 1px solid #efefef;
50
-  border-width: 1px 0 0 0;
51
-}
52
-
53
-.uni-form .inline-labels .ctrl-holder {
54
-  padding: 1.5em 1em;
55
-}
56
-
57
-.uni-form fieldset .ctrl-holder:last-child {
58
-  border-bottom-width: 1px;
59
-}
60
-
61
-.uni-form .ctrl-holder.focused {
62
-  background: #fffcdf
63
-}
64
-
65
-.uni-form .button-holder {
66
-  background: #efefef;
67
-  margin-top: 1.5em;
68
-  padding: 1.5em;
69
-  border-radius: 4px;
70
-}
71
-
72
-/* ==========================================================================
73
-   Design for input fields
74
-   ========================================================================== */
75
-
76
-.uni-form .input-text,
77
-.uni-form .input-textarea {
78
-  padding: 5px;
79
-  border: 1px solid #aaa;
80
-  background: #fff;
81
-  border-radius: 2px;
82
-  -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.15) inset;
83
-  box-shadow: 1px 1px 3px rgba(0,0,0,.15) inset;
84
-}
85
-
86
-.uni-form .input-text:focus,
87
-.uni-form .input-textarea:focus {
88
-  border-color: #343434;
89
-  outline: none;
90
-}
91
-
92
-.uni-form .input-textarea {
93
-  height: 12em;
94
-}
95
-
96
-.uni-form .input-select {}
97
-
98
-.uni-form .input-file {}
99
-
100
-/* Disabled inputs */
101
-
102
-.uni-form .input-disabled {
103
-  background-color: #f4f4f4;
104
-  border-color: #ccc;
105
-  color: #999;
106
-  -webkit-box-shadow: none;
107
-  box-shadow: none;
108
-}
109
-  
110
-/* ==========================================================================
111
-   Buttons
112
-   ========================================================================== */
113
-
114
-.uni-form .action-primary {
115
-  padding: 1em 2em;
116
-  line-height: 1;
117
-  background: #254a86;
118
-  border: 1px solid #163362;
119
-  font-size: 12px;
120
-  font-weight: bold;
121
-  color: #fff;
122
-  border-radius: 4px;
123
-  text-shadow: -1px -1px 0 rgba(0,0,0,.25);
124
-}
125
-
126
-.uni-form .action-primary:focus,
127
-.uni-form .action-primary:hover {
128
-  background: #2b58a1;
129
-}
130
-
131
-.uni-form .action-primary:active {
132
-  background: #1d3c6d;
133
-  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.5) inset;
134
-  box-shadow: 0 1px 3px rgba(0,0,0,.5) inset;
135
-}
136
-
137
-.uni-form .action-secondary,
138
-.uni-form button.action-secondary,
139
-.uni-form input[type=submit].action-secondary {
140
-  float: right;
141
-  background: transparent;
142
-  border: none;
143
-  margin: 1.25em 0 0 0;
144
-  padding: 0;
145
-  color: #999;
146
-}
147
-
148
-/* Disabled actions */
149
-
150
-.uni-form .action-disabled,
151
-.uni-form .action-disabled:link,
152
-.uni-form .action-disabled:visited,
153
-.uni-form .action-disabled:focus,
154
-.uni-form .action-disabled:hover,
155
-.uni-form .action-disabled:active {
156
-  background: #ccc;
157
-  border: 1px solid #aaa;
158
-  color: #999;
159
-  text-shadow: 1px 1px 0 rgba(255,255,255,.25);
160
-  -webkit-box-shadow: none;
161
-  box-shadow: none;
162
-  cursor: default;
163
-}
164
-
165
-/* ==========================================================================
166
-   Required fields asterisks
167
-   ========================================================================== */
168
-
169
-.uni-form .inline-labels label em,
170
-.uni-form .inline-labels .label em {
171
-  font-style: inherit;
172
-  font-weight: inherit;
173
-}
174
-
175
-/* ==========================================================================
176
-   Labels within grouped controls
177
-   ========================================================================== */
178
-
179
-.uni-form .multi label {
180
-  margin-top: .3em; /* Compensate for the smaller font size */
181
-  font-size: .85em;
182
-}
183
-
184
-/* ==========================================================================
185
-   Form hints
186
-   ========================================================================== */
187
-
188
-.uni-form .form-hint {
189
-  padding-top: .3em; /* Compensate for the smaller font size */
190
-  font-size: .85em;
191
-  color: #999;
192
-}
193
-
194
-.uni-form .ctrl-holder.focused .form-hint {
195
-  color: #343434;
196
-}
197
-
198
-/* ==========================================================================
199
-   Messages
200
-   ========================================================================== */
201
-
202
-/* Error message at the top of the form ------------------------------------- */
203
-
204
-.uni-form #errorMsg {
205
-  background: #ffdfdf;
206
-  border: 1px solid #f3afb5;
207
-  margin: 1.5em 0;
208
-  padding: 0 1.5em;
209
-  border-radius: 4px;
210
-}
211
-
212
-.uni-form #errorMsg h3 {
213
-  margin: 1em 0 0 0;
214
-}
215
-
216
-.uni-form #errorMsg ol {
217
-  margin: 1.5em 0;
218
-  padding: 0;
219
-}
220
-
221
-  .uni-form #errorMsg li {
222
-    list-style: none;
223
-    margin: 0 0 4px 0;
224
-    padding: 7px;
225
-    background: #f6bec1;
226
-    position: relative;
227
-    font-size: .85em;
228
-    border-radius: 3px;
229
-  }
230
-
231
-/* Holder errors ------------------------------------------------------------ */
232
-
233
-.uni-form .ctrl-holder.error,
234
-.uni-form .ctrl-holder.focused.error {
235
-  background-color: #ffdfdf;
236
-  border-color: #f3afb5;
237
-}
238
-
239
-    .uni-form .ctrl-holder.error .input-text.error,
240
-    .uni-form .ctrl-holder.error .input-file.error,
241
-    .uni-form .ctrl-holder.error .input-select.error,
242
-    .uni-form .ctrl-holder.error .input-textarea.error {
243
-      color: #af4c4c;
244
-      border-color: #c55f68;
245
-    }
246
-
247
-/* Success messages at the top of the form ---------------------------------- */
248
-
249
-.uni-form #okMsg {
250
-  background: #e1f4cd;
251
-  border: 1px solid #b6cda4;
252
-  margin: 0 0 1.5em 0;
253
-  padding: 1.5em;
254
-  text-align: center;
255
-  border-radius: 4px;
256
-}
257
-
258
-    .uni-form #okMsg p {
259
-      margin: 0
260
-    }
261
-
262
-/* Holder valid input ------------------------------------------------------- */
263
-
264
-.uni-form .ctrl-holder.valid {
265
-  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAABpElEQVRIiWNgGAWDAfTvV+2vX6W0/v//UAN0OUZqWbLsoV7BodXv+mF8fUeexkzjGw0wPhM1LPn/v0LhyLp39chiF/d/qUf2GTM1LPqp/GT99y//NJDF2DiZHniZHa+E8Sn20bKHegUfXv1xQBefmGUeiMynyKL//0MNkOMFBvQdeRoZGVdfQBajKOi+yHzd/vvnfwlkMW5+5gvVPncj0dWS7aPpZzUavn78i5GMe1LMErGpJ8ui//9DDS7u/1KPLo4tyGAAI+j+/w81+Kn8bXndaiXGxU3PsWoiJchgAMVH//+HGmRPOL7/w6s/DusmvJq/649RAroGUoMMq0XZE47v//eXQQDGR7eMnCDDahE2ALPs///7AiVzTs1HlxcQYzmAXNTgAihlHSzokH2FbCB6xmRiZvgwtSDGkJGx4wEhi1B8xMi4+sLUAktHJmaGD+gKseV+myChRmIswbCIkGXIQECM5UCU/KUJxFiC1SJiLGNiZvjQHhuBN5URZREhy0gJMoIW4bKM1CAjCfz/H2pQv0ppfesW5fn//9/HSJGjgKYAAELOyUHrhNdJAAAAAElFTkSuQmCC);
266
-  background-position: 99% 1em;
267
-  background-repeat: no-repeat;
268
-  background-size: 18px auto;
269
-}
270
-
271
-.uni-form .inline-labels .ctrl-holder.valid {
272
-  background-position: 31% 1.75em;
273
-}
274
-  
275
-  .ctrl-holder.valid .input-text,
276
-  .ctrl-holder.valid .input-select,
277
-  .ctrl-holder.valid .input-textarea {
278
-    border-color: #88a24f;
279
-    color: #88a24f;
280
-  }
281
-
282
-/* ==========================================================================
283
-   Columns
284
-   ========================================================================== */
285
-
286
-/* Remove borders from .ctrl-holder */
287
-
288
-.uni-form-row > .ctrl-holder {
289
-  border: none;
290
-}
291
-
292
-/* Add borders to rows */
293
-
294
-.uni-form-row {
295
-  border: 1px solid #efefef;
296
-  border-width: 1px 0 0 0;
297
-}
298
-
299
-.uni-form-row:last-child {
300
-  border-bottom-width: 1px;
301
-}
302
-
303
-/* ==========================================================================
304
-   480 breakpoint
305
-   ========================================================================== */
306
-
307
-@media screen and (max-width: 480px) {
308
-
309
-  .uni-form .ctrl-holder,
310
-  .uni-form .inline-labels .ctrl-holder {
311
-    padding-top: 1em;
312
-    padding-bottom: 1.5em;
313
-  }
314
-  
315
-  .uni-form .ctrl-holder.valid,
316
-  .uni-form .inline-labels .ctrl-holder.valid {
317
-    background-position: 97% 1em;
318
-  }
319
-
320
-}

+ 0
- 425
static/css/uni-form.css View File

@@ -1,425 +0,0 @@
1
-/* ==========================================================================
2
-   Copyright (c) 2013, Dragan Babic
3
-   --------------------------------------------------------------------------
4
-   Permission is hereby granted, free of charge, to any person obtaining a
5
-   copy of this software and associated documentation files (the "Software"),
6
-   to deal in the Software without restriction, including without limitation
7
-   the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
-   and/or sell copies of the Software, and to permit persons to whom the
9
-   Software is furnished to do so, subject to the following conditions:
10
-   The above copyright notice and this permission notice shall be included in
11
-   all copies or substantial portions of the Software.
12
-   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
-   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
-   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15
-   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
-   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17
-   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18
-   DEALINGS IN THE SOFTWARE.
19
-   --------------------------------------------------------------------------
20
-   Generals
21
-   ========================================================================== */
22
-
23
-.uni-form {
24
-  margin: 0;
25
-  padding: 0;
26
-}
27
-
28
-.uni-form * {
29
-  -webkit-box-sizing: border-box;
30
-  -moz-box-sizing: border-box;
31
-  -ms-box-sizing: border-box;
32
-  box-sizing: border-box;
33
-}
34
-
35
-/* Reset stuff and prevent inheritance */
36
-
37
-.uni-form fieldset {
38
-  border: none;
39
-  margin: 0;
40
-  padding: 0;
41
-}
42
-
43
-/* This are the main units that contain form elements */
44
-
45
-.uni-form .ctrl-holder,
46
-.uni-form .button-holder {}
47
-
48
-/* Clear all floats */
49
-
50
- .uni-form:after,
51
- .uni-form .button-holder:after,
52
- .uni-form .ctrl-holder:after,
53
- .uni-form-row:after {
54
-   content: ".";
55
-   display: block;
56
-   height: 0;
57
-   line-height: 0;
58
-   font-size: 0;
59
-   clear: both;
60
-   min-height: 0;
61
-   visibility: hidden;
62
- }
63
-
64
-.uni-form label,
65
-.uni-form button {
66
-  cursor: pointer;
67
-}
68
-
69
-/* ==========================================================================
70
-   Default layout
71
-   --------------------------------------------------------------------------
72
-   Styles for form controls where labels are above the input elements
73
-   ========================================================================== */
74
-
75
-/* Target only the "main" labels */
76
-
77
-.uni-form .ctrl-holder > label,
78
-.uni-form .ctrl-holder > .label {
79
-  display: block;
80
-  margin: 0;
81
-  padding: 0;
82
-}
83
-
84
-/* Required fields asterisk styling */
85
-
86
-.uni-form label em,
87
-.uni-form .label em {
88
-  float: left;
89
-  width: .75em;
90
-  margin: 0 0 0 -.75em;
91
-  font-style: inherit;
92
-  font-weight: inherit;
93
-}
94
-
95
-/* Float the input elements */
96
-
97
-.uni-form .ctrl,
98
-.uni-form .input-text,
99
-.uni-form .input-file,
100
-.uni-form .input-select,
101
-.uni-form .input-textarea {
102
-  float: left;
103
-  width: 65%; /* 2% for spacing */
104
-  margin: 0;
105
-}
106
-
107
-.uni-form .ctrl {
108
-  padding-right: 3%;
109
-}
110
-
111
-/* Make some spacing between the label and the input/list */
112
-
113
-.uni-form label + .input-text,
114
-.uni-form label + .input-file,
115
-.uni-form label + .input-select,
116
-.uni-form label + .input-textarea {
117
-  margin-top: .5em;
118
-}
119
-
120
-/* Postition the hints */
121
-
122
-.uni-form .form-hint {
123
-  float: right;
124
-  width: 33%;
125
-  margin: 0;
126
-}
127
-
128
-/* Grouped controls (one below the other by default) */
129
-
130
-.uni-form .multi {
131
-  float: left;
132
-  width: 67%;
133
-  margin: 0;
134
-  padding: 0 3% 0 0;
135
-}
136
-
137
-.uni-form .multi + .form-hint {
138
-  margin-top: .5em;
139
-}
140
-
141
-  .uni-form .multi > li {
142
-    margin: .5em 0;
143
-    list-style: none;
144
-  }
145
-
146
-/* Alternate layout for grouped controls (stacked inline) */
147
-
148
-.uni-form .multi-inline > li {
149
-  float: left;
150
-  margin: .5em 0 0 0;
151
-}
152
-
153
-.uni-form .columns-2 > li {
154
-  width: 50%;
155
-}
156
-
157
-.uni-form .columns-2 > li + li {
158
-  padding-left: 2%;
159
-}
160
-
161
-.uni-form .columns-3 > li {
162
-  width: 33.3%;
163
-}
164
-
165
-.uni-form .columns-3 > li + li,
166
-.uni-form .columns-3 > li + li + li {
167
-  padding-left: 2%;
168
-}
169
-
170
-.uni-form .multi .input-text,
171
-.uni-form .multi .input-select,
172
-.uni-form .multi select {
173
-  display: inline-block;
174
-  float: none;
175
-  width: 100%;
176
-  margin-top: 0;
177
-}
178
-
179
-/* ==========================================================================
180
-   Alternate layout
181
-   --------------------------------------------------------------------------
182
-   Styles for form controls where labels are in line with the input elements
183
-   --------------------------------------------------------------------------
184
-   Set the class of the parent (preferably to a fieldset) to .inline-labels
185
-   ========================================================================== */
186
-
187
-.uni-form .inline-labels .ctrl-holder > label,
188
-.uni-form .inline-labels .ctrl-holder > .label {
189
-  float: left;
190
-  position: relative;
191
-  width: 33%;
192
-  padding-right: 3%;
193
-}
194
-
195
-/* Float the input elements */
196
-
197
-.uni-form .ctrl,
198
-.uni-form .inline-labels .input-text,
199
-.uni-form .inline-labels .input-file,
200
-.uni-form .inline-labels .input-select,
201
-.uni-form .inline-labels .input-textarea {
202
-  float: left;
203
-  width: 67%;
204
-  margin: 0;
205
-}
206
-
207
-/* Postition the hints */
208
-
209
-.uni-form .inline-labels .form-hint {
210
-  clear: both;
211
-  float: none;
212
-  width: auto;
213
-  margin-left: 33%;
214
-  padding-top: .5em; /* Must use padding because of the clearing */
215
-}
216
-
217
-/* Grouped controls (one below the other by default) */
218
-
219
-.uni-form .inline-labels .multi {
220
-  float: left;
221
-  width: 67%;
222
-  margin: 0;
223
-  padding: 0;
224
-}
225
-
226
-  .uni-form .inline-labels .multi > li {
227
-    margin: 0;
228
-  }
229
-
230
-  .uni-form .inline-labels .multi > li + li {
231
-    margin-top: .5em;
232
-  }
233
-
234
-   .uni-form .inline-labels .multi label {
235
-     float: none;
236
-     display: block;
237
-     width: 100%;
238
-   }
239
-
240
-    .uni-form .inline-labels .multi .input-text,
241
-    .uni-form .inline-labels .multi .input-select,
242
-    .uni-form .inline-labels .multi .input-file,
243
-    .uni-form .inline-labels .multi .input-textarea {
244
-      float: none;
245
-      display: inline-block;
246
-      width: 100%;
247
-    }
248
-
249
-/* Alternate layout for grouped controls (stacked inline) */
250
-
251
-.uni-form .inline-labels .multi-inline > li + li {
252
-  margin-top: 0;
253
-}
254
-
255
-/* ==========================================================================
256
-   Additional stuff
257
-   ========================================================================== */
258
-
259
-/* When you don't want to use a label for grouped fields */
260
-
261
-.uni-form .inline-labels .no-label .multi {
262
-  margin-left: 33%;
263
-}
264
-
265
-/* Classes for control of the widths of the fields */
266
-
267
-.uni-form .small {
268
-  width: 30% !important
269
-}
270
-
271
-.uni-form .medium {
272
-  width: 45% !important
273
-}
274
-
275
-.uni-form .large {
276
-  float: none;
277
-  display: block;
278
-  width: 100% !important;
279
-}
280
-
281
-.uni-form .large + .form-hint,
282
-.uni-form .inline-labels .large + .form-hint {
283
-  float: none;
284
-  width: auto;
285
-  margin-left: 0;
286
-  padding-top: .3em;
287
-}
288
-
289
-.uni-form .auto {
290
-  width: auto !important;
291
-  height: auto !important;
292
-  display: inline-block !important;
293
-  float: none !important;
294
-}
295
-
296
-/* Make spacing in between two inputs */
297
-
298
-.uni-form .small + input,
299
-.uni-form .medium + input,
300
-.uni-form .auto + input,
301
-.uni-form .small + select,
302
-.uni-form .medium + select,
303
-.uni-form .auto + select {
304
-  margin-right: 4px !important;
305
-}
306
-
307
-/* ==========================================================================
308
-   Read-Only output
309
-   ========================================================================== */
310
-
311
-/* Default layout */
312
-
313
-.uni-form .read-only-label {
314
-  display: block;
315
-  margin: 0;
316
-  font-size: 1em;
317
-  font-weight: bold;
318
-}
319
-
320
-.uni-form .read-only {
321
-  margin: .5em 0 0 0;
322
-}
323
-
324
-  .uni-form .read-only .choice-label {
325
-    color: #777;
326
-    text-transform: uppercase;
327
-    font-size: .8em;
328
-    letter-spacing: .15em;
329
-  }
330
-
331
-/* Alternate layout */
332
-
333
-.uni-form .inline-labels .read-only-label {
334
-  float: left;
335
-  position: relative;
336
-  width: 33%;
337
-  margin: 0;
338
-  padding-right: 3%;
339
-}
340
-
341
-.uni-form .inline-labels .read-only {
342
-  float: right;
343
-  width: 67%;
344
-  margin: 0;
345
-}
346
-
347
-.uni-form .inline-labels .read-only + .read-only {
348
-  margin-top: .5em;
349
-}
350
-
351
-/* ==========================================================================
352
-   Columns
353
-   ========================================================================== */
354
-
355
-.uni-form-row {}
356
-
357
-  .uni-form-row > .ctrl-holder {
358
-    float: left;
359
-  }
360
-
361
-  .columns-2 > .ctrl-holder {
362
-    width: 50%;
363
-  }
364
-
365
-  .columns-3 > .ctrl-holder {
366
-    width: 33.3%;
367
-  }
368
-
369
-/* ==========================================================================
370
-   480 breakpoint
371
-   ========================================================================== */
372
-
373
-@media screen and (max-width: 480px) {
374
-
375
-  /* Default layout selectors */
376
-  .uni-form .ctrl-holder > label,
377
-  .uni-form .ctrl-holder > .label,
378
-  .uni-form .input-text,
379
-  .uni-form .input-select,
380
-  .uni-form .input-textarea,
381
-  .uni-form .input-file,
382
-  .uni-form .ctrl,
383
-  .uni-form .multi,
384
-  .uni-form .multi-inline > li,
385
-  .uni-form .form-hint,
386
-  /* Alternate layout selectors */
387
-  .uni-form .inline-labels .ctrl-holder > label,
388
-  .uni-form .inline-labels .ctrl-holder > .label,
389
-  .uni-form .inline-labels .input-text,
390
-  .uni-form .inline-labels .input-select,
391
-  .uni-form .inline-labels .input-textarea,
392
-  .uni-form .inline-labels .input-file,
393
-  .uni-form .inline-labels .ctrl,
394
-  .uni-form .multi,
395
-  .uni-form .inline-labels .multi-inline > li,
396
-  .uni-form .inline-labels .form-hint,
397
-  .uni-form .inline-labels .no-label .multi {
398
-    float: none;
399
-    width: 100%;
400
-  }
401
-
402
-  .uni-form .inline-labels label + .input-text,
403
-  .uni-form .inline-labels label + .input-file,
404
-  .uni-form .inline-labels label + .input-select,
405
-  .uni-form .inline-labels label + .input-textarea {
406
-    margin-top: .5em;
407
-  }
408
-
409
-  .uni-form .inline-labels .ctrl-holder > label,
410
-  .uni-form .inline-labels .ctrl-holder > .label,
411
-  .uni-form .multi,
412
-  .uni-form .multi-inline > li,
413
-  .uni-form .columns-2 > li + li,
414
-  .uni-form .columns-3 > li + li,
415
-  .uni-form .columns-3 > li + li + li {
416
-    padding: 0;
417
-  }
418
-
419
-  .uni-form .form-hint,
420
-  .uni-form .inline-labels .form-hint,
421
-  .uni-form .inline-labels .no-label .multi{
422
-    margin-left: 0;
423
-  }
424
-
425
-}

+ 0
- 2
templates/base.html View File

@@ -14,8 +14,6 @@
14 14
 
15 15
     <!-- Bootstrap core CSS -->
16 16
     <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
17
-    <link href="{% static "css/uni-form.css" %}" rel="stylesheet">
18
-    <link href="{% static "css/style.uni-form.css" %}" rel="stylesheet">
19 17
 
20 18
     <!-- Custom styles for this template -->
21 19
     <link href="{% static "style.css" %}" rel="stylesheet">

+ 1
- 1
templates/index.html View File

@@ -42,7 +42,7 @@
42 42
 				<p>
43 43
 				Login with callsign (uppercase) and password.
44 44
 				</p>
45
-				<form method="post" action="{% url "login" %}" class="uniForm">
45
+				<form method="post" action="{% url "login" %}">
46 46
 					{% csrf_token %}
47 47
 					{{ loginForm|crispy }}
48 48
 					<div class="form-actions">

+ 1
- 21
templates/registration/login.html View File

@@ -16,7 +16,7 @@
16 16
 				Trouble logging in? Remember that your call is all upper-case.
17 17
 				</p>
18 18
 
19
-				<form action="{% url "login" %}" method="post" class="uniForm">
19
+				<form action="{% url "login" %}" method="post">
20 20
 					{% csrf_token %}
21 21
 					{{ form|crispy }}
22 22
 
@@ -26,25 +26,5 @@
26 26
 		</div>
27 27
 	</div>
28 28
 </div>
29
-<!--
30
-<div class="row">
31
-	<div class="col-sm-6">
32
-		<blockquote>
33
-			Serverbasierte Loesung finde ich nach eingem Ueberlegen doof.
34
-			<footer>DL7BST</footer>
35
-		</blockquote>
36
-	</div>
37
-	<div class="col-sm-6">
38
-		Please Login! Don't have an account? <a href="{% url 'register' %}">Register here!</a>
39
-		<form action="#" method="post" class="uniForm">
40
-			{% csrf_token %}
41
-			{{ form|crispy }}
42
-
43
-			<button type="submit" class="btn btn-default" value="Login">Login</button>
44
-		</form>
45
-	</div>
46
-</div>
47
--->
48
-</div>
49 29
 {% endblock %}
50 30
 

Loading…
Cancel
Save