From 0e8d3251f5bf75ef919789d55613996d458edbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20BERNIGAUD?= Date: Sat, 27 Aug 2011 18:10:15 +0200 Subject: [PATCH] Added overflow:hidden on the navigation menu That way Apps that have a long name (like OpenStreetGame for instance) show their name troncated instead of continuing over the application frame. --- core/css/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/css/styles.css b/core/css/styles.css index faa0ee0b6d..aeee5a96ee 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -81,7 +81,7 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text- /* NAVIGATION ------------------------------------------------------------- */ -#navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right: 1px #ccc solid; -moz-box-shadow: -3px 0 7px #000; -webkit-box-shadow: -3px 0 7px #000; box-shadow: -3px 0 7px #000; } +#navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right: 1px #ccc solid; -moz-box-shadow: -3px 0 7px #000; -webkit-box-shadow: -3px 0 7px #000; box-shadow: -3px 0 7px #000; overflow:hidden;} #navigation a { display:block; padding:.6em .5em .4em 2.5em; background:#eee 1em center no-repeat; border-bottom:1px solid #ddd; border-top:1px solid #fff; text-decoration:none; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; -webkit-transition:background 300ms; -moz-transition:background 300ms; -o-transition:background 300ms; transition:background 300ms; } #navigation a.active, #navigation a:hover, #navigation a:focus { background-color:#dbdbdb; border-top:1px solid #d4d4d4; border-bottom:1px solid #ccc; color:#333; } #navigation a.active { background-color:#ddd; }