Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Aug 30, 2019
1 parent 66c9a54 commit 7c0992e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions lib/components/capsuleChart/src/main.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.capsule-chart {
.dv-capsule-chart {
position: relative;
display: flex;
flex-direction: row;
box-sizing: border-box;
padding: 10px;
color: #fff;
}
.capsule-chart .label-column {
.dv-capsule-chart .label-column {
display: flex;
flex-direction: column;
justify-content: space-between;
Expand All @@ -15,37 +15,37 @@
text-align: right;
font-size: 12px;
}
.capsule-chart .label-column div {
.dv-capsule-chart .label-column div {
height: 20px;
line-height: 20px;
}
.capsule-chart .capsule-container {
.dv-capsule-chart .capsule-container {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.capsule-chart .capsule-item {
.dv-capsule-chart .capsule-item {
box-shadow: 0 0 3px #999;
height: 10px;
margin: 5px 0px;
border-radius: 5px;
}
.capsule-chart .capsule-item div {
.dv-capsule-chart .capsule-item div {
height: 8px;
margin-top: 1px;
border-radius: 5px;
transition: all 0.3s;
}
.capsule-chart .unit-label {
.dv-capsule-chart .unit-label {
height: 20px;
font-size: 12px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.capsule-chart .unit-text {
.dv-capsule-chart .unit-text {
text-align: right;
display: flex;
align-items: flex-end;
Expand Down
2 changes: 1 addition & 1 deletion lib/components/capsuleChart/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="capsule-chart">
<div class="dv-capsule-chart">
<template v-if="mergedConfig">
<div class="label-column">
<div v-for="item in mergedConfig.data" :key="item.name">{{ item.name }}</div>
Expand Down

0 comments on commit 7c0992e

Please sign in to comment.