X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fcss%2Fsyj.css;h=e8b6d43d421b4f6203d20d73050709ee23cf31c9;hp=c6ba41269c011e380c9ec651d4795039a33c7329;hb=900d1254794c9dcd434c9fb13beac6bc1e9a6ab9;hpb=925b83c0d6703c33469ec668171ac11f36db7980 diff --git a/public/css/syj.css b/public/css/syj.css index c6ba412..e8b6d43 100644 --- a/public/css/syj.css +++ b/public/css/syj.css @@ -43,21 +43,112 @@ body, html { } /* - * controls rules + * menu rules */ + +#menu { + 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; +} +.menu-item:hover { + background-color: #BBBBFF; +} + +.info-title { + text-decoration: underline; +} + +#path-infos-content { + text-align: center; + padding: 4px 15px 15px 15px; +} + +#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; right: 0.5em; bottom: 3em; text-align: center; background-color: white; - padding: 25px 45px 20px 45px; opacity: 0.85; filter:alpha(opacity=85); border: 1px solid gray; + margin: auto; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; } -#clone-btn { - margin-bottom: 1em; +#data_controls_btns { + padding: 5px 10px 5px 10px; +} + +#nominatim-form { + text-align: left; + padding-bottom: 7px; + margin-bottom: 3px; + border-bottom: 1px solid black; +} +#nominatim-message { + max-width: 16em; + padding: 15px 0 15px 0; +} +#nominatim-label { + text-decoration: none; +} +#nominatim-search { + border: 1px solid black; +} +#nominatim-submit { + width: 26px; + 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; @@ -66,40 +157,50 @@ body, html { margin-top: 0.7em; } -#login_controls { - margin-top: 8px; - margin-left: 3em; +#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-anchor { - display: block; - float: left; - position: relative; +/* nominatim-suggestions */ +#nominatim-suggestions { + text-align: left; + border: 2px solid blue; + -moz-border-radius: 8px; + -webkit-border-radius: 8px; + border-radius: 8px; + max-width: 360px; + width: 360px\9; /* ie only */ background-color: white; - margin: 0px 10px 0px 10px; - 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); + position: absolute; + right: 8px; } -.login-anchor:hover { - background-color: #BBBBFF; +#nominatim-suggestions-list { + margin-left: 0; + position: relative; + list-style: none; + padding: 0 16px 0 12px; } - -#account-info-bullet { - /* in firefox, in image inside an anchor has a border */ +#nominatim-suggestions-title { + text-align: center; + font-weight: bold; +} +#nominatim-suggestions-list li.current { + background-color: #D3D3D3; +} +.nominatim-suggestions-icon { border: none; vertical-align: middle; + margin-right: 4px; +} +.nominatim-suggestions-link { + text-decoration: none; } -/* - * login rules +/* * login rules */ .modal { background-color: white; @@ -124,6 +225,10 @@ body, html { text-align: right; } +#user_control_anchor { + text-align: right; +} + #user_email-desc { margin: 0px 0px 12px 0px; padding: 8px 2px 8px 2px; @@ -132,15 +237,20 @@ body, html { #termsofusearea { height: 50%; + /* override opacity defined in .modal rule */ + opacity: 1; + filter:alpha(opacity=100); } -#other-language { - opacity: 0.85; - filter:alpha(opacity=85); - position: absolute; - right: 10px; - top: 10px; - background-color: white; - padding: 5px 1px 5px 1px; - margin: 0; +/* + * printing + */ +@media print { + @page { + size: landscape; + } + + #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{ + display: none; + } }