diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-07-21 16:53:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-07-28 16:12:11 +0100 |
commit | 54cfd774535112faf79354729b3592170293dd91 (patch) | |
tree | 6b292e1fdc82c003c31c4e8f4b00029e5bbae0ee | |
parent | 765a7ef0ed33d010c9bc0a02a021d632c9fb9990 (diff) |
Fix over-specific visited link colour.
With the old SCSS, it was setting e.g. a:visited:hover.
-rw-r--r-- | web/cobrands/sass/_base.scss | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index a9ffe7295..98e032598 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -163,15 +163,18 @@ select { width: 100%; } -// links -a, -a:visited { - text-decoration:none; - color:#0BA7D1; +a { + text-decoration: none; + color: #0BA7D1; + + &:visited { + color: #0BA7D1; + } + &:hover, &:active { - text-decoration:underline; - color:#0D7CCE; + text-decoration: underline; + color: #0D7CCE; } } |