patternfly-sass 3.45.3 → 3.46.0

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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/dist/img/bg-login-2.png +0 -0
  3. data/dist/img/bg-login.png +0 -0
  4. data/dist/img/rcue-full.svg +221 -0
  5. data/dist/img/rcue.svg +92 -0
  6. data/dist/img/redhat_reverse.png +0 -0
  7. data/dist/js/patternfly-settings-base.js +1 -1
  8. data/dist/js/patternfly-settings.js +1 -1
  9. data/dist/js/patternfly-settings.min.js +1 -1
  10. data/dist/js/patternfly.js +1 -1
  11. data/dist/js/patternfly.min.js +1 -1
  12. data/dist/sass/patternfly/_rcue-about-modal.scss +45 -0
  13. data/dist/sass/patternfly/_rcue-additions.scss +11 -0
  14. data/dist/sass/patternfly/_rcue-login.scss +75 -0
  15. data/dist/sass/patternfly/_rcue-variables.scss +57 -0
  16. data/dist/sass/patternfly/_rcue.scss +6 -0
  17. data/dist/sass/rcue/_about-modal.scss +44 -0
  18. data/dist/sass/rcue/_alerts.scss +44 -0
  19. data/dist/sass/rcue/_badges.scss +11 -0
  20. data/dist/sass/rcue/_blank-slate.scss +35 -0
  21. data/dist/sass/rcue/_bootstrap-combobox.scss +35 -0
  22. data/dist/sass/rcue/_bootstrap-datepicker.scss +132 -0
  23. data/dist/sass/rcue/_bootstrap-mixin-overrides.scss +33 -0
  24. data/dist/sass/rcue/_bootstrap-select.scss +108 -0
  25. data/dist/sass/rcue/_bootstrap-slider.scss +66 -0
  26. data/dist/sass/rcue/_bootstrap-switch.scss +19 -0
  27. data/dist/sass/rcue/_bootstrap-touchspin.scss +31 -0
  28. data/dist/sass/rcue/_bootstrap-treeview.scss +89 -0
  29. data/dist/sass/rcue/_breadcrumbs.scss +20 -0
  30. data/dist/sass/rcue/_buttons.scss +50 -0
  31. data/dist/sass/rcue/_card-view.scss +105 -0
  32. data/dist/sass/rcue/_cards.scss +238 -0
  33. data/dist/sass/rcue/_charts.scss +125 -0
  34. data/dist/sass/rcue/_close.scss +16 -0
  35. data/dist/sass/rcue/_color-variables.scss +85 -0
  36. data/dist/sass/rcue/_context-selector.scss +124 -0
  37. data/dist/sass/rcue/_datatables.scss +186 -0
  38. data/dist/sass/rcue/_dropdowns.scss +235 -0
  39. data/dist/sass/rcue/_experimental-features.scss +48 -0
  40. data/dist/sass/rcue/_filter.scss +38 -0
  41. data/dist/sass/rcue/_fonts.scss +124 -0
  42. data/dist/sass/rcue/_footer.scss +19 -0
  43. data/dist/sass/rcue/_forms.scss +192 -0
  44. data/dist/sass/rcue/_icons.scss +368 -0
  45. data/dist/sass/rcue/_infotip.scss +145 -0
  46. data/dist/sass/rcue/_labels.scss +17 -0
  47. data/dist/sass/rcue/_layouts.scss +140 -0
  48. data/dist/sass/rcue/_links.scss +5 -0
  49. data/dist/sass/rcue/_list-group.scss +18 -0
  50. data/dist/sass/rcue/_list-pf.scss +177 -0
  51. data/dist/sass/rcue/_list-view-dnd.scss +53 -0
  52. data/dist/sass/rcue/_list-view.scss +304 -0
  53. data/dist/sass/rcue/_login.scss +334 -0
  54. data/dist/sass/rcue/_mixins.scss +81 -0
  55. data/dist/sass/rcue/_modals.scss +38 -0
  56. data/dist/sass/rcue/_nav-vertical-alt.scss +168 -0
  57. data/dist/sass/rcue/_navbar-alt.scss +141 -0
  58. data/dist/sass/rcue/_navbar-vertical.scss +153 -0
  59. data/dist/sass/rcue/_navbar.scss +546 -0
  60. data/dist/sass/rcue/_notifications-drawer.scss +249 -0
  61. data/dist/sass/rcue/_pager.scss +68 -0
  62. data/dist/sass/rcue/_pagination.scss +121 -0
  63. data/dist/sass/rcue/_panels.scss +134 -0
  64. data/dist/sass/rcue/_patternfly-additions.scss +74 -0
  65. data/dist/sass/rcue/_patternfly.scss +31 -0
  66. data/dist/sass/rcue/_popovers.scss +38 -0
  67. data/dist/sass/rcue/_progress-bars.scss +121 -0
  68. data/dist/sass/rcue/_rcue-about-modal.scss +45 -0
  69. data/dist/sass/rcue/_rcue-login.scss +75 -0
  70. data/dist/sass/rcue/_rcue-variables.scss +57 -0
  71. data/dist/sass/rcue/_search.scss +64 -0
  72. data/dist/sass/rcue/_sidebar.scss +176 -0
  73. data/dist/sass/rcue/_skip-to-content.scss +12 -0
  74. data/dist/sass/rcue/_spinner.scss +72 -0
  75. data/dist/sass/rcue/_syntax-highlighting.scss +36 -0
  76. data/dist/sass/rcue/_table-view.scss +188 -0
  77. data/dist/sass/rcue/_tables.scss +90 -0
  78. data/dist/sass/rcue/_tabs.scss +118 -0
  79. data/dist/sass/rcue/_time-picker.scss +81 -0
  80. data/dist/sass/rcue/_toast.scss +75 -0
  81. data/dist/sass/rcue/_toolbar.scss +190 -0
  82. data/dist/sass/rcue/_tooltip.scss +15 -0
  83. data/dist/sass/rcue/_tree-list-view.scss +83 -0
  84. data/dist/sass/rcue/_type.scss +29 -0
  85. data/dist/sass/rcue/_variables.scss +580 -0
  86. data/dist/sass/rcue/_vertical-nav.scss +952 -0
  87. data/dist/sass/rcue/_wizard.scss +576 -0
  88. data/lib/patternfly-sass/version.rb +1 -1
  89. metadata +83 -2
@@ -0,0 +1,576 @@
1
+ //
2
+ // Wizard
3
+ // --------------------------------------------------
4
+ .wizard-pf {
5
+ padding: 10px;
6
+ margin: 0 auto;
7
+ max-height: 900px;
8
+ width: auto;
9
+ .modal-content {
10
+ min-height:100%;
11
+ }
12
+ }
13
+
14
+ // Wizard header
15
+ // Top section of the wizard w/ title and dismiss
16
+
17
+ .wizard-pf-body {
18
+ background:$color-pf-white;
19
+ padding: 0;
20
+ position: static;
21
+ }
22
+ /* styles the sidebard containing the sub-steps */
23
+ .wizard-pf-sidebar {
24
+ background: $color-pf-black-100;
25
+ border-right: 1px solid $color-pf-black-300;
26
+ display:none;
27
+ @media (min-width: $screen-sm-min) {
28
+ display:inherit;
29
+ flex:0 0 auto;
30
+ overflow-x: hidden;
31
+ overflow-y: auto;
32
+ .list-group {
33
+ border-top: 0;
34
+ margin-bottom: 0;
35
+ }
36
+ .list-group-item {
37
+ background-color: transparent;
38
+ border-color: $color-pf-black-200;
39
+ padding: 0;
40
+ > a {
41
+ color: $color-pf-black;
42
+ cursor: pointer;
43
+ display: block;
44
+ font-size: 14px;
45
+ font-weight: 700;
46
+ height: 50px;
47
+ outline: 0;
48
+ padding-top: 11px;
49
+ padding-left: 20px;
50
+ position: relative;
51
+ white-space: nowrap;
52
+ width: 14em;
53
+ &:hover {
54
+ text-decoration: none;
55
+ background-color: $color-pf-black-200;
56
+ }
57
+ &:focus {
58
+ //corrects odd behavior when hover and focus are combined.
59
+ text-decoration: none;
60
+ span {
61
+ text-decoration: underline;
62
+ }
63
+ }
64
+ }
65
+ &.active {
66
+ background-color: $color-pf-black-200;
67
+
68
+ //override default behavior
69
+ &:hover {
70
+ border-color: $color-pf-black-200;
71
+ }
72
+ > a {
73
+ color: $color-pf-blue-300;
74
+ cursor: default;
75
+ }
76
+ // line to left side showing active substep
77
+ > a:before {
78
+ content: " ";
79
+ background: $color-pf-blue-300;
80
+ height: 100%;
81
+ left: 0;
82
+ position: absolute;
83
+ top: 0;
84
+ width: 3px;
85
+ }
86
+ // caret to right showing active substep
87
+ > a:after {
88
+ color: $color-pf-blue-300;
89
+ content: "\f105"; // right caret
90
+ display: block;
91
+ font-family: FontAwesome;
92
+ font-size: 24px;
93
+ font-weight: 500;
94
+ line-height: 30px;
95
+ padding-top: 10px;
96
+ position: absolute;
97
+ right: 23px;
98
+ top: 0;
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ .wizard-pf-substep-number {
105
+ display:inline-block;
106
+ margin-right: 5px;
107
+ vertical-align: middle;
108
+ width: 25px;
109
+ }
110
+ .wizard-pf-substep-title {
111
+ display:inline-block;
112
+ margin-right: 5px;
113
+ text-align: left;
114
+ vertical-align: middle;
115
+ }
116
+ /* styles the steps indicator across the top of the wizard */
117
+ .wizard-pf-steps {
118
+ border-bottom: solid 1px $color-pf-black-300;
119
+ @media (min-width: $screen-sm-min) {
120
+ text-align: center;
121
+ }
122
+ }
123
+
124
+ .wizard-pf-steps-indicator {
125
+ background: $color-pf-black-200;
126
+ border-top: 1px solid $color-pf-black-300;
127
+ display: inline-block;
128
+ display: flex;
129
+ font-size: ceil(($font-size-base * 1.3333));
130
+ list-style: none;
131
+ margin-bottom: 0;
132
+ padding: 15px 0;
133
+ @media (min-width: $screen-sm-min) {
134
+ background: $color-pf-white;
135
+ height: 120px;
136
+ padding: 38px 0 0;
137
+ justify-content: space-around;
138
+ }
139
+
140
+ li {
141
+ counter-increment: section;
142
+ float:left; /* float for IE9 since it doesn't support flex. If items wrap, they overlap */
143
+ flex-grow: 1;
144
+ flex-basis: 0;
145
+ line-height: 15px;
146
+ margin: 0;
147
+ padding: 0;
148
+ position: relative;
149
+ text-align: center;
150
+ &:not(.active) {
151
+ display: none;
152
+ @media (min-width: $screen-sm-min) {
153
+ display: block;
154
+ }
155
+ }
156
+ a {
157
+ align-items: center;
158
+ display: flex;
159
+ flex-wrap:wrap;
160
+ font-weight: 700;
161
+ @media (min-width: $screen-sm-min) {
162
+ font-weight: normal;
163
+ justify-content: center;
164
+ }
165
+ .wizard-pf-step-title {
166
+ margin-left: 10px;
167
+ @media(min-width: $screen-sm-min) {
168
+ margin-left: 0;
169
+ }
170
+
171
+ &-substep {
172
+ font-weight: normal;
173
+ margin-left: 10px;
174
+ text-transform: capitalize;
175
+ &:before {
176
+ content:"\00BB";
177
+ font-size: 20px;
178
+ margin-right: 10px;
179
+ }
180
+ &:not(.active) {
181
+ display: none;
182
+ }
183
+ }
184
+ }
185
+ }
186
+ /* draw the line between the circles */
187
+ @media (min-width: $screen-sm-min) {
188
+ .wizard-pf-step-title-substep {
189
+ display: none;
190
+ }
191
+ &:before {
192
+ background-color: $color-pf-black-400;
193
+ content: "";
194
+ height: 2px;
195
+ left: 0;
196
+ position: absolute;
197
+ right: 0;
198
+ top: 40px; // needed for IE9/10 calculate 50% of just the li, others calc 50% of the entire thing including the a:before
199
+ //otherwise, use top: calc(50% - 1px);
200
+ }
201
+ /* don't draw the line between the circles on the ends */
202
+ &:first-child:before {
203
+ left: 50%;
204
+ right: 0;
205
+ }
206
+ &:last-child:before {
207
+ left: 0;
208
+ right: 50%;
209
+ }
210
+ &:only-of-type:before {
211
+ background-color: transparent;
212
+ }
213
+ }
214
+ a {
215
+ color: $color-pf-black;
216
+ cursor: pointer;
217
+ font-size: 16px;
218
+ margin-left:1em;
219
+ margin-right:1em;
220
+ text-decoration: none;
221
+ &:hover {
222
+ .wizard-pf-step-number {
223
+ background-color: $color-pf-black-400;
224
+ border-color: $color-pf-black-400;
225
+ color: $color-pf-white;
226
+ }
227
+ }
228
+ }
229
+ }
230
+ /* draw the step number in the circle */
231
+
232
+ .wizard-pf-step-number {
233
+ background-color: $color-pf-white;
234
+ border-radius: 50%;
235
+ border: solid 2px $color-pf-black-400;
236
+ color: $color-pf-black-400;
237
+ font-size: $font-size-base;
238
+ font-weight: 700;
239
+ height: 25px;
240
+ line-height: 22px;
241
+ @media (min-width: $screen-sm-min) {
242
+ left: unquote("calc(50% - 13px)");
243
+ position: absolute;
244
+ top: 27px;
245
+ }
246
+ width: 25px;
247
+ }
248
+ .active .wizard-pf-step-number {
249
+ background-color: $color-pf-blue-300;
250
+ border-color: $color-pf-blue-300;
251
+ cursor: default;
252
+ color: $color-pf-white;
253
+ }
254
+
255
+ .viewed-pf .wizard-pf-step-number {
256
+ color: $color-pf-black;
257
+ background-color: $color-pf-white;
258
+ border-color: $color-pf-blue-300;
259
+ }
260
+
261
+ }
262
+
263
+ /* styles the main content portion of the wizard */
264
+ .wizard-pf-main {
265
+ height: 100%;
266
+ padding:1em;
267
+ vertical-align: top;
268
+ width:100%;
269
+ @media (min-width: $screen-sm-min) {
270
+ overflow: auto;
271
+ padding:3em;
272
+ flex:1 1 auto;
273
+ }
274
+ .blank-slate-pf {
275
+ background-color: transparent;
276
+ border: none;
277
+ left: 0;
278
+ right: 0;
279
+ }
280
+ }
281
+
282
+ .wizard-pf-contents textarea {
283
+ resize: vertical;
284
+ }
285
+
286
+ /* styles the content of a review page */
287
+ .wizard-pf-review-steps {
288
+ list-style: none;
289
+ .list-group, .list-group-item {
290
+ border: none;
291
+ margin-bottom: 0;
292
+ }
293
+ > ul {
294
+ > li {
295
+ float: left;
296
+ line-height: 15px;
297
+ margin: 0;
298
+ padding-top: 0;
299
+ position: relative;
300
+ width: 100%;
301
+ > a {
302
+ color: #030303;
303
+ cursor: pointer;
304
+ font-size: 16px;
305
+ padding-left: 30px;
306
+ padding-right: 5px;
307
+ text-decoration: none;
308
+ transition: 250ms;
309
+ &:before {
310
+ content: "\f107";
311
+ display: block;
312
+ font-family: FontAwesome;
313
+ font-size: 24px;
314
+ font-weight: 500;
315
+ left: 20px;
316
+ position: absolute;
317
+ top: 0;
318
+ }
319
+ &.collapsed {
320
+ &:before {
321
+ content: "\f105";
322
+ }
323
+ }
324
+ }
325
+ }
326
+ }
327
+ }
328
+
329
+ .wizard-pf-review-substeps {
330
+ padding-left: 22px;
331
+ > ul {
332
+ > li {
333
+ float: left;
334
+ line-height: 15px;
335
+ margin: 0;
336
+ position: relative;
337
+ width: 100%;
338
+ a {
339
+ color: #030303;
340
+ cursor: pointer;
341
+ font-size: 16px;
342
+ padding-left: 30px;
343
+ padding-right: 5px;
344
+ text-decoration: none;
345
+ transition: 250ms;
346
+ &:before {
347
+ content: "\f107";
348
+ display: block;
349
+ font-family: FontAwesome;
350
+ font-size: 24px;
351
+ font-weight: 500;
352
+ left: 20px;
353
+ position: absolute;
354
+ top: 10px;
355
+ }
356
+ &.collapsed {
357
+ &:before {
358
+ content: "\f105";
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+
366
+ .wizard-pf-review-content {
367
+ padding-top: 10px;
368
+ padding-left: 40px;
369
+ .wizard-pf-review-item {
370
+ padding: 5px 0;
371
+ &.sub-item {
372
+ margin-left: 10px;
373
+ }
374
+ .wizard-pf-review-item-label {
375
+ font-weight: 700;
376
+ padding-right: 10px;
377
+ }
378
+ .wizard-pf-review-item-field {
379
+ font-weight: 700;
380
+ margin: 5px 0;
381
+ padding-right: 10px;
382
+ &:first-of-type {
383
+ margin-top: 0;
384
+ }
385
+ &:last-of-type {
386
+ margin-bottom: 0;
387
+ }
388
+ &.sub-field {
389
+ margin-left: 10px;
390
+ }
391
+ }
392
+ }
393
+ }
394
+
395
+ .wizard-pf-success-icon {
396
+ color: $color-pf-green-400;
397
+ font-size: ($font-size-base * 5.6);
398
+ line-height: ($font-size-base * 5.6);
399
+ }
400
+
401
+ /* styles the footer */
402
+ .wizard-pf-footer {
403
+ background:$color-pf-white;
404
+ border-top: 1px solid $color-pf-black-300;
405
+ margin-top: 0;
406
+ padding-bottom: 17px;
407
+ .btn-cancel {
408
+ margin-right:25px;
409
+ }
410
+ }
411
+
412
+ .wizard-pf-row {
413
+ @media (min-width: $screen-sm-min) {
414
+ display: flex;
415
+ width:100%;
416
+ height: 900px;
417
+ max-height: 65vh;
418
+ }
419
+ }
420
+
421
+ // Scale up the modal
422
+ @media (min-width: $screen-md-min) {
423
+ // increasing space around modal for larger viewports
424
+ .wizard-pf {
425
+ padding: 30px 0;
426
+ width: 900px;
427
+ }
428
+ // increasing width of sidebar for larger viewports
429
+ .wizard-pf-sidebar .list-group-item > a {
430
+ width: 18em;
431
+ }
432
+ }
433
+
434
+ //
435
+ //
436
+ // This is for the new wizard that is more robust on mobile.
437
+ // --------------------------------------------------
438
+
439
+ .wizard-pf-steps-alt, .wizard-pf-steps-alt ul {
440
+ list-style: none;
441
+ margin: 0;
442
+ padding: 0;
443
+ }
444
+
445
+ .wizard-pf-steps-alt {
446
+ margin-left: 15px;
447
+ margin-top: 15px;
448
+ background-image: linear-gradient(to right, transparent 11px, $color-pf-black-300 11px, $color-pf-black-300 13px, transparent 13px);
449
+ @media (min-width: $screen-sm-min) {
450
+ display:none;
451
+ }
452
+ &-indicator {
453
+ position: relative;
454
+ // caret to top showing active substep
455
+ &:after {
456
+ color: $color-pf-black-700;
457
+ content: "\f107"; // top caret
458
+ display: block;
459
+ font-family: FontAwesome;
460
+ font-size: 24px;
461
+ font-weight: 500;
462
+ position: absolute;
463
+ right: 17px;
464
+ top: 50%;
465
+ transform:translateY(-50%);
466
+ @media (min-width: $screen-sm-min) {
467
+ display:none;
468
+ }
469
+ }
470
+ &.active {
471
+ &:after {
472
+ content: "\f106";
473
+ }
474
+ }
475
+ }//indicator
476
+ }//.wizard-pf-steps-alt
477
+
478
+ .wizard-pf-step-alt {
479
+ margin-bottom: 10px;
480
+ a {
481
+ display:flex;
482
+ flex:1;
483
+ &:hover {
484
+ text-decoration: none;
485
+ .wizard-pf-step-alt-title {
486
+ color: $color-pf-blue-300;
487
+ }
488
+ }
489
+ }
490
+ ul {
491
+ margin-left: 11px;
492
+ }
493
+ .wizard-pf-step-alt-title {
494
+ margin-left: 5px;
495
+ align-self:center;
496
+ }
497
+ .wizard-pf-step-alt-number {
498
+ flex:0 0 auto;
499
+ }
500
+
501
+ &.active {
502
+ .wizard-pf-step-alt-number {
503
+ background-color: $color-pf-blue-300;
504
+ border-color: $color-pf-blue-300;
505
+ cursor: default;
506
+ color: $color-pf-white;
507
+ }
508
+ .wizard-pf-step-alt-title {
509
+ color: $color-pf-blue-300;
510
+ }
511
+ .wizard-pf-step-alt-substep:first-of-type {
512
+ margin-top: 2px; // gives proper spacing below number in circle active state
513
+ }
514
+
515
+
516
+ }
517
+ &.viewed {
518
+ .wizard-pf-step-alt-number {
519
+ color: $color-pf-black;
520
+ background-color: $color-pf-white;
521
+ border-color: $color-pf-blue-300;
522
+ }
523
+ }
524
+
525
+ }//.wizard-pf-step-alt
526
+
527
+ .wizard-pf-step-alt-number {
528
+ background-color: $color-pf-white;
529
+ border-radius: 50%;
530
+ border: solid 2px $color-pf-black-400;
531
+ color: $color-pf-black-400;
532
+ font-size: $font-size-base;
533
+ font-weight: 700;
534
+ height: 24px;
535
+ width: 24px;
536
+ display: inline-block;
537
+ text-align: center;
538
+ }
539
+
540
+
541
+ .wizard-pf-step-alt-title {
542
+ color: $color-pf-black;
543
+ font-weight: 700;
544
+ text-transform: capitalize;
545
+ display:inline-block;
546
+
547
+ }//.wizard-pf-steps-alt-title
548
+
549
+ .wizard-pf-step-alt-substep {
550
+ display:flex;
551
+ a {
552
+ padding:5px 0 5px 18px;
553
+ color: $color-pf-black-800;
554
+ }
555
+
556
+ &:not(.disabled) {
557
+ &.active, &:hover {
558
+ background-color: $color-pf-black-200;
559
+ background-image: linear-gradient(to right, $color-pf-blue-300 2px, transparent 2px);
560
+ a {
561
+ color:$color-pf-blue-300;
562
+ }
563
+ }
564
+ }
565
+ &.active {
566
+ a {
567
+ font-weight:700;
568
+ }
569
+ }
570
+ &.disabled {
571
+ cursor: not-allowed;
572
+ a {
573
+ pointer-events: none;
574
+ }
575
+ }
576
+ }