@enki-tek/fms-web-components 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/components/Accordion/Accordion.svelte +4 -2
- package/components/Accordion/AccordionItem.svelte +4 -2
- package/components/Badge/Badge.svelte +4 -2
- package/components/Breadcrumb/Breadcrumb.svelte +4 -2
- package/components/Button/Button.svelte +4 -2
- package/components/CardIcon/CardIcon.svelte +4 -2
- package/components/CardIcon/CardiconBody.svelte +4 -2
- package/components/CardIcon/CardiconSubtitle.svelte +4 -2
- package/components/CardIcon/CardiconTitle.svelte +4 -2
- package/components/CheckBox/Checkbox.svelte +4 -2
- package/components/Dropdown/Dropdown.svelte +4 -2
- package/components/Dropdown/DropdownItem.svelte +4 -2
- package/components/EnkiSidbar/EnkiSidebar.svelte +4 -2
- package/components/EnkiSidbar/NavIcon.svelte +4 -2
- package/components/EnkiSidbar/NavItem.svelte +4 -2
- package/components/EnkiSidbar/NavLink.svelte +4 -2
- package/components/Header/Brand.svelte +5 -3
- package/components/Header/Header.scss +1 -1
- package/components/Header/Header.svelte +5 -3
- package/components/Header/HeaderItem.svelte +5 -3
- package/components/Header/UserAvatar.svelte +5 -3
- package/components/Layout/Content.svelte +8 -4
- package/components/Layout/Page.svelte +5 -5
- package/components/ModalWindow/Modal.svelte +4 -2
- package/components/ModalWindow/ModalBody.svelte +4 -2
- package/components/ModalWindow/ModalFooter.svelte +4 -2
- package/components/ModalWindow/ModalHeader.svelte +4 -2
- package/components/NotFound/NotFound.svelte +4 -2
- package/components/Pagination/Pagination.svelte +4 -2
- package/components/RadioButton/RadioButton.svelte +4 -2
- package/components/Sidebar/SideBarMenu.svelte +1 -1
- package/components/Sidebar/Sidebar.svelte +4 -2
- package/components/Switches/Switch.svelte +4 -2
- package/components/Tab/Tab.svelte +4 -2
- package/components/TextField/TextField.svelte +4 -2
- package/components/Toast/Toast.svelte +4 -2
- package/components/Tooltip/Tooltip.svelte +4 -2
- package/components/common.scss +18 -12
- package/package.json +1 -1
@@ -589,13 +589,15 @@ export let stayOpen = true;
|
|
589
589
|
}
|
590
590
|
.sidebar {
|
591
591
|
position: fixed;
|
592
|
-
top:
|
592
|
+
top: 73px;
|
593
|
+
/* Height of the navbar */
|
593
594
|
bottom: 0;
|
594
595
|
width: 315px;
|
595
596
|
transition: transform 0.3s ease;
|
596
597
|
}
|
597
598
|
.main-content {
|
598
|
-
margin-left: 315px;
|
599
|
+
margin-left: 315px;
|
600
|
+
/* Width of the sidebar */
|
599
601
|
flex: 1;
|
600
602
|
overflow-y: auto;
|
601
603
|
transition: margin-left 0.3s ease;
|
@@ -590,13 +590,15 @@ export let header;
|
|
590
590
|
}
|
591
591
|
.sidebar {
|
592
592
|
position: fixed;
|
593
|
-
top:
|
593
|
+
top: 73px;
|
594
|
+
/* Height of the navbar */
|
594
595
|
bottom: 0;
|
595
596
|
width: 315px;
|
596
597
|
transition: transform 0.3s ease;
|
597
598
|
}
|
598
599
|
.main-content {
|
599
|
-
margin-left: 315px;
|
600
|
+
margin-left: 315px;
|
601
|
+
/* Width of the sidebar */
|
600
602
|
flex: 1;
|
601
603
|
overflow-y: auto;
|
602
604
|
transition: margin-left 0.3s ease;
|
@@ -595,13 +595,15 @@ if (badgeConfig.hasOwnProperty(config)) {
|
|
595
595
|
}
|
596
596
|
.sidebar {
|
597
597
|
position: fixed;
|
598
|
-
top:
|
598
|
+
top: 73px;
|
599
|
+
/* Height of the navbar */
|
599
600
|
bottom: 0;
|
600
601
|
width: 315px;
|
601
602
|
transition: transform 0.3s ease;
|
602
603
|
}
|
603
604
|
.main-content {
|
604
|
-
margin-left: 315px;
|
605
|
+
margin-left: 315px;
|
606
|
+
/* Width of the sidebar */
|
605
607
|
flex: 1;
|
606
608
|
overflow-y: auto;
|
607
609
|
transition: margin-left 0.3s ease;
|
@@ -605,13 +605,15 @@ let length = newBreadcrumbs.length;
|
|
605
605
|
}
|
606
606
|
.sidebar {
|
607
607
|
position: fixed;
|
608
|
-
top:
|
608
|
+
top: 73px;
|
609
|
+
/* Height of the navbar */
|
609
610
|
bottom: 0;
|
610
611
|
width: 315px;
|
611
612
|
transition: transform 0.3s ease;
|
612
613
|
}
|
613
614
|
.main-content {
|
614
|
-
margin-left: 315px;
|
615
|
+
margin-left: 315px;
|
616
|
+
/* Width of the sidebar */
|
615
617
|
flex: 1;
|
616
618
|
overflow-y: auto;
|
617
619
|
transition: margin-left 0.3s ease;
|
@@ -1341,13 +1341,15 @@
|
|
1341
1341
|
}
|
1342
1342
|
.sidebar {
|
1343
1343
|
position: fixed;
|
1344
|
-
top:
|
1344
|
+
top: 73px;
|
1345
|
+
/* Height of the navbar */
|
1345
1346
|
bottom: 0;
|
1346
1347
|
width: 315px;
|
1347
1348
|
transition: transform 0.3s ease;
|
1348
1349
|
}
|
1349
1350
|
.main-content {
|
1350
|
-
margin-left: 315px;
|
1351
|
+
margin-left: 315px;
|
1352
|
+
/* Width of the sidebar */
|
1351
1353
|
flex: 1;
|
1352
1354
|
overflow-y: auto;
|
1353
1355
|
transition: margin-left 0.3s ease;
|
@@ -672,13 +672,15 @@ if (titleConfig.includes(titleLocation)) {
|
|
672
672
|
}
|
673
673
|
.sidebar {
|
674
674
|
position: fixed;
|
675
|
-
top:
|
675
|
+
top: 73px;
|
676
|
+
/* Height of the navbar */
|
676
677
|
bottom: 0;
|
677
678
|
width: 315px;
|
678
679
|
transition: transform 0.3s ease;
|
679
680
|
}
|
680
681
|
.main-content {
|
681
|
-
margin-left: 315px;
|
682
|
+
margin-left: 315px;
|
683
|
+
/* Width of the sidebar */
|
682
684
|
flex: 1;
|
683
685
|
overflow-y: auto;
|
684
686
|
transition: margin-left 0.3s ease;
|
@@ -667,13 +667,15 @@
|
|
667
667
|
}
|
668
668
|
.sidebar {
|
669
669
|
position: fixed;
|
670
|
-
top:
|
670
|
+
top: 73px;
|
671
|
+
/* Height of the navbar */
|
671
672
|
bottom: 0;
|
672
673
|
width: 315px;
|
673
674
|
transition: transform 0.3s ease;
|
674
675
|
}
|
675
676
|
.main-content {
|
676
|
-
margin-left: 315px;
|
677
|
+
margin-left: 315px;
|
678
|
+
/* Width of the sidebar */
|
677
679
|
flex: 1;
|
678
680
|
overflow-y: auto;
|
679
681
|
transition: margin-left 0.3s ease;
|
@@ -676,13 +676,15 @@
|
|
676
676
|
}
|
677
677
|
.sidebar {
|
678
678
|
position: fixed;
|
679
|
-
top:
|
679
|
+
top: 73px;
|
680
|
+
/* Height of the navbar */
|
680
681
|
bottom: 0;
|
681
682
|
width: 315px;
|
682
683
|
transition: transform 0.3s ease;
|
683
684
|
}
|
684
685
|
.main-content {
|
685
|
-
margin-left: 315px;
|
686
|
+
margin-left: 315px;
|
687
|
+
/* Width of the sidebar */
|
686
688
|
flex: 1;
|
687
689
|
overflow-y: auto;
|
688
690
|
transition: margin-left 0.3s ease;
|
@@ -676,13 +676,15 @@
|
|
676
676
|
}
|
677
677
|
.sidebar {
|
678
678
|
position: fixed;
|
679
|
-
top:
|
679
|
+
top: 73px;
|
680
|
+
/* Height of the navbar */
|
680
681
|
bottom: 0;
|
681
682
|
width: 315px;
|
682
683
|
transition: transform 0.3s ease;
|
683
684
|
}
|
684
685
|
.main-content {
|
685
|
-
margin-left: 315px;
|
686
|
+
margin-left: 315px;
|
687
|
+
/* Width of the sidebar */
|
686
688
|
flex: 1;
|
687
689
|
overflow-y: auto;
|
688
690
|
transition: margin-left 0.3s ease;
|
@@ -625,13 +625,15 @@
|
|
625
625
|
}
|
626
626
|
.sidebar {
|
627
627
|
position: fixed;
|
628
|
-
top:
|
628
|
+
top: 73px;
|
629
|
+
/* Height of the navbar */
|
629
630
|
bottom: 0;
|
630
631
|
width: 315px;
|
631
632
|
transition: transform 0.3s ease;
|
632
633
|
}
|
633
634
|
.main-content {
|
634
|
-
margin-left: 315px;
|
635
|
+
margin-left: 315px;
|
636
|
+
/* Width of the sidebar */
|
635
637
|
flex: 1;
|
636
638
|
overflow-y: auto;
|
637
639
|
transition: margin-left 0.3s ease;
|
@@ -650,13 +650,15 @@ export let title = "Dropdowns";
|
|
650
650
|
}
|
651
651
|
.sidebar {
|
652
652
|
position: fixed;
|
653
|
-
top:
|
653
|
+
top: 73px;
|
654
|
+
/* Height of the navbar */
|
654
655
|
bottom: 0;
|
655
656
|
width: 315px;
|
656
657
|
transition: transform 0.3s ease;
|
657
658
|
}
|
658
659
|
.main-content {
|
659
|
-
margin-left: 315px;
|
660
|
+
margin-left: 315px;
|
661
|
+
/* Width of the sidebar */
|
660
662
|
flex: 1;
|
661
663
|
overflow-y: auto;
|
662
664
|
transition: margin-left 0.3s ease;
|
@@ -643,13 +643,15 @@ export let disabled = false;
|
|
643
643
|
}
|
644
644
|
.sidebar {
|
645
645
|
position: fixed;
|
646
|
-
top:
|
646
|
+
top: 73px;
|
647
|
+
/* Height of the navbar */
|
647
648
|
bottom: 0;
|
648
649
|
width: 315px;
|
649
650
|
transition: transform 0.3s ease;
|
650
651
|
}
|
651
652
|
.main-content {
|
652
|
-
margin-left: 315px;
|
653
|
+
margin-left: 315px;
|
654
|
+
/* Width of the sidebar */
|
653
655
|
flex: 1;
|
654
656
|
overflow-y: auto;
|
655
657
|
transition: margin-left 0.3s ease;
|
@@ -724,13 +724,15 @@ li.icons:hover {
|
|
724
724
|
}
|
725
725
|
.sidebar {
|
726
726
|
position: fixed;
|
727
|
-
top:
|
727
|
+
top: 73px;
|
728
|
+
/* Height of the navbar */
|
728
729
|
bottom: 0;
|
729
730
|
width: 315px;
|
730
731
|
transition: transform 0.3s ease;
|
731
732
|
}
|
732
733
|
.main-content {
|
733
|
-
margin-left: 315px;
|
734
|
+
margin-left: 315px;
|
735
|
+
/* Width of the sidebar */
|
734
736
|
flex: 1;
|
735
737
|
overflow-y: auto;
|
736
738
|
transition: margin-left 0.3s ease;
|
@@ -667,13 +667,15 @@ li.icons:hover {
|
|
667
667
|
}
|
668
668
|
.sidebar {
|
669
669
|
position: fixed;
|
670
|
-
top:
|
670
|
+
top: 73px;
|
671
|
+
/* Height of the navbar */
|
671
672
|
bottom: 0;
|
672
673
|
width: 315px;
|
673
674
|
transition: transform 0.3s ease;
|
674
675
|
}
|
675
676
|
.main-content {
|
676
|
-
margin-left: 315px;
|
677
|
+
margin-left: 315px;
|
678
|
+
/* Width of the sidebar */
|
677
679
|
flex: 1;
|
678
680
|
overflow-y: auto;
|
679
681
|
transition: margin-left 0.3s ease;
|
@@ -665,13 +665,15 @@ li.icons:hover {
|
|
665
665
|
}
|
666
666
|
.sidebar {
|
667
667
|
position: fixed;
|
668
|
-
top:
|
668
|
+
top: 73px;
|
669
|
+
/* Height of the navbar */
|
669
670
|
bottom: 0;
|
670
671
|
width: 315px;
|
671
672
|
transition: transform 0.3s ease;
|
672
673
|
}
|
673
674
|
.main-content {
|
674
|
-
margin-left: 315px;
|
675
|
+
margin-left: 315px;
|
676
|
+
/* Width of the sidebar */
|
675
677
|
flex: 1;
|
676
678
|
overflow-y: auto;
|
677
679
|
transition: margin-left 0.3s ease;
|
@@ -674,13 +674,15 @@ li.icons:hover {
|
|
674
674
|
}
|
675
675
|
.sidebar {
|
676
676
|
position: fixed;
|
677
|
-
top:
|
677
|
+
top: 73px;
|
678
|
+
/* Height of the navbar */
|
678
679
|
bottom: 0;
|
679
680
|
width: 315px;
|
680
681
|
transition: transform 0.3s ease;
|
681
682
|
}
|
682
683
|
.main-content {
|
683
|
-
margin-left: 315px;
|
684
|
+
margin-left: 315px;
|
685
|
+
/* Width of the sidebar */
|
684
686
|
flex: 1;
|
685
687
|
overflow-y: auto;
|
686
688
|
transition: margin-left 0.3s ease;
|
@@ -77,7 +77,7 @@
|
|
77
77
|
:global(.userProfile img) {
|
78
78
|
width: 45px;
|
79
79
|
height: 45px;
|
80
|
-
object-fit:
|
80
|
+
object-fit: cover;
|
81
81
|
border-radius: 50%;
|
82
82
|
}
|
83
83
|
:global(.nav-link:focus, .nav-link:hover) {
|
@@ -653,13 +653,15 @@
|
|
653
653
|
}
|
654
654
|
.sidebar {
|
655
655
|
position: fixed;
|
656
|
-
top:
|
656
|
+
top: 73px;
|
657
|
+
/* Height of the navbar */
|
657
658
|
bottom: 0;
|
658
659
|
width: 315px;
|
659
660
|
transition: transform 0.3s ease;
|
660
661
|
}
|
661
662
|
.main-content {
|
662
|
-
margin-left: 315px;
|
663
|
+
margin-left: 315px;
|
664
|
+
/* Width of the sidebar */
|
663
665
|
flex: 1;
|
664
666
|
overflow-y: auto;
|
665
667
|
transition: margin-left 0.3s ease;
|
@@ -76,7 +76,7 @@
|
|
76
76
|
:global(.userProfile img) {
|
77
77
|
width: 45px;
|
78
78
|
height: 45px;
|
79
|
-
object-fit:
|
79
|
+
object-fit: cover;
|
80
80
|
border-radius: 50%;
|
81
81
|
}
|
82
82
|
:global(.nav-link:focus, .nav-link:hover) {
|
@@ -652,13 +652,15 @@
|
|
652
652
|
}
|
653
653
|
.sidebar {
|
654
654
|
position: fixed;
|
655
|
-
top:
|
655
|
+
top: 73px;
|
656
|
+
/* Height of the navbar */
|
656
657
|
bottom: 0;
|
657
658
|
width: 315px;
|
658
659
|
transition: transform 0.3s ease;
|
659
660
|
}
|
660
661
|
.main-content {
|
661
|
-
margin-left: 315px;
|
662
|
+
margin-left: 315px;
|
663
|
+
/* Width of the sidebar */
|
662
664
|
flex: 1;
|
663
665
|
overflow-y: auto;
|
664
666
|
transition: margin-left 0.3s ease;
|
@@ -78,7 +78,7 @@
|
|
78
78
|
:global(.userProfile img) {
|
79
79
|
width: 45px;
|
80
80
|
height: 45px;
|
81
|
-
object-fit:
|
81
|
+
object-fit: cover;
|
82
82
|
border-radius: 50%;
|
83
83
|
}
|
84
84
|
:global(.nav-link:focus, .nav-link:hover) {
|
@@ -654,13 +654,15 @@
|
|
654
654
|
}
|
655
655
|
.sidebar {
|
656
656
|
position: fixed;
|
657
|
-
top:
|
657
|
+
top: 73px;
|
658
|
+
/* Height of the navbar */
|
658
659
|
bottom: 0;
|
659
660
|
width: 315px;
|
660
661
|
transition: transform 0.3s ease;
|
661
662
|
}
|
662
663
|
.main-content {
|
663
|
-
margin-left: 315px;
|
664
|
+
margin-left: 315px;
|
665
|
+
/* Width of the sidebar */
|
664
666
|
flex: 1;
|
665
667
|
overflow-y: auto;
|
666
668
|
transition: margin-left 0.3s ease;
|
@@ -76,7 +76,7 @@
|
|
76
76
|
:global(.userProfile img) {
|
77
77
|
width: 45px;
|
78
78
|
height: 45px;
|
79
|
-
object-fit:
|
79
|
+
object-fit: cover;
|
80
80
|
border-radius: 50%;
|
81
81
|
}
|
82
82
|
:global(.nav-link:focus, .nav-link:hover) {
|
@@ -652,13 +652,15 @@
|
|
652
652
|
}
|
653
653
|
.sidebar {
|
654
654
|
position: fixed;
|
655
|
-
top:
|
655
|
+
top: 73px;
|
656
|
+
/* Height of the navbar */
|
656
657
|
bottom: 0;
|
657
658
|
width: 315px;
|
658
659
|
transition: transform 0.3s ease;
|
659
660
|
}
|
660
661
|
.main-content {
|
661
|
-
margin-left: 315px;
|
662
|
+
margin-left: 315px;
|
663
|
+
/* Width of the sidebar */
|
662
664
|
flex: 1;
|
663
665
|
overflow-y: auto;
|
664
666
|
transition: margin-left 0.3s ease;
|
@@ -1,9 +1,13 @@
|
|
1
|
-
<
|
2
|
-
</script>
|
3
|
-
|
4
|
-
<div class="container-fluid" style="margin-top:80px;background-color: #EBECEF;">
|
1
|
+
<div class="container-fluid enki-main-content">
|
5
2
|
<div class="row">
|
6
3
|
<slot name="sidebar-menu" />
|
7
4
|
<slot />
|
8
5
|
</div>
|
9
6
|
</div>
|
7
|
+
|
8
|
+
<style>
|
9
|
+
.enki-main-content {
|
10
|
+
margin-top:77px;
|
11
|
+
background-color: #EBECEF;
|
12
|
+
}
|
13
|
+
</style>
|
@@ -2,11 +2,11 @@
|
|
2
2
|
import { Col, Row } from 'sveltestrap';
|
3
3
|
</script>
|
4
4
|
|
5
|
-
<
|
5
|
+
<div class="main-content">
|
6
6
|
<div
|
7
|
-
class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3
|
7
|
+
class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3"
|
8
8
|
>
|
9
|
-
<Row
|
9
|
+
<Row style="width:100%">
|
10
10
|
<Col md="4">
|
11
11
|
<header>
|
12
12
|
<div class="d-flex flex-row justify-content-start mt-2 title">
|
@@ -23,12 +23,12 @@
|
|
23
23
|
</Row>
|
24
24
|
</div>
|
25
25
|
<div>
|
26
|
-
<slot name="statuscard"/>
|
26
|
+
<slot name="statuscard" />
|
27
27
|
</div>
|
28
28
|
<div>
|
29
29
|
<slot />
|
30
30
|
</div>
|
31
|
-
</
|
31
|
+
</div>
|
32
32
|
|
33
33
|
<style>
|
34
34
|
.screen-size-fix {
|
@@ -591,13 +591,15 @@
|
|
591
591
|
}
|
592
592
|
.sidebar {
|
593
593
|
position: fixed;
|
594
|
-
top:
|
594
|
+
top: 73px;
|
595
|
+
/* Height of the navbar */
|
595
596
|
bottom: 0;
|
596
597
|
width: 315px;
|
597
598
|
transition: transform 0.3s ease;
|
598
599
|
}
|
599
600
|
.main-content {
|
600
|
-
margin-left: 315px;
|
601
|
+
margin-left: 315px;
|
602
|
+
/* Width of the sidebar */
|
601
603
|
flex: 1;
|
602
604
|
overflow-y: auto;
|
603
605
|
transition: margin-left 0.3s ease;
|
@@ -589,13 +589,15 @@
|
|
589
589
|
}
|
590
590
|
.sidebar {
|
591
591
|
position: fixed;
|
592
|
-
top:
|
592
|
+
top: 73px;
|
593
|
+
/* Height of the navbar */
|
593
594
|
bottom: 0;
|
594
595
|
width: 315px;
|
595
596
|
transition: transform 0.3s ease;
|
596
597
|
}
|
597
598
|
.main-content {
|
598
|
-
margin-left: 315px;
|
599
|
+
margin-left: 315px;
|
600
|
+
/* Width of the sidebar */
|
599
601
|
flex: 1;
|
600
602
|
overflow-y: auto;
|
601
603
|
transition: margin-left 0.3s ease;
|
@@ -587,13 +587,15 @@
|
|
587
587
|
}
|
588
588
|
.sidebar {
|
589
589
|
position: fixed;
|
590
|
-
top:
|
590
|
+
top: 73px;
|
591
|
+
/* Height of the navbar */
|
591
592
|
bottom: 0;
|
592
593
|
width: 315px;
|
593
594
|
transition: transform 0.3s ease;
|
594
595
|
}
|
595
596
|
.main-content {
|
596
|
-
margin-left: 315px;
|
597
|
+
margin-left: 315px;
|
598
|
+
/* Width of the sidebar */
|
597
599
|
flex: 1;
|
598
600
|
overflow-y: auto;
|
599
601
|
transition: margin-left 0.3s ease;
|
@@ -592,13 +592,15 @@
|
|
592
592
|
}
|
593
593
|
.sidebar {
|
594
594
|
position: fixed;
|
595
|
-
top:
|
595
|
+
top: 73px;
|
596
|
+
/* Height of the navbar */
|
596
597
|
bottom: 0;
|
597
598
|
width: 315px;
|
598
599
|
transition: transform 0.3s ease;
|
599
600
|
}
|
600
601
|
.main-content {
|
601
|
-
margin-left: 315px;
|
602
|
+
margin-left: 315px;
|
603
|
+
/* Width of the sidebar */
|
602
604
|
flex: 1;
|
603
605
|
overflow-y: auto;
|
604
606
|
transition: margin-left 0.3s ease;
|
@@ -627,13 +627,15 @@
|
|
627
627
|
}
|
628
628
|
.sidebar {
|
629
629
|
position: fixed;
|
630
|
-
top:
|
630
|
+
top: 73px;
|
631
|
+
/* Height of the navbar */
|
631
632
|
bottom: 0;
|
632
633
|
width: 315px;
|
633
634
|
transition: transform 0.3s ease;
|
634
635
|
}
|
635
636
|
.main-content {
|
636
|
-
margin-left: 315px;
|
637
|
+
margin-left: 315px;
|
638
|
+
/* Width of the sidebar */
|
637
639
|
flex: 1;
|
638
640
|
overflow-y: auto;
|
639
641
|
transition: margin-left 0.3s ease;
|
@@ -724,13 +724,15 @@ function nextPage() {
|
|
724
724
|
}
|
725
725
|
.sidebar {
|
726
726
|
position: fixed;
|
727
|
-
top:
|
727
|
+
top: 73px;
|
728
|
+
/* Height of the navbar */
|
728
729
|
bottom: 0;
|
729
730
|
width: 315px;
|
730
731
|
transition: transform 0.3s ease;
|
731
732
|
}
|
732
733
|
.main-content {
|
733
|
-
margin-left: 315px;
|
734
|
+
margin-left: 315px;
|
735
|
+
/* Width of the sidebar */
|
734
736
|
flex: 1;
|
735
737
|
overflow-y: auto;
|
736
738
|
transition: margin-left 0.3s ease;
|
@@ -607,13 +607,15 @@
|
|
607
607
|
}
|
608
608
|
.sidebar {
|
609
609
|
position: fixed;
|
610
|
-
top:
|
610
|
+
top: 73px;
|
611
|
+
/* Height of the navbar */
|
611
612
|
bottom: 0;
|
612
613
|
width: 315px;
|
613
614
|
transition: transform 0.3s ease;
|
614
615
|
}
|
615
616
|
.main-content {
|
616
|
-
margin-left: 315px;
|
617
|
+
margin-left: 315px;
|
618
|
+
/* Width of the sidebar */
|
617
619
|
flex: 1;
|
618
620
|
overflow-y: auto;
|
619
621
|
transition: margin-left 0.3s ease;
|
@@ -749,13 +749,15 @@ ul, .icon-sidebar-content ul li, .icon-sidebar-content .toggle-button {
|
|
749
749
|
}
|
750
750
|
.sidebar {
|
751
751
|
position: fixed;
|
752
|
-
top:
|
752
|
+
top: 73px;
|
753
|
+
/* Height of the navbar */
|
753
754
|
bottom: 0;
|
754
755
|
width: 315px;
|
755
756
|
transition: transform 0.3s ease;
|
756
757
|
}
|
757
758
|
.main-content {
|
758
|
-
margin-left: 315px;
|
759
|
+
margin-left: 315px;
|
760
|
+
/* Width of the sidebar */
|
759
761
|
flex: 1;
|
760
762
|
overflow-y: auto;
|
761
763
|
transition: margin-left 0.3s ease;
|
@@ -598,13 +598,15 @@
|
|
598
598
|
}
|
599
599
|
.sidebar {
|
600
600
|
position: fixed;
|
601
|
-
top:
|
601
|
+
top: 73px;
|
602
|
+
/* Height of the navbar */
|
602
603
|
bottom: 0;
|
603
604
|
width: 315px;
|
604
605
|
transition: transform 0.3s ease;
|
605
606
|
}
|
606
607
|
.main-content {
|
607
|
-
margin-left: 315px;
|
608
|
+
margin-left: 315px;
|
609
|
+
/* Width of the sidebar */
|
608
610
|
flex: 1;
|
609
611
|
overflow-y: auto;
|
610
612
|
transition: margin-left 0.3s ease;
|
@@ -618,13 +618,15 @@ export let tabs = [
|
|
618
618
|
}
|
619
619
|
.sidebar {
|
620
620
|
position: fixed;
|
621
|
-
top:
|
621
|
+
top: 73px;
|
622
|
+
/* Height of the navbar */
|
622
623
|
bottom: 0;
|
623
624
|
width: 315px;
|
624
625
|
transition: transform 0.3s ease;
|
625
626
|
}
|
626
627
|
.main-content {
|
627
|
-
margin-left: 315px;
|
628
|
+
margin-left: 315px;
|
629
|
+
/* Width of the sidebar */
|
628
630
|
flex: 1;
|
629
631
|
overflow-y: auto;
|
630
632
|
transition: margin-left 0.3s ease;
|
@@ -626,13 +626,15 @@
|
|
626
626
|
}
|
627
627
|
.sidebar {
|
628
628
|
position: fixed;
|
629
|
-
top:
|
629
|
+
top: 73px;
|
630
|
+
/* Height of the navbar */
|
630
631
|
bottom: 0;
|
631
632
|
width: 315px;
|
632
633
|
transition: transform 0.3s ease;
|
633
634
|
}
|
634
635
|
.main-content {
|
635
|
-
margin-left: 315px;
|
636
|
+
margin-left: 315px;
|
637
|
+
/* Width of the sidebar */
|
636
638
|
flex: 1;
|
637
639
|
overflow-y: auto;
|
638
640
|
transition: margin-left 0.3s ease;
|
@@ -662,13 +662,15 @@
|
|
662
662
|
}
|
663
663
|
.sidebar {
|
664
664
|
position: fixed;
|
665
|
-
top:
|
665
|
+
top: 73px;
|
666
|
+
/* Height of the navbar */
|
666
667
|
bottom: 0;
|
667
668
|
width: 315px;
|
668
669
|
transition: transform 0.3s ease;
|
669
670
|
}
|
670
671
|
.main-content {
|
671
|
-
margin-left: 315px;
|
672
|
+
margin-left: 315px;
|
673
|
+
/* Width of the sidebar */
|
672
674
|
flex: 1;
|
673
675
|
overflow-y: auto;
|
674
676
|
transition: margin-left 0.3s ease;
|
@@ -605,13 +605,15 @@ const textAligns = {
|
|
605
605
|
}
|
606
606
|
.sidebar {
|
607
607
|
position: fixed;
|
608
|
-
top:
|
608
|
+
top: 73px;
|
609
|
+
/* Height of the navbar */
|
609
610
|
bottom: 0;
|
610
611
|
width: 315px;
|
611
612
|
transition: transform 0.3s ease;
|
612
613
|
}
|
613
614
|
.main-content {
|
614
|
-
margin-left: 315px;
|
615
|
+
margin-left: 315px;
|
616
|
+
/* Width of the sidebar */
|
615
617
|
flex: 1;
|
616
618
|
overflow-y: auto;
|
617
619
|
transition: margin-left 0.3s ease;
|
package/components/common.scss
CHANGED
@@ -794,25 +794,31 @@
|
|
794
794
|
|
795
795
|
.sidebar {
|
796
796
|
position: fixed;
|
797
|
-
top:
|
797
|
+
top: 73px;
|
798
|
+
/* Height of the navbar */
|
798
799
|
bottom: 0;
|
799
800
|
width: 315px;
|
800
801
|
transition: transform 0.3s ease;
|
801
|
-
|
802
|
-
|
803
|
-
|
802
|
+
}
|
803
|
+
|
804
|
+
.main-content {
|
805
|
+
margin-left: 315px;
|
806
|
+
/* Width of the sidebar */
|
804
807
|
flex: 1;
|
805
808
|
overflow-y: auto;
|
806
809
|
transition: margin-left 0.3s ease;
|
807
|
-
|
808
|
-
|
810
|
+
}
|
811
|
+
|
812
|
+
.main-content.collapsed {
|
809
813
|
margin-left: 0;
|
810
|
-
|
811
|
-
|
814
|
+
}
|
815
|
+
|
816
|
+
@media (max-width: 767px) {
|
812
817
|
.sidebar {
|
813
|
-
|
818
|
+
display: none !important;
|
814
819
|
}
|
820
|
+
|
815
821
|
.main-content {
|
816
|
-
|
817
|
-
}
|
818
|
-
|
822
|
+
margin-left: 0;
|
823
|
+
}
|
824
|
+
}
|