Author: ygrego Date: 2015-05-20 14:56:19 +0000 (Wed, 20 May 2015) New Revision: 1417 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1417 Log: Addition of new rules to the display of tests statistics. Modified: oipf/css/test.css Modified: oipf/css/test.css =================================================================== --- oipf/css/test.css 2015-05-20 14:12:09 UTC (rev 1416) +++ oipf/css/test.css 2015-05-20 14:56:19 UTC (rev 1417) @@ -11,83 +11,92 @@ border: 3px navy solid; } +#menu { + position: fixed; + top: 0; + left: 50%; + margin-left: auto; + margin-right: auto; + border: 1px solid grey; +} + +#testControllerDiv { + margin: 0 0 1em 0; +} + +#title, #titleTestControllerDiv, #titleGlobalTestResultsDiv { + border: 1px solid grey; + background-color: #efe; + border-radius: 10px; +} + +#title { + margin: 0% 20% 0% 20%; +} + +#titleTestControllerDiv, #titleGlobalTestResultsDiv { + margin: 1em 90% 0 0; + padding: 0; +} + +#globalTestResultsDiv { + display: none; +} + +h1 { + text-align: center; + color: blue; +} + table { - font: 1em sans-serif; - background-color: #efe; - border-collapse: collapse; - empty-cells: show; - border: 1px solid #7a7; - } + font: 100% sans-serif; + background-color: #efe; + border-collapse: collapse; + empty-cells: show; + border: 1px solid #7a7; +} -table > caption { - text-align: left; - font-weight: bold; - font-size: 1.5em; - border-bottom: .2em solid #4ca; - margin-bottom: .5em; - } +table tbody td:nth-child(1) { + text-align: center; +} -/* shared basics rules */ +table tbody td:nth-child(4) { + background-color: gainsboro; +} + + table th, table td { - text-align: left; - padding-right: .5em; - border: 1px solid #7a7; - } + text-align: left; + border: 1px solid #7a7; +} table th { - font-weight: bold; - padding-left: .5em; - } + font-weight: bold; + padding-left: .5em; + padding-right: .5em; +} -/* header of table*/ + table > thead > tr:first-child > th { - text-align: center; - color: blue; - } + text-align: center; + color: blue; +} table > thead > tr + tr > th { - font-style: italic; - color: gray; - } + font-style: italic; + color: gray; +} -/* size of values exposing */ -table sup { - font-size: 75%; - } - -/* body of table */ table td { - background-color: #cef; - padding:.5em .5em .5em .3em; - } + background-color: #cef; + padding:.5em .5em .5em .5em; +} -table tbody td:nth-child(4) { - background-color: gainsboro; - } - -table tbody td:nth-child(1) { - text-align: center; - } +table tbody th:after { + content: " :"; +} -/* foot of table not used here*/ -table tfoot { - font-weight: bold; - } - -table tfoot th { - color: blue; - } - -table tfoot th:after { - content: " :"; - } - -table > tfoot td { - background-color: #cee; - } - -table > tfoot > tr:first-child td { - border-top: .2em solid #7a7; - } - +table tbody tr:nth-child(2n+3) { + background: #7a7; +} \ No newline at end of file
participants (1)
-
ygregoï¼ users.nuiton.org