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,952 @@
1
+ //
2
+ // Vertical navigation
3
+ // --------------------------------------------------
4
+ //
5
+ // Basic Required Layout for Vertical Navigation
6
+ //
7
+ // .navbar navbar-pf-vertical
8
+ // .navbar-header
9
+ // .collapse navbar-collapse <-- necessary for collapsing vertical nav and mobile
10
+ // .nav-pf-vertical [.nav-pf-vertical-callapsible-menus] [.nav-pf-persistent-secondary] [.hidden-icons-pf]
11
+ // .list-group
12
+ // .list-group-item [.active] [.secondary-nav-item-pf]
13
+ // a
14
+ // [primary icon] <-- Not shown if .hidden-icons-pf above
15
+ // .list-group-item-value
16
+ // .nav-pf-secondary-nav <-- if .secondary-nav-item-pf above
17
+ // .nav-item-pf-header
18
+ // .secondary-collapse-toggle-pf data-toggle="collapse-secondary-nav"
19
+ // .list-group
20
+ // .list-group-item [.active] [tertiary-nav-item-pf]
21
+ // a
22
+ // .list-group-item-value
23
+ // .nav-pf-tertiary-nav <-- if .tertiary-nav-item-pf above
24
+ // .nav-item-pf-header
25
+ // .tertiary-collapse-toggle-pf data-toggle="collapse-tertiary-nav"
26
+ // .list-group
27
+ // .list-group-item [.active] [tertiary-nav-item-pf]
28
+ // a
29
+ // .list-group-item-value
30
+ //
31
+ // .container-pf-nav-pf-vertical [.nav-pf-persistent-secondary] [.hidden-icons-pf]
32
+ //
33
+
34
+ .nav-pf-vertical {
35
+ background: $nav-pf-vertical-bg-color;
36
+ border-right: 1px solid $nav-pf-vertical-border-color;
37
+ bottom: 0;
38
+ left: 0;
39
+ overflow-x: hidden;
40
+ overflow-y: auto;
41
+ position: fixed;
42
+ top: $navbar-pf-height;
43
+ width: $nav-pf-vertical-width;
44
+ z-index: $zindex-navbar-fixed;
45
+ .layout-pf-fixed-with-footer & {
46
+ bottom: $footer-pf-height;
47
+ }
48
+ .ie9.layout-pf-fixed & {
49
+ box-sizing: content-box; // IE9 incorrectly sizes the width if using padding-box
50
+ }
51
+ &.hidden.show-mobile-nav { // Mobile mode open
52
+ box-shadow: 0 0 3px rgba($color-pf-black, (15/100));
53
+ display: block !important;
54
+ }
55
+ &.hide-nav-pf { // Used to hide navigation initially to avoid startup flicker
56
+ visibility: hidden !important;
57
+ }
58
+ .list-group {
59
+ border-top: 0;
60
+ margin-bottom: 0;
61
+ }
62
+ .list-group-item {
63
+ background-color: transparent;
64
+ border-color: $nav-pf-vertical-item-border-color;
65
+ padding: 0;
66
+ > a {
67
+ background-color: transparent;
68
+ color: $nav-pf-vertical-color;
69
+ cursor: pointer;
70
+ display: block;
71
+ font-size: ($font-size-base + 2);
72
+ font-weight: $nav-pf-vertical-font-weight;
73
+ height: $nav-pf-vertical-link-height;
74
+ line-height: 26px;
75
+ padding: $nav-pf-vertical-link-padding;
76
+ position: relative;
77
+ white-space: nowrap;
78
+ width: $nav-pf-vertical-width;
79
+ // When flexbox is supported nav item names take up all available space
80
+ @supports (display: flex) {
81
+ display: flex;
82
+ padding-right: 0;
83
+ }
84
+ .fa,
85
+ .glyphicon,
86
+ .pficon {
87
+ color: $nav-pf-vertical-icon-color;
88
+ float: left;
89
+ font-size: ($font-size-base + 8);
90
+ line-height: 26px;
91
+ margin-right: 10px;
92
+ text-align: center;
93
+ width: $nav-pf-vertical-icon-width;
94
+ }
95
+ &:hover {
96
+ text-decoration: none;
97
+ }
98
+ }
99
+ &.active,
100
+ &:hover {
101
+ > a {
102
+ background-color: $nav-pf-vertical-active-bg-color;
103
+ color: $nav-pf-vertical-active-color;
104
+ font-weight: $nav-pf-vertical-active-font-weight;
105
+ .fa,
106
+ .glyphicon,
107
+ .pficon {
108
+ color: $nav-pf-vertical-active-icon-color;
109
+ }
110
+ }
111
+ }
112
+ &.active {
113
+ > a:before {
114
+ background: $nav-pf-vertical-active-before-color;
115
+ content: " ";
116
+ height: 100%;
117
+ left: 0;
118
+ position: absolute;
119
+ top: 0;
120
+ width: 3px;
121
+ }
122
+ &:hover { // to over-ride default list group setting
123
+ background-color: transparent;
124
+ border-color: $nav-pf-vertical-item-border-color;
125
+ }
126
+ }
127
+ .list-group-item-value {
128
+ display: block;
129
+ line-height: 25px;
130
+ max-width: 120px;
131
+ // If flexbox is supported, do not set max-width, take all space with just some right padding
132
+ // This generates a known issue on IE11:
133
+ // https://github.com/patternfly/patternfly/pull/810
134
+ @supports (display: flex) {
135
+ flex: 1;
136
+ max-width: none;
137
+ padding-right: 15px;
138
+ }
139
+ overflow: hidden;
140
+ text-overflow: ellipsis;
141
+ }
142
+ }
143
+ .list-group-item-separator {
144
+ border-top-color: $nav-pf-vertical-item-border-color;
145
+ border-top-width: 2px;
146
+ }
147
+ &.nav-pf-vertical-with-badges {
148
+ width: $nav-pf-vertical-badges-width;
149
+ .list-group-item > a {
150
+ width: $nav-pf-vertical-badges-width;
151
+ }
152
+ }
153
+ h5 {
154
+ color: $nav-pf-vertical-secondary-color;
155
+ cursor: default;
156
+ font-size: ($font-size-base + 1);
157
+ font-weight: 600;
158
+ margin: $nav-pf-vertical-secondary-list-header-margin;
159
+ }
160
+ &.hidden-icons-pf {
161
+ > .list-group > .list-group-item { // only the primary menu hides icons
162
+ > a {
163
+ .fa,
164
+ .glyphicon,
165
+ .pficon {
166
+ display: none;
167
+ }
168
+ }
169
+ }
170
+ &.collapsed {
171
+ display: none;
172
+ }
173
+ }
174
+ .badge-container-pf {
175
+ position: absolute;
176
+ right: 15px;
177
+ top: 20px;
178
+ // If flexbox is supported, use relative positioning to place to the right of the label
179
+ // and adjust the top position so that the secondary and tertiary nav items don't need to change
180
+ @supports (display: flex) {
181
+ padding-left: 0;
182
+ padding-right: 15px;
183
+ position: relative;
184
+ right: 0;
185
+ margin-top: -3px;
186
+ top: 5px;
187
+ }
188
+ .badge {
189
+ background: $nav-pf-vertical-badge-bg-color;
190
+ color: $nav-pf-vertical-badge-color;
191
+ float: left;
192
+ font-size: $font-size-base;
193
+ font-weight: 700;
194
+ line-height: $line-height-base;
195
+ margin: 0;
196
+ padding: 0 7px;
197
+ text-align: center;
198
+ .pficon,
199
+ .fa {
200
+ font-size: ($font-size-base + 2);
201
+ height: 20px;
202
+ line-height: $line-height-base;
203
+ margin-right: 3px;
204
+ margin-top: -1px;
205
+ }
206
+ }
207
+ }
208
+ }
209
+ .nav-pf-vertical-tooltip.tooltip {
210
+ margin-left: 15px;
211
+ .tooltip-inner {
212
+ background-color: $color-pf-white;
213
+ color: $color-pf-black-900;
214
+ }
215
+ .tooltip-arrow {
216
+ border-bottom-color: $color-pf-white;
217
+ left: calc(50% - 15px) !important;
218
+ }
219
+ }
220
+ .hover-secondary-nav-pf {
221
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
222
+ &.nav-pf-vertical-with-badges {
223
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 2)");
224
+ }
225
+ }
226
+ .hover-tertiary-nav-pf {
227
+ width: unquote("calc(#{$nav-pf-vertical-width} * 3)");
228
+ &.nav-pf-vertical-with-badges {
229
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 3)");
230
+ }
231
+ .nav-pf-secondary-nav {
232
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
233
+ .collapsed-tertiary-nav-pf {
234
+ width: $nav-pf-vertical-width;
235
+ }
236
+ }
237
+ .nav-pf-tertiary-nav {
238
+ left: unquote("calc(#{$nav-pf-vertical-width} * 2)");
239
+ }
240
+ &.nav-pf-vertical-with-badges {
241
+ .nav-pf-secondary-nav {
242
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 2)");
243
+ .collapsed-tertiary-nav-pf {
244
+ width: $nav-pf-vertical-badges-width;
245
+ }
246
+ }
247
+ .nav-pf-tertiary-nav {
248
+ left: unquote("calc(#{$nav-pf-vertical-badges-width} * 2)");
249
+ }
250
+ }
251
+ }
252
+ .nav-pf-vertical.collapsed {
253
+ width: $nav-pf-vertical-collapsed-width;
254
+ &.collapsed-secondary-nav-pf { // collapsed state with secondary menu pinned
255
+ width: $nav-pf-vertical-width;
256
+ &.nav-pf-vertical-with-badges {
257
+ width: $nav-pf-vertical-badges-width;
258
+ }
259
+ }
260
+ &.collapsed-tertiary-nav-pf { // collapsed state with tertiary menu pinned
261
+ width: $nav-pf-vertical-width;
262
+ &.nav-pf-vertical-with-badges {
263
+ width: $nav-pf-vertical-badges-width;
264
+ }
265
+ }
266
+ &.hover-secondary-nav-pf {
267
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width})");
268
+ &.nav-pf-vertical-with-badges {
269
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width})");
270
+ }
271
+ }
272
+ &.hover-tertiary-nav-pf {
273
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2))");
274
+ &.nav-pf-vertical-with-badges {
275
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-badges-width} * 2))");
276
+ }
277
+ }
278
+ }
279
+ .show-mobile-nav {
280
+ &.show-mobile-secondary {
281
+ width: $nav-pf-vertical-width;
282
+ &.nav-pf-vertical-with-badges {
283
+ width: $nav-pf-vertical-badges-width;
284
+ }
285
+ }
286
+ &.show-mobile-tertiary {
287
+ width: $nav-pf-vertical-width;
288
+ &.nav-pf-vertical-with-badges {
289
+ width: $nav-pf-vertical-badges-width;
290
+ }
291
+ }
292
+ .mobile-nav-item-pf,
293
+ .mobile-secondary-item-pf {
294
+ .nav-pf-secondary-nav {
295
+ left: 0;
296
+ opacity: 1;
297
+ visibility: visible;
298
+ z-index: ($zindex-navbar-fixed + 4);
299
+ }
300
+ > .nav-pf-tertiary-nav {
301
+ left: 0;
302
+ opacity: 1;
303
+ visibility: visible;
304
+ z-index: ($zindex-navbar-fixed + 8);
305
+ }
306
+ }
307
+ .nav-pf-secondary-nav {
308
+ left: 0;
309
+ .secondary-nav-item-pf:hover & {
310
+ opacity: 0;
311
+ visibility: hidden;
312
+ }
313
+ }
314
+ .tertiary-nav-item-pf:hover {
315
+ .nav-pf-tertiary-nav {
316
+ opacity: 0;
317
+ visibility: hidden;
318
+ }
319
+ }
320
+ .tertiary-nav-item-pf.mobile-nav-item-pf:hover {
321
+ .nav-pf-tertiary-nav {
322
+ opacity: 1;
323
+ visibility: visible;
324
+ }
325
+ }
326
+ }
327
+ .secondary-nav-item-pf {
328
+ > a {
329
+ cursor: default;
330
+ &:after {
331
+ color: $nav-pf-vertical-secondary-indicator-color;
332
+ content: $fa-var-angle-right;
333
+ display: block;
334
+ font-family: "FontAwesome";
335
+ font-size: ($font-size-base * 2);
336
+ line-height: 30px;
337
+ padding: $nav-pf-vertical-secondary-indicator-padding;
338
+ position: absolute;
339
+ right: 20px;
340
+ top: 0;
341
+ }
342
+ .list-group-item-value {
343
+ // If flex box is supported add some padding to account for the submenu indicator
344
+ @supports (display: flex) {
345
+ padding-right: 35px;
346
+ }
347
+ }
348
+ }
349
+ &.active,
350
+ &:hover {
351
+ > a {
352
+ width: unquote("calc(#{$nav-pf-vertical-width} + 1px)");
353
+ z-index: ($zindex-navbar-fixed + 1);
354
+ &:after {
355
+ right: 21px;
356
+ }
357
+ .collapsed-secondary-nav-pf & {
358
+ z-index: 0;
359
+ }
360
+ .collapsed-tertiary-nav-pf & {
361
+ z-index: 0;
362
+ }
363
+ }
364
+ }
365
+ .nav-pf-vertical-with-badges & {
366
+ &.active,
367
+ &:hover {
368
+ > a {
369
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} + 1px)");
370
+ }
371
+ }
372
+ }
373
+ }
374
+ .nav-pf-vertical.collapsed-secondary-nav-pf {
375
+ width: $nav-pf-vertical-width;
376
+ &.nav-pf-vertical-with-badges {
377
+ width: $nav-pf-vertical-badges-width;
378
+ }
379
+ .secondary-nav-item-pf { // Keep sub-menu indicators below collapsed menu
380
+ &.active,
381
+ &.hover {
382
+ > a {
383
+ z-index: $zindex-navbar-fixed;
384
+ }
385
+ }
386
+ }
387
+ &.hover-tertiary-nav-pf {
388
+ width: $nav-pf-vertical-width;
389
+ &.nav-pf-vertical-with-badges {
390
+ width: $nav-pf-vertical-badges-width;
391
+ }
392
+ }
393
+ .nav-pf-secondary-nav {
394
+ left: 0;
395
+ }
396
+ .nav-pf-tertiary-nav {
397
+ left: $nav-pf-vertical-width;
398
+ }
399
+ &.nav-pf-vertical-with-badges {
400
+ .nav-pf-tertiary-nav {
401
+ left: $nav-pf-vertical-badges-width;
402
+ }
403
+ }
404
+ }
405
+ .nav-pf-vertical.collapsed-tertiary-nav-pf {
406
+ width: $nav-pf-vertical-width;
407
+ &.nav-pf-vertical-with-badges {
408
+ width: $nav-pf-vertical-badges-width;
409
+ }
410
+ .nav-pf-secondary-nav {
411
+ width: $nav-pf-vertical-width;
412
+ &.nav-pf-vertical-with-badges {
413
+ width: $nav-pf-vertical-badges-width;
414
+ }
415
+ }
416
+ .secondary-nav-item-pf, // Keep sub-menu indicators below collapsed menu
417
+ .tertiary-nav-item-pf {
418
+ &.active,
419
+ &.hover {
420
+ > a {
421
+ z-index: 0;
422
+ }
423
+ }
424
+ }
425
+ }
426
+ .nav-pf-vertical.nav-pf-persistent-secondary.secondary-visible-pf { // Persistent secondary nav settings
427
+ @media (min-width: $screen-lg-min) { // secondary menu only persistent at lg screen
428
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
429
+ &.nav-pf-vertical-with-badges {
430
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 2)");
431
+ }
432
+ &.collapsed-secondary-nav-pf {
433
+ width: $nav-pf-vertical-width;
434
+ &.nav-pf-vertical-with-badges {
435
+ width: $nav-pf-vertical-badges-width;
436
+ }
437
+ &.hover-tertiary-nav-pf {
438
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
439
+ &.nav-pf-vertical-with-badges {
440
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 2)");
441
+ }
442
+ }
443
+ }
444
+ &.collapsed-tertiary-nav-pf {
445
+ width: $nav-pf-vertical-width;
446
+ &.nav-pf-vertical-with-badges {
447
+ width: $nav-pf-vertical-badges-width;
448
+ }
449
+ }
450
+ &.collapsed {
451
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width})");
452
+ &.collapsed-secondary-nav-pf {
453
+ width: $nav-pf-vertical-width;
454
+ &.nav-pf-vertical-with-badges {
455
+ width: $nav-pf-vertical-badges-width;
456
+ }
457
+ }
458
+ &.collapsed-tertiary-nav-pf {
459
+ width: $nav-pf-vertical-width;
460
+ &.nav-pf-vertical-with-badges {
461
+ width: $nav-pf-vertical-badges-width;
462
+ }
463
+ }
464
+ &.hover-tertiary-nav-pf {
465
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2))");
466
+ &.nav-pf-vertical-with-badges {
467
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-badges-width} * 2))");
468
+ }
469
+ }
470
+ }
471
+ &.hover-tertiary-nav-pf {
472
+ width: unquote("calc(#{$nav-pf-vertical-width} * 3)");
473
+ &.nav-pf-vertical-with-badges {
474
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} * 3)");
475
+ }
476
+ }
477
+ .secondary-nav-item-pf.active {
478
+ .nav-pf-secondary-nav {
479
+ visibility: visible;
480
+ opacity: 1;
481
+ }
482
+ }
483
+ }
484
+ }
485
+ .nav-item-pf-header {
486
+ color: $nav-pf-vertical-secondary-color;
487
+ font-size: ($font-size-base + 4);
488
+ margin: $nav-pf-vertical-secondary-header-margin;
489
+ > a {
490
+ cursor: pointer;
491
+ margin-right: 7px;
492
+ &:hover,
493
+ &:focus {
494
+ color: $link-color;
495
+ text-decoration: none;
496
+ }
497
+ }
498
+ }
499
+ .nav-pf-vertical.collapsed { // Collapsed Primary Menu state
500
+ width: $nav-pf-vertical-collapsed-width;
501
+ .list-group-item { // Show only the icons
502
+ > a {
503
+ width: $nav-pf-vertical-collapsed-width;
504
+ > .list-group-item-value {
505
+ display: none;
506
+ }
507
+ > .badge-container-pf {
508
+ display: none;
509
+ }
510
+ }
511
+ &.secondary-nav-item-pf { // Adjust widths
512
+ &.active > a,
513
+ > a {
514
+ width: $nav-pf-vertical-collapsed-width;
515
+ &:after {
516
+ right: 10px;
517
+ }
518
+ }
519
+ &.active,
520
+ &:hover {
521
+ > a {
522
+ width: ($nav-pf-vertical-collapsed-width + 2);
523
+ &:after {
524
+ right: 11px;
525
+ }
526
+ }
527
+ }
528
+ }
529
+ }
530
+ }
531
+ .nav-pf-secondary-nav {
532
+ background: $nav-pf-vertical-secondary-bg-color;
533
+ border: 1px solid $nav-pf-vertical-border-color;
534
+ border-bottom: none;
535
+ border-top: none;
536
+ bottom: 0;
537
+ display: block;
538
+ left: $nav-pf-vertical-width;
539
+ opacity: 0;
540
+ overflow-x: hidden;
541
+ overflow-y: auto;
542
+ position: fixed;
543
+ top: $navbar-pf-height;
544
+ visibility: hidden;
545
+ width: $nav-pf-vertical-width;
546
+ z-index: $zindex-navbar-fixed;
547
+ .secondary-nav-item-pf.active & { // Show secondary menu if active and either is collapsed
548
+ .collapsed-secondary-nav-pf & {
549
+ left: 0;
550
+ opacity: 1;
551
+ visibility: visible;
552
+ z-index: ($zindex-navbar-fixed + 2);
553
+ }
554
+ .collapsed-tertiary-nav-pf & {
555
+ left: 0;
556
+ opacity: 1;
557
+ visibility: visible;
558
+ }
559
+ }
560
+ .secondary-nav-item-pf.is-hover & { // Show secondary menu if hovering
561
+ .hover-secondary-nav-pf & {
562
+ opacity: 1;
563
+ visibility: visible;
564
+ }
565
+ }
566
+ .ie9.layout-pf-fixed & {
567
+ box-sizing: content-box; // IE9 incorrectly sizes the width if using padding-box
568
+ }
569
+ .layout-pf-fixed-with-footer & {
570
+ bottom: $footer-pf-height;
571
+ }
572
+ .list-group-item {
573
+ border: none;
574
+ padding: $nav-pf-vertical-secondary-item-padding;
575
+ width: $nav-pf-vertical-width;
576
+ > a {
577
+ background-color: $nav-pf-vertical-secondary-bg-color;
578
+ color: $nav-pf-vertical-secondary-item-color;
579
+ font-size: $font-size-base;
580
+ font-weight: inherit;
581
+ height: inherit;
582
+ padding: $nav-pf-vertical-secondary-link-padding;
583
+ margin-left: 20px;
584
+ width: unquote("calc(#{$nav-pf-vertical-width} - 20px)");
585
+
586
+ &:hover {
587
+ .list-group-item-value {
588
+ text-decoration: underline;
589
+ }
590
+ }
591
+ }
592
+ &.active > a:before {
593
+ display: none;
594
+ }
595
+ &.active,
596
+ &:hover {
597
+ > a {
598
+ background-color: $nav-pf-vertical-secondary-active-bg-color;
599
+ color: $nav-pf-vertical-secondary-active-color;
600
+ }
601
+ }
602
+ .badge-container-pf {
603
+ top: 5px;
604
+ .badge {
605
+ background: $nav-pf-vertical-secondary-badge-bg-color;
606
+ color: $nav-pf-vertical-badge-color;
607
+ }
608
+ }
609
+ .list-group-item-value {
610
+ padding-left: 5px;
611
+ }
612
+ &.tertiary-nav-item-pf { // Secondary menu items with tertiary sub menus
613
+ > a {
614
+ cursor: default;
615
+ &:after {
616
+ color: $nav-pf-vertical-secondary-indicator-color;
617
+ content: $fa-var-angle-right;
618
+ display: block;
619
+ font-family: "FontAwesome";
620
+ font-size: 20px;
621
+ line-height: 20px;
622
+ padding: $nav-pf-vertical-tertiary-indicator-padding;
623
+ position: absolute;
624
+ right: 20px;
625
+ top: 4px;
626
+ }
627
+ // If flex box is supported add some padding to account for the submenu indicator
628
+ .list-group-item-value {
629
+ @supports (display: flex) {
630
+ padding-right: 35px;
631
+ }
632
+ }
633
+ }
634
+ &.active,
635
+ &:hover {
636
+ > a {
637
+ width: unquote("calc(#{$nav-pf-vertical-width} - 19px)");
638
+ z-index: ($zindex-navbar-fixed + 3);
639
+ &:after {
640
+ right: 21px;
641
+ }
642
+ }
643
+ }
644
+ }
645
+ }
646
+ .nav-pf-vertical-with-badges & {
647
+ left: $nav-pf-vertical-badges-width;
648
+ width: $nav-pf-vertical-badges-width;
649
+ .list-group-item {
650
+ width: $nav-pf-vertical-badges-width;
651
+ > a {
652
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} - 20px)");
653
+ }
654
+ &.tertiary-nav-item-pf { // Secondary menu items with tertiary sub menus
655
+ &.active,
656
+ &:hover {
657
+ > a {
658
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} - 19px)");
659
+ }
660
+ }
661
+ }
662
+ }
663
+ }
664
+ }
665
+ .nav-pf-tertiary-nav {
666
+ background: $nav-pf-vertical-tertiary-bg-color;
667
+ border: 1px solid $nav-pf-vertical-border-color;
668
+ border-bottom: none;
669
+ border-top: none;
670
+ bottom: 0;
671
+ display: block;
672
+ left: unquote("calc(#{$nav-pf-vertical-width} * 2)");
673
+ opacity: 0;
674
+ overflow-x: hidden;
675
+ overflow-y: auto;
676
+ position: fixed;
677
+ top: $navbar-pf-height;
678
+ visibility: hidden;
679
+ width: $nav-pf-vertical-width;
680
+ z-index: $zindex-navbar-fixed;
681
+ .nav-pf-vertical-with-badges & {
682
+ left: $nav-pf-vertical-badges-width;
683
+ width: $nav-pf-vertical-badges-width;
684
+ .show-mobile-nav {
685
+ left: 0;
686
+ }
687
+ }
688
+ .tertiary-nav-item-pf.active & { // Show tertiary menu if active and collapsed
689
+ .collapsed-tertiary-nav-pf & {
690
+ left: 0;
691
+ opacity: 1;
692
+ visibility: visible;
693
+ z-index: ($zindex-navbar-fixed + 3);
694
+ }
695
+ }
696
+ .tertiary-nav-item-pf.is-hover & { // Show tertiary menu if hovering
697
+ .hover-tertiary-nav-pf & {
698
+ opacity: 1;
699
+ visibility: visible;
700
+ .collapsed.collapsed-tertiary-nav-pf & {
701
+ left: 0;
702
+ }
703
+ }
704
+ }
705
+ .ie9.layout-pf-fixed & {
706
+ box-sizing: content-box; // IE9 incorrectly sizes the width if using padding-box
707
+ }
708
+ .layout-pf-fixed-with-footer & {
709
+ bottom: $footer-pf-height;
710
+ }
711
+ .nav-item-pf-header {
712
+ color: $nav-pf-vertical-tertiary-color;
713
+ margin: $nav-pf-vertical-tertiary-header-margin;
714
+ }
715
+ h5 {
716
+ color: $nav-pf-vertical-tertiary-color;
717
+ margin: $nav-pf-vertical-tertiary-list-header-margin;
718
+ }
719
+ .list-group-item {
720
+ border: none;
721
+ padding: $nav-pf-vertical-tertiary-item-padding;
722
+ > a {
723
+ background-color: transparent;
724
+ color: $nav-pf-vertical-tertiary-item-color;
725
+ font-size: $font-size-base;
726
+ font-weight: inherit;
727
+ height: inherit;
728
+ margin: $nav-pf-vertical-tertiary-link-margin;
729
+ padding: $nav-pf-vertical-tertiary-link-padding;
730
+ }
731
+ &.active > a:before {
732
+ display: none;
733
+ }
734
+ &.active,
735
+ &:hover {
736
+ > a {
737
+ background-color: $nav-pf-vertical-tertiary-active-bg-color;
738
+ color: $nav-pf-vertical-tertiary-active-color;
739
+ }
740
+ }
741
+ .badge-container-pf {
742
+ top: 5px;
743
+ .badge {
744
+ background: $nav-pf-vertical-tertiary-badge-bg-color;
745
+ color: $nav-pf-vertical-tertiary-badge-color;
746
+ }
747
+ }
748
+ .list-group-item-value {
749
+ padding-left: 5px;
750
+ }
751
+ }
752
+ }
753
+ .collapsed {
754
+ .nav-pf-secondary-nav { // Adjust left placement
755
+ left: $nav-pf-vertical-collapsed-width;
756
+ .list-group-item {
757
+ > a {
758
+ width: unquote("calc(#{$nav-pf-vertical-width} - 20px)");
759
+ > .list-group-item-value { // Continue to show labels for secondary menu items
760
+ display: inline-block;
761
+ }
762
+ > .badge-container-pf {
763
+ display: inline-block;
764
+ }
765
+ }
766
+ }
767
+ }
768
+ .nav-pf-tertiary-nav { // Adjust left placement
769
+ left: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width})");
770
+ .list-group-item {
771
+ > a {
772
+ width: unquote("calc(#{$nav-pf-vertical-width} - 20px)");
773
+ > .list-group-item-value { // Continue to show labels for tertiary menu items
774
+ display: inline-block;
775
+ }
776
+ > .badge-container-pf {
777
+ display: inline-block;
778
+ }
779
+ }
780
+ }
781
+ }
782
+ &.collapsed-secondary-nav-pf,
783
+ &.collapsed-tertiary-nav-pf {
784
+ width: $nav-pf-vertical-width;
785
+ .secondary-nav-item-pf {
786
+ &:hover {
787
+ > a {
788
+ z-index: $zindex-navbar-fixed;
789
+ }
790
+ }
791
+ }
792
+ .nav-pf-secondary-nav {
793
+ left: 0;
794
+ }
795
+ }
796
+ &.collapsed-secondary-nav-pf {
797
+ .nav-pf-tertiary-nav {
798
+ left: $nav-pf-vertical-width;
799
+ }
800
+ }
801
+ &.collapsed-tertiary-nav-pf {
802
+ .nav-pf-tertiary-nav {
803
+ left: 0;
804
+ }
805
+ }
806
+ &.hover-secondary-nav-pf {
807
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width})");
808
+
809
+ &.collapsed-secondary-nav-pf,
810
+ &.collapsed-tertiary-nav-pf {
811
+ width: $nav-pf-vertical-width;
812
+ }
813
+ }
814
+ &.hover-tertiary-nav-pf {
815
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2))");
816
+ &.collapsed-secondary-nav-pf {
817
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
818
+ }
819
+ &.collapsed-tertiary-nav-pf {
820
+ width: $nav-pf-vertical-width;
821
+ }
822
+ }
823
+ &.nav-pf-vertical-with-badges {
824
+ .nav-pf-secondary-nav {
825
+ .list-group-item {
826
+ > a {
827
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} - 20px)");
828
+ }
829
+ }
830
+ }
831
+ .nav-pf-tertiary-nav {
832
+ left: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width})");
833
+ .list-group-item {
834
+ > a {
835
+ width: unquote("calc(#{$nav-pf-vertical-badges-width} - 20px)");
836
+ }
837
+ }
838
+ }
839
+ &.collapsed-secondary-nav-pf,
840
+ &.collapsed-tertiary-nav-pf {
841
+ width: $nav-pf-vertical-badges-width;
842
+ }
843
+ &.collapsed-secondary-nav-pf {
844
+ .nav-pf-tertiary-nav {
845
+ left: $nav-pf-vertical-badges-width;
846
+ }
847
+ }
848
+ &.hover-secondary-nav-pf {
849
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width})");
850
+ &.collapsed-secondary-nav-pf,
851
+ &.collapsed-tertiary-nav-pf {
852
+ width: $nav-pf-vertical-badges-width;
853
+ }
854
+ }
855
+ &.hover-tertiary-nav-pf {
856
+ width: unquote("calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2))");
857
+ &.collapsed-secondary-nav-pf {
858
+ width: unquote("calc(#{$nav-pf-vertical-width} * 2)");
859
+ }
860
+ &.collapsed-tertiary-nav-pf {
861
+ width: $nav-pf-vertical-width;
862
+ }
863
+ }
864
+ }
865
+ }
866
+ .secondary-collapse-toggle-pf {
867
+ display: none;
868
+ font-family: $icon-font-name-fa;
869
+ font-size: inherit;
870
+ opacity: 0;
871
+ pointer-events: none;
872
+ -webkit-font-smoothing: antialiased;
873
+ &:before {
874
+ content: $fa-var-arrow-circle-o-left;
875
+ }
876
+ &.collapsed {
877
+ &:before {
878
+ content: $fa-var-arrow-circle-o-right;
879
+ }
880
+ }
881
+ }
882
+ .tertiary-collapse-toggle-pf {
883
+ display: none;
884
+ font-family: $icon-font-name-fa;
885
+ font-size: inherit;
886
+ opacity: 0;
887
+ pointer-events: none;
888
+ -webkit-font-smoothing: antialiased;
889
+ &:before {
890
+ content: $fa-var-arrow-circle-o-left;
891
+ }
892
+ &.collapsed {
893
+ &:before {
894
+ content: $fa-var-arrow-circle-o-right;
895
+ }
896
+ }
897
+ }
898
+ .nav-pf-vertical-collapsible-menus {
899
+ .secondary-collapse-toggle-pf {
900
+ display: inline-block;
901
+ }
902
+ .secondary-nav-item-pf.active {
903
+ .secondary-collapse-toggle-pf {
904
+ opacity: 1;
905
+ pointer-events: all;
906
+ }
907
+ }
908
+ .tertiary-collapse-toggle-pf {
909
+ display: inline-block;
910
+ }
911
+ .tertiary-nav-item-pf.active {
912
+ .tertiary-collapse-toggle-pf {
913
+ opacity: 1;
914
+ pointer-events: all;
915
+ }
916
+ }
917
+ }
918
+ .show-mobile-nav {
919
+ .secondary-collapse-toggle-pf {
920
+ display: inline-block;
921
+ opacity: 1;
922
+ pointer-events: all;
923
+ &:before {
924
+ content: $fa-var-arrow-circle-o-left;
925
+ }
926
+ }
927
+ .tertiary-collapse-toggle-pf {
928
+ display: inline-block;
929
+ opacity: 1;
930
+ pointer-events: all;
931
+ &:before {
932
+ content: $fa-var-arrow-circle-o-left;
933
+ }
934
+ }
935
+ }
936
+ .force-hide-secondary-nav-pf { // Used to temporarily hide sub-menus on an unpin event
937
+ .nav-pf-secondary-nav {
938
+ display: none !important;
939
+ }
940
+ .nav-pf-tertiary-nav {
941
+ display: none !important;
942
+ }
943
+ }
944
+ .nav-pf-vertical.transitions {
945
+ transition: width $nav-pf-menu-transition-period;
946
+ .nav-pf-secondary-nav {
947
+ transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
948
+ }
949
+ .nav-pf-tertiary-nav {
950
+ transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
951
+ }
952
+ }