patternfly-sass 3.9.0 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
  3. data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +1 -0
  4. data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  5. data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
  6. data/assets/javascripts/patternfly.js +18 -19
  7. data/assets/javascripts/patternfly.min.js +2 -2
  8. data/assets/stylesheets/patternfly/_blank-slate.scss +4 -4
  9. data/assets/stylesheets/patternfly/_bootstrap-treeview.scss +20 -0
  10. data/assets/stylesheets/patternfly/_card-view.scss +2 -2
  11. data/assets/stylesheets/patternfly/_cards.scss +2 -4
  12. data/assets/stylesheets/patternfly/_charts.scss +1 -1
  13. data/assets/stylesheets/patternfly/_datatables.scss +1 -3
  14. data/assets/stylesheets/patternfly/_fonts.scss +30 -30
  15. data/assets/stylesheets/patternfly/_footer.scss +1 -1
  16. data/assets/stylesheets/patternfly/_forms.scss +1 -1
  17. data/assets/stylesheets/patternfly/_icons.scss +10 -7
  18. data/assets/stylesheets/patternfly/_infotip.scss +0 -4
  19. data/assets/stylesheets/patternfly/_layouts.scss +36 -11
  20. data/assets/stylesheets/patternfly/_list-group.scss +0 -16
  21. data/assets/stylesheets/patternfly/_list-view.scss +8 -13
  22. data/assets/stylesheets/patternfly/_login.scss +1 -1
  23. data/assets/stylesheets/patternfly/_mixin_overrides.scss +8 -6
  24. data/assets/stylesheets/patternfly/_mixins.scss +9 -7
  25. data/assets/stylesheets/patternfly/_nav-vertical-alt.scss +3 -3
  26. data/assets/stylesheets/patternfly/_navbar-alt.scss +4 -2
  27. data/assets/stylesheets/patternfly/_navbar-vertical.scss +2 -2
  28. data/assets/stylesheets/patternfly/_notifications-drawer.scss +1 -1
  29. data/assets/stylesheets/patternfly/_pager.scss +0 -4
  30. data/assets/stylesheets/patternfly/_progress-bars.scss +0 -7
  31. data/assets/stylesheets/patternfly/_search.scss +1 -2
  32. data/assets/stylesheets/patternfly/_sidebar.scss +1 -1
  33. data/assets/stylesheets/patternfly/_spinner.scss +1 -8
  34. data/assets/stylesheets/patternfly/_tables.scss +2 -2
  35. data/assets/stylesheets/patternfly/_time-picker.scss +1 -1
  36. data/assets/stylesheets/patternfly/_toast.scss +1 -1
  37. data/assets/stylesheets/patternfly/_toolbar.scss +30 -72
  38. data/assets/stylesheets/patternfly/_tooltip.scss +1 -1
  39. data/assets/stylesheets/patternfly/_variables.scss +9 -5
  40. data/assets/stylesheets/patternfly/_vertical-nav.scss +431 -269
  41. data/assets/stylesheets/patternfly/_wizard.scss +9 -11
  42. data/assets/stylesheets/patternfly/lib/bootstrap-touchspin.scss +1 -1
  43. data/bower.json +2 -2
  44. data/lib/patternfly-sass/version.rb +2 -2
  45. data/spec/html/about-modal.html +0 -1
  46. data/spec/html/accordions.html +0 -1
  47. data/spec/html/alerts.html +0 -1
  48. data/spec/html/area-charts.html +0 -1
  49. data/spec/html/badges.html +0 -1
  50. data/spec/html/bar-charts.html +0 -1
  51. data/spec/html/blank-slate.html +0 -1
  52. data/spec/html/bootstrap-combobox.html +0 -1
  53. data/spec/html/bootstrap-datepicker.html +0 -1
  54. data/spec/html/bootstrap-select.html +0 -1
  55. data/spec/html/bootstrap-switch.html +0 -2
  56. data/spec/html/bootstrap-touchspin.html +0 -1
  57. data/spec/html/bootstrap-treeview.html +157 -25
  58. data/spec/html/breadcrumbs.html +0 -1
  59. data/spec/html/buttons.html +0 -1
  60. data/spec/html/card-view-card-variations.html +10 -11
  61. data/spec/html/card-view-multi-select.html +97 -91
  62. data/spec/html/card-view-single-select.html +97 -91
  63. data/spec/html/code.html +0 -1
  64. data/spec/html/datatables-columns.html +0 -1
  65. data/spec/html/datatables.html +0 -1
  66. data/spec/html/dist/css/patternfly-additions.css +555 -383
  67. data/spec/html/dist/css/patternfly-additions.css.map +1 -1
  68. data/spec/html/dist/css/patternfly-additions.min.css +2 -3
  69. data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
  70. data/spec/html/dist/css/patternfly.css +27 -164
  71. data/spec/html/dist/css/patternfly.css.map +1 -1
  72. data/spec/html/dist/css/patternfly.min.css +3 -4
  73. data/spec/html/dist/css/patternfly.min.css.map +1 -1
  74. data/spec/html/donut-charts.html +0 -1
  75. data/spec/html/dropdowns.html +2 -3
  76. data/spec/html/forms.html +2 -3
  77. data/spec/html/icons.html +4 -1
  78. data/spec/html/index.html +3 -1
  79. data/spec/html/infotip.html +0 -1
  80. data/spec/html/labels.html +0 -1
  81. data/spec/html/line-charts.html +0 -1
  82. data/spec/html/list-group.html +0 -1
  83. data/spec/html/list-view-rows.html +2 -3
  84. data/spec/html/list-view.html +117 -104
  85. data/spec/html/modals.html +0 -1
  86. data/spec/html/navbar.html +0 -1
  87. data/spec/html/notification-drawer-horizontal-nav.html +84 -56
  88. data/spec/html/notification-drawer-vertical-nav.html +92 -58
  89. data/spec/html/pagination.html +0 -1
  90. data/spec/html/panels.html +0 -1
  91. data/spec/html/pie-charts.html +0 -1
  92. data/spec/html/popovers.html +0 -1
  93. data/spec/html/progress-bars.html +0 -1
  94. data/spec/html/search.html +10 -11
  95. data/spec/html/spinner.html +0 -1
  96. data/spec/html/tables.html +0 -1
  97. data/spec/html/tabs.html +0 -1
  98. data/spec/html/time-picker.html +0 -1
  99. data/spec/html/toast.html +0 -1
  100. data/spec/html/toolbar.html +98 -93
  101. data/spec/html/tooltip.html +0 -1
  102. data/spec/html/typography.html +0 -1
  103. data/spec/html/utilization-bar-charts.html +0 -1
  104. data/spec/html/vertical-navigation-primary-only.html +8 -2
  105. data/spec/html/vertical-navigation-with-badges.html +1128 -0
  106. data/spec/html/vertical-navigation-with-secondary.html +8 -2
  107. data/spec/html/vertical-navigation-with-tertiary-no-icons.html +9 -3
  108. data/spec/html/vertical-navigation-with-tertiary-pins.html +8 -2
  109. data/spec/html/wizard.html +1 -1
  110. data/tasks/converter.rb +22 -1
  111. metadata +4 -2
@@ -38,7 +38,7 @@ $bs-datetimepicker-btn-hover-bg: transparent;
38
38
  height: 30px;
39
39
  &:hover { color: $link-color; }
40
40
  }
41
- .table-condensed>tbody>tr>td { padding: 0; }
41
+ .table-condensed > tbody > tr > td { padding: 0; }
42
42
  }
43
43
  .time-picker-pf {
44
44
  .input-group-addon {
@@ -34,7 +34,7 @@
34
34
  // Sets max width on toast notifications
35
35
  .toast-pf-max-width {
36
36
  @media (min-width: $screen-md-min) {
37
- max-width: 31.1% ; // sets the size to 4 cols;
37
+ max-width: 31.1%; // sets the size to 4 cols;
38
38
  }
39
39
  }
40
40
  // To position the notification on the top right corner, used in context on cards layout
@@ -9,9 +9,8 @@
9
9
  padding-top: ($grid-gutter-width/4);
10
10
  .form-group {
11
11
  margin-bottom: ($grid-gutter-width/4);
12
- @media (min-width: $grid-float-breakpoint){
12
+ @media (min-width: $grid-float-breakpoint) {
13
13
  border-right: 1px solid $sidebar-pf-border-color;
14
- display: table-cell;
15
14
  float: left;
16
15
  margin-bottom: 0;
17
16
  padding-left: ($grid-gutter-width/2);
@@ -25,13 +24,9 @@
25
24
  .btn,
26
25
  .btn-group {
27
26
  + .btn,
28
- + .btn-group {
29
- margin-left: 5px;
30
- }
27
+ + .btn-group { margin-left: 5px; }
31
28
  + .btn-link,
32
- + .dropdown {
33
- margin-left: 10px;
34
- }
29
+ + .dropdown { margin-left: 10px; }
35
30
  }
36
31
  .btn-link {
37
32
  color: $gray-darker;
@@ -40,15 +35,12 @@
40
35
  padding: 4px 0;
41
36
  &:active,
42
37
  &:focus,
43
- &:hover {
44
- color: $link-color;
45
- }
38
+ &:hover { color: $link-color; }
46
39
  }
47
40
  }
48
41
  }
49
42
  .toolbar-pf-actions {
50
43
  display: table;
51
- margin-bottom: 10px;
52
44
  width: 100%;
53
45
  @media (min-width: $grid-float-breakpoint) {
54
46
  .toolbar-pf-filter {
@@ -59,44 +51,22 @@
59
51
  }
60
52
  .toolbar-pf-view-selector {
61
53
  font-size: ($font-size-base + 4);
62
- @media (min-width: $grid-float-breakpoint) {
63
- border-right: 0;
64
- float: right;
65
- padding-right: 0;
66
- }
67
- .active a {
54
+ .btn-link.active {
68
55
  color: $link-color;
69
56
  cursor: default;
70
57
  }
71
- a {
72
- color: $gray-darker;
73
- &:hover{
74
- color: $link-color;
75
- }
76
- }
77
- .list-inline {
78
- margin-bottom: 0;
79
- }
80
58
  }
81
- .toolbar-pf-action-right{
59
+ .toolbar-pf-action-right {
82
60
  float: right;
83
61
  @media (max-width: $grid-float-breakpoint) {
84
62
  float: none;
85
63
  }
86
- .toolbar-pf-view-selector {
87
- @media (min-width: $grid-float-breakpoint) {
88
- float: left;
89
- }
90
- }
91
64
  }
92
65
  .toolbar-pf-find {
93
66
  font-size: ($font-size-base + 2);
94
67
  position: relative;
95
- .btn{
96
- outline: none;
97
- }
98
68
  }
99
- .find-pf-dropdown-container{
69
+ .find-pf-dropdown-container {
100
70
  background: $color-pf-white;
101
71
  border: solid 1px $color-pf-black-400;
102
72
  display: none;
@@ -112,14 +82,11 @@
112
82
  width: calc(100% - 30px);
113
83
  }
114
84
  &:before,
115
- &:after{
85
+ &:after {
116
86
  content: "";
117
- display:block;
118
- height:0;
119
87
  position: absolute;
120
- width:0;
121
88
  }
122
- &:before{
89
+ &:before {
123
90
  border-bottom:11px solid $color-pf-black-400;
124
91
  border-left:11px solid transparent;
125
92
  border-right:11px solid transparent;
@@ -133,7 +100,7 @@
133
100
  top: 8px;
134
101
  }
135
102
  }
136
- &:after{
103
+ &:after {
137
104
  border-bottom:10px solid $color-pf-white;
138
105
  border-left:10px solid transparent;
139
106
  border-right:10px solid transparent;
@@ -147,38 +114,36 @@
147
114
  top: 9px;
148
115
  }
149
116
  }
150
- input{
151
- padding: 5px 95px 5px 5px;
152
- width: 100%;
117
+ input {
153
118
  height: 30px;
154
- line-height: 30px;
119
+ padding: 5px 117px 5px 5px; // 112px (components) + 5px (offset)
120
+ width: 100%;
155
121
  }
156
- .find-pf-buttons{
122
+ .find-pf-buttons {
157
123
  position: absolute;
158
124
  right: 10px;
159
- top: 0;
160
- .btn{
125
+ top: 5px;
126
+ .btn {
127
+ border: none;
128
+ cursor: pointer;
161
129
  margin-left: 0 !important;
130
+ padding: 0;
131
+ width: 18px;
132
+ .fa-angle-up,
133
+ .fa-angle-down {
134
+ font-weight: bold;
135
+ font-size: ($font-size-base + 6);
136
+ }
137
+ .pficon-close { font-size: ($font-size-base + 2); }
162
138
  }
163
- span{
164
- cursor: pointer;
165
- display: inline-block;
139
+ span {
166
140
  height: 30px;
167
141
  line-height: 30px;
168
- margin-right: 5px;
169
142
  vertical-align: middle;
170
143
  }
171
- .find-pf-nums{
144
+ .find-pf-nums {
172
145
  color: $color-pf-black-500;
173
- font-size: ($font-size-base + 2);
174
- }
175
- .btn-link .fa-angle-up,
176
- .btn-link .fa-angle-down{
177
- font-weight: bold;
178
- font-size: ($font-size-base + 6);
179
- }
180
- .btn-find-close{
181
- font-size: ($font-size-base + 2);
146
+ margin-right: 3px;
182
147
  }
183
148
  }
184
149
  }
@@ -193,7 +158,7 @@
193
158
  line-height: ($grid-gutter-width/1.5);
194
159
  margin-bottom: 0;
195
160
  margin-top: 0;
196
- @media (min-width: $screen-sm-min){
161
+ @media (min-width: $screen-sm-min) {
197
162
  line-height: $grid-gutter-width;
198
163
  }
199
164
  }
@@ -209,11 +174,4 @@
209
174
  margin-left: 5px;
210
175
  }
211
176
  }
212
- .list-inline {
213
- margin: 0 10px 0 5px;
214
- li {
215
- padding-left: 0;
216
- padding-right: 0;
217
- }
218
- }
219
177
  }
@@ -5,7 +5,7 @@
5
5
  // Base class
6
6
  .tooltip {
7
7
  font-size: $tooltip-font-size;
8
- line-height: 1.4
8
+ line-height: 1.4;
9
9
  }
10
10
 
11
11
  // Wrapper for the tooltip content
@@ -9,6 +9,7 @@ $patternfly-sass-asset-helper: false !default;
9
9
  @import "color-variables";
10
10
 
11
11
  $bootstrap-switch-handle-default-bg-color: $color-pf-black-100 !default;
12
+ $bootstrap-treeview-highlight-color: $color-pf-blue-300 !default;
12
13
  $btn-default-bg-img-start: $color-pf-black-100 !default;
13
14
  $btn-default-bg-img-stop: $color-pf-black-200 !default;
14
15
  $btn-xs-font-weight: 400 !default;
@@ -25,7 +26,7 @@ $dropdown-divider-margin: 4px 1px !def
25
26
  $dropdown-link-active-border-color: $color-pf-blue !default;
26
27
  $dropdown-link-hover-border-color: $color-pf-blue-100 !default;
27
28
  $dropdown-link-focus-color: $color-pf-white !default;
28
- $flyout-transition-pf: all .2s cubic-bezier(.35,0,.25,1) !default;
29
+ $flyout-transition-pf: all 200ms cubic-bezier(.35, 0, .25, 1) !default;
29
30
  $font-family-monospace: Menlo, Monaco, Consolas, monospace !default;
30
31
  $font-path: if($patternfly-sass-asset-helper, "patternfly", "../fonts/patternfly") !default;
31
32
  $footer-pf-bg-color: $color-pf-black !default;
@@ -92,8 +93,8 @@ $navbar-pf-vertical-navbar-brand-padding: 11px 0 12px
92
93
  $navbar-pf-vertical-navbar-toggle-margin: 13px 15px !default;
93
94
  $navbar-pf-vertical-navbar-toggle-icon-bar-hover-bg: $color-pf-white !default;
94
95
  $navbar-pf-vertical-nav-item-iconic-padding: 21px 12px !default;
95
- $nav-pf-container-transition-period: 0.25s !default;
96
- $nav-pf-menu-transition-period: 0.1s !default;
96
+ $nav-pf-container-transition-period: 250ms !default;
97
+ $nav-pf-menu-transition-period: 100ms !default;
97
98
  $nav-pf-vertical-active-color: $color-pf-white !default;
98
99
  $nav-pf-vertical-active-before-color: $color-pf-blue-300 !default;
99
100
  $nav-pf-vertical-active-bg-color: $color-pf-black-800 !default;
@@ -144,10 +145,11 @@ $nav-pf-vertical-width: 200px !defau
144
145
  $pagination-padding-small-vertical: 0 !default;
145
146
  $panel-default-border-color: $color-pf-black-400 !default;
146
147
  $pficon-var-add-circle-o: "\e61b" !default;
147
- $pficon-var-middleware: "\e917" !default;
148
+ $pficon-var-middleware: "\e917" !default;
148
149
  $pficon-var-blueprint: "\e915" !default;
149
150
  $pficon-var-build: "\e902" !default;
150
151
  $pficon-var-builder-image: "\e800" !default;
152
+ $pficon-var-bundle: "\e918" !default;
151
153
  $pficon-var-close: "\e60b" !default;
152
154
  $pficon-var-cloud-security: "\e903" !default;
153
155
  $pficon-var-cloud-tenant: "\e904" !default;
@@ -382,8 +384,10 @@ $font-size-h5: ceil(($font-
382
384
  $font-size-large: ceil(($font-size-base * 1.1666)) !default; // ~14px
383
385
  $font-size-small: ceil(($font-size-base * .9166)) !default; // ~11px
384
386
  $input-color: $gray-dark !default;
387
+ $input-color-placeholder: #999;
385
388
  $nav-tabs-active-link-hover-color: $link-color !default;
386
389
  $nav-tabs-justified-link-border-color: $nav-tabs-border-color !default;
390
+ $nav-pf-vertical-badges-width: ($nav-pf-vertical-width + 50px) !default;
387
391
  $padding-small-horizontal: $padding-base-horizontal !default;
388
392
  $padding-small-vertical: $padding-base-vertical !default;
389
393
  $panel-danger-border: $brand-danger !default;
@@ -398,7 +402,6 @@ $panel-warning-heading-bg: $brand-warni
398
402
  $state-warning-text: $brand-warning !default;
399
403
  $state-danger-text: $brand-danger !default;
400
404
  // Reference variable declared in block above
401
- $nav-pf-vertical-icon-size: ($font-size-base + 8) !default;
402
405
  $panel-danger-text: $panel-primary-text !default;
403
406
  $panel-info-text: $panel-primary-text !default;
404
407
  $panel-success-text: $panel-primary-text !default;
@@ -413,6 +416,7 @@ $btn-primary-bg-img-start: $brand-prima
413
416
  $btn-primary-bg-img-stop: $btn-primary-bg !default;
414
417
  $dropdown-link-focus-bg: $link-color !default;
415
418
  $line-height-computed: floor(($font-size-base * $line-height-base)) !default;
419
+ $nav-pf-vertical-icon-size: ($font-size-base + 8) !default;
416
420
  $notification-badge-color: $brand-danger !default;
417
421
  $progress-sm: ($line-height-computed - 6) !default;
418
422
  $progress-xs: ($line-height-computed - 14) !default;
@@ -7,7 +7,7 @@
7
7
  // .navbar navbar-pf-vertical
8
8
  // .navbar-header
9
9
  // .collapse navbar-collapse <-- necessary for collapsing vertical nav and mobile
10
- // .nav-pf-vertical [.nav-pf-vertical-with-sub-menus [.nav-pf-vertical-callapsible-menus] [.nav-pf-persistent-secondary]] [.hidden-icons-pf]
10
+ // .nav-pf-vertical [.nav-pf-vertical-callapsible-menus] [.nav-pf-persistent-secondary] [.hidden-icons-pf]
11
11
  // .list-group
12
12
  // .list-group-item [.active] [.secondary-nav-item-pf]
13
13
  // a
@@ -28,7 +28,7 @@
28
28
  // a
29
29
  // .list-group-item-value
30
30
  //
31
- // .container-pf-nav-pf-vertical [.container-pf-nav-pf-vertical-with-sub-menus [.nav-pf-persistent-secondary]] [.hidden-icons-pf]
31
+ // .container-pf-nav-pf-vertical [.nav-pf-persistent-secondary] [.hidden-icons-pf]
32
32
  //
33
33
 
34
34
  .nav-pf-vertical {
@@ -120,34 +120,63 @@
120
120
  border-color: $nav-pf-vertical-item-border-color;
121
121
  }
122
122
  }
123
- > .list-group-item-value {
123
+ .list-group-item-value {
124
124
  display: block;
125
- line-height: 30px;
125
+ line-height: 25px;
126
126
  max-width: 120px;
127
127
  overflow: hidden;
128
128
  text-overflow: ellipsis;
129
- width: 100%;
130
129
  }
131
-
132
130
  }
133
131
  .list-group-item-separator {
134
132
  border-top-color: $nav-pf-vertical-item-border-color;
135
133
  border-top-width: 2px;
136
134
  }
137
- &.collapsed {
135
+ &.nav-pf-vertical-with-badges {
136
+ width: $nav-pf-vertical-badges-width;
137
+ .list-group-item > a {
138
+ width: $nav-pf-vertical-badges-width;
139
+ }
140
+ }
141
+ &.collapsed { // Collapsed Primary Menu state
138
142
  width: $nav-pf-vertical-collapsed-width;
139
- > .list-group { // Only the primary menu is effected by .collapsed
140
- > .list-group-item {
143
+ > .list-group-item { // Show only the icons
144
+ > a {
145
+ width: $nav-pf-vertical-collapsed-width;
146
+ > .list-group-item-value {
147
+ display: none;
148
+ }
149
+ > .badge-container-pf {
150
+ display: none;
151
+ }
152
+ }
153
+ &.secondary-nav-item-pf { // Adjust widths
154
+ &.active > a,
141
155
  > a {
142
156
  width: $nav-pf-vertical-collapsed-width;
143
- > .list-group-item-value {
144
- display: none;
145
- width: 0;
157
+ &:after {
158
+ right: 10px;
159
+ }
160
+ }
161
+ &.active,
162
+ &:hover {
163
+ > a {
164
+ width: ($nav-pf-vertical-collapsed-width + 2);
165
+ &:after {
166
+ right: 11px;
167
+ }
146
168
  }
147
169
  }
148
170
  }
149
171
  }
150
172
  }
173
+ h5 {
174
+ color: $nav-pf-vertical-secondary-color;
175
+ cursor: default;
176
+ font-size: ($font-size-base + 1);
177
+ font-weight: 600;
178
+ margin: $nav-pf-vertical-secondary-list-header-margin;
179
+ }
151
180
  &.hidden-icons-pf {
152
181
  > .list-group > .list-group-item { // only the primary menu hides icons
153
182
  > a {
@@ -162,6 +191,30 @@
162
191
  display: none;
163
192
  }
164
193
  }
194
+ .badge-container-pf {
195
+ position: absolute;
196
+ right: 15px;
197
+ top: 20px;
198
+ .badge {
199
+ background: $nav-pf-vertical-badge-bg-color;
200
+ color: $nav-pf-vertical-badge-color;
201
+ float: left;
202
+ font-size: $font-size-base;
203
+ font-weight: 700;
204
+ line-height: $line-height-base;
205
+ margin: 0;
206
+ padding: 0 7px;
207
+ text-align: center;
208
+ .pficon,
209
+ .fa {
210
+ font-size: ($font-size-base + 2);
211
+ height: 20px;
212
+ line-height: $line-height-base;
213
+ margin-right: 3px;
214
+ margin-top: -1px;
215
+ }
216
+ }
217
+ }
165
218
  }
166
219
  .nav-pf-vertical-tooltip.tooltip {
167
220
  margin-left: 15px;
@@ -174,314 +227,305 @@
174
227
  left: calc(50% - 15px) !important;
175
228
  }
176
229
  }
177
- .nav-pf-vertical.nav-pf-vertical-with-sub-menus {
178
- &.collapsed {
179
- &.collapsed-secondary-nav-pf { // collapsed state with secondary menu pinned
180
- width: $nav-pf-vertical-width;
181
- }
182
- &.collapsed-tertiary-nav-pf { // collapsed state with tertiary menu pinned
230
+ .hover-secondary-nav-pf {
231
+ width: calc(#{$nav-pf-vertical-width} * 2);
232
+ &.nav-pf-vertical-with-badges {
233
+ width: calc(#{$nav-pf-vertical-badges-width} * 2);
234
+ }
235
+ }
236
+ .hover-tertiary-nav-pf {
237
+ width: calc(#{$nav-pf-vertical-width} * 3);
238
+ &.nav-pf-vertical-with-badges {
239
+ width: calc(#{$nav-pf-vertical-badges-width} * 3);
240
+ }
241
+ .nav-pf-secondary-nav {
242
+ width: calc(#{$nav-pf-vertical-width} * 2);
243
+ .collapsed-tertiary-nav-pf {
183
244
  width: $nav-pf-vertical-width;
184
245
  }
185
246
  }
186
- &.hover-secondary-nav-pf {
187
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width);
247
+ .nav-pf-tertiary-nav {
248
+ left: calc(#{$nav-pf-vertical-width} * 2);
188
249
  }
189
- &.hover-tertiary-nav-pf {
190
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width + $nav-pf-vertical-width);
250
+ &.nav-pf-vertical-with-badges {
191
251
  .nav-pf-secondary-nav {
192
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width);
252
+ width: calc(#{$nav-pf-vertical-badges-width} * 2);
193
253
  .collapsed-tertiary-nav-pf {
194
- width: $nav-pf-vertical-width;
254
+ width: $nav-pf-vertical-badges-width;
195
255
  }
196
256
  }
197
257
  .nav-pf-tertiary-nav {
198
- left: ($nav-pf-vertical-width + $nav-pf-vertical-width);
258
+ left: calc(#{$nav-pf-vertical-badges-width} * 2);
199
259
  }
200
260
  }
201
-
202
- &.show-mobile-nav {
203
- &.show-mobile-secondary {
204
- width: $nav-pf-vertical-width;
261
+ }
262
+ .collapsed {
263
+ width: $nav-pf-vertical-collapsed-width;
264
+ &.collapsed-secondary-nav-pf { // collapsed state with secondary menu pinned
265
+ width: $nav-pf-vertical-width;
266
+ &.nav-pf-vertical-with-badges {
267
+ width: $nav-pf-vertical-badges-width;
205
268
  }
206
- &.show-mobile-tertiary {
207
- width: $nav-pf-vertical-width;
269
+ }
270
+ &.collapsed-tertiary-nav-pf { // collapsed state with tertiary menu pinned
271
+ width: $nav-pf-vertical-width;
272
+ &.nav-pf-vertical-with-badges {
273
+ width: $nav-pf-vertical-badges-width;
208
274
  }
209
-
210
- .mobile-nav-item-pf,
211
- .mobile-secondary-item-pf {
212
- .nav-pf-secondary-nav {
213
- left: 0;
214
- opacity: 1;
215
- visibility: visible;
216
- z-index: ($zindex-navbar-fixed + 4);
217
- }
218
- > .nav-pf-tertiary-nav {
219
- opacity: 1;
220
- visibility: visible;
221
- }
275
+ }
276
+ &.hover-secondary-nav-pf {
277
+ width: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width});
278
+ &.nav-pf-vertical-with-badges {
279
+ width: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width});
280
+ }
281
+ }
282
+ &.hover-tertiary-nav-pf {
283
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-badges-width} * 2));
284
+ &.nav-pf-vertical-with-badges {
285
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-badges-width} * 2));
286
+ }
287
+ }
288
+ }
289
+ .show-mobile-nav {
290
+ &.show-mobile-secondary {
291
+ width: $nav-pf-vertical-width;
292
+ &.nav-pf-vertical-with-badges {
293
+ width: $nav-pf-vertical-badges-width;
294
+ }
295
+ }
296
+ &.show-mobile-tertiary {
297
+ width: $nav-pf-vertical-width;
298
+ &.nav-pf-vertical-with-badges {
299
+ width: $nav-pf-vertical-badges-width;
222
300
  }
301
+ }
302
+ .mobile-nav-item-pf,
303
+ .mobile-secondary-item-pf {
223
304
  .nav-pf-secondary-nav {
224
305
  left: 0;
225
- .secondary-nav-item-pf:hover & {
226
- opacity: 0;
227
- visibility: hidden;
228
- }
306
+ opacity: 1;
307
+ visibility: visible;
308
+ z-index: ($zindex-navbar-fixed + 4);
229
309
  }
230
- .nav-pf-tertiary-nav {
310
+ > .nav-pf-tertiary-nav {
231
311
  left: 0;
312
+ opacity: 1;
313
+ visibility: visible;
232
314
  z-index: ($zindex-navbar-fixed + 8);
233
315
  }
234
- .tertiary-nav-item-pf:hover {
235
- .nav-pf-tertiary-nav {
236
- opacity: 0;
237
- visibility: hidden;
238
- }
316
+ }
317
+ .nav-pf-secondary-nav {
318
+ left: 0;
319
+ .secondary-nav-item-pf:hover & {
320
+ opacity: 0;
321
+ visibility: hidden;
239
322
  }
240
- .tertiary-nav-item-pf.mobile-nav-item-pf:hover {
241
- .nav-pf-tertiary-nav {
242
- opacity: 1;
243
- visibility: visible;
244
- }
323
+ }
324
+ .tertiary-nav-item-pf:hover {
325
+ .nav-pf-tertiary-nav {
326
+ opacity: 0;
327
+ visibility: hidden;
245
328
  }
246
329
  }
247
- .layout-pf-fixed-with-footer & {
248
- bottom: $footer-pf-height;
330
+ .tertiary-nav-item-pf.mobile-nav-item-pf:hover {
331
+ .nav-pf-tertiary-nav {
332
+ opacity: 1;
333
+ visibility: visible;
334
+ }
249
335
  }
250
- .secondary-nav-item-pf {
336
+ }
337
+ .secondary-nav-item-pf {
338
+ > a {
339
+ cursor: default;
340
+ &:after {
341
+ color: $nav-pf-vertical-secondary-indicator-color;
342
+ content: $fa-var-angle-right;
343
+ display: block;
344
+ font-family: "FontAwesome";
345
+ font-size: ($font-size-base * 2);
346
+ line-height: 30px;
347
+ padding: $nav-pf-vertical-secondary-indicator-padding;
348
+ position: absolute;
349
+ right: 20px;
350
+ top: 0;
351
+ }
352
+ }
353
+ &.active,
354
+ &:hover {
251
355
  > a {
252
- cursor: default;
356
+ width: calc(#{$nav-pf-vertical-width} + 1px);
357
+ z-index: ($zindex-navbar-fixed + 1);
253
358
  &:after {
254
- color: $nav-pf-vertical-secondary-indicator-color;
255
- content: $fa-var-angle-right;
256
- display: block;
257
- font-family: "FontAwesome";
258
- font-size: ($font-size-base * 2);
259
- line-height: 30px;
260
- padding: $nav-pf-vertical-secondary-indicator-padding;
261
- position: absolute;
262
- right: 20px;
263
- top: 0;
359
+ right: 21px;
360
+ }
361
+ .collapsed-secondary-nav-pf & {
362
+ z-index: $zindex-navbar-fixed;
363
+ }
364
+ .collapsed-tertiary-nav-pf & {
365
+ z-index: $zindex-navbar-fixed;
264
366
  }
265
367
  }
368
+ }
369
+ .nav-pf-vertical-with-badges & {
266
370
  &.active,
267
371
  &:hover {
268
372
  > a {
269
- width: ($nav-pf-vertical-width + 1);
270
- z-index: ($zindex-navbar-fixed + 1);
271
- &:after {
272
- right: 21px;
273
- }
274
- .collapsed-secondary-nav-pf & {
275
- z-index: $zindex-navbar-fixed;
276
- }
277
- .collapsed-tertiary-nav-pf & {
278
- z-index: $zindex-navbar-fixed;
279
- }
373
+ width: calc(#{$nav-pf-vertical-badges-width} + 1px);
280
374
  }
281
375
  }
282
376
  }
283
- &.collapsed-secondary-nav-pf {
284
- width: $nav-pf-vertical-width;
285
- .secondary-nav-item-pf { // Keep sub-menu indicators below collapsed menu
286
- &.active,
287
- &.hover {
288
- > a {
289
- z-index: $zindex-navbar-fixed;
290
- }
377
+ }
378
+ .nav-pf-vertical.collapsed-secondary-nav-pf {
379
+ width: $nav-pf-vertical-width;
380
+ &.nav-pf-vertical-with-badges {
381
+ width: $nav-pf-vertical-badges-width;
382
+ }
383
+ .secondary-nav-item-pf { // Keep sub-menu indicators below collapsed menu
384
+ &.active,
385
+ &.hover {
386
+ > a {
387
+ z-index: $zindex-navbar-fixed;
291
388
  }
292
389
  }
293
- &.hover-tertiary-nav-pf {
294
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width);
295
- }
296
- .nav-pf-secondary-nav {
297
- left: 0;
390
+ }
391
+ &.hover-tertiary-nav-pf {
392
+ width: $nav-pf-vertical-width;
393
+ &.nav-pf-vertical-with-badges {
394
+ width: $nav-pf-vertical-badges-width;
298
395
  }
396
+ }
397
+ .nav-pf-secondary-nav {
398
+ left: 0;
399
+ }
400
+ .nav-pf-tertiary-nav {
401
+ left: $nav-pf-vertical-width;
402
+ }
403
+ &.nav-pf-vertical-with-badges {
299
404
  .nav-pf-tertiary-nav {
300
- left: $nav-pf-vertical-width;
405
+ left: $nav-pf-vertical-badges-width;
301
406
  }
302
407
  }
303
- &.collapsed-tertiary-nav-pf {
408
+ }
409
+ .nav-pf-vertical.collapsed-tertiary-nav-pf {
410
+ width: $nav-pf-vertical-width;
411
+ &.nav-pf-vertical-with-badges {
412
+ width: $nav-pf-vertical-badges-width;
413
+ }
414
+ .nav-pf-secondary-nav {
304
415
  width: $nav-pf-vertical-width;
305
- .nav-pf-secondary-nav {
306
- width: $nav-pf-vertical-width;
416
+ &.nav-pf-vertical-with-badges {
417
+ width: $nav-pf-vertical-badges-width;
307
418
  }
308
- .secondary-nav-item-pf, // Keep sub-menu indicators below collapsed menu
309
- .tertiary-nav-item-pf {
310
- &.active,
311
- &.hover {
312
- > a {
313
- z-index: $zindex-navbar-fixed;
314
- }
419
+ }
420
+ .secondary-nav-item-pf, // Keep sub-menu indicators below collapsed menu
421
+ .tertiary-nav-item-pf {
422
+ &.active,
423
+ &.hover {
424
+ > a {
425
+ z-index: $zindex-navbar-fixed;
315
426
  }
316
427
  }
317
428
  }
318
- &.nav-pf-persistent-secondary.secondary-visible-pf { // Persistent secondary nav settings
319
- @media (min-width: $screen-lg-min) { // secondary menu only persistent at lg screen
320
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width);
429
+ }
430
+ .nav-pf-vertical.nav-pf-persistent-secondary.secondary-visible-pf { // Persistent secondary nav settings
431
+ @media (min-width: $screen-lg-min) { // secondary menu only persistent at lg screen
432
+ width: calc(#{$nav-pf-vertical-width} * 2);
433
+ &.nav-pf-vertical-with-badges {
434
+ width: calc(#{$nav-pf-vertical-badges-width} * 2);
435
+ }
436
+ &.collapsed-secondary-nav-pf {
437
+ width: $nav-pf-vertical-width;
438
+ &.nav-pf-vertical-with-badges {
439
+ width: $nav-pf-vertical-badges-width;
440
+ }
441
+ &.hover-tertiary-nav-pf {
442
+ width: calc(#{$nav-pf-vertical-width} * 2);
443
+ &.nav-pf-vertical-with-badges {
444
+ width: calc(#{$nav-pf-vertical-badges-width} * 2);
445
+ }
446
+ }
447
+ }
448
+ &.collapsed-tertiary-nav-pf {
449
+ width: $nav-pf-vertical-width;
450
+ &.nav-pf-vertical-with-badges {
451
+ width: $nav-pf-vertical-badges-width;
452
+ }
453
+ }
454
+ &.collapsed {
455
+ width: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width});
321
456
  &.collapsed-secondary-nav-pf {
322
457
  width: $nav-pf-vertical-width;
458
+ &.nav-pf-vertical-with-badges {
459
+ width: $nav-pf-vertical-badges-width;
460
+ }
323
461
  }
324
462
  &.collapsed-tertiary-nav-pf {
325
463
  width: $nav-pf-vertical-width;
326
- }
327
- &.collapsed {
328
- width: ($nav-pf-vertical-collapsed-width + $nav-pf-vertical-width);
329
- &.collapsed-secondary-nav-pf {
330
- width: $nav-pf-vertical-width;
331
- }
332
- &.collapsed-tertiary-nav-pf {
333
- width: $nav-pf-vertical-width;
464
+ &.nav-pf-vertical-with-badges {
465
+ width: $nav-pf-vertical-badges-width;
334
466
  }
335
467
  }
336
468
  &.hover-tertiary-nav-pf {
337
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width + $nav-pf-vertical-width);
338
- }
339
- .secondary-nav-item-pf.active {
340
- .nav-pf-secondary-nav {
341
- visibility: visible;
342
- opacity: 1;
469
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2));
470
+ &.nav-pf-vertical-with-badges {
471
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-badges-width} * 2));
343
472
  }
344
473
  }
345
474
  }
346
- }
347
- .badge-container-pf {
348
- background-color: $nav-pf-vertical-badge-bg-color;
349
- position: absolute;
350
- right: 15px;
351
- top: 5px;
352
- .badge {
353
- background: $nav-pf-vertical-badge-bg-color;
354
- color: $nav-pf-vertical-badge-color;
355
- float: left;
356
- font-size: $font-size-base;
357
- font-weight: 700;
358
- line-height: $line-height-base;
359
- margin: 0;
360
- padding: 0 7px;
361
- text-align: center;
362
- .pficon,
363
- .fa {
364
- font-size: ($font-size-base + 2);
365
- height: 20px;
366
- line-height: $line-height-base;
367
- margin-right: 3px;
368
- margin-top: -1px;
475
+ &.hover-tertiary-nav-pf {
476
+ width: calc(#{$nav-pf-vertical-width} * 3);
477
+ &.nav-pf-vertical-with-badges {
478
+ width: calc(#{$nav-pf-vertical-badges-width} * 3);
369
479
  }
370
480
  }
371
- }
372
- .nav-item-pf-header {
373
- color: $nav-pf-vertical-secondary-color;
374
- font-size: ($font-size-base + 4);
375
- margin: $nav-pf-vertical-secondary-header-margin;
376
- > a {
377
- cursor: pointer;
378
- margin-right: 7px;
379
- &:hover,
380
- &:focus {
381
- color: $link-color;
382
- text-decoration: none;
481
+ .secondary-nav-item-pf.active {
482
+ .nav-pf-secondary-nav {
483
+ visibility: visible;
484
+ opacity: 1;
383
485
  }
384
486
  }
385
487
  }
386
- h5 {
387
- color: $nav-pf-vertical-secondary-color;
388
- cursor: default;
389
- font-size: ($font-size-base + 1);
390
- font-weight: 600;
391
- margin: $nav-pf-vertical-secondary-list-header-margin;
488
+ }
489
+ .nav-item-pf-header {
490
+ color: $nav-pf-vertical-secondary-color;
491
+ font-size: ($font-size-base + 4);
492
+ margin: $nav-pf-vertical-secondary-header-margin;
493
+ > a {
494
+ cursor: pointer;
495
+ margin-right: 7px;
496
+ &:hover,
497
+ &:focus {
498
+ color: $link-color;
499
+ text-decoration: none;
500
+ }
392
501
  }
393
- &.collapsed { // Collapsed Primary Menu state
394
- .list-group-item { // Show only the icons
502
+ }
503
+ .nav-pf-vertical.collapsed { // Collapsed Primary Menu state
504
+ .list-group-item { // Show only the icons
505
+ > a {
506
+ width: $nav-pf-vertical-collapsed-width;
507
+ > .list-group-item-value {
508
+ display: none;
509
+ }
510
+ }
511
+ &.secondary-nav-item-pf { // Adjust widths
512
+ &.active > a,
395
513
  > a {
396
514
  width: $nav-pf-vertical-collapsed-width;
397
- > .list-group-item-value {
398
- display: none;
399
- width: 0;
515
+ &:after {
516
+ right: 10px;
400
517
  }
401
518
  }
402
- &.secondary-nav-item-pf { // Adjust widths
403
- &.active > a,
519
+ &.active,
520
+ &:hover {
404
521
  > a {
405
- width: $nav-pf-vertical-collapsed-width;
522
+ width: ($nav-pf-vertical-collapsed-width + 2);
406
523
  &:after {
407
- right: 10px;
408
- }
409
- }
410
- &.active,
411
- &:hover {
412
- > a {
413
- width: ($nav-pf-vertical-collapsed-width + 2);
414
- &:after {
415
- right: 11px;
416
- }
417
- }
418
- }
419
- }
420
- }
421
- .nav-pf-secondary-nav { // Adjust left placement
422
- left: $nav-pf-vertical-collapsed-width;
423
- .list-group-item {
424
- > a {
425
- width: ($nav-pf-vertical-width - 20);
426
- > .list-group-item-value { // Continue to show labels for secondary menu items
427
- display: inline-block;
428
- width: inherit;
524
+ right: 11px;
429
525
  }
430
526
  }
431
527
  }
432
528
  }
433
- .nav-pf-tertiary-nav { // Adjust left placement
434
- left: ($nav-pf-vertical-collapsed-width + $nav-pf-vertical-width);
435
- .list-group-item {
436
- > a {
437
- width: ($nav-pf-vertical-width - 20);
438
- > .list-group-item-value { // Continue to show labels for tertiary menu items
439
- display: inline-block;
440
- width: inherit;
441
- }
442
- }
443
- }
444
- }
445
- &.collapsed-secondary-nav-pf,
446
- &.collapsed-tertiary-nav-pf {
447
- width: $nav-pf-vertical-width;
448
- .secondary-nav-item-pf {
449
- &:hover {
450
- > a {
451
- z-index: $zindex-navbar-fixed;
452
- }
453
- }
454
- }
455
- .nav-pf-secondary-nav {
456
- left: 0;
457
- }
458
- }
459
- &.collapsed-secondary-nav-pf {
460
- .nav-pf-tertiary-nav {
461
- left: $nav-pf-vertical-width;
462
- }
463
- }
464
- &.collapsed-tertiary-nav-pf {
465
- .nav-pf-tertiary-nav {
466
- left: 0;
467
- }
468
- }
469
- &.hover-secondary-nav-pf {
470
- width: ($nav-pf-vertical-collapsed-width + $nav-pf-vertical-width);
471
- &.collapsed-secondary-nav-pf,
472
- &.collapsed-tertiary-nav-pf {
473
- width: $nav-pf-vertical-width;
474
- }
475
- }
476
- &.hover-tertiary-nav-pf {
477
- width: ($nav-pf-vertical-collapsed-width + $nav-pf-vertical-width + $nav-pf-vertical-width);
478
- &.collapsed-secondary-nav-pf {
479
- width: ($nav-pf-vertical-width + $nav-pf-vertical-width);
480
- }
481
- &.collapsed-tertiary-nav-pf {
482
- width: $nav-pf-vertical-width;
483
- }
484
- }
485
529
  }
486
530
  }
487
531
  .nav-pf-secondary-nav {
@@ -537,7 +581,8 @@
537
581
  height: inherit;
538
582
  padding: $nav-pf-vertical-secondary-link-padding;
539
583
  margin-left: 20px;
540
- width: ($nav-pf-vertical-width - 20);
584
+ width: calc(#{$nav-pf-vertical-width} - 20px);
585
+
541
586
  &:hover {
542
587
  .list-group-item-value {
543
588
  text-decoration: underline;
@@ -555,16 +600,13 @@
555
600
  }
556
601
  }
557
602
  .badge-container-pf {
558
- background-color: $nav-pf-vertical-secondary-badge-bg-color;
603
+ top: 5px;
559
604
  .badge {
560
605
  background: $nav-pf-vertical-secondary-badge-bg-color;
561
606
  color: $nav-pf-vertical-badge-color;
562
607
  }
563
608
  }
564
609
  .list-group-item-value {
565
- display: inline-block;
566
- line-height: 20px;
567
- max-width: none;
568
610
  padding-left: 5px;
569
611
  }
570
612
  &.tertiary-nav-item-pf { // Secondary menu items with tertiary sub menus
@@ -586,7 +628,7 @@
586
628
  &.active,
587
629
  &:hover {
588
630
  > a {
589
- width: ($nav-pf-vertical-width - 20 + 1);
631
+ width: calc(#{$nav-pf-vertical-width} - 19px);
590
632
  z-index: ($zindex-navbar-fixed + 3);
591
633
  &:after {
592
634
  right: 21px;
@@ -595,6 +637,24 @@
595
637
  }
596
638
  }
597
639
  }
640
+ .nav-pf-vertical-with-badges & {
641
+ left: $nav-pf-vertical-badges-width;
642
+ width: $nav-pf-vertical-badges-width;
643
+ .list-group-item {
644
+ width: $nav-pf-vertical-badges-width;
645
+ > a {
646
+ width: calc(#{$nav-pf-vertical-badges-width} - 20px);
647
+ }
648
+ &.tertiary-nav-item-pf { // Secondary menu items with tertiary sub menus
649
+ &.active,
650
+ &:hover {
651
+ > a {
652
+ width: calc(#{$nav-pf-vertical-badges-width} - 19px);
653
+ }
654
+ }
655
+ }
656
+ }
657
+ }
598
658
  }
599
659
  .nav-pf-tertiary-nav {
600
660
  background: $nav-pf-vertical-tertiary-bg-color;
@@ -603,7 +663,7 @@
603
663
  border-top: none;
604
664
  bottom: 0;
605
665
  display: block;
606
- left: ($nav-pf-vertical-width + $nav-pf-vertical-width);
666
+ left: calc(#{$nav-pf-vertical-width} * 2);
607
667
  opacity: 0;
608
668
  overflow-x: hidden;
609
669
  overflow-y: auto;
@@ -612,12 +672,19 @@
612
672
  visibility: hidden;
613
673
  width: $nav-pf-vertical-width;
614
674
  z-index: $zindex-navbar-fixed;
675
+ .nav-pf-vertical-with-badges & {
676
+ left: $nav-pf-vertical-badges-width;
677
+ width: $nav-pf-vertical-badges-width;
678
+ .show-mobile-nav {
679
+ left: 0;
680
+ }
681
+ }
615
682
  .tertiary-nav-item-pf.active & { // Show tertiary menu if active and collapsed
616
683
  .collapsed-tertiary-nav-pf & {
617
684
  left: 0;
618
685
  opacity: 1;
619
686
  visibility: visible;
620
- z-index: ($zindex-navbar-fixed + 2);
687
+ z-index: ($zindex-navbar-fixed + 3);
621
688
  }
622
689
  }
623
690
  .tertiary-nav-item-pf.is-hover & { // Show tertiary menu if hovering
@@ -666,20 +733,124 @@
666
733
  }
667
734
  }
668
735
  .badge-container-pf {
669
- background-color: $nav-pf-vertical-tertiary-badge-bg-color;
736
+ top: 5px;
670
737
  .badge {
671
738
  background: $nav-pf-vertical-tertiary-badge-bg-color;
672
739
  color: $nav-pf-vertical-tertiary-badge-color;
673
740
  }
674
741
  }
675
742
  .list-group-item-value {
676
- display: inline-block;
677
- line-height: 20px;
678
- max-width: none;
679
743
  padding-left: 5px;
680
744
  }
681
745
  }
682
746
  }
747
+ .collapsed {
748
+ .nav-pf-secondary-nav { // Adjust left placement
749
+ left: $nav-pf-vertical-collapsed-width;
750
+ .list-group-item {
751
+ > a {
752
+ width: calc(#{$nav-pf-vertical-width} - 20px);
753
+ > .list-group-item-value { // Continue to show labels for secondary menu items
754
+ display: inline-block;
755
+ }
756
+ }
757
+ }
758
+ }
759
+ .nav-pf-tertiary-nav { // Adjust left placement
760
+ left: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width});
761
+ .list-group-item {
762
+ > a {
763
+ width: calc(#{$nav-pf-vertical-width} - 20px);
764
+ > .list-group-item-value { // Continue to show labels for tertiary menu items
765
+ display: inline-block;
766
+ }
767
+ }
768
+ }
769
+ }
770
+ &.collapsed-secondary-nav-pf,
771
+ &.collapsed-tertiary-nav-pf {
772
+ width: $nav-pf-vertical-width;
773
+ .secondary-nav-item-pf {
774
+ &:hover {
775
+ > a {
776
+ z-index: $zindex-navbar-fixed;
777
+ }
778
+ }
779
+ }
780
+ .nav-pf-secondary-nav {
781
+ left: 0;
782
+ }
783
+ }
784
+ &.collapsed-secondary-nav-pf {
785
+ .nav-pf-tertiary-nav {
786
+ left: $nav-pf-vertical-width;
787
+ }
788
+ }
789
+ &.collapsed-tertiary-nav-pf {
790
+ .nav-pf-tertiary-nav {
791
+ left: 0;
792
+ }
793
+ }
794
+ &.hover-secondary-nav-pf {
795
+ width: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-width});
796
+
797
+ &.collapsed-secondary-nav-pf,
798
+ &.collapsed-tertiary-nav-pf {
799
+ width: $nav-pf-vertical-width;
800
+ }
801
+ }
802
+ &.hover-tertiary-nav-pf {
803
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2));
804
+ &.collapsed-secondary-nav-pf {
805
+ width: calc(#{$nav-pf-vertical-width} * 2);
806
+ }
807
+ &.collapsed-tertiary-nav-pf {
808
+ width: $nav-pf-vertical-width;
809
+ }
810
+ }
811
+ &.nav-pf-vertical-with-badges {
812
+ .nav-pf-secondary-nav {
813
+ .list-group-item {
814
+ > a {
815
+ width: calc(#{$nav-pf-vertical-badges-width} - 20px);
816
+ }
817
+ }
818
+ }
819
+ .nav-pf-tertiary-nav {
820
+ left: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width});
821
+ .list-group-item {
822
+ > a {
823
+ width: calc(#{$nav-pf-vertical-badges-width} - 20px);
824
+ }
825
+ }
826
+ }
827
+ &.collapsed-secondary-nav-pf,
828
+ &.collapsed-tertiary-nav-pf {
829
+ width: $nav-pf-vertical-badges-width;
830
+ }
831
+ &.collapsed-secondary-nav-pf {
832
+ .nav-pf-tertiary-nav {
833
+ left: $nav-pf-vertical-badges-width;
834
+ }
835
+ }
836
+ &.hover-secondary-nav-pf {
837
+ width: calc(#{$nav-pf-vertical-collapsed-width} + #{$nav-pf-vertical-badges-width});
838
+ &.collapsed-secondary-nav-pf,
839
+ &.collapsed-tertiary-nav-pf {
840
+ width: $nav-pf-vertical-badges-width;
841
+ }
842
+ }
843
+ &.hover-tertiary-nav-pf {
844
+ width: calc(#{$nav-pf-vertical-collapsed-width} + (#{$nav-pf-vertical-width} * 2));
845
+ &.collapsed-secondary-nav-pf {
846
+ width: calc(#{$nav-pf-vertical-width} * 2);
847
+ }
848
+ &.collapsed-tertiary-nav-pf {
849
+ width: $nav-pf-vertical-width;
850
+ }
851
+ }
852
+ }
853
+ }
683
854
  .secondary-collapse-toggle-pf {
684
855
  display: none;
685
856
  font-family: $icon-font-name-fa;
@@ -760,19 +931,10 @@
760
931
  }
761
932
  .nav-pf-vertical.transitions {
762
933
  transition: width $nav-pf-menu-transition-period;
763
- -webkit-transition: width $nav-pf-menu-transition-period;
764
- -moz-transition: width $nav-pf-menu-transition-period;
765
- -o-transition: width $nav-pf-menu-transition-period;
766
934
  .nav-pf-secondary-nav {
767
- -webkit-transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
768
- -moz-transition: visibility ease-in-out $nav-pf-menu-transition-period, opacity ease-in-out $nav-pf-menu-transition-period linear;
769
- -o-transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
770
935
  transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
771
936
  }
772
937
  .nav-pf-tertiary-nav {
773
- -webkit-transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
774
- -moz-transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
775
- -o-transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
776
938
  transition: visibility $nav-pf-menu-transition-period, opacity $nav-pf-menu-transition-period linear;
777
939
  }
778
940
  }