toggle-components-library 1.23.0 → 1.23.1
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.
- package/dist/toggle-components-library.common.js +60 -56
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +60 -56
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/navs/multitiersidenav/ToggleMultiTierSideSubNav.vue +6 -4
- package/src/sass/includes/_as_inputs.scss +2 -0
- package/src/sass/includes/_as_navs.scss +54 -18
- package/src/sass/includes/_as_text.scss +6 -0
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<Transition name="drop-down">
|
|
3
|
+
<ul class="toggle-multi-tier-sidenav-sub-ul" v-if="expanded">
|
|
4
|
+
<!-- @slot For nav-item link (either regular a tag or vue-router link)-->
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</ul>
|
|
7
|
+
</Transition>
|
|
6
8
|
</template>
|
|
7
9
|
|
|
8
10
|
<script>
|
|
@@ -270,6 +270,7 @@
|
|
|
270
270
|
|
|
271
271
|
.toggle-input-label {
|
|
272
272
|
margin-bottom: 0;
|
|
273
|
+
font-size: 0.8rem;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
.toggle-input-select-container {
|
|
@@ -279,6 +280,7 @@
|
|
|
279
280
|
|
|
280
281
|
.toggle-input-select {
|
|
281
282
|
padding: 0rem;
|
|
283
|
+
font-size: 1.1rem;
|
|
282
284
|
}
|
|
283
285
|
}
|
|
284
286
|
|
|
@@ -153,8 +153,9 @@
|
|
|
153
153
|
cursor: pointer;
|
|
154
154
|
|
|
155
155
|
&:hover {
|
|
156
|
+
animation: tilt-shake 0.4s;
|
|
156
157
|
background-image: url("../assets/icons/airship-user-icon-hover.svg");
|
|
157
|
-
|
|
158
|
+
}
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
.toggle-multi-tier-sidenav-title {
|
|
@@ -396,22 +397,20 @@
|
|
|
396
397
|
}
|
|
397
398
|
|
|
398
399
|
}
|
|
400
|
+
}
|
|
399
401
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
background: $toggle-white;
|
|
413
|
-
color: $toggle-blue;
|
|
414
|
-
}
|
|
402
|
+
a, span {
|
|
403
|
+
color: $toggle-dark-blue;
|
|
404
|
+
display: flex;
|
|
405
|
+
align-items: center;
|
|
406
|
+
padding-left: 0.5rem;
|
|
407
|
+
height: 2rem;
|
|
408
|
+
border-radius: 0.5rem;
|
|
409
|
+
cursor: pointer;
|
|
410
|
+
|
|
411
|
+
&:hover {
|
|
412
|
+
background: $toggle-white;
|
|
413
|
+
color: $toggle-blue;
|
|
415
414
|
}
|
|
416
415
|
}
|
|
417
416
|
}
|
|
@@ -419,15 +418,16 @@
|
|
|
419
418
|
.toggle-multi-tier-sidenav-sub-ul {
|
|
420
419
|
padding: 0;
|
|
421
420
|
margin-top: 0.5rem;
|
|
422
|
-
margin-left:
|
|
421
|
+
margin-left: 3rem;
|
|
423
422
|
|
|
424
423
|
li {
|
|
425
424
|
a, span {
|
|
425
|
+
padding-left: .8rem;
|
|
426
426
|
font-size: $toggle-font-size-regular;
|
|
427
427
|
font-weight: bold;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
|
|
431
431
|
.toggle-multi-tier-sidenav-sub-ul {
|
|
432
432
|
padding: 0;
|
|
433
433
|
margin-top: 0.2rem;
|
|
@@ -448,6 +448,42 @@
|
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
+
// Drop down slide transition
|
|
452
|
+
|
|
453
|
+
.drop-down-enter-active {
|
|
454
|
+
-moz-transition-duration: 0.1s;
|
|
455
|
+
-webkit-transition-duration: 0.1s;
|
|
456
|
+
-o-transition-duration: 0.1s;
|
|
457
|
+
transition-duration: 0.1s;
|
|
458
|
+
-moz-transition-timing-function: ease-in;
|
|
459
|
+
-webkit-transition-timing-function: ease-in;
|
|
460
|
+
-o-transition-timing-function: ease-in;
|
|
461
|
+
transition-timing-function: ease-in;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.drop-down-leave-active {
|
|
465
|
+
-moz-transition-duration: 0.1s;
|
|
466
|
+
-webkit-transition-duration: 0.1s;
|
|
467
|
+
-o-transition-duration: 0.1s;
|
|
468
|
+
transition-duration: 0.1s;
|
|
469
|
+
-moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
470
|
+
-webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
471
|
+
-o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
472
|
+
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.drop-down-enter-to,
|
|
476
|
+
.drop-down-leave {
|
|
477
|
+
max-height: 100px;
|
|
478
|
+
overflow: hidden;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.drop-down-enter,
|
|
482
|
+
.drop-down-leave-to {
|
|
483
|
+
overflow: hidden;
|
|
484
|
+
max-height: 0;
|
|
485
|
+
}
|
|
486
|
+
|
|
451
487
|
// Hover icon animation
|
|
452
488
|
|
|
453
489
|
@keyframes tilt-shake {
|