@flatbiz/pro-layout 4.0.2 → 4.0.4
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/cjs/index.css +34 -18
- package/cjs/index.js +2 -1
- package/cjs/index.js.map +1 -1
- package/index.d.ts +11 -10
- package/package.json +5 -5
package/cjs/index.css
CHANGED
|
@@ -81,7 +81,6 @@ body,
|
|
|
81
81
|
cursor: pointer;
|
|
82
82
|
transition: all 0.3s ease-out;
|
|
83
83
|
padding: 10px 20px;
|
|
84
|
-
box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.05);
|
|
85
84
|
display: flex;
|
|
86
85
|
align-items: center;
|
|
87
86
|
justify-content: center;
|
|
@@ -89,6 +88,7 @@ body,
|
|
|
89
88
|
.sider-bar-shrink {
|
|
90
89
|
color: var(--sidebar-menuSelectedTextColor);
|
|
91
90
|
background-color: var(--sidebar-bgColor);
|
|
91
|
+
box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.1);
|
|
92
92
|
}
|
|
93
93
|
.sider-bar-shrink:hover {
|
|
94
94
|
color: var(--sidebar-menuSelectedBgColor);
|
|
@@ -176,41 +176,42 @@ body,
|
|
|
176
176
|
flex: 1;
|
|
177
177
|
overflow: hidden;
|
|
178
178
|
display: flex;
|
|
179
|
+
justify-content: flex-end;
|
|
179
180
|
}
|
|
180
|
-
.flatbiz-layout-header-fill .ant-menu {
|
|
181
|
+
.flatbiz-layout-header-fill > .ant-menu {
|
|
181
182
|
border-bottom: none;
|
|
182
183
|
height: unset;
|
|
183
184
|
background: unset;
|
|
184
185
|
}
|
|
185
|
-
.flatbiz-layout-header-fill .ant-menu
|
|
186
|
+
.flatbiz-layout-header-fill > .ant-menu.ant-menu-horizontal {
|
|
187
|
+
border-bottom: none;
|
|
188
|
+
line-height: inherit;
|
|
189
|
+
}
|
|
190
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item {
|
|
186
191
|
display: flex;
|
|
187
192
|
align-items: center;
|
|
188
193
|
border-radius: 0 !important;
|
|
189
194
|
}
|
|
190
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item:hover:after {
|
|
195
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item:hover:after {
|
|
191
196
|
border: none;
|
|
192
197
|
}
|
|
193
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item::after {
|
|
198
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item::after {
|
|
194
199
|
bottom: 12px;
|
|
195
200
|
border-bottom: 0;
|
|
196
201
|
}
|
|
197
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-selected::after {
|
|
202
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item.ant-menu-item-selected::after {
|
|
198
203
|
border: none;
|
|
199
204
|
background: var(--header-menuSelectedTextColor);
|
|
200
205
|
}
|
|
201
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected) {
|
|
206
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected) {
|
|
202
207
|
background: var(--header-menuActiveBgColor);
|
|
203
208
|
}
|
|
204
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected)::after {
|
|
209
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected)::after {
|
|
205
210
|
border: none;
|
|
206
211
|
background: var(--header-menuActiveTextColor);
|
|
207
212
|
}
|
|
208
|
-
.flatbiz-layout-header-fill.ant-menu-
|
|
209
|
-
|
|
210
|
-
line-height: inherit;
|
|
211
|
-
}
|
|
212
|
-
.flatbiz-layout-header-fill .ant-menu-item-selected:after,
|
|
213
|
-
.flatbiz-layout-header-fill .ant-menu-item-active:after {
|
|
213
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item-selected:after,
|
|
214
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-item-active:after {
|
|
214
215
|
height: 3px;
|
|
215
216
|
width: 30%;
|
|
216
217
|
min-width: 22px;
|
|
@@ -221,20 +222,32 @@ body,
|
|
|
221
222
|
border-radius: 3px;
|
|
222
223
|
content: '';
|
|
223
224
|
}
|
|
224
|
-
.flatbiz-layout-header-fill .ant-menu-overflow-item-rest {
|
|
225
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-overflow-item-rest {
|
|
225
226
|
display: flex;
|
|
226
227
|
align-items: center;
|
|
228
|
+
background-color: transparent !important;
|
|
229
|
+
}
|
|
230
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title {
|
|
227
231
|
color: var(--header-textColor) !important;
|
|
228
232
|
}
|
|
229
|
-
.flatbiz-layout-header-fill .ant-menu-overflow-item-rest .ant-menu-submenu-title:hover {
|
|
233
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-overflow-item-rest .ant-menu-submenu-title:hover {
|
|
230
234
|
color: unset !important;
|
|
231
235
|
}
|
|
236
|
+
.flatbiz-layout-header-fill > .ant-menu .ant-menu-overflow-item-rest::after {
|
|
237
|
+
width: 0;
|
|
238
|
+
}
|
|
232
239
|
.flatbiz-layout-topmenu {
|
|
233
240
|
flex: 1;
|
|
234
241
|
overflow: hidden;
|
|
235
242
|
}
|
|
236
|
-
.flatbiz-layout-
|
|
237
|
-
|
|
243
|
+
.flatbiz-layout-main-header-has-menu .flatbiz-layout-header-fill {
|
|
244
|
+
justify-content: space-between;
|
|
245
|
+
}
|
|
246
|
+
.flatbiz-layout-topmenu-overflowed-modal .ant-menu-submenu {
|
|
247
|
+
background-color: transparent !important;
|
|
248
|
+
}
|
|
249
|
+
.flatbiz-layout-topmenu-overflowed-modal .ant-menu-item {
|
|
250
|
+
color: #000 !important;
|
|
238
251
|
}
|
|
239
252
|
|
|
240
253
|
.loader {
|
|
@@ -325,6 +338,9 @@ body,
|
|
|
325
338
|
display: flex;
|
|
326
339
|
flex-direction: column;
|
|
327
340
|
}
|
|
341
|
+
.flatbiz-layout-sider .ant-layout-sider-children > .ant-menu-root {
|
|
342
|
+
padding-bottom: 30px;
|
|
343
|
+
}
|
|
328
344
|
.flatbiz-layout-sider .ant-menu-root {
|
|
329
345
|
flex: 1;
|
|
330
346
|
overflow-x: hidden;
|