app/assets/stylesheets/govuk-template.css.erb in govuk_template-0.6.0 vs app/assets/stylesheets/govuk-template.css.erb in govuk_template-0.6.1
- old
+ new
@@ -131,26 +131,28 @@
fieldset {
border: none;
padding: 0; }
-a,
+a:link {
+ color: #2e3191; }
+
a:visited {
color: #2e3191; }
a:hover {
color: #2e8aca; }
a:active {
color: #2e8aca; }
a[rel="external"]:after {
- background-image: url(<%= asset_path 'external-link.png' %>);
+ background-image: url(<%= asset_path 'external-links/external-link.png' %>);
background-repeat: no-repeat; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
a[rel="external"]:after {
- background-image: url(<%= asset_path 'external-link-24x24.png' %>);
+ background-image: url(<%= asset_path 'external-links/external-link-24x24.png' %>);
background-size: 12px 400px; } }
a[rel="external"]:after {
content: "\A0\A0\A0\A0";
background-position: right 6px; }
a[rel="external"]:hover:after {
@@ -166,14 +168,14 @@
content: "\A0\A0\A0\A0\A0\A0\A0\A0";
background-position: right 0px; }
.external-link:hover:after {
background-position: right 0px; }
.external-link:after {
- background-image: url(<%= asset_path 'external-link-black-12x12.png' %>);
+ background-image: url(<%= asset_path 'external-links/external-link-black-12x12.png' %>);
background-repeat: no-repeat; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
.external-link:after {
- background-image: url(<%= asset_path 'external-link-black-24x24.png' %>);
+ background-image: url(<%= asset_path 'external-links/external-link-black-24x24.png' %>);
background-size: 12px 400px; } }
/*
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
* http://clagnut.com/blog/348/#c790