}
html body {
-/* font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 0.9em;
- color: #3D658C;
- background: white;*/
- background-color: #EBE8E4;
- color: #222;
- font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- font-weight: 300;
- font-size: 15px;
+ background-color: #EBE8E4;
+ color: #222;
+ font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
+ font-weight: 300;
+ font-size: 15px;
}
nav {
- background-color: #fff;
- border: 1px solid #dedede;
- border-radius: 4px;
- box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
- color: #888;
- display: block;
- margin: 8px 22px 8px 22px;
- overflow: hidden;
- width: 90%;
+ background-color: #fff;
+ border: 1px solid #dedede;
+ border-radius: 4px;
+ box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
+ color: #888;
+ display: block;
+ margin: 8px 22px 8px 22px;
+ overflow: hidden;
+ width: 90%;
}
nav ul {
transition: all 0.2s;
}
- nav > ul > li > a > .caret {
+ nav > ul > li > a > .caret,
+ nav > ul > li > div ul > li > a > .caret {
border-top: 4px solid #aaa;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
transition: color 0.1s linear;
}
+nav > ul > li > div ul > li > a > .caret {
+ border-bottom: 4px solid transparent;
+ border-top: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-left: 4px solid #f2f2f2;
+ margin: 0 0 0 8px;
+}
+
nav > ul > li > a {
color: #aaa;
display: block;
border-top-color: rgb( 255, 255, 255 );
}
-nav > ul > li > div {
+nav > ul > li > div ul > li:hover > a > .caret {
+ border-left-color: rgb(255,255,255);
+}
+
+nav > ul > li > div,
+nav > ul > li > div ul > li > div {
background-color: rgb( 40, 44, 47 );
border-top: 0;
border-radius: 0 0 4px 4px;
-transition: opacity 0.2s;
}
-nav > ul > li:hover > div {
+nav > ul > li > div ul > li > div {
+ background-color: rgb( 40, 44, 47 );
+ border-radius: 0 4px 4px 4px;
+ box-shadow: inset 2px 0 5px rgba(0,0,0,.15);
+ margin-top: -42px;
+ right: -165px;
+}
+
+nav > ul > li:hover > div,
+nav > ul > li > div ul > li:hover > div {
display: block;
opacity: 1;
visibility: visible;
}
-nav > ul > li > div ul > li {
+nav > ul > li > div ul > li,
+nav > ul > li > div ul > li > div ul > li {
display: block;
+ position: relative;
}
-nav > ul > li > div ul > li > a {
+nav > ul > li > div ul > li > a,
+nav > ul > li > div ul > li > div ul > li > a {
color: #fff;
display: block;
padding: 12px 24px;
<title>__TITLE__</title>
</head>
<body>
+<!--
<nav>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="auth.php?op=logout">Logout</a></li>
</ul>
+</nav>
+-->
+<nav>
+ <ul>
+ <li><a href="index.php">Home</a></li>
+ <li>
+ <a href="#">Sections <span class="caret"></span></a>
+ <div>
+ <ul>
+ <li>
+ <a href="qtadmin.php">Quarantine admin <span class="caret"></span></a>
+ </li>
+ <li><a href="#">WB list admin</a>
+ <div>
+ <ul>
+ <li><a href="wblist.php?p=show&s=all">Show All</a></li>
+ <li><a href="wblist.php?p=show&s=b">Show Blacklist</a></li>
+ <li><a href="wblist.php?p=show&s=w">Show Whitelist</a></li>
+ <li><a href="wblist.php?p=add">Add Rule</a></li>
+ <li><a href="wblist.php?p=del">Delete Rule</a></li>
+ </ul>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </li>
+ <li><a href="about.html">About</a></li>
+ <li><a href="auth.php?op=logout">Logout</a></li>
+ </ul>
</nav>
<div id="container">';
private $footer = '</div><div id="footer"><p>Powered by <a href="https://qtadmin.datanom.net"