comand-component-library 3.3.87 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. package/dist/comand-component-library.js +1728 -1655
  2. package/dist/comand-component-library.umd.cjs +4 -4
  3. package/dist/media/images/slideshow-images/large/slide1.jpg +0 -0
  4. package/dist/media/images/slideshow-images/large/slide2.jpg +0 -0
  5. package/dist/media/images/slideshow-images/large/slide3.jpg +0 -0
  6. package/dist/media/images/slideshow-images/large/slide4.jpg +0 -0
  7. package/dist/media/images/slideshow-images/medium/slide1.jpg +0 -0
  8. package/dist/media/images/slideshow-images/medium/slide2.jpg +0 -0
  9. package/dist/media/images/slideshow-images/medium/slide3.jpg +0 -0
  10. package/dist/media/images/slideshow-images/medium/slide4.jpg +0 -0
  11. package/dist/media/images/slideshow-images/small/slide1.jpg +0 -0
  12. package/dist/media/images/slideshow-images/small/slide2.jpg +0 -0
  13. package/dist/media/images/slideshow-images/small/slide3.jpg +0 -0
  14. package/dist/media/images/slideshow-images/small/slide4.jpg +0 -0
  15. package/dist/style.css +1 -1
  16. package/package.json +2 -2
  17. package/src/ComponentLibrary.vue +2629 -0
  18. package/src/assets/data/address-data.json +3 -3
  19. package/src/assets/data/main-navigation.json +2 -0
  20. package/src/components/CmdAddressData.vue +91 -97
  21. package/src/components/CmdAddressDataItem.vue +60 -52
  22. package/src/components/CmdBankAccountData.vue +1 -1
  23. package/src/components/CmdBox.vue +50 -14
  24. package/src/components/CmdBoxWrapper.vue +23 -9
  25. package/src/components/CmdBreadcrumbs.vue +1 -1
  26. package/src/components/CmdCompanyLogo.vue +14 -11
  27. package/src/components/CmdContainer.vue +1 -1
  28. package/src/components/CmdCookieDisclaimer.vue +1 -1
  29. package/src/components/CmdCopyrightInformation.vue +1 -1
  30. package/src/components/CmdFancyBox.vue +8 -5
  31. package/src/components/CmdForm.vue +7 -1
  32. package/src/components/CmdFormElement.vue +58 -108
  33. package/src/components/CmdFormFilters.vue +2 -1
  34. package/src/components/CmdGoogleMaps.vue +1 -1
  35. package/src/components/CmdHeadline.vue +116 -52
  36. package/src/components/CmdIcon.vue +1 -1
  37. package/src/components/CmdImage.vue +1 -1
  38. package/src/components/CmdImageGallery.vue +1 -1
  39. package/src/components/CmdImageZoom.vue +1 -1
  40. package/src/components/CmdInputGroup.vue +8 -7
  41. package/src/components/CmdListOfLinks.vue +25 -25
  42. package/src/components/CmdListOfLinksItem.vue +0 -4
  43. package/src/components/CmdListOfRequirements.vue +10 -2
  44. package/src/components/CmdLoginForm.vue +2 -1
  45. package/src/components/CmdMainNavigation.vue +38 -26
  46. package/src/components/CmdMultistepFormProgressBar.vue +50 -4
  47. package/src/components/CmdNewsletterSubscription.vue +8 -15
  48. package/src/components/CmdOpeningHours.vue +34 -19
  49. package/src/components/CmdOpeningHoursItem.vue +22 -14
  50. package/src/components/CmdPagination.vue +22 -16
  51. package/src/components/CmdProgressBar.vue +1 -1
  52. package/src/components/CmdSidebar.vue +13 -2
  53. package/src/components/CmdSiteFooter.vue +14 -14
  54. package/src/components/CmdSiteHeader.vue +14 -29
  55. package/src/components/CmdSiteSearch.vue +12 -11
  56. package/src/components/CmdSlideButton.vue +9 -7
  57. package/src/components/CmdSlideshow.vue +14 -12
  58. package/src/components/CmdSocialNetworks.vue +11 -4
  59. package/src/components/CmdSocialNetworksItem.vue +2 -7
  60. package/src/components/CmdSwitchLanguage.vue +1 -1
  61. package/src/components/CmdSystemMessage.vue +11 -6
  62. package/src/components/CmdTable.vue +64 -16
  63. package/src/components/CmdTabs.vue +2 -2
  64. package/src/components/CmdTextImageBlock.vue +3 -1
  65. package/src/components/CmdThumbnailScroller.vue +180 -155
  66. package/src/components/CmdToggleDarkMode.vue +1 -1
  67. package/src/components/CmdTooltip.vue +6 -1
  68. package/src/components/CmdUploadForm.vue +69 -43
  69. package/src/components/CmdWidthLimitationWrapper.vue +7 -3
  70. package/src/components/ComponentSettings.vue +171 -0
  71. package/src/main.js +3 -3
  72. package/src/mixins/FieldValidation.js +0 -17
  73. package/src/App.vue +0 -2119
@@ -1,22 +1,35 @@
1
1
  <template>
2
2
  <div v-if="!editModeContext || settingsContext || mainSidebarContext"
3
3
  :class="['cmd-headline', {'has-pre-headline-text': preHeadlineText, 'has-icon': headlineIcon?.iconClass}, getTextAlign]">
4
- <!-- begin CmdIcon -->
5
- <CmdIcon v-if="headlineIcon" :iconClass="headlineIcon?.iconClass" :type="headlineIcon?.iconType" />
6
- <!-- end CmdIcon -->
7
4
 
8
- <div v-if="preHeadlineText">
9
- <span class="pre-headline-text">{{ preHeadlineText }}</span>
5
+ <template v-if="preHeadlineText">
10
6
  <component v-if="headlineText" :is="headlineTag">
11
- <!-- being slot -->
12
- <slot>{{ headlineText }}</slot>
13
- <!-- end slot -->
7
+ <!-- begin CmdIcon -->
8
+ <CmdIcon v-if="headlineIcon" :iconClass="headlineIcon?.iconClass" :type="headlineIcon?.iconType"/>
9
+ <!-- end CmdIcon -->
10
+
11
+ <span class="pre-headline-text-wrapper">
12
+ <!-- begin pre-headline-text -->
13
+ <span class="pre-headline-text">{{ preHeadlineText }}</span>
14
+ <!-- end pre-headline-text -->
15
+
16
+ <span>
17
+ <!-- being slot -->
18
+ <slot>{{ headlineText }}</slot>
19
+ <!-- end slot -->
20
+ </span>
21
+ </span>
14
22
  </component>
15
- </div>
23
+ </template>
16
24
  <component v-else-if="headlineText" :is="headlineTag">
25
+ <!-- begin CmdIcon -->
26
+ <CmdIcon v-if="headlineIcon" :iconClass="headlineIcon?.iconClass" :type="headlineIcon?.iconType"/>
27
+ <!-- end CmdIcon -->
28
+ <span>
17
29
  <!-- being slot -->
18
30
  <slot>{{ headlineText }}</slot>
19
- <!-- end slot -->
31
+ <!-- end slot -->
32
+ </span>
20
33
  </component>
21
34
  </div>
22
35
  <!-- begin edit-mode -->
@@ -42,26 +55,33 @@
42
55
  placeholder="Headline"
43
56
  v-model="editableHeadlineText"
44
57
  />
45
- <div v-else-if="headlineText"
58
+ <template v-else-if="headlineText"
46
59
  :class="['cmd-headline', {'has-pre-headline-text': preHeadlineText, 'has-icon': headlineIcon?.iconClass}, getTextAlign]">
47
60
  <!-- begin CmdIcon -->
48
61
  <CmdIcon v-if="headlineIcon" :iconClass="headlineIcon?.iconClass" :type="headlineIcon?.iconType"/>
49
62
  <!-- end CmdIcon -->
50
63
 
51
- <div v-if="preHeadlineText">
52
- <span class="pre-headline-text">{{ preHeadlineText }}</span>
64
+ <template v-if="preHeadlineText">
53
65
  <component v-if="headlineText" :is="headlineTag">
66
+ <!-- begin CmdIcon -->
67
+ <CmdIcon v-if="headlineIcon" :iconClass="headlineIcon?.iconClass" :type="headlineIcon?.iconType"/>
68
+ <!-- end CmdIcon -->
69
+
70
+ <!-- begin pre-headline-text -->
71
+ <span class="pre-headline-text">{{ preHeadlineText }}</span>
72
+ <!-- end pre-headline-text -->
73
+
54
74
  <!-- being slot -->
55
75
  <slot>{{ headlineText }}</slot>
56
76
  <!-- end slot -->
57
77
  </component>
58
- </div>
78
+ </template>
59
79
  <component v-else-if="headlineText" :is="headlineTag">
60
80
  <!-- being slot -->
61
81
  <slot>{{ headlineText }}</slot>
62
82
  <!-- end slot -->
63
83
  </component>
64
- </div>
84
+ </template>
65
85
  <!-- begin show placeholder if no image exists (and component is not edited) -->
66
86
  <button v-else-if="componentActive" type="button" class="button confirm" @click="onAddItem">
67
87
  <span class="icon-plus"></span>
@@ -116,7 +136,7 @@ export default {
116
136
  required: false
117
137
  },
118
138
  /**
119
- * text-alignment
139
+ * text-alignment (has no effect if icon is used)
120
140
  *
121
141
  * @allowedValues: "left", "center", "right"
122
142
  */
@@ -133,13 +153,13 @@ export default {
133
153
  return this.componentPath || ["props", "cmdHeadline"]
134
154
  },
135
155
  headlineTag() {
136
- if(this.headlineLevel) {
156
+ if (this.headlineLevel) {
137
157
  return "h" + this.headlineLevel
138
158
  }
139
159
  return ""
140
160
  },
141
161
  getTextAlign() {
142
- if(this.textAlign) {
162
+ if (this.textAlign) {
143
163
  return "text-" + this.textAlign
144
164
  }
145
165
  return ""
@@ -162,7 +182,7 @@ export default {
162
182
  onAddItem() {
163
183
  // execute editComponent-function from editComponentWrapper to enter editMode directly on "add"
164
184
  this.$refs.editComponentWrapper.editComponent()
165
- }
185
+ }
166
186
  },
167
187
  watch: {
168
188
  headlineText: {
@@ -181,10 +201,8 @@ export default {
181
201
  }
182
202
  </script>
183
203
 
184
- <style lang="scss">
204
+ <style>
185
205
  /* begin cmd-headline ------------------------------------------------------------------------------------------ */
186
- //@import '../assets/styles/variables';
187
-
188
206
  .cmd-headline {
189
207
  margin-bottom: var(--default-margin);
190
208
  gap: calc(var(--default-gap) / 2);
@@ -199,47 +217,92 @@ export default {
199
217
 
200
218
  &.has-pre-headline-text {
201
219
  text-align: inherit;
202
- }
203
220
 
204
- p {
205
- margin-bottom: 0;
206
- }
221
+ > *:first-child {
222
+ display: flex;
223
+ align-items: flex-start;
207
224
 
208
- &:has(span[class*="icon"]) {
209
- display: flex;
210
- align-items: center;
211
- }
225
+ span[class*="icon"] {
226
+ bottom: .2rem;
227
+ }
228
+ }
212
229
 
213
- &:has(h1) span[class*="icon"] {
214
- font-size: calc(var(--headline-font-size-h1) * 1.6);
215
- }
230
+ &.text-center {
231
+ > *:first-child {
232
+ justify-content: center;
233
+ }
234
+ }
216
235
 
217
- &:has(h2) span[class*="icon"] {
218
- font-size: calc(var(--headline-font-size-h2) * 1.8);
219
- }
236
+ &.text-right {
237
+ > *:first-child {
238
+ justify-content: flex-end;
239
+ }
240
+ }
220
241
 
221
- &:has(h3) span[class*="icon"] {
222
- font-size: calc(var(--headline-font-size-h3) * 1.9);
223
- }
242
+ &.text-right > * {
243
+ text-align: right;
244
+ }
224
245
 
225
- &:has(h4) span[class*="icon"] {
226
- font-size: calc(var(--headline-font-size-h4) * 2);
227
- }
246
+ &:has(h1) span[class*="icon"] {
247
+ font-size: calc(var(--headline-font-size-h1) * 1.6);
248
+ }
228
249
 
229
- &:has(h5) span[class*="icon"] {
230
- font-size: calc(var(--headline-font-size-h5) * 2.1);
231
- }
250
+ &:has(h2) span[class*="icon"] {
251
+ font-size: calc(var(--headline-font-size-h2) * 1.8);
252
+ }
232
253
 
233
- &:has(h6) span[class*="icon"] {
234
- font-size: calc(var(--headline-font-size-h6) * 2.2);
235
- }
254
+ &:has(h3) span[class*="icon"] {
255
+ font-size: calc(var(--headline-font-size-h3) * 1.9);
256
+ }
257
+
258
+ &:has(h4) span[class*="icon"] {
259
+ font-size: calc(var(--headline-font-size-h4) * 2);
260
+ }
261
+
262
+ &:has(h5) span[class*="icon"] {
263
+ font-size: calc(var(--headline-font-size-h5) * 2.1);
264
+ }
265
+
266
+ &:has(h6) span[class*="icon"] {
267
+ font-size: calc(var(--headline-font-size-h6) * 2.2);
268
+ }
269
+
270
+ .pre-headline-text-wrapper {
271
+ display: flex;
272
+ flex-direction: column;
273
+ }
236
274
 
237
- &:has(h4, h5, h6) .pre-headline-text {
238
- font-size: var(--font-size-small);
275
+ .pre-headline-text {
276
+ font-size: var(--default-font-size);
277
+ font-weight: var(--font-weight-normal);
278
+ line-height: 1;
279
+ }
280
+
281
+ &:has(h4, h5, h6) .pre-headline-text {
282
+ font-size: var(--font-size-small);
283
+ }
284
+
285
+ &.has-icon {
286
+ &.text-center {
287
+ justify-content: center;
288
+
289
+ * {
290
+ text-align: left;
291
+ }
292
+ }
293
+
294
+ &.text-right {
295
+ justify-content: flex-end;
296
+
297
+ * {
298
+ text-align: left;
299
+ }
300
+ }
301
+ }
239
302
  }
240
303
 
241
- .pre-headline-text {
242
- line-height: 1;
304
+ p {
305
+ margin-bottom: 0;
243
306
  }
244
307
 
245
308
  h1, h2, h3, h4, h5, h6 {
@@ -284,5 +347,6 @@ export default {
284
347
  font-size: var(--headline-font-size-h6);
285
348
  }
286
349
  }
350
+
287
351
  /* end cmd-headline ------------------------------------------------------------------------------------------ */
288
352
  </style>
@@ -63,7 +63,7 @@ export default {
63
63
  }
64
64
  </script>
65
65
 
66
- <style lang="scss">
66
+ <style>
67
67
  .iconify {
68
68
  font-size: var(--icon-size);
69
69
  vertical-align: text-bottom;
@@ -369,7 +369,7 @@ export default {
369
369
  }
370
370
  </script>
371
371
 
372
- <style lang="scss">
372
+ <style>
373
373
  /* begin cmd-image ------------------------------------------------------------------------------------------ */
374
374
  .cmd-image {
375
375
  img {
@@ -145,7 +145,7 @@ export default {
145
145
  }
146
146
  </script>
147
147
 
148
- <style lang="scss">
148
+ <style>
149
149
  /* begin cmd-image-gallery ---------------------------------------------------------------------------------------- */
150
150
  .cmd-image-gallery {
151
151
  > .cmd-headline, > input.edit-mode, > .edit-component-wrapper {
@@ -109,7 +109,7 @@ function clamp(value, min, max) {
109
109
  }
110
110
  </script>
111
111
 
112
- <style lang="scss">
112
+ <style>
113
113
  /* begin cmd-imagezoom ---------------------------------------------------------------------------------------- */
114
114
  .cmd-imagezoom {
115
115
  overflow: hidden;
@@ -37,8 +37,8 @@
37
37
  aria-live="assertive"
38
38
  :id="tooltipId">
39
39
  <!-- begin CmdIcon -->
40
- <CmdIcon :iconClass="getStatusIconClass" />
41
- <!-- end CmdIcon -->
40
+ <CmdIcon :iconClass="getStatusIconClass"/>
41
+ <!-- end CmdIcon -->
42
42
  </a>
43
43
  </span>
44
44
  <span v-if="!useSlot" :class="['flex-container', {'no-flex': !stretchHorizontally, 'no-gap': multipleSwitch}]">
@@ -53,7 +53,8 @@
53
53
  :class="{'replace-input-type': replaceInputType, 'toggle-switch': toggleSwitch}"
54
54
  />
55
55
  <!-- begin CmdIcon -->
56
- <CmdIcon v-if="multipleSwitch && inputElement.iconClass" :iconClass="inputElement.iconClass" :type="inputElement.iconType" />
56
+ <CmdIcon v-if="multipleSwitch && inputElement.iconClass" :iconClass="inputElement.iconClass"
57
+ :type="inputElement.iconType"/>
57
58
  <!-- end CmdIcon -->
58
59
  <span v-if="inputElement.labelText">{{ inputElement.labelText }}</span>
59
60
  </label>
@@ -213,11 +214,11 @@ export default {
213
214
  methods: {
214
215
  updateStatus() {
215
216
  if (this.required) {
216
- if(this.inputValue?.length) {
217
+ if (this.inputValue?.length) {
217
218
  this.validationStatus = ""
218
219
  return
219
220
  }
220
- this.validationStatus = "error"
221
+ this.validationStatus = "error"
221
222
  return
222
223
  }
223
224
  this.validationStatus = this.status
@@ -265,7 +266,7 @@ export default {
265
266
  }
266
267
  </script>
267
268
 
268
- <style lang="scss">
269
+ <style>
269
270
  .cmd-input-group {
270
271
  &.inline {
271
272
  display: flex;
@@ -281,7 +282,7 @@ export default {
281
282
  .label-text {
282
283
  display: inline-flex;
283
284
 
284
- > [class*="icon-"] {
285
+ > span + a [class*="icon-"] {
285
286
  margin-left: calc(var(--default-margin) / 2);
286
287
  }
287
288
  }
@@ -57,20 +57,20 @@ export default {
57
57
  mixins: [EditMode],
58
58
  props: {
59
59
  /**
60
- * activate if component should contain a list of anchors for the section within the page
60
+ * toggle gab between links
61
61
  */
62
- sectionAnchors: {
62
+ useGap: {
63
63
  type: Boolean,
64
- default: false
64
+ default: true
65
65
  },
66
66
  /**
67
- * given active section from outside to set class for styling
67
+ * style component like a box
68
68
  *
69
- * sectionAnchors-property must be activated
69
+ * @affectsStyling: true
70
70
  */
71
- activeSection: {
72
- type: Number,
73
- default: 0
71
+ styleAsBox: {
72
+ type: Boolean,
73
+ default: false
74
74
  },
75
75
  /**
76
76
  * activate if large icons should be displayed above link text
@@ -81,6 +81,22 @@ export default {
81
81
  type: Boolean,
82
82
  default: false
83
83
  },
84
+ /**
85
+ * activate if component should contain a list of anchors for the section within the page
86
+ */
87
+ sectionAnchors: {
88
+ type: Boolean,
89
+ default: false
90
+ },
91
+ /**
92
+ * given active section from outside to set class for styling
93
+ *
94
+ * sectionAnchors-property must be activated
95
+ */
96
+ activeSection: {
97
+ type: Number,
98
+ default: 0
99
+ },
84
100
  /**
85
101
  * set horizontal alignment
86
102
  *
@@ -114,22 +130,6 @@ export default {
114
130
  orientation: {
115
131
  type: String,
116
132
  default: "vertical"
117
- },
118
- /**
119
- * toggle gab between links
120
- */
121
- useGap: {
122
- type: Boolean,
123
- default: true
124
- },
125
- /**
126
- * style component like a box
127
- *
128
- * @affectsStyling: true
129
- */
130
- styleAsBox: {
131
- type: Boolean,
132
- default: false
133
133
  }
134
134
  },
135
135
  computed: {
@@ -171,7 +171,7 @@ export default {
171
171
  }
172
172
  </script>
173
173
 
174
- <style lang="scss">
174
+ <style>
175
175
  /* begin cmd-list-of-links ---------------------------------------------------------------------------------------- */
176
176
  .cmd-list-of-links {
177
177
  > ul {
@@ -91,7 +91,3 @@ export default {
91
91
  }
92
92
  }
93
93
  </script>
94
-
95
- <style lang="scss">
96
-
97
- </style>
@@ -150,12 +150,16 @@ export default {
150
150
  }
151
151
  </script>
152
152
 
153
- <style lang="scss">
153
+ <style>
154
154
  /* begin cmd-list-of-requirements ------------------------------------------------------------------------------------------ */
155
155
  .cmd-list-of-requirements {
156
156
  dl {
157
157
  .error {
158
158
  --status-color: var(--error-color);
159
+
160
+ [class*="icon-"] {
161
+ color: var(--status-color);
162
+ }
159
163
  }
160
164
 
161
165
  .warning {
@@ -163,7 +167,11 @@ export default {
163
167
  }
164
168
 
165
169
  .success {
166
- --status-color: var(--success-color);
170
+ --status-color: var(--success-color) !important;
171
+
172
+ [class*="icon-"] {
173
+ color: var(--status-color);
174
+ }
167
175
  }
168
176
 
169
177
  .info {
@@ -119,6 +119,7 @@
119
119
 
120
120
  <!-- begin CmdFormElement -->
121
121
  <CmdFormElement
122
+ ref="sendPassword"
122
123
  element="input"
123
124
  type="email"
124
125
  :fieldIconClass="cmdFormElementSendLogin.innerIconClass"
@@ -425,7 +426,7 @@ export default {
425
426
  }
426
427
  </script>
427
428
 
428
- <style lang="scss">
429
+ <style>
429
430
  /* begin cmd-login-form ---------------------------------------------------------------------------------------- */
430
431
  .cmd-login-form {
431
432
  .option-wrapper {
@@ -181,6 +181,15 @@ export default {
181
181
  type: Boolean,
182
182
  default: false
183
183
  },
184
+ /**
185
+ * toggle if overlay over content should be shown if off-canvas is open
186
+ *
187
+ * @affectsStyling: true
188
+ */
189
+ showContentOverlay: {
190
+ type: Boolean,
191
+ default: true
192
+ },
184
193
  /**
185
194
  * list of all navigation-entries (incl. sub-entries)
186
195
  */
@@ -203,6 +212,11 @@ export default {
203
212
  }
204
213
  }
205
214
  },
215
+ /**
216
+ * position for offcanvas-navigation
217
+ *
218
+ * @allowedValues: "right", "left"
219
+ */
206
220
  offcanvasPosition: {
207
221
  type: String,
208
222
  default: "right"
@@ -210,6 +224,8 @@ export default {
210
224
  /**
211
225
  * button to open off-canvas-navigation
212
226
  *
227
+ * (persistOnMobile-property must be false)
228
+ *
213
229
  * @requiredForAccessibility: partial
214
230
  */
215
231
  buttonOffcanvas: {
@@ -235,15 +251,6 @@ export default {
235
251
  subSubentriesIconClass: {
236
252
  type: String,
237
253
  default: "icon-single-arrow-right"
238
- },
239
- /**
240
- * toggle if overlay over content should be shown if off-canvas is open
241
- *
242
- * @affectsStyling: true
243
- */
244
- showContentOverlay: {
245
- type: Boolean,
246
- default: true
247
254
  }
248
255
  },
249
256
  methods: {
@@ -307,10 +314,8 @@ export default {
307
314
  }
308
315
  </script>
309
316
 
310
- <style lang="scss">
317
+ <style>
311
318
  /* begin cmd-main-navigation ---------------------------------------------------------------------------------------- */
312
- @import '../assets/styles/variables';
313
-
314
319
  .cmd-main-navigation {
315
320
  &.hide-sub-navigation {
316
321
  ul {
@@ -366,9 +371,27 @@ export default {
366
371
  }
367
372
  }
368
373
 
374
+ /* keep outside of .cmd-main-navigation to keep specificity */
375
+ .off-canvas-right {
376
+ #toggle-offcanvas {
377
+ margin-right: 0;
378
+ margin-left: auto;
379
+ }
380
+ }
381
+
382
+ #toggle-offcanvas {
383
+ margin-left: 0;
384
+ display: none;
385
+ }
386
+ </style>
387
+
388
+ <style lang="scss">
389
+ @import '../assets/styles/variables';
390
+
369
391
  @media only screen and (max-width: $medium-max-width) {
370
392
  .cmd-main-navigation#main-navigation-wrapper {
371
393
  --nav-transition: all .5s linear;
394
+
372
395
  display: flex;
373
396
  background: none; /* overwrite framework-css */
374
397
  border: 0; /* overwrite framework-css */
@@ -386,11 +409,14 @@ export default {
386
409
 
387
410
  &.open-off-canvas {
388
411
  nav {
412
+ height: 100%;
413
+ background: var(--default-background);
389
414
  left: 0;
390
415
  opacity: 1;
391
416
  padding: 0 !important;
392
417
  transition: var(--nav-transition);
393
418
  border-right: var(--default-border);
419
+ display: block;
394
420
  }
395
421
 
396
422
  &.show-content-overlay {
@@ -530,19 +556,5 @@ export default {
530
556
  }
531
557
  }
532
558
  }
533
-
534
- /* keep outside of .cmd-main-navigation to keep specificity */
535
- .off-canvas-right {
536
- #toggle-offcanvas {
537
- margin-right: 0;
538
- margin-left: auto;
539
- }
540
- }
541
-
542
- #toggle-offcanvas {
543
- margin-left: 0;
544
- display: none;
545
- }
546
-
547
559
  /* end cmd-main-navigation ------------------------------------------------------------------------------------------ */
548
560
  </style>