tachybase_todo/.dumi/theme/builtins/Badge.less
chenos d5d0e1036b
docs: add docs (#75)
* docs: add docs

* ignore dumi theme test

* fix: error TS2717: Subsequent property declarations must have the same type.

* update docs

* deploy gh-pages

* plugins docs

* hash & cname

* exportStatic

* ssr

* vercel

* vercel

* fix: deploy vercel

* Delete vercel.json

* docs

* fix APP_DIST

* on master branch
2021-04-17 21:33:21 +08:00

32 lines
549 B
Plaintext
Executable File

@import (reference) '../style/variables.less';
.@{prefix}-badge {
display: inline-block;
margin-left: 6px;
padding: 1px 7px;
color: #fff;
font-size: 13px;
line-height: 20px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.06);
border-radius: 1px;
vertical-align: top;
&:not([type]),
&[type='info'] {
background: #4569d4;
}
&[type='warning'] {
background: #ffc121;
}
&[type='success'] {
background: #8cd225;
}
&[type='error'] {
background: #ff4646;
}
}