From f3f78136d631892b9247bb345aa70a4d8812507c Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 18 Apr 2016 22:59:52 +0800 Subject: cleanup code & sort CSS properties alphabetically --- src/labels.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/labels.less') diff --git a/src/labels.less b/src/labels.less index f08f5bc..29b3b81 100644 --- a/src/labels.less +++ b/src/labels.less @@ -1,16 +1,16 @@ // Labels .label { + background-color: @core-border-color; + border-radius: .2rem; + color: lighten(@body-font-color, 20%); display: inline-block; - padding: .2rem .4rem; font-size: .9em; line-height: 1em; - color: lighten(@body-font-color, 20%); - background-color: @core-border-color; + margin: -.2rem .1em 0 .1em; + padding: .2rem .4rem; text-align: center; - white-space: nowrap; vertical-align: baseline; - margin: -.2rem .1em 0 .1em; - border-radius: .2rem; + white-space: nowrap; &.label-primary { .toast-variant(@core-color); @@ -27,4 +27,4 @@ &.label-danger { .toast-variant(@control-color-danger); } -} \ No newline at end of file +} -- cgit v1.3.1-23-gd82d