From 743fc9ac7e7d0b82a5443855631122c1e0a7e0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sun, 18 Aug 2013 23:28:55 +0200 Subject: Nesting for link styles --- less/scaffolding.less | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'less') diff --git a/less/scaffolding.less b/less/scaffolding.less index 3a6ed3d99..7f6d3bf3a 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -54,14 +54,16 @@ textarea { a { color: @link-color; text-decoration: none; -} -a:hover, -a:focus { - color: @link-hover-color; - text-decoration: underline; -} -a:focus { - .tab-focus(); + + &:hover, + &:focus { + color: @link-hover-color; + text-decoration: underline; + } + + &:focus { + .tab-focus(); + } } -- cgit v1.2.3 From fa3959a1e10da848867be73ac1d18d209367a9b0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 18 Aug 2013 15:05:42 -0700 Subject: rm redundant ampersands from button-groups LESS --- less/button-groups.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/button-groups.less b/less/button-groups.less index 45f2fd0a9..43ada11d9 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -22,11 +22,11 @@ & .btn-default .caret { border-bottom-color: @btn-default-color; } - & .btn-primary, - & .btn-success, - & .btn-warning, - & .btn-danger, - & .btn-info { + .btn-primary, + .btn-success, + .btn-warning, + .btn-danger, + .btn-info { .caret { border-bottom-color: #fff; } -- cgit v1.2.3