You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.2 KiB

9 years ago
@import "../mixins/index";
@tag-prefix-cls: ~"@{css-prefix}tag";
9 years ago
.@{tag-prefix-cls} {
9 years ago
display: inline-block;
line-height: 22px;
height: 22px;
padding: 0 8px;
border-radius: 20px;
background: #f3f3f3;
font-size: @font-size-base;
margin-right: 4px;
margin-bottom: 8px;
transition: all 0.3s @ease-in-out-circ;
transform-origin: 100% 50%;
9 years ago
vertical-align: middle;
opacity: 0.85;
overflow: hidden;
9 years ago
&:hover {
opacity: 1;
}
&,
a,
a:hover {
color: @text-color;
}
.anticon-cross {
.iconfont-size-under-12px(10px);
9 years ago
cursor: pointer;
font-weight: bold;
margin-left: 3px;
position: relative;
top: -1px;
color: #666;
9 years ago
transition: all 0.3s ease;
opacity: 0.66;
&:hover {
opacity: 1;
}
}
&-blue,
&-green,
&-yellow,
&-red {
&,
a,
a:hover,
.anticon-cross,
.anticon-cross:hover {
color: #fff;
}
}
&-blue {
background: @primary-color;
}
&-green {
background: @success-color;
}
&-yellow {
background: @warning-color;
}
&-red {
background: @error-color;
}
9 years ago
&-close {
width: 0 !important;
padding: 0;
margin-right: 0;
}
9 years ago
}