X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fcss%2Fsyj.css;h=b5151ae42799231bec92545d07e4e1f9c6bfbdfb;hp=18e5927c8c8cfbd68568fbdb17a7e94f391d136e;hb=591799b685ba18b84ad5230a5d84a11daa380136;hpb=db98e1f62272cff0b425133aa3b909c5cfa6183d diff --git a/public/css/syj.css b/public/css/syj.css index 18e5927..b5151ae 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; @@ -33,7 +38,7 @@ body, html { bottom: 3.5em; width: 40%; margin: 0px 45% 0px 15%; - padding: 1.5em 1.5em 1.5em 1.5em; + padding: 1.5em 1.5em 0.5em 1.5em; text-align: center; border-width: 2px; border-style: solid; @@ -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 @@ -50,8 +60,70 @@ body, html { text-align: right; } +.menu-group { + z-index: 10; /* to be over nominatim-suggestions */ + position: relative; /* otherwise, under #map in ie */ + float: right; + clear: right; + padding-top: 8px; + padding-left: 3em; + opacity: 0.85; + filter:alpha(opacity=85); +} + +.menu-item { + position: relative; /* otherwise, under #map in ie */ + min-width: 150px; + margin: 2px 10px 2px 0; + background-color: white; + text-decoration: none; + border: #1E90FF 2px solid; + padding: 2px 15px 2px 15px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + background-color: white; + cursor: pointer; +} +.menu-item:hover { + background-color: #E0E0FF; +} + +.info-title { + text-decoration: underline; +} + +#path-infos-content { + text-align: center; + padding: 4px 15px 15px 15px; +} + +#path-export-title { + margin-top: 1em; +} +#path-export-content a { + text-decoration: none; +} + +#path-length { + text-align: center; + position: absolute; /* otherwise, under #map in ie */ + top: 1em; + left: 5em; + opacity: 0.85; + margin-right: 12px; + filter:alpha(opacity=85); + background-color: white; + padding: 2px 15px 2px 15px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + background-color: white; +} + #data_controls { position: absolute; + z-index: 11; /* to be over login-controls */ right: 0.5em; bottom: 3em; text-align: center; @@ -89,25 +161,53 @@ body, html { border: 1px solid black; padding: 0; } + +#geomform { + padding: 25px 45px 20px 45px; + *width: 40%; /* otherwise takes all screen width in ie<7 */ +} +#edit-btn { + margin-top: 1em; +} +#geom_title { + margin-top: 0.7em; +} +#geom_submit { + margin-top: 0.7em; +} + +#other-language { + opacity: 0.85; + filter:alpha(opacity=85); + background-color: white; + padding: 5px 1px 5px 1px; + position: relative; /* otherwise, under #map in ie */ + margin-bottom: 10px; +} + +/* nominatim-suggestions */ #nominatim-suggestions { + text-align: left; border: 2px solid blue; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; - margin-top: 8px; max-width: 360px; width: 360px\9; /* ie only */ - position: absolute; background-color: white; -} -#nominatim-suggestions-title { - text-align: center; - font-weight: bold; + position: absolute; + right: 8px; } #nominatim-suggestions-list { + margin-left: 0; + position: relative; list-style: none; padding: 0 16px 0 12px; } +#nominatim-suggestions-title { + text-align: center; + font-weight: bold; +} #nominatim-suggestions-list li.current { background-color: #D3D3D3; } @@ -120,58 +220,7 @@ body, html { text-decoration: none; } -#geomform { - padding: 25px 45px 20px 45px; - *width: 40%; /* otherwise takes all screen width in ie<7 */ -} -#edit-btn { - margin-top: 1em; -} -#geom_title { - margin-top: 0.7em; -} -#geom_submit { - margin-top: 0.7em; -} - -#login_controls { - padding-top: 8px; - padding-left: 3em; - clear: right; - position: relative; /* otherwise, under #map in ie */ -} - -.login-anchor { - float: right; - clear: right; - min-width: 150px; - margin: 2px 10px 2px 0; - background-color: white; - text-decoration: none; - color: #0000EE; - border: #1E90FF 2px solid; - padding: 2px 15px 2px 15px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - background-color: white; - opacity: 0.85; - filter:alpha(opacity=85); -} -.login-anchor:hover { - background-color: #BBBBFF; -} - -#other-language { - opacity: 0.85; - filter:alpha(opacity=85); - background-color: white; - padding: 5px 1px 5px 1px; - position: relative; /* otherwise, under #map in ie */ -} - -/* - * login rules +/* * login rules */ .modal { background-color: white; @@ -212,16 +261,3 @@ body, html { opacity: 1; filter:alpha(opacity=100); } - -/* - * printing - */ -@media print { - @page { - size: landscape; - } - - #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{ - display: none; - } -}