diff options
| author | Mark Otto <[email protected]> | 2013-08-18 15:10:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-18 15:10:48 -0700 |
| commit | 8d8d165ee74910a4acc66592f2f638e8cf2cedd7 (patch) | |
| tree | 3e4e4994b0d00eca5e74c6b4d3067faf7787de9d | |
| parent | 518488cb4069b4181435873380d0738e8b63bc81 (diff) | |
| parent | 743fc9ac7e7d0b82a5443855631122c1e0a7e0bd (diff) | |
| download | bootstrap-8d8d165ee74910a4acc66592f2f638e8cf2cedd7.tar.xz bootstrap-8d8d165ee74910a4acc66592f2f638e8cf2cedd7.zip | |
Merge pull request #9800 from ZDroid/patch-1
Nesting for link styles
| -rw-r--r-- | less/scaffolding.less | 18 |
1 files changed, 10 insertions, 8 deletions
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(); + } } |
