From fb85bcb5723289d210a889119b73bc0531672da0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 24 Jul 2015 15:26:39 +0200 Subject: [PATCH] module.less: just styles, playing around --- public/css/module.less | 75 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 74 insertions(+), 1 deletion(-) diff --git a/public/css/module.less b/public/css/module.less index 9e500a27..d6bcf065 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -22,7 +22,7 @@ textarea { } /* END of Forms */ - +/* table.simple { width: 100%; table-layout: auto !important; @@ -43,6 +43,7 @@ table.simple { text-align: right; } } +*/ table.log-properties { @@ -83,3 +84,75 @@ p.error { font-weight: bold; } } + +/* Simple table, test */ + +table.simple { + width: 100%; + border-collapse: separate; + font-size: 0.857em; + border-spacing: 0 1px; + + caption { + caption-side: bottom; + text-align: right; + font-style: italic; + } + + a { + color: inherit; + text-decoration: none; + } + + a:hover { + text-decoration: underline; + } + + thead { + th { + text-align: left; + border-bottom: 1px solid #888; + font-weight: normal; + padding: 0.3em 0.5em; + } + } + + tbody { + tr { + padding: 0; + margin: 0; + } + + tr:nth-child(even) { + background-color: #e6e6e6; + } + + th { + text-align: left; + margin: 0; + padding: 0; + } + + td { + padding: 0.1em; + margin: 0; + white-space: nowrap; + + a { + padding: 0.3em 0.5em; + text-decoration: none; + display: block; + } + } + + td.ok { + background-color: @colorOk; + } + + td.nok { + background-color: @colorCritical; + } + } +} + +/* END of Simple table, test */