@db-ux/core-components 4.9.0-1-c55de66 → 4.9.0-stencil-bundle-ad37ca4
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/build/components/header/header.css +3 -3
- package/build/components/header/header.scss +16 -16
- package/build/styles/absolute.css +1 -1
- package/build/styles/bundle.css +1 -1
- package/build/styles/index.css +1 -1
- package/build/styles/relative.css +1 -1
- package/build/styles/rollup.css +1 -1
- package/build/styles/webpack.css +1 -1
- package/package.json +3 -3
|
@@ -343,13 +343,13 @@
|
|
|
343
343
|
*/
|
|
344
344
|
visibility: hidden;
|
|
345
345
|
}
|
|
346
|
-
.db-header:has(.db-
|
|
346
|
+
.db-header:not(:has(.db-navigation)) .db-header-navigation-container::before, .db-header:has(.db-brand:empty) .db-header-navigation-container::before {
|
|
347
347
|
display: none;
|
|
348
348
|
}
|
|
349
|
-
.db-header:
|
|
349
|
+
.db-header:not(:has(.db-navigation)):has(.db-header-secondary-action:empty) .db-header-action-container::before {
|
|
350
350
|
display: none;
|
|
351
351
|
}
|
|
352
|
-
.db-header:has(.db-header-
|
|
352
|
+
.db-header:not(:has(.db-navigation)):has(.db-header-secondary-action:empty):has(.db-header-meta-navigation:empty) .db-header-burger-menu-container:not([hidden]) {
|
|
353
353
|
display: none;
|
|
354
354
|
}
|
|
355
355
|
|
|
@@ -48,28 +48,28 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// All use-cases where we hide the divider
|
|
51
|
-
&:has(.db-
|
|
51
|
+
&:not(:has(.db-navigation)),
|
|
52
52
|
&:has(.db-brand:empty) {
|
|
53
53
|
.db-header-navigation-container::before {
|
|
54
54
|
display: none;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
58
|
+
&:not(:has(.db-navigation)) {
|
|
59
|
+
&:has(.db-header-secondary-action:empty) {
|
|
60
|
+
// Hide the action-area divider only when both navigation and secondary action are missing.
|
|
61
|
+
// With no navigation but a secondary action, we keep the divider.
|
|
62
|
+
.db-header-action-container::before {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Hide the burger ONLY when the drawer would be empty.
|
|
67
|
+
// This requires: no main navigation AND no meta navigation AND no secondary action.
|
|
68
|
+
&:has(.db-header-meta-navigation:empty) {
|
|
69
|
+
.db-header-burger-menu-container {
|
|
70
|
+
@include helpers.display(none);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|