From: Zlatan Vasović Date: Sun, 18 Aug 2013 21:28:55 +0000 (+0200) Subject: Nesting for link styles X-Git-Tag: v3.0.0~69^2~7^2~3^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9800%2Fhead;p=thirdparty%2Fbootstrap.git Nesting for link styles --- diff --git a/less/scaffolding.less b/less/scaffolding.less index 3a6ed3d99e..7f6d3bf3ac 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(); + } }