From 91f43bf6349f4d7d4960fb28317767909075eef0 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 16 Dec 2013 22:57:09 +0000 Subject: [PATCH] Final fixing for now; Add news to top menu --- css/style.css | 27 +++++++++++++++++++++------ includes/header.php | 17 +++++++++-------- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index 1ffc4f0..f1491f2 100644 --- a/css/style.css +++ b/css/style.css @@ -437,16 +437,31 @@ fieldset table { top: 30px; left: 0px; background-color: #111111; - border: 1px solid #222222; - padding: 8px; - padding-top: 0px; + border-top: 1px solid #222222; + padding: 0px; visibility: hidden; text-decoration: none; + z-index: 99; +} + +#div_menuSoftware p { + color: #F0F0F0; + margin: 0 0 0 0; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 16px; + padding-right: 16px; + border: 1px solid #222222; + border-top: 0px; +} + +#div_menuSoftware a { + color: #F0F0F0; + text-decoration: none; } -#div_menuSoftware img { - padding-right: 4px; - padding-top: 8px; +#div_menuSoftware a:hover, #div_menuSoftware a:focus { + color: #6464E6; } #donations_container { diff --git a/includes/header.php b/includes/header.php index 072e9d9..d2e014a 100644 --- a/includes/header.php +++ b/includes/header.php @@ -51,7 +51,8 @@ else*/ if (objSoftwareMenu.style.visibility != "visible") { - objSoftwareMenu.style.left = "" + document.getElementById("item-soft").getBoundingClientRect().left + "px"; + var leftPos = document.getElementById("item-soft").getBoundingClientRect().left - 1; + objSoftwareMenu.style.left = "" + leftPos + "px"; objSoftwareMenu.style.visibility = "visible"; } else @@ -117,16 +118,15 @@ else*/ - + - +
- Applications
- Plugins - +

  Applications

+ +

  Plugins

@@ -140,7 +140,8 @@ else*/ Home