diff --git a/frontend/src/assets/scss/core/badges/_badge-circle.scss b/frontend/src/assets/scss/core/badges/_badge-circle.scss deleted file mode 100644 index 88a5d5e5d..000000000 --- a/frontend/src/assets/scss/core/badges/_badge-circle.scss +++ /dev/null @@ -1,17 +0,0 @@ -// -// Circle badge -// - - -// General styles - -.badge-circle { - text-align: center; - display: inline-flex; - align-items: center; - justify-content: center; - border-radius: 50%; - width: 2rem; - height: 2rem; - font-size: .875rem; -} diff --git a/frontend/src/assets/scss/core/badges/_badge-dot.scss b/frontend/src/assets/scss/core/badges/_badge-dot.scss deleted file mode 100644 index 1ed6ffa86..000000000 --- a/frontend/src/assets/scss/core/badges/_badge-dot.scss +++ /dev/null @@ -1,42 +0,0 @@ -// -// Dot badge -// - - -// General styles - -.badge-dot { - padding-left: 0; - padding-right: 0; - background: transparent; - font-weight: $font-weight-normal; - font-size: $font-size-sm; - text-transform: none; - - strong { - color: $gray-800; - } - - i { - display: inline-block; - vertical-align: middle; - width: .375rem; - height: .375rem; - border-radius: 50%; - margin-right: .375rem; - } - - &.badge-md { - i { - width: .5rem; - height: .5rem; - } - } - - &.badge-lg { - i { - width: .625rem; - height: .625rem; - } - } -} diff --git a/frontend/src/assets/scss/core/badges/_badge.scss b/frontend/src/assets/scss/core/badges/_badge.scss deleted file mode 100644 index b0d626a1e..000000000 --- a/frontend/src/assets/scss/core/badges/_badge.scss +++ /dev/null @@ -1,55 +0,0 @@ -// -// Badge -// - - -// General styles - -.badge { - text-transform: $badge-text-transfom; - - a { - color: $white; - } -} - - -// Size variations - -.badge-md { - padding: .65em 1em; -} - -.badge-lg { - padding: .85em 1.375em; -} - - -// Multiple inline badges - -.badge-inline { - margin-right: .625rem; - - + span { - top: 2px; - position: relative; - - > a { - text-decoration: underline; - } - } -} - - -// Badge spacing inside a btn with some text - -.btn { - .badge { - &:not(:first-child) { - margin-left: .5rem; - } - &:not(:last-child) { - margin-right: .5rem; - } - } -} diff --git a/frontend/src/assets/scss/custom/_components.scss b/frontend/src/assets/scss/custom/_components.scss index 8a71d41f6..8a18e63be 100644 --- a/frontend/src/assets/scss/custom/_components.scss +++ b/frontend/src/assets/scss/custom/_components.scss @@ -4,7 +4,6 @@ @import "custom/alert"; @import "custom/avatar"; -@import "custom/badge"; @import "custom/buttons"; @import "custom/card"; @import "custom/chart"; diff --git a/frontend/src/components/Badge.vue b/frontend/src/components/Badge.vue deleted file mode 100644 index d3cbf543d..000000000 --- a/frontend/src/components/Badge.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - diff --git a/frontend/src/components/BaseTable.vue b/frontend/src/components/BaseTable.vue deleted file mode 100644 index 38ecc6039..000000000 --- a/frontend/src/components/BaseTable.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - {{ column }} - - - - - - - - {{ itemValue(item, column) }} - - - - - - - - diff --git a/frontend/src/components/index.js b/frontend/src/components/index.js index 60ff67e81..bbc3e51d2 100755 --- a/frontend/src/components/index.js +++ b/frontend/src/components/index.js @@ -1,7 +1,3 @@ -import Badge from './Badge' - -import BaseTable from './BaseTable.vue' - import BaseNav from './Navbar/BaseNav' import NavbarToggleButton from './Navbar/NavbarToggleButton' @@ -14,8 +10,6 @@ import BaseSlider from './BaseSlider.vue' import SidebarPlugin from './SidebarPlugin' export { - Badge, - BaseTable, SidebarPlugin, BaseNav, NavbarToggleButton, diff --git a/frontend/src/plugins/globalComponents.js b/frontend/src/plugins/globalComponents.js index a16c021d9..aeb268d73 100755 --- a/frontend/src/plugins/globalComponents.js +++ b/frontend/src/plugins/globalComponents.js @@ -1,10 +1,8 @@ -import Badge from '@/components/Badge.vue' import BaseNav from '@/components/Navbar/BaseNav' import { ValidationProvider, ValidationObserver } from 'vee-validate' const GlobalComponents = { install(Vue) { - Vue.component(Badge.name, Badge) Vue.component(BaseNav.name, BaseNav) Vue.component('validation-provider', ValidationProvider) Vue.component('validation-observer', ValidationObserver)