com web/shared: Default megadropdown styles: styles/defaults.css templates/header.inc
| From: | Hannes Magnusson | Date: | Mon, 30 Dec 2013 21:04:19 +0000 |
| Subject: | com web/shared: Default megadropdown styles: styles/defaults.css templates/header.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17927@lists.php.net to get a copy of this message | ||
Commit: 1471bf399966e3ae1c53e361a684b6a15391104e
Author: Hannes Magnusson <bjori@mongodb.com> Mon, 30 Dec 2013 13:03:50 -0800
Parents: 8e462af955c37aee11f313f1b73ca9ed72b854c2
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=1471bf399966e3ae1c53e361a684b6a15391104e
Log:
Default megadropdown styles
Changed paths:
M styles/defaults.css
M templates/header.inc
Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index d0ebade..b75af8b 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -199,6 +199,32 @@ th {
}
/* }}} */
+/* {{{ Mega Drop Down */
+#megadropdown {
+ display: none;
+ background-color: #333;
+ height: 100%;
+ width: 100%;
+ opacity: 0.9;
+ position: fixed;
+ top: 0;
+ z-index: 5000;
+}
+#megadropdown dt {
+ color: #eee;
+}
+#megadropdown dl {
+ display: inline-block;
+ vertical-align: top;
+}
+#megadropdown a {
+ color: #eee;
+ display: block;
+ border-bottom: none;
+ padding: 1px;
+}
+/* }}} */
+
/* {{{ Responsive styles */
#mainmenu-toggle-overlay, #mainmenu-toggle {
display: none;
diff --git a/templates/header.inc b/templates/header.inc
index 071e87b..7e7a8a3 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -69,6 +69,7 @@ isset($SEARCH) || $SEARCH = array();
<?php endif ?>
</nav>
</header>
+<nav id="megadropdown"></nav>
<section class="fullscreen">