fix: fix template styles

This commit is contained in:
woothu
2019-10-16 16:17:34 +02:00
parent c639eb8213
commit 767a39d904
4 changed files with 16 additions and 14 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<template> <template>
<CHeader fixed with-subheader light> <CHeader fixed with-subheader light>
<CSidebarToggler <CToggler
in-header
class="c-header-toggler ml-3" class="c-header-toggler ml-3"
v-c-emit-root-event:toggle-sidebar v-c-emit-root-event:toggle-sidebar
/> />
+8 -8
View File
@@ -17,29 +17,29 @@
</div> </div>
</CLink> </CLink>
</template> </template>
<CDropdownHeader tag="div" class="text-center" variant="light"> <CDropdownHeader tag="div" class="text-center" color="light">
<strong>Account</strong> <strong>Account</strong>
</CDropdownHeader> </CDropdownHeader>
<CDropdownItem> <CDropdownItem>
<i class="cui-bell mr-2"/> Updates <i class="cui-bell mr-2"/> Updates
<CBadge variant="info" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="info" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem> <CDropdownItem>
<i class="cui-envelope-open mr-2" /> Messages <i class="cui-envelope-open mr-2" /> Messages
<CBadge variant="success" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="success" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem> <CDropdownItem>
<i class="cui-task mr-2" /> Tasks <i class="cui-task mr-2" /> Tasks
<CBadge variant="danger" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="danger" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem> <CDropdownItem>
<i class="cui-comment-square mr-2" /> Comments <i class="cui-comment-square mr-2" /> Comments
<CBadge variant="warning" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="warning" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownHeader <CDropdownHeader
tag="div" tag="div"
class="text-center" class="text-center"
variant="light" color="light"
> >
<strong>Settings</strong> <strong>Settings</strong>
</CDropdownHeader> </CDropdownHeader>
@@ -51,11 +51,11 @@
</CDropdownItem> </CDropdownItem>
<CDropdownItem> <CDropdownItem>
<i class="cui-dollar mr-2" /> Payments <i class="cui-dollar mr-2" /> Payments
<CBadge variant="secondary" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="secondary" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem> <CDropdownItem>
<i class="cui-file mr-2" /> Projects <i class="cui-file mr-2" /> Projects
<CBadge variant="primary" class="ml-auto">{{ itemsCount }}</CBadge> <CBadge color="primary" class="ml-auto">{{ itemsCount }}</CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownDivider/> <CDropdownDivider/>
<CDropdownItem> <CDropdownItem>
+3 -2
View File
@@ -2,6 +2,7 @@
<CSidebar <CSidebar
fixed fixed
:minimize="minimize" :minimize="minimize"
:show="show"
> >
<CSidebarBrand <CSidebarBrand
fullSrc="img/brand/coreui-base-white.svg" fullSrc="img/brand/coreui-base-white.svg"
@@ -13,7 +14,7 @@
<CRenderFunction :contentToRender="nav"/> <CRenderFunction :contentToRender="nav"/>
<!-- <CSidebarFooter/> --> <!-- <CSidebarFooter/> -->
<CSidebarMinimizer <CSidebarMinimizer
class="d-md-down-none c-sidebar-minimized-unfoldable" class="d-md-down-none"
@click.native="minimize = !minimize" @click.native="minimize = !minimize"
/> />
</CSidebar> </CSidebar>
@@ -27,7 +28,7 @@ export default {
return { return {
minimize: false, minimize: false,
nav, nav,
show: null show: true
} }
}, },
mounted () { mounted () {
+3 -3
View File
@@ -9,7 +9,7 @@ export default [
to: '/dashboard', to: '/dashboard',
icon: 'cui-speedometer', icon: 'cui-speedometer',
badge: { badge: {
variant: 'primary', color: 'primary',
textHtml: 'NEW' textHtml: 'NEW'
} }
} }
@@ -295,7 +295,7 @@ export default [
to: '/icons/coreui-icons', to: '/icons/coreui-icons',
icon: 'cui-star', icon: 'cui-star',
badge: { badge: {
variant: 'info', color: 'info',
textHtml: 'NEW' textHtml: 'NEW'
} }
} }
@@ -373,7 +373,7 @@ export default [
to: '/widgets', to: '/widgets',
icon: 'cui-calculator', icon: 'cui-calculator',
badge: { badge: {
variant: 'primary', color: 'primary',
textHtml: 'NEW', textHtml: 'NEW',
pill: true pill: true
} }