chore: clean-up

This commit is contained in:
Łukasz Holeczek 2021-05-24 17:15:39 +02:00
parent 9adc776392
commit c16267d250
3 changed files with 2 additions and 75 deletions

View File

@ -89,6 +89,7 @@ import {
cilLockLocked, cilLockLocked,
cilMagnifyingGlass, cilMagnifyingGlass,
cilMap, cilMap,
cilMediaPlay,
cilMenu, cilMenu,
cilMoon, cilMoon,
cilNotes, cilNotes,
@ -191,6 +192,7 @@ export const icons = Object.assign(
cilLockLocked, cilLockLocked,
cilMagnifyingGlass, cilMagnifyingGlass,
cilMap, cilMap,
cilMediaPlay,
cilMenu, cilMenu,
cilMoon, cilMoon,
cilNotes, cilNotes,

View File

@ -126,7 +126,6 @@ const _nav = [
{ {
_component: 'CNavGroup', _component: 'CNavGroup',
anchor: 'Buttons', anchor: 'Buttons',
// route: '/buttons',
icon: <CIcon name="cil-cursor" customClasses="nav-icon" />, icon: <CIcon name="cil-cursor" customClasses="nav-icon" />,
items: [ items: [
{ {
@ -214,7 +213,6 @@ const _nav = [
{ {
_component: 'CNavGroup', _component: 'CNavGroup',
anchor: 'Icons', anchor: 'Icons',
// route: '/icons',
icon: <CIcon name="cil-star" customClasses="nav-icon" />, icon: <CIcon name="cil-star" customClasses="nav-icon" />,
items: [ items: [
{ {
@ -244,7 +242,6 @@ const _nav = [
{ {
_component: 'CNavGroup', _component: 'CNavGroup',
anchor: 'Notifications', anchor: 'Notifications',
// route: '/notifications',
icon: <CIcon name="cil-bell" customClasses="nav-icon" />, icon: <CIcon name="cil-bell" customClasses="nav-icon" />,
items: [ items: [
{ {
@ -284,9 +281,6 @@ const _nav = [
text: 'NEW', text: 'NEW',
}, },
}, },
// {
// _component: 'CSidebarNavDivider'
// },
{ {
_component: 'CNavTitle', _component: 'CNavTitle',
anchor: 'Extras', anchor: 'Extras',
@ -322,59 +316,6 @@ const _nav = [
}, },
], ],
}, },
// {
// _component: 'CNavItem',
// anchor: 'Disabled',
// icon: <CIcon name="cil-ban" customClasses="nav-icon"/>,
// badge: {
// color: 'secondary',
// text: 'NEW',
// },
// addLinkClass: 'c-disabled',
// 'disabled': true
// },
// {
// _component: 'CSidebarNavDivider',
// classanchor: 'm-2'
// },
// {
// _component: 'CNavTitle',
// items: ['Labels']
// },
// {
// _component: 'CNavItem',
// anchor: 'Label danger',
// to: '',
// icon: {
// anchor: <CIcon name="cil-star" customClasses="nav-icon"/>,
// classanchor: 'text-danger'
// },
// label: true
// },
// {
// _component: 'CNavItem',
// anchor: 'Label info',
// to: '',
// icon: {
// anchor: <CIcon name="cil-star" customClasses="nav-icon"/>,
// classanchor: 'text-info'
// },
// label: true
// },
// {
// _component: 'CNavItem',
// anchor: 'Label warning',
// to: '',
// icon: {
// anchor: <CIcon name="cil-star" customClasses="nav-icon"/>,
// classanchor: 'text-warning'
// },
// label: true
// },
// {
// _component: 'CSidebarNavDivider',
// classanchor: 'm-2'
// }
] ]
export default _nav export default _nav

View File

@ -1,16 +0,0 @@
// todo: disabled button styles
button {
&:disabled {
cursor: default;
}
&.disabled {
cursor: default;
}
}
// todo: brand button icon margin
.btn-brand:not(:only-child) {
.c-icon {
margin-top: 0 !important;
}
}