feat: Bootstrap Vue components changed to Coreui-Vue components

This commit is contained in:
woothu
2019-02-18 17:27:13 +01:00
parent 6433e8ac1e
commit 2057ba6b5c
47 changed files with 7751 additions and 8387 deletions
+3 -4
View File
@@ -1,9 +1,9 @@
<template>
<b-col xl="2" md="4" sm="6" xs="12" class="mb-4">
<CCol xl="2" md="4" sm="6" xs="12" class="mb-4">
<div :class="[classObj, color]" :style="{ paddingTop: '75%' }"></div>
<slot></slot>
<color-view/>
</b-col>
<ColorView/>
</CCol>
</template>
<script>
@@ -23,4 +23,3 @@ export default {
}
}
</script>
+52 -53
View File
@@ -1,67 +1,66 @@
<template>
<div class="animated fadeIn">
<b-card header-tag="header">
<div slot="header">
<CCard >
<CCardHeader slot="header">
<i class="icon-drop"></i> Theme colors
</div>
<b-card-body>
<b-row>
<color-theme color="bg-primary">
</CCardHeader>
<CCardBody slot="body">
<CRow>
<ColorTheme color="bg-primary">
<h6>Brand Primary Color</h6>
</color-theme>
<color-theme color="bg-secondary"><h6>Brand Secondary Color</h6></color-theme>
<color-theme color="bg-success"><h6>Brand Success Color</h6></color-theme>
<color-theme color="bg-danger"><h6>Brand Danger Color</h6></color-theme>
<color-theme color="bg-warning"><h6>Brand Warning Color</h6></color-theme>
<color-theme color="bg-info"><h6>Brand Info Color</h6></color-theme>
<color-theme color="bg-light"><h6>Brand Light Color</h6></color-theme>
<color-theme color="bg-dark"><h6>Brand Dark Color</h6></color-theme>
</b-row>
</b-card-body>
</b-card>
<b-card header-tag="header">
<div slot="header">
</ColorTheme>
<ColorTheme color="bg-secondary"><h6>Brand Secondary Color</h6></ColorTheme>
<ColorTheme color="bg-success"><h6>Brand Success Color</h6></ColorTheme>
<ColorTheme color="bg-danger"><h6>Brand Danger Color</h6></ColorTheme>
<ColorTheme color="bg-warning"><h6>Brand Warning Color</h6></ColorTheme>
<ColorTheme color="bg-info"><h6>Brand Info Color</h6></ColorTheme>
<ColorTheme color="bg-light"><h6>Brand Light Color</h6></ColorTheme>
<ColorTheme color="bg-dark"><h6>Brand Dark Color</h6></ColorTheme>
</CRow>
</CCardBody>
</CCard>
<CCard >
<CCardHeader slot="header">
<i class="icon-drop"></i> Grays
</div>
<b-card-body>
<b-row>
<color-theme color="bg-gray-100"><h6>Brand 100 Color</h6></color-theme>
<color-theme color="bg-gray-200"><h6>Brand 200 Color</h6></color-theme>
<color-theme color="bg-gray-300"><h6>Brand 300 Color</h6></color-theme>
<color-theme color="bg-gray-400"><h6>Brand 400 Color</h6></color-theme>
<color-theme color="bg-gray-500"><h6>Brand 500 Color</h6></color-theme>
<color-theme color="bg-gray-600"><h6>Brand 600 Color</h6></color-theme>
<color-theme color="bg-gray-700"><h6>Brand 700 Color</h6></color-theme>
<color-theme color="bg-gray-800"><h6>Brand 800 Color</h6></color-theme>
<color-theme color="bg-gray-900"><h6>Brand 900 Color</h6></color-theme>
</b-row>
</b-card-body>
</b-card>
<b-card header-tag="header">
<div slot="header">
</CCardHeader>
<CCardBody slot="body">
<CRow>
<ColorTheme color="bg-gray-100"><h6>Brand 100 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-200"><h6>Brand 200 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-300"><h6>Brand 300 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-400"><h6>Brand 400 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-500"><h6>Brand 500 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-600"><h6>Brand 600 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-700"><h6>Brand 700 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-800"><h6>Brand 800 Color</h6></ColorTheme>
<ColorTheme color="bg-gray-900"><h6>Brand 900 Color</h6></ColorTheme>
</CRow>
</CCardBody>
</CCard>
<CCard >
<CCardHeader slot="header">
<i class="icon-drop"></i> Additional colors
</div>
<b-card-body>
<b-row>
<color-theme color="bg-blue"><h6>Brand Blue Color</h6></color-theme>
<color-theme color="bg-indigo"><h6>Brand Indigo Color</h6></color-theme>
<color-theme color="bg-purple"><h6>Brand Purple Color</h6></color-theme>
<color-theme color="bg-pink"><h6>Brand Pink Color</h6></color-theme>
<color-theme color="bg-red"><h6>Brand Red Color</h6></color-theme>
<color-theme color="bg-orange"><h6>Brand Orange Color</h6></color-theme>
<color-theme color="bg-yellow"><h6>Brand Yellow Color</h6></color-theme>
<color-theme color="bg-green"><h6>Brand Green Color</h6></color-theme>
<color-theme color="bg-teal"><h6>Brand Teal Color</h6></color-theme>
<color-theme color="bg-cyan"><h6>Brand Cyan Color</h6></color-theme>
</b-row>
</b-card-body>
</b-card>
</CCardHeader>
<CCardBody slot="body">
<CRow>
<ColorTheme color="bg-blue"><h6>Brand Blue Color</h6></ColorTheme>
<ColorTheme color="bg-indigo"><h6>Brand Indigo Color</h6></ColorTheme>
<ColorTheme color="bg-purple"><h6>Brand Purple Color</h6></ColorTheme>
<ColorTheme color="bg-pink"><h6>Brand Pink Color</h6></ColorTheme>
<ColorTheme color="bg-red"><h6>Brand Red Color</h6></ColorTheme>
<ColorTheme color="bg-orange"><h6>Brand Orange Color</h6></ColorTheme>
<ColorTheme color="bg-yellow"><h6>Brand Yellow Color</h6></ColorTheme>
<ColorTheme color="bg-green"><h6>Brand Green Color</h6></ColorTheme>
<ColorTheme color="bg-teal"><h6>Brand Teal Color</h6></ColorTheme>
<ColorTheme color="bg-cyan"><h6>Brand Cyan Color</h6></ColorTheme>
</CRow>
</CCardBody>
</CCard>
</div>
</template>
<script>
import ColorTheme from './ColorTheme'
export default {
name: 'colors',
components: { ColorTheme }