]> git.nbdom.net Git - nb.git/commitdiff
dbq css
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 9 Dec 2016 11:56:18 +0000 (11:56 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 9 Dec 2016 11:56:18 +0000 (11:56 +0000)
www/dbq/dbq.php
www/dbq/html/default.css

index c6e418ba5bfafcf1779c762f0868a6e1e991d30c..1cecac58d0892f634a7caffc1ce984cf7212fca6 100644 (file)
@@ -12,7 +12,7 @@ class DbQ extends nb {
     'action' => 'ls',
   ];
 
-  public $colors = [
+  public $_colors = [
     'body' => '#ddd',
     'body-background' => '#009B9C',
 
@@ -22,6 +22,8 @@ class DbQ extends nb {
     'button-background' => '#aaa',
     'button-border' => '#888',
   ];
+  public $colors = [
+  ];
 
   public $css = '/default.css';
   public $ext;
index 731f6e4199566f3a1b98d53ede60a3af6a0d5f39..c573deec3ce37f7a0d0cbf4fd1d6065b9371c106 100644 (file)
@@ -1,5 +1,6 @@
 html {
   font: 90% 'Trebuchet MS', sans-serif;
+  background-color: #eee;
 }
 
 body {
@@ -8,6 +9,7 @@ body {
   margin-right: auto;
   padding-left: 1em;
   padding-right: 1em;
+  color: #444;
 }
 
 h1 {
@@ -39,15 +41,15 @@ th a.sort { padding: 0 0.3em; }
 textarea,
 select,
 input:not([type]),
-input[type='text']
-input[type='password']
-input[type='date']
-input[type='email']
-input[type='url']
-input[type=''], {
-  box-shadow: 0 0 5px 0 #eee;
-  border-radius: 4px;
-  border: solid 1px #eee;
+input[type='text'],
+input[type='password'],
+input[type='date'],
+input[type='email'],
+input[type='url'],
+input[type=''] {
+  border-radius: 3px;
+  border: solid 1px #ddd;
+  padding: 0.3em 0.4em;
 }
 input[size] {
   max-width: 70%;
@@ -69,18 +71,18 @@ form.edit,
 .block,
 object, iframe, pre
 {
-  border-radius: 2px;
+  border-radius: 4px;
   border-collapse: separate;
   border-spacing: 0;
 
   padding: 0.5em 0.2em;
   margin-bottom: 0.5em;
-  border: solid 1px;
+  border: solid 1px #ccc;
 
 }
 
 table.rows { padding: 0; }
-table.rows th, table.rows td { border-bottom: solid 1px; }
+table.rows th, table.rows td { border-bottom: solid 1px #ccc; }
 table.rows tr:last-child td { border-bottom: none; }
 
 .menu, .nav, .rows,
@@ -103,7 +105,8 @@ table.rows tr:last-child td { border-bottom: none; }
        box-sizing: border-box;
        margin: 0;
   padding: 0 0.2em;
-  border: solid 1px;
+  border: solid 1px #aaa;
+  background-color: #ccc;
 }
 
 a:hover,