aboutsummaryrefslogtreecommitdiffstats
path: root/web/css/core.scss
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-08-17 18:13:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-08-17 18:13:39 +0100
commit6df503adf0926b67c88466913034ad1b84e57aba (patch)
tree80f263faf02d88c3952ee4ae062ece5b62a4fc19 /web/css/core.scss
parentb751556a124ea74970788f3557c1fc25e7e9fcd5 (diff)
Revert map padding, as broke other pages, highlight a different way.
Diffstat (limited to 'web/css/core.scss')
-rw-r--r--web/css/core.scss32
1 files changed, 28 insertions, 4 deletions
diff --git a/web/css/core.scss b/web/css/core.scss
index 95bb17a7c..2a1bc008a 100644
--- a/web/css/core.scss
+++ b/web/css/core.scss
@@ -212,6 +212,7 @@ $map_width: 500px;
float: right;
width: $map_width + 2px;
position: relative;
+ padding-left: 20px;
background-color: #ffffff;
}
@@ -268,14 +269,33 @@ $map_width: 500px;
}
#text_map {
+ @include problem-banner;
+ padding-left: 0.5em;
+ text-align: left;
margin-top: 0;
- padding: 0.5em;
font-size: 110%;
background-color: #eeeeee;
- -moz-border-radius: 1em;
- -webkit-border-radius: 1em;
- border-radius: 1em;
+ -moz-border-radius-topleft: 1em;
+ -moz-border-radius-bottomleft: 1em;
+ -webkit-border-top-left-radius: 1em;
+ -webkit-border-bottom-left-radius: 1em;
+ border-top-left-radius: 1em;
+ border-bottom-left-radius: 1em;
+ }
+ #text_map_arrow {
+ display: block;
+ position: absolute;
+ top: 0;
+ right: -28px;
+ width: 0;
+ height: 0;
+ line-height: 0;
+ font-size: 0;
+ border-style: solid;
+ border-width: 26px 14px 26px 14px;
+ border-color: #fff #fff #fff #eee;
}
+
#text_no_map {
margin-top: 0;
// background-color: #ffeecc;
@@ -497,6 +517,10 @@ $map_width: 500px;
bottom: 3px !important;
left: 3px;
}
+.olControlPermalink {
+ bottom: 3px !important;
+ right: 3px;
+}
// Printing, SCSS doesn't handle @media nesting