X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fcss%2Fsyj.css;h=8e29c424d7b779ed54ae5d73b783f0ec43892a82;hp=9dc2a6926dfbddcae75a70f3c0c9d406a59ae61e;hb=556c960d0d6dc38ad3de6267936a4ab69a322eb0;hpb=6633e95b89c1d1eba9b7b0e612becaf11b085d69 diff --git a/public/css/syj.css b/public/css/syj.css index 9dc2a69..8e29c42 100644 --- a/public/css/syj.css +++ b/public/css/syj.css @@ -1,5 +1,6 @@ /* 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; width: 100%; @@ -25,10 +26,40 @@ body, html { .olControlAttribution { bottom: 0.5em; *bottom: 2.5em; - _bottom: 3.0em; left: 0.5em; } +.olControlLayerSwitcher { + bottom: 4em; + top: auto; + left: 13px; + opacity: 0.75; + height: 6em; + max-width: intrinsic; + max-width: -moz-max-content; +} + +/* setting opacity to .olControlLayerSwitcher does not work */ +.olControlLayerSwitcher .layersDiv, +.olControlLayerSwitcher .maximizeDiv, +.olControlLayerSwitcher .minimizeDiv +{ + filter:alpha(opacity=75); +} + +.olControlLayerSwitcher .dataLayersDiv, .olControlLayerSwitcher .dataLbl { + display: none; +} +.olControlLayerSwitcher .layersDiv { + padding: 5px 12px 5px 36px; +} +.olControlLayerSwitcher .maximizeDiv { + top: -6em; +} +.olControlLayerSwitcher .minimizeDiv { + left: 4px; +} + /* * main message rules */ @@ -38,13 +69,7 @@ body, html { bottom: 3.5em; width: 40%; margin: 0px 45% 0px 15%; - padding: 1.5em 1.5em 1.5em 1.5em; - text-align: center; - border-width: 2px; - border-style: solid; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; + padding-bottom: 0.5em; } @media screen and (max-width: 640px) { #message.optional { @@ -92,17 +117,17 @@ body, html { .info-title { text-decoration: underline; } +.info-content a { + text-decoration: none; +} #path-infos-content { text-align: center; padding: 4px 15px 15px 15px; } -#path-export-title { - margin-top: 1em; -} -#path-export-content a { - text-decoration: none; +.info-content { + margin-bottom: 0.5em; } #path-length { @@ -261,16 +286,3 @@ body, html { opacity: 1; filter:alpha(opacity=100); } - -/* - * printing - */ -@media print { - @page { - size: landscape; - } - - #message, #menu, #user_area, #login_area, #newpwd_area, .olControlPanZoom{ - display: none; - } -}