@open-rlb/ng-bootstrap 2.3.7 → 2.4.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/assets/scss/_variables.scss +4 -3
- package/assets/scss/custom/plugins/_responsive-table.scss +2 -2
- package/assets/scss/custom/structure/_topbar.scss +4 -4
- package/assets/scss/rlb/app-layout.scss +74 -55
- package/fesm2022/open-rlb-ng-bootstrap.mjs +413 -401
- package/fesm2022/open-rlb-ng-bootstrap.mjs.map +1 -1
- package/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -11,7 +11,8 @@ $sidebar-menu-sub-item-color: #545a6d;
|
|
|
11
11
|
$sidebar-menu-item-icon-color: #7f8387;
|
|
12
12
|
$sidebar-menu-item-hover-color: #383c40;
|
|
13
13
|
$sidebar-menu-item-active-color: #556ee6;
|
|
14
|
-
$sidebar-width:
|
|
14
|
+
$sidebar-width: 18.75rem;
|
|
15
|
+
$sidebar-transition: 0.3s ease-in-out;
|
|
15
16
|
$sidebar-collapsed-width: 70px;
|
|
16
17
|
$sidebar-width-sm: 160px;
|
|
17
18
|
|
|
@@ -24,7 +25,7 @@ $sidebar-dark-menu-item-hover-color: #ffffff;
|
|
|
24
25
|
$sidebar-dark-menu-item-active-color: #ffffff;
|
|
25
26
|
|
|
26
27
|
// Topbar - Default Light
|
|
27
|
-
$header-height:
|
|
28
|
+
$header-height: 3.75rem;
|
|
28
29
|
$header-bg: $white;
|
|
29
30
|
$header-item-color: #555b6d;
|
|
30
31
|
|
|
@@ -53,7 +54,7 @@ $rightbar-width: 280px;
|
|
|
53
54
|
$display-none: none;
|
|
54
55
|
$display-block: block;
|
|
55
56
|
|
|
56
|
-
// Brand
|
|
57
|
+
// Brand
|
|
57
58
|
$navbar-brand-box-width: 250px;
|
|
58
59
|
|
|
59
60
|
// Boxed layout width
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
//
|
|
2
2
|
// _header.scss
|
|
3
|
-
//
|
|
3
|
+
//
|
|
4
4
|
|
|
5
5
|
#page-topbar {
|
|
6
6
|
position: fixed;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
/* Search */
|
|
52
52
|
|
|
53
53
|
.app-search {
|
|
54
|
-
padding: calc(#{$header-height -
|
|
54
|
+
padding: calc(#{$header-height - 2.375rem} * 0.5) 0;
|
|
55
55
|
|
|
56
56
|
.form-control {
|
|
57
57
|
border: none;
|
|
@@ -292,4 +292,4 @@ body[data-layout="horizontal"] {
|
|
|
292
292
|
margin-top: 15px;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
}
|
|
295
|
+
}
|
|
@@ -1,68 +1,62 @@
|
|
|
1
|
+
.rlb-app {
|
|
2
|
+
background-color: var(--bs-body-bg);
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100vh;
|
|
6
|
+
width: 100vw;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rlb-main-wrapper {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-grow: 1;
|
|
12
|
+
position: relative;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
.rlb-navbar {
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
width: 100%;
|
|
6
17
|
height: $header-height;
|
|
7
|
-
|
|
8
|
-
align-items: center;
|
|
9
|
-
z-index: 1001;
|
|
18
|
+
z-index: 1030;
|
|
10
19
|
}
|
|
11
20
|
|
|
12
21
|
.rlb-sidebar {
|
|
13
|
-
position: fixed;
|
|
14
|
-
margin-top: $header-height;
|
|
15
|
-
left: 0;
|
|
16
22
|
width: $sidebar-width;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
transition: width $sidebar-transition, transform $sidebar-transition;
|
|
25
|
+
background-color: var(--bs-tertiary-bg);
|
|
26
|
+
border-right: 1px solid var(--bs-border-color);
|
|
27
|
+
z-index: 1020;
|
|
28
|
+
position: relative;
|
|
29
|
+
overflow: visible !important;
|
|
21
30
|
|
|
22
31
|
&.collapsed {
|
|
23
32
|
width: 0;
|
|
33
|
+
border-right: none;
|
|
24
34
|
}
|
|
25
35
|
}
|
|
26
36
|
|
|
27
|
-
.rlb-dropdown-menu {
|
|
28
|
-
z-index: $zindex-dropdown;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
37
|
.rlb-content {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
width:
|
|
36
|
-
|
|
37
|
-
overflow-y: auto;
|
|
38
|
-
margin-top: $header-height;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
|
|
41
|
-
|
|
42
|
-
&.rlb-sidebar-en {
|
|
43
|
-
left: $sidebar-width;
|
|
44
|
-
width: calc(100% - $sidebar-width);
|
|
45
|
-
}
|
|
38
|
+
overflow: auto;
|
|
39
|
+
background-color: var(--bs-body-bg);
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
46
42
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
width: calc(100%);
|
|
50
|
-
}
|
|
43
|
+
.rlb-dropdown-menu {
|
|
44
|
+
z-index: $zindex-dropdown;
|
|
51
45
|
}
|
|
52
46
|
|
|
53
47
|
.sidebar-toggle {
|
|
54
|
-
position:
|
|
55
|
-
top:
|
|
56
|
-
left: $sidebar-width -
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 1rem;
|
|
50
|
+
left: $sidebar-width - 1.5rem;
|
|
51
|
+
z-index: 1035;
|
|
57
52
|
transform: translateX(-50%);
|
|
58
|
-
width:
|
|
59
|
-
height:
|
|
53
|
+
width: 2rem;
|
|
54
|
+
height: 2rem;
|
|
60
55
|
border-radius: 50%;
|
|
61
56
|
display: flex;
|
|
62
57
|
align-items: center;
|
|
63
58
|
justify-content: center;
|
|
64
59
|
cursor: pointer;
|
|
65
|
-
z-index: 9999;
|
|
66
60
|
transition: left 0.3s ease-in-out, transform 0.2s ease, color 0.2s ease, border 0.2s ease;
|
|
67
61
|
|
|
68
62
|
&:hover {
|
|
@@ -76,16 +70,10 @@
|
|
|
76
70
|
}
|
|
77
71
|
}
|
|
78
72
|
|
|
79
|
-
.rlb-sidebar.collapsed .sidebar-toggle {
|
|
80
|
-
left: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
73
|
.sidebar-toggler-tooltip {
|
|
84
|
-
|
|
85
74
|
--bs-tooltip-bg: var(--bs-body-bg);
|
|
86
75
|
--bs-tooltip-color: var(--bs-body-color);
|
|
87
76
|
|
|
88
|
-
|
|
89
77
|
--bs-tooltip-border-width: 1px;
|
|
90
78
|
--bs-tooltip-border-color: rgba(0, 0, 0, 0.15);
|
|
91
79
|
|
|
@@ -96,26 +84,57 @@
|
|
|
96
84
|
padding: 0.25rem 0.5rem;
|
|
97
85
|
}
|
|
98
86
|
|
|
87
|
+
.sidebar-toggler-tooltip {
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rlb-sidebar.collapsed .sidebar-toggle {
|
|
92
|
+
left: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
99
95
|
@media (hover: none) {
|
|
100
96
|
.tooltip {
|
|
101
97
|
display: none !important;
|
|
102
98
|
}
|
|
103
99
|
}
|
|
104
100
|
|
|
105
|
-
.sidebar-toggler-tooltip {
|
|
106
|
-
pointer-events: none;
|
|
107
|
-
}
|
|
108
101
|
|
|
109
|
-
/* ===== Mobile ===== */
|
|
110
102
|
@media (max-width: 992px) {
|
|
103
|
+
.rlb-sidebar {
|
|
104
|
+
position: absolute;
|
|
105
|
+
left: 0;
|
|
106
|
+
top: 0;
|
|
107
|
+
height: 100%;
|
|
108
|
+
transform: translateX(-100%);
|
|
109
|
+
width: $sidebar-width !important;
|
|
110
|
+
box-shadow: 5px 0 15px rgba(0,0,0,0.1);
|
|
111
|
+
overflow: visible !important;
|
|
112
|
+
|
|
113
|
+
&:not(.collapsed) {
|
|
114
|
+
transform: translateX(0);
|
|
115
|
+
.sidebar-toggle {
|
|
116
|
+
left: calc(100% - 20px);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.collapsed {
|
|
121
|
+
.sidebar-toggle {
|
|
122
|
+
left: calc(100% + 5px);
|
|
123
|
+
transform: translateX(-50%);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
111
128
|
.navbar-collapse {
|
|
112
129
|
position: absolute;
|
|
113
130
|
top: 100%;
|
|
114
131
|
left: 0;
|
|
115
132
|
right: 0;
|
|
116
133
|
background-color: var(--bs-body-bg);
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
134
|
+
|
|
135
|
+
border: 1px solid var(--bs-border-color);
|
|
136
|
+
border-top: none;
|
|
137
|
+
|
|
138
|
+
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
|
120
139
|
}
|
|
121
140
|
}
|