Skip to content

Commit

Permalink
Fix kiwi-workspace-background z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsOnlyBinary committed Jan 11, 2024
1 parent 1b7be21 commit 47be851
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
18 changes: 12 additions & 6 deletions src/components/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,14 @@
:is="fallbackComponent"
v-else-if="!activeComponent"
v-bind="fallbackComponentProps"
class="kiwi-workspace-component"
/>
<component
:is="activeComponent"
v-else
v-bind="activeComponentProps"
class="kiwi-workspace-component"
/>
<component :is="activeComponent" v-else v-bind="activeComponentProps" />
</div>
</template>
<AvatarCommon />
Expand Down Expand Up @@ -433,11 +439,11 @@ body {
.kiwi-workspace-background {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
inset: 0;
}
.kiwi-workspace-component {
position: relative;
}
.kiwi-statebrowser {
Expand Down
1 change: 1 addition & 0 deletions src/components/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default {
box-sizing: border-box;
display: flex;
flex-direction: column;
position: relative;
}
/* When the sidebar is open we will put a shadow over the text area */
Expand Down
5 changes: 2 additions & 3 deletions static/themes/elite/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@
background: var(--comp-statebrowser-bg);
}

.kiwi-statebrowser-newnetwork {
.kiwi-statebrowser-newnetwork a {
opacity: 0.75;
color: var(--brand-primary);
}

.kiwi-statebrowser-newnetwork a:hover {
Expand Down Expand Up @@ -112,9 +113,7 @@
background-color: #26323a;
}


.kiwi-messagelist {
background: #3b4850;
color: var(--brand-primary);
}

Expand Down
5 changes: 1 addition & 4 deletions static/themes/nightswatch/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
--brand-primary-hover: #2d2d2d;
--brand-midtone: #1b1b1b;
--brand-darktone: #000;
--brand-default-bg: #1b1b1b;
--brand-default-bg: #000;
--brand-default-fg: #f1f1f1;

/* Warning colors */
Expand Down Expand Up @@ -207,9 +207,6 @@
}

/* Message list */
.kiwi-messagelist {
background: #000;
}
.kiwi-messagelist .kiwi-messagelist-body {
color: #adadad;
}
Expand Down

0 comments on commit 47be851

Please sign in to comment.