This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen_1.x. See http://git.chorem.org/pollen_1.x.git commit f0a084722871454883533bad532a91ba50562edd Author: Eric Chatellier <chatellier@codelutin.com> Date: Thu Nov 12 15:30:57 2015 +0100 Center logo on home page. --- .../src/main/webapp/WEB-INF/jsp/home.jsp | 2 +- pollen-ui-struts2/src/main/webapp/css/common.css | 52 +++++++++++----------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/home.jsp b/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/home.jsp index c0ee543..c605bf8 100644 --- a/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/home.jsp +++ b/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/home.jsp @@ -26,7 +26,7 @@ <br/> -<div class="center" style="margin-bottom:20px;"> +<div class="centerimg" style="margin-bottom:20px;"> <img src="<s:url value='/img/pollen_%{safeLanguage}.png' />" alt="Pollen logo"/> </div> diff --git a/pollen-ui-struts2/src/main/webapp/css/common.css b/pollen-ui-struts2/src/main/webapp/css/common.css index 917b7a0..3ceb108 100644 --- a/pollen-ui-struts2/src/main/webapp/css/common.css +++ b/pollen-ui-struts2/src/main/webapp/css/common.css @@ -52,6 +52,9 @@ .center { text-align: center; } +.centerimg { + margin: 0 auto; +} .selected { background-color: yellow; @@ -172,28 +175,27 @@ div.errorMessage{ } #tooltip { - position:absolute; - z-index:9999; - color:#fff; - font-size:10px; - width:180px; - - } - - #tooltip .tipHeader { - height:8px; - background:url(images/tipHeader.gif) no-repeat; - } - - /* IE hack */ - *html #tooltip .tipHeader {margin-bottom:-6px;} - - #tooltip .tipBody { - background-color:#000; - padding:5px; - } - - #tooltip .tipFooter { - height:8px; - background:url(images/tipFooter.gif) no-repeat; - } + position:absolute; + z-index:9999; + color:#fff; + font-size:10px; + width:180px; +} + +#tooltip .tipHeader { + height:8px; + background:url(images/tipHeader.gif) no-repeat; +} + +/* IE hack */ +*html #tooltip .tipHeader {margin-bottom:-6px;} + +#tooltip .tipBody { + background-color:#000; + padding:5px; +} + +#tooltip .tipFooter { + height:8px; + background:url(images/tipFooter.gif) no-repeat; +} -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.