aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/fixamingata/layout.scss
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-05-15 11:04:21 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-05-15 11:04:21 +0100
commit2b0e62e7f77c18454d5a2cfaf876b9d61f1a89f9 (patch)
treeafb67e5d690d9b575ce65efef63b5430c88b62f8 /web/cobrands/fixamingata/layout.scss
parent151197042f368b9c7f3b0267e0fc9bcb1fee04d3 (diff)
parent5bf3d1b8784a025c3fa19a66f7d85d0fe0202c75 (diff)
Merge remote-tracking branch 'origin/issues/commercial/1835-geolocation-button-styling'
Diffstat (limited to 'web/cobrands/fixamingata/layout.scss')
-rw-r--r--web/cobrands/fixamingata/layout.scss27
1 files changed, 12 insertions, 15 deletions
diff --git a/web/cobrands/fixamingata/layout.scss b/web/cobrands/fixamingata/layout.scss
index 6cf0dd47e..25e5b260f 100644
--- a/web/cobrands/fixamingata/layout.scss
+++ b/web/cobrands/fixamingata/layout.scss
@@ -122,26 +122,23 @@ body.mappage {
.content footer .tablewrapper { background: #fff; }
-#front-main {
- a#geolocate_link {
+a#geolocate_link {
+ background: url(images/locate-me.png) $left 0 no-repeat;
+ height: 34px;
+ padding-#{$left}: 24px;
+ margin-top: 0.25em;
+ @media ($high-dpi-screen) {
+ background-image: url(images/locate-me@2.png);
+ background-size: 22px 34px;
+ }
+ &:hover {
+ text-decoration:underline;
background: url(images/locate-me.png) $left 0 no-repeat;
- height: 34px;
- padding-#{$left}: 24px;
- margin-top: 0.25em;
- font-size: 1em;
+
@media ($high-dpi-screen) {
background-image: url(images/locate-me@2.png);
background-size: 22px 34px;
}
- &:hover {
- text-decoration:underline;
- background: url(images/locate-me.png) $left 0 no-repeat;
-
- @media ($high-dpi-screen) {
- background-image: url(images/locate-me@2.png);
- background-size: 22px 34px;
- }
- }
}
}