Styling fixes
This commit is contained in:
parent
49bdd4b1fd
commit
357706f4c5
|
@ -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 = [
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<SettingsWrapper headertext="Core Settings">
|
||||
Hello Core Settings!
|
||||
</SettingsWrapper>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<SettingsWrapper headertext="Emote Settings">
|
||||
</SettingsWrapper>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/*Imports*/
|
||||
import { SettingsWrapper } from './';
|
||||
const components = { SettingsWrapper };
|
||||
|
||||
export default {
|
||||
components
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<SettingsWrapper headertext="UI Settings">
|
||||
</SettingsWrapper>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/*Imports*/
|
||||
import { SettingsWrapper } from './';
|
||||
const components = { SettingsWrapper };
|
||||
|
||||
export default {
|
||||
components
|
||||
}
|
||||
</script>
|
|
@ -1,2 +1,4 @@
|
|||
export { default as SettingsWrapper } from './SettingsWrapper.vue';
|
||||
export { default as CoreSettings } from './CoreSettings.vue';
|
||||
export { default as UISettings } from './UISettings.vue';
|
||||
export { default as EmoteSettings } from './EmoteSettings.vue';
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -5,3 +5,7 @@
|
|||
[class*="guilds-wrapper"] + [class*="flex"] {
|
||||
border-radius: 0 0 0 5px;
|
||||
}
|
||||
|
||||
.unread-mentions-indicator-top {
|
||||
top: 45px;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue