forms-angular 0.12.0-beta.36 → 0.12.0-beta.361

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;
@@ -208,4 +221,182 @@ button#saveButton[disabled]:hover + #why-disabled {
208
221
  box-shadow: 4px 4px 4px #999;
209
222
  color: red;
210
223
  font-weight: normal;
224
+ top: 22px;
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;
211
285
  }
286
+
287
+ .spinner {
288
+ -webkit-animation: lds-ring-fadein 0.4s;
289
+ animation: lds-ring-fadein 0.4s;
290
+ }
291
+
292
+ /* Transparent Overlay */
293
+ .loading:before, .spinner:before {
294
+ content: '';
295
+ display: block;
296
+ position: fixed;
297
+ top: 0;
298
+ left: 0;
299
+ width: 100%;
300
+ height: 100%;
301
+ background-color: rgba(0,0,0,0.3);
302
+ }
303
+
304
+ /* :not(:required) hides these rules from IE9 and below */
305
+ .loading:not(:required), .spinner:not(:required) {
306
+ /* hide "loading..." text */
307
+ font: 0/0 a;
308
+ color: transparent;
309
+ text-shadow: none;
310
+ background-color: transparent;
311
+ border: 0;
312
+ }
313
+
314
+ .loading:not(:required):after, .spinner:not(:required):after {
315
+ content: '';
316
+ display: block;
317
+ font-size: 10px;
318
+ width: 1em;
319
+ height: 1em;
320
+ margin-top: -0.5em;
321
+ -webkit-animation: spinner 1500ms infinite linear;
322
+ -moz-animation: spinner 1500ms infinite linear;
323
+ -ms-animation: spinner 1500ms infinite linear;
324
+ -o-animation: spinner 1500ms infinite linear;
325
+ animation: spinner 1500ms infinite linear;
326
+ border-radius: 0.5em;
327
+ -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;
328
+ 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;
329
+ }
330
+
331
+ /* Animation */
332
+
333
+ @-webkit-keyframes spinner {
334
+ 0% {
335
+ -webkit-transform: rotate(0deg);
336
+ -moz-transform: rotate(0deg);
337
+ -ms-transform: rotate(0deg);
338
+ -o-transform: rotate(0deg);
339
+ transform: rotate(0deg);
340
+ }
341
+ 100% {
342
+ -webkit-transform: rotate(360deg);
343
+ -moz-transform: rotate(360deg);
344
+ -ms-transform: rotate(360deg);
345
+ -o-transform: rotate(360deg);
346
+ transform: rotate(360deg);
347
+ }
348
+ }
349
+ @-moz-keyframes spinner {
350
+ 0% {
351
+ -webkit-transform: rotate(0deg);
352
+ -moz-transform: rotate(0deg);
353
+ -ms-transform: rotate(0deg);
354
+ -o-transform: rotate(0deg);
355
+ transform: rotate(0deg);
356
+ }
357
+ 100% {
358
+ -webkit-transform: rotate(360deg);
359
+ -moz-transform: rotate(360deg);
360
+ -ms-transform: rotate(360deg);
361
+ -o-transform: rotate(360deg);
362
+ transform: rotate(360deg);
363
+ }
364
+ }
365
+ @-o-keyframes spinner {
366
+ 0% {
367
+ -webkit-transform: rotate(0deg);
368
+ -moz-transform: rotate(0deg);
369
+ -ms-transform: rotate(0deg);
370
+ -o-transform: rotate(0deg);
371
+ transform: rotate(0deg);
372
+ }
373
+ 100% {
374
+ -webkit-transform: rotate(360deg);
375
+ -moz-transform: rotate(360deg);
376
+ -ms-transform: rotate(360deg);
377
+ -o-transform: rotate(360deg);
378
+ transform: rotate(360deg);
379
+ }
380
+ }
381
+ @keyframes spinner {
382
+ 0% {
383
+ -webkit-transform: rotate(0deg);
384
+ -moz-transform: rotate(0deg);
385
+ -ms-transform: rotate(0deg);
386
+ -o-transform: rotate(0deg);
387
+ transform: rotate(0deg);
388
+ }
389
+ 100% {
390
+ -webkit-transform: rotate(360deg);
391
+ -moz-transform: rotate(360deg);
392
+ -ms-transform: rotate(360deg);
393
+ -o-transform: rotate(360deg);
394
+ transform: rotate(360deg);
395
+ }
396
+ }
397
+
398
+ @keyframes lds-ring-fadein{
399
+ 0% { opacity:0; }
400
+ 50% { opacity:0.1; }
401
+ 100% { opacity:1; }
402
+ }
@@ -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;