@posiwise/core-styles 1.0.13 → 1.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/core-styles",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -372,7 +372,7 @@
372
372
  .p-button,
373
373
  .p-button:enabled:active,
374
374
  .p-button:hover {
375
- background: var(--first);
375
+ background: var(--first) !important;
376
376
  border: 1px solid var(--first);
377
377
  color: #fff !important;
378
378
  }
@@ -1,7 +1,10 @@
1
1
  .navbar {
2
2
  border: 0;
3
3
  border-radius: 0;
4
- z-index: 3; // required to make the shadow overlap the below content (need is visible in mobile drawer overlay)
4
+ // 1037 sits above the brain-chat collapsible drawer (z-index 1036) so navbar dropdowns
5
+ // (notification bell, user profile) render on top of the drawer, while staying below
6
+ // Bootstrap's modal-backdrop (1040) and modal (1055).
7
+ z-index: 1037;
5
8
 
6
9
  .navbar-brand {
7
10
  position: relative;
@@ -1,5 +1,5 @@
1
1
  .app-sidebar {
2
- z-index: 5;
2
+ z-index: 1038; // above navbar (1037) so sidebar header renders on top; below modal-backdrop (1040)
3
3
  }
4
4
 
5
5
  .navbar {
@@ -153,7 +153,7 @@
153
153
  position: fixed;
154
154
  top: 0;
155
155
  width: 220px;
156
- z-index: 4;
156
+ z-index: 1038;
157
157
 
158
158
  &.hide-sidebar {
159
159
  transform: translate3d(-100%, 0, 0);