Styling fixes

This commit is contained in:
Jiiks 2018-01-20 17:05:09 +02:00
parent 49bdd4b1fd
commit 357706f4c5
9 changed files with 56 additions and 6 deletions

View File

@ -3,8 +3,8 @@
<script>
/*Imports*/
import { SidebarView, Sidebar, SidebarItem, ContentColumn } from './sidebar';
import { CoreSettings } from './bd';
const components = { SidebarView, Sidebar, SidebarItem, ContentColumn, CoreSettings };
import { CoreSettings, UISettings, EmoteSettings } from './bd';
const components = { SidebarView, Sidebar, SidebarItem, ContentColumn, CoreSettings, UISettings, EmoteSettings };
/*Constants*/
const sidebarItems = [

View File

@ -1,6 +1,5 @@
<template>
<SettingsWrapper headertext="Core Settings">
Hello Core Settings!
</SettingsWrapper>
</template>

View File

@ -0,0 +1,14 @@
<template>
<SettingsWrapper headertext="Emote Settings">
</SettingsWrapper>
</template>
<script>
/*Imports*/
import { SettingsWrapper } from './';
const components = { SettingsWrapper };
export default {
components
}
</script>

View File

@ -0,0 +1,14 @@
<template>
<SettingsWrapper headertext="UI Settings">
</SettingsWrapper>
</template>
<script>
/*Imports*/
import { SettingsWrapper } from './';
const components = { SettingsWrapper };
export default {
components
}
</script>

View File

@ -1,2 +1,4 @@
export { default as SettingsWrapper } from './SettingsWrapper.vue';
export { default as CoreSettings } from './CoreSettings.vue';
export { default as CoreSettings } from './CoreSettings.vue';
export { default as UISettings } from './UISettings.vue';
export { default as EmoteSettings } from './EmoteSettings.vue';

View File

@ -1,6 +1,8 @@
<div class="bd-settingsWrap">
<div class="bd-settingsWrap-header">{{headertext}}</div>
<ScrollerWrap>
<div class="bd-scroller"></div>
<div class="bd-scroller">
<slot/>
</div>
</ScrollerWrap>
</div>

View File

@ -11,6 +11,12 @@
<div :class="{active: activeContent('core'), animating: animatingContent('core')}">
<CoreSettings />
</div>
<div :class="{active: activeContent('ui'), animating: animatingContent('ui')}">
<UISettings />
</div>
<div :class="{active: activeContent('emotes'), animating: animatingContent('emotes')}">
<EmoteSettings />
</div>
</ContentColumn>
</SidebarView>

View File

@ -5,3 +5,7 @@
[class*="guilds-wrapper"] + [class*="flex"] {
border-radius: 0 0 0 5px;
}
.unread-mentions-indicator-top {
top: 45px;
}

View File

@ -104,6 +104,11 @@
flex-direction: column;
flex-grow: 1;
.bd-scroller-wrap {
flex-grow: 1;
height: 100%;
}
.bd-settingsWrap-header {
color: $colbdblue;
text-transform: uppercase;
@ -119,8 +124,12 @@
}
}
.bd-content > div:not(.active) {
.bd-content-column > div:not(.active) {
opacity: 0;
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
}
.bd-content {