From: Nicolas Boisselier Date: Fri, 9 Dec 2016 11:56:18 +0000 (+0000) Subject: dbq css X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e9d87c6adb3f9d6245f716841075f26f573f2a28;p=nb.git dbq css --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index c6e418ba..1cecac58 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -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; diff --git a/www/dbq/html/default.css b/www/dbq/html/default.css index 731f6e41..c573deec 100644 --- a/www/dbq/html/default.css +++ b/www/dbq/html/default.css @@ -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,