aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss35
-rw-r--r--web/cobrands/sass/_layout.scss8
2 files changed, 25 insertions, 18 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index 9d6052c45..b13dc636a 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -1626,24 +1626,6 @@ html.js #map .noscript {
}
}
-// Loading indicator
-
-#loading-indicator {
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: #000;
- opacity: 0.4;
- text-align: center;
-
- img {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- }
-}
-
.big-green-banner {
position: relative;
top: -1.75em;
@@ -1786,6 +1768,23 @@ a:hover.rap-notes-trigger {
}
}
+#loading-indicator {
+ height: 32px;
+ width: 32px;
+ position: relative;
+ background-color: #333;
+ border-radius: 0.25em;
+ padding: 0.25em;
+ // Offset from top same as fms_pan_zoom, from left so as not
+ // to appear on top of zoom buttons (0.5em, 36px, 0.5em)
+ top: 0.5em;
+ left: 3.25em;
+ .map-reporting & {
+ // Same as fms_pan_zoom above, leaving space for the top bar when reporting
+ top: 2.75em;
+ }
+}
+
/* Reporting a problem bits */
label .muted {
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index a0c27863e..5a78ff4d5 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -720,6 +720,14 @@ body.authpage {
margin-bottom: 0;
}
+#loading-indicator {
+ height: 64px;
+ width: 64px;
+ background-color: rgba(0, 0, 0, 0.7);
+ // Reset the base left, as zoom buttons now elsewhere
+ left: 0.5em;
+}
+
.big-green-banner {
top: auto;
margin: (-1em/1.375) (-1em/1.375) 0 (-1em/1.375);