fix: some icon releated style and move button margin

This commit is contained in:
07akioni 2019-08-07 14:52:24 +08:00
parent 1ce80e430c
commit 77b0e6e4b3
8 changed files with 14 additions and 12 deletions

View File

@ -71,8 +71,8 @@ Vue.use(naiveUi)
|Radio|😍|||
|Tab|🚧|||
|Breadcrumb|🚧|||
|Badge|🚧|||
|Steps|🚧|||
|Badge|😍|||
|Steps|😍|||
|Tag|🚧|||
|Divider|🚧|||
|Statistic|🚧|||

View File

@ -190,13 +190,13 @@ Vue.use(naiveUi)
</tr>
<tr>
<td>Badge</td>
<td style="text-align:center;">🚧</td>
<td style="text-align:center;">😍</td>
<td style="text-align:center;"></td>
<td></td>
</tr>
<tr>
<td>Steps</td>
<td style="text-align:center;">🚧</td>
<td style="text-align:center;">😍</td>
<td style="text-align:center;"></td>
<td></td>
</tr>

View File

@ -39,6 +39,7 @@ import Scrollbar from './packages/common/Scrollbar'
import Steps from './packages/common/Steps'
import Confirm from './packages/common/Confirm'
import Badge from './packages/common/Badge'
import Tag from './packages/common/Tag'
function install (Vue) {
Card.install(Vue)
@ -82,6 +83,7 @@ function install (Vue) {
Confirm.install(Vue)
Progress.install(Vue)
Badge.install(Vue)
Tag.install(Vue)
}
export default {

View File

@ -17,23 +17,22 @@
}
&.n-badge--success-type {
.n-badge-sup {
color: rgba(75, 81, 106, 1);
background-color: rgba(99, 226, 183, 1);
background-color: rgba(9, 133, 91, 1);
}
}
&.n-badge--info-type {
.n-badge-sup {
background-color: rgba(98, 187, 252, 1);
background-color: rgba(56, 137, 197, 1);
}
}
&.n-badge--warning-type {
.n-badge-sup {
background-color: rgba(255, 138, 0, 1);
background-color: rgba(216, 94, 0, 1);
}
}
&.n-badge--error-type {
.n-badge-sup {
background-color: rgba(255, 146, 164, 1);
background-color: rgba(210, 82, 129, 1);
}
}
}
@ -44,7 +43,7 @@
height: 18px;
line-height: 18px;
border-radius: 9px;
background-color: rgba(237, 73, 99, 1);
background-color: rgba(186, 45, 67, 1);
padding: 0 6px;
text-align: center;
font-size: 12px;

View File

@ -9,7 +9,6 @@
cursor: pointer;
user-select: none;
font-weight: 700;
margin: $button-margin;
text-align: center;
.n-button__icon {
margin-right: 2px;

View File

@ -7,7 +7,7 @@
text-align: center;
display: inline-block;
position: relative;
vertical-align: middle;
vertical-align: bottom;
&::before {
line-height: 1em;
width: 1em;

View File

@ -18,6 +18,7 @@
}
.n-input__icon {
position: absolute;
line-height: 18px;
height: 18px;
width: 18px;
i {

View File

@ -29,6 +29,7 @@
@import './Steps.scss';
@import './Progress.scss';
@import './Badge.scss';
@import './Tag.scss';
@import "./NimbusServiceLayout.scss";
@import "./Popover.scss";