From bdc68333d66fca64db3f65a790a11de2d15db958 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 23 Jan 2017 15:38:53 +0800 Subject: CHG: Cleanup codes and add more focus style --- src/variables.less | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/variables.less') diff --git a/src/variables.less b/src/variables.less index f74297f..1a9d6ab 100644 --- a/src/variables.less +++ b/src/variables.less @@ -44,12 +44,19 @@ display: table; } } +.control-shadow() { + box-shadow: 0 0 .4rem fade(@core-color, 25%); +} +.control-transition() { + transition: all .15s ease; +} .toast-variant(@color) { background: fade(@color, 90%); border-color: @color; } .label-base() { border-radius: .2rem; + font-size: .9em; padding: .1em .3em; vertical-align: baseline; } -- cgit v1.3.1-23-gd82d