X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fcss%2Fsyj.css;h=9dc2a6926dfbddcae75a70f3c0c9d406a59ae61e;hb=6633e95b89c1d1eba9b7b0e612becaf11b085d69;hp=df28e44e85615584f020796b3702527a621742da;hpb=c1a905c04d13388cf18a74fd49fb442d496449ac;p=syj.git diff --git a/public/css/syj.css b/public/css/syj.css index df28e44..9dc2a69 100644 --- a/public/css/syj.css +++ b/public/css/syj.css @@ -1,4 +1,4 @@ -/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier, +/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier, and is published under the AGPL license. */ body, html { margin: 0; padding: 0; @@ -9,13 +9,18 @@ body, html { /* * map rules */ -#map { +#map, #map-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 2em; *width: 100%; *height: 100%; } +#map-overlay { + background-color: gray; + opacity: 0.2; + filter:alpha(opacity=0.2); +} .olControlAttribution { bottom: 0.5em; @@ -41,6 +46,11 @@ body, html { -webkit-border-radius: 5px; border-radius: 5px; } +@media screen and (max-width: 640px) { + #message.optional { + display: none; + } +} /* * menu rules @@ -73,6 +83,7 @@ body, html { -webkit-border-radius: 5px; border-radius: 5px; background-color: white; + cursor: pointer; } .menu-item:hover { background-color: #E0E0FF; @@ -112,6 +123,7 @@ body, html { #data_controls { position: absolute; + z-index: 11; /* to be over login-controls */ right: 0.5em; bottom: 3em; text-align: center; @@ -170,6 +182,7 @@ body, html { background-color: white; padding: 5px 1px 5px 1px; position: relative; /* otherwise, under #map in ie */ + margin-bottom: 10px; } /* nominatim-suggestions */ @@ -257,7 +270,7 @@ body, html { size: landscape; } - #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{ + #message, #menu, #user_area, #login_area, #newpwd_area, .olControlPanZoom{ display: none; } }