refactor: remove obsolete files
This commit is contained in:
-4
@@ -1,4 +0,0 @@
|
|||||||
// Override Boostrap variables
|
|
||||||
@import "../variables";
|
|
||||||
@import "~bootstrap/scss/mixins";
|
|
||||||
@import "~@coreui/coreui/scss/variables";
|
|
||||||
-48
@@ -1,48 +0,0 @@
|
|||||||
// Import variables
|
|
||||||
@import '../variables';
|
|
||||||
|
|
||||||
.chart-legend,
|
|
||||||
.bar-legend,
|
|
||||||
.line-legend,
|
|
||||||
.pie-legend,
|
|
||||||
.radar-legend,
|
|
||||||
.polararea-legend,
|
|
||||||
.doughnut-legend {
|
|
||||||
list-style-type: none;
|
|
||||||
margin-top: 5px;
|
|
||||||
text-align: center;
|
|
||||||
-webkit-padding-start: 0;
|
|
||||||
-moz-padding-start: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
.chart-legend li,
|
|
||||||
.bar-legend li,
|
|
||||||
.line-legend li,
|
|
||||||
.pie-legend li,
|
|
||||||
.radar-legend li,
|
|
||||||
.polararea-legend li,
|
|
||||||
.doughnut-legend li {
|
|
||||||
display: inline-block;
|
|
||||||
white-space: nowrap;
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
@include border-radius($border-radius);
|
|
||||||
padding: 2px 8px 2px 28px;
|
|
||||||
font-size: smaller;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.chart-legend li span,
|
|
||||||
.bar-legend li span,
|
|
||||||
.line-legend li span,
|
|
||||||
.pie-legend li span,
|
|
||||||
.radar-legend li span,
|
|
||||||
.polararea-legend li span,
|
|
||||||
.doughnut-legend li span {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
@include border-radius($border-radius);
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
export const sidebarCssClasses = [
|
|
||||||
'sidebar-show',
|
|
||||||
'sidebar-sm-show',
|
|
||||||
'sidebar-md-show',
|
|
||||||
'sidebar-lg-show',
|
|
||||||
'sidebar-xl-show'
|
|
||||||
]
|
|
||||||
|
|
||||||
export const asideMenuCssClasses = [
|
|
||||||
'aside-menu-show',
|
|
||||||
'aside-menu-sm-show',
|
|
||||||
'aside-menu-md-show',
|
|
||||||
'aside-menu-lg-show',
|
|
||||||
'aside-menu-xl-show'
|
|
||||||
]
|
|
||||||
|
|
||||||
export const validBreakpoints = [ 'sm', 'md', 'lg', 'xl' ]
|
|
||||||
|
|
||||||
export function checkBreakpoint (breakpoint, list) {
|
|
||||||
return list.indexOf(breakpoint) > -1
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
export default function toggleClasses (toggleClass, classList, force) {
|
|
||||||
const level = classList.indexOf(toggleClass)
|
|
||||||
const removeClassList = classList.slice(0, level)
|
|
||||||
removeClassList.map((className) => document.body.classList.remove(className))
|
|
||||||
document.body.classList.toggle(toggleClass, force)
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user