]> git.datanom.net - qtadmin.git/commitdiff
First upload of wblist page
authorMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 22:51:29 +0000 (00:51 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 22:51:29 +0000 (00:51 +0200)
css/styles.css
lib/utils.inc.php

index 9ef59690308543145c836522a99ec8f718b4db2a..f430232bd2878bb030f9d9d001f5a082e8f6f839 100644 (file)
@@ -40,27 +40,23 @@ td {
 }
 
 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 {
@@ -78,7 +74,8 @@ nav ul li {
     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;
@@ -94,6 +91,14 @@ nav ul li {
     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;
@@ -114,7 +119,12 @@ nav > ul > li:hover > a > .caret {
     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;
@@ -134,17 +144,29 @@ nav > ul > li > div {
     -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;
index 8f3175a5def2e7c8e8bcae9acdaaf40111962a54..62c3be20c71d136047835400f2801686373cf1c2 100644 (file)
@@ -23,6 +23,7 @@ class Utils {
     <title>__TITLE__</title>
 </head>
 <body>
+<!--
 <nav>
        <ul>
                <li><a href="index.php">Home</a></li>
@@ -38,6 +39,35 @@ class Utils {
                <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&amp;s=all">Show All</a></li>
+                                                               <li><a href="wblist.php?p=show&amp;s=b">Show Blacklist</a></li>
+                                                               <li><a href="wblist.php?p=show&amp;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"
This page took 0.053537 seconds and 5 git commands to generate.