From: Nicolas Boisselier Date: Thu, 12 Jan 2017 23:11:31 +0000 (+0000) Subject: css X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=c4c6053873c848af2bcc8e7bca3ead4d30319cd3;p=nb.git css --- diff --git a/lib/css/button.css b/lib/css/button.css index 680a4e47..0e696cb7 100644 --- a/lib/css/button.css +++ b/lib/css/button.css @@ -20,11 +20,11 @@ -moz-box-sizing: border-box; box-sizing: border-box; - background-color: #f4f4f4; /* border: solid 1px #ddd; box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1); */ + background-color: #f4f4f4; color: #666; } diff --git a/www/dbq/html/default.css b/www/dbq/html/default.css index f4cc3627..c005bd3a 100644 --- a/www/dbq/html/default.css +++ b/www/dbq/html/default.css @@ -1,6 +1,6 @@ html { font: 90% 'Trebuchet MS', sans-serif; - background-color: #eee; + background-color: #F5F5F5; } body { @@ -9,7 +9,7 @@ body { margin-right: auto; padding-left: 1em; padding-right: 1em; - color: #444; + color: #444444; } h1 { @@ -17,7 +17,11 @@ h1 { } a { - color :inherit; + color: inherit; +} + +p a, div > a, li a, td a { + color: #E59B24; } a, a:visited { @@ -83,15 +87,23 @@ object, iframe, pre padding: 0.5em 0.2em; margin-bottom: 0.5em; - border: solid 1px #ccc; + border: solid 1px #E5E5E5; + background-color: #FAFAFA; } .rows { padding: 0; } ul.row li, div.row div, table.rows th, table.rows td { - border-bottom: solid 1px #ccc; + border-bottom: solid 1px #E5E5E5; } + ul.row li, div.row div, table.rows tr:last-child td { border-bottom: none; } +table.rows td +{ padding: 0.3em 0.1em; } + +/* To counter balance border corner */ +table.rows th { padding-top: 0; } +table.rows tr:last-child td { padding-bottom: 0; } div.row div { margin: 0; } @@ -101,8 +113,7 @@ ul.row li label, div.row div label { display: inline-block; } -.menu, .nav, .rows, -.buttons, .center { +.menu, .nav, .rows, .buttons, .center { margin-left: auto; margin-right: auto; display: table; @@ -118,14 +129,12 @@ ul.row li label, div.row div label { white-space: nowrap; box-sizing: border-box; margin: 0; - padding: 0 0.2em; - /* - border: solid 1px #aaa; - background-color: #ccc; - */ - color: #eee; - border: solid 1px #000; - background-color: #444; + padding: 0 0.1em; + cursor: pointer; + color: #F5F5F5; + background-color: #666; + padding: 0.1em 0.3em; + border: none; } a:hover, @@ -135,7 +144,7 @@ a:hover, form.menu { padding: 0.5em; - background-color: #F9F9F9; + background-color: #FAFAFA; } form.menu .button.add { @@ -144,7 +153,7 @@ form.menu .button.add { } form.menu .criterias { - border-top: dashed 1px #ccc; + border-top: dashed 1px #E5E5E5; margin-top: 0.3em; padding-top: 0.3em; } @@ -182,13 +191,6 @@ form.menu .criterias input { display: inline-block; } */ -/* -form a.button:visited, form a.button { - display: inline-block; - position: relative; - top: -1px; -} -*/ /* EDIT PAGE