From: Nicolas Boisselier Date: Wed, 30 Nov 2016 09:52:23 +0000 (+0000) Subject: dbq X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=5ee6dc72f4a409d9162d11debfbe86397a69ab26;p=nb.git dbq --- diff --git a/www/dbq/html/default.css b/www/dbq/html/default.css new file mode 100644 index 00000000..003f2b4b --- /dev/null +++ b/www/dbq/html/default.css @@ -0,0 +1,118 @@ +html { + font: 100% 'Trebuchet MS', sans-serif; +} + +body { + display: table; + margin-left: auto; + margin-right: auto; + padding-left: 1em; + padding-right: 1em; + background-color: #E6E6E6; +} + +h1 { + margin: 0 0 0.2em 0; +} + +a, +body { + color: #333333; +} + +ul { + padding: 0; + margin: 0; +} + +li { + list-style:none; + padding: 0 0 0 0.3em; +} + +a, a:visited { + text-decoration: none; +} + +table { border-collapse: collapse; } +td, th { padding: 0.2em 0.7em; } +th { font-size: 0.8em; } + +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; +} + +form label:after { content: ':'; } + +form label, +form input, +form select { + vertical-align: middle; + margin: 0.2em 0.4em 0.2em 0; +} + +table.rows, +div.rows, +.menu, +object, iframe, pre +{ + border-collapse: separate; + border-spacing: 0; + border-radius: 4px; + border: solid 1px #fff; + + padding: 0.5em 0.2em; + margin-bottom: 0.5em; + +} + +table.rows th, table.rows td, table.border th, table.border td { border-bottom: solid 1px #fff; } +table.rows tr:last-child td, table.border tr:last-child td { border-bottom: none; } + +.menu, .nav, .rows, +.center { + margin-left: auto; + margin-right: auto; + display: table; +} + +.menu { padding: 0.5em; } + +.button { + display: inline-block; + text-decoration: none; + line-height: 1.5em; + margin: 0; + cursor: pointer; + border-width: 1px; + border-style: solid; + white-space: nowrap; + box-sizing: border-box; + color: #ddd; + background-color: #3C3C3B; + border-color: #3C3C3B; + border-radius: 4px; +} + +a:hover, +.button:hover { + opacity: 0.8; +} + +/* +form a.button:visited, form a.button { + display: inline-block; + position: relative; + top: -1px; +} +*/ diff --git a/www/dbq/html/index.php b/www/dbq/html/index.php new file mode 100644 index 00000000..850d9a76 --- /dev/null +++ b/www/dbq/html/index.php @@ -0,0 +1,5 @@ +