[improvement] Badge: add less vars (#3131)

This commit is contained in:
neverland
2019-04-11 09:57:16 +08:00
committed by GitHub
parent 26543e89eb
commit b4fc5df926
3 changed files with 26 additions and 11 deletions
+15
View File
@@ -32,6 +32,21 @@
@action-sheet-close-icon-size: 18px;
@action-sheet-close-icon-color: @gray-dark;
// Badge
@badge-font-size: 14px;
@badge-line-height: 1.4;
@badge-text-color: @gray-darker;
@badge-padding: 20px 12px 20px 9px;
@badge-active-color: @active-color;
@badge-background-color: @background-color;
@badge-selected-font-weight: 500;
@badge-selected-text-color: @text-color;
@badge-selected-border-color: @red;
@badge-selected-background-color: @white;
// BadgeGroup
@badge-group-width: 85px;
// Button
@button-mini-height: 22px;
@button-mini-min-width: 50px;