forms-angular 0.12.0-beta.37 → 0.12.0-beta.370

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.
@@ -23,12 +23,26 @@
23
23
  z-index: 102;
24
24
  }
25
25
 
26
+ .report-header {
27
+ display: flex;
28
+ flex-direction: row;
29
+ flex-wrap: wrap;
30
+ .header-lhs {
31
+ padding-left: 30px;
32
+ padding-right: 30px;
33
+ }
34
+ .header-rhs {
35
+ flex-grow: 1;
36
+ }
37
+ }
38
+
26
39
  .header-rhs {
27
40
  min-width: 226px;
28
41
  min-height: 40px;
29
42
  padding-right: 20px;
30
43
  padding-bottom: 5px;
31
- display: block;}
44
+ display: block;
45
+ }
32
46
 
33
47
  .list-header .header-rhs {
34
48
  margin: 15px 0;
@@ -47,7 +61,6 @@
47
61
  .gridStyle {
48
62
  border: 1px solid #d4d4d4;
49
63
  margin: auto;
50
- height: 400px;
51
64
  .ngTopPanel {
52
65
  background-color: #ffffff;
53
66
  }
@@ -195,7 +208,7 @@ span input[type="radio"] {
195
208
  display: none
196
209
  }
197
210
 
198
- button#saveButton[disabled]:hover + #why-disabled {
211
+ button#saveButton[disabled]:hover + #why-disabled.showwhy {
199
212
  display: block;
200
213
  border: #ddd solid 2px;
201
214
  font-size: small;
@@ -210,3 +223,194 @@ button#saveButton[disabled]:hover + #why-disabled {
210
223
  font-weight: normal;
211
224
  top: 22px;
212
225
  }
226
+
227
+ #display-error {
228
+ position: fixed;
229
+ top: 60px;
230
+ left: 0;
231
+ width: 100%;
232
+ z-index: 1090;
233
+ // centre a box that is only as wide as its message needs
234
+ display: flex;
235
+ justify-content: center;
236
+ // the container spans the window, so let clicks either side of the box through to the page
237
+ pointer-events: none;
238
+
239
+ > .alert {
240
+ pointer-events: auto;
241
+ min-width: ~"min(300px, calc(100% - 32px))"; // room for the title and the two buttons
242
+ max-width: 83.333%; // the width of the old col-md-10 box
243
+ margin-bottom: 0;
244
+ }
245
+
246
+ @media (max-width: 767px) {
247
+ > .alert {
248
+ max-width: calc(100% - 32px);
249
+ }
250
+ }
251
+ }
252
+
253
+ #display-error.ng-hide {
254
+ opacity: 0;
255
+ }
256
+ #display-error.ng-hide-add, // animate the error display
257
+ #display-error.ng-hide-remove {
258
+ transition: all linear 0.5s;
259
+ }
260
+
261
+ input[type="checkbox"].ng-invalid::after {
262
+ content: "Invalid";
263
+ color: rgba(255, 0, 0, 0.6);
264
+ padding-left: 1em;
265
+ }
266
+
267
+ /* Delayed Absolute Center Spinner */
268
+ /* Absolute Center Spinner */
269
+ .loading, .spinner {
270
+ position: fixed;
271
+ z-index: 999;
272
+ height: 2em;
273
+ width: 2em;
274
+ overflow: visible;
275
+ margin: auto;
276
+ top: 0;
277
+ left: 0;
278
+ bottom: 0;
279
+ right: 0;
280
+ }
281
+
282
+ .loading {
283
+ -webkit-animation: lds-ring-fadein 3.4s;
284
+ animation: lds-ring-fadein 3.4s;
285
+ }
286
+
287
+ .spinner {
288
+ -webkit-animation: lds-ring-fadein 0.4s;
289
+ animation: lds-ring-fadein 0.4s;
290
+ }
291
+
292
+ /* The spinner put up while a lazy tab is compiled (see fngSelectTab) stays invisible for its first 250ms, so that it
293
+ only appears for slow tabs. It has to be done in CSS: the compilation blocks JavaScript, but not opacity animations,
294
+ which the browser runs on its own. It then fades in steadily over 0.2s (lds-ring-fadein barely shows for its first
295
+ half). */
296
+ .spinner.fng-tab-spinner {
297
+ -webkit-animation: fng-tab-spinner-fadein 0.2s 250ms linear both;
298
+ animation: fng-tab-spinner-fadein 0.2s 250ms linear both;
299
+ }
300
+
301
+ @keyframes fng-tab-spinner-fadein {
302
+ from { opacity: 0; }
303
+ to { opacity: 1; }
304
+ }
305
+
306
+ /* Transparent Overlay */
307
+ .loading:before, .spinner:before {
308
+ content: '';
309
+ display: block;
310
+ position: fixed;
311
+ top: 0;
312
+ left: 0;
313
+ width: 100%;
314
+ height: 100%;
315
+ background-color: rgba(0,0,0,0.3);
316
+ }
317
+
318
+ /* :not(:required) hides these rules from IE9 and below */
319
+ .loading:not(:required), .spinner:not(:required) {
320
+ /* hide "loading..." text */
321
+ font: 0/0 a;
322
+ color: transparent;
323
+ text-shadow: none;
324
+ background-color: transparent;
325
+ border: 0;
326
+ }
327
+
328
+ .loading:not(:required):after, .spinner:not(:required):after {
329
+ content: '';
330
+ display: block;
331
+ font-size: 10px;
332
+ width: 1em;
333
+ height: 1em;
334
+ margin-top: -0.5em;
335
+ -webkit-animation: spinner 1500ms infinite linear;
336
+ -moz-animation: spinner 1500ms infinite linear;
337
+ -ms-animation: spinner 1500ms infinite linear;
338
+ -o-animation: spinner 1500ms infinite linear;
339
+ animation: spinner 1500ms infinite linear;
340
+ border-radius: 0.5em;
341
+ -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
342
+ box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
343
+ }
344
+
345
+ /* Animation */
346
+
347
+ @-webkit-keyframes spinner {
348
+ 0% {
349
+ -webkit-transform: rotate(0deg);
350
+ -moz-transform: rotate(0deg);
351
+ -ms-transform: rotate(0deg);
352
+ -o-transform: rotate(0deg);
353
+ transform: rotate(0deg);
354
+ }
355
+ 100% {
356
+ -webkit-transform: rotate(360deg);
357
+ -moz-transform: rotate(360deg);
358
+ -ms-transform: rotate(360deg);
359
+ -o-transform: rotate(360deg);
360
+ transform: rotate(360deg);
361
+ }
362
+ }
363
+ @-moz-keyframes spinner {
364
+ 0% {
365
+ -webkit-transform: rotate(0deg);
366
+ -moz-transform: rotate(0deg);
367
+ -ms-transform: rotate(0deg);
368
+ -o-transform: rotate(0deg);
369
+ transform: rotate(0deg);
370
+ }
371
+ 100% {
372
+ -webkit-transform: rotate(360deg);
373
+ -moz-transform: rotate(360deg);
374
+ -ms-transform: rotate(360deg);
375
+ -o-transform: rotate(360deg);
376
+ transform: rotate(360deg);
377
+ }
378
+ }
379
+ @-o-keyframes spinner {
380
+ 0% {
381
+ -webkit-transform: rotate(0deg);
382
+ -moz-transform: rotate(0deg);
383
+ -ms-transform: rotate(0deg);
384
+ -o-transform: rotate(0deg);
385
+ transform: rotate(0deg);
386
+ }
387
+ 100% {
388
+ -webkit-transform: rotate(360deg);
389
+ -moz-transform: rotate(360deg);
390
+ -ms-transform: rotate(360deg);
391
+ -o-transform: rotate(360deg);
392
+ transform: rotate(360deg);
393
+ }
394
+ }
395
+ @keyframes spinner {
396
+ 0% {
397
+ -webkit-transform: rotate(0deg);
398
+ -moz-transform: rotate(0deg);
399
+ -ms-transform: rotate(0deg);
400
+ -o-transform: rotate(0deg);
401
+ transform: rotate(0deg);
402
+ }
403
+ 100% {
404
+ -webkit-transform: rotate(360deg);
405
+ -moz-transform: rotate(360deg);
406
+ -ms-transform: rotate(360deg);
407
+ -o-transform: rotate(360deg);
408
+ transform: rotate(360deg);
409
+ }
410
+ }
411
+
412
+ @keyframes lds-ring-fadein{
413
+ 0% { opacity:0; }
414
+ 50% { opacity:0.1; }
415
+ 100% { opacity:1; }
416
+ }
@@ -38,7 +38,7 @@
38
38
  }
39
39
  }
40
40
 
41
- form {
41
+ form, ngform {
42
42
  &.form-horizontal.compact {
43
43
  .control-group {
44
44
  margin-bottom: 2px;
@@ -76,7 +76,7 @@ textarea[msd-elastic] {
76
76
  }
77
77
  }
78
78
 
79
- form {
79
+ form, ng-form {
80
80
  &.form-horizontal .form-group {
81
81
  margin-left: 0;
82
82
  margin-right: 0;