Author: ygrego Date: 2015-03-04 14:44:03 +0000 (Wed, 04 Mar 2015) New Revision: 912 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/912 Log: The stylesheet of the test page. Added: oipf/view/css/test.css Added: oipf/view/css/test.css =================================================================== --- oipf/view/css/test.css (rev 0) +++ oipf/view/css/test.css 2015-03-04 14:44:03 UTC (rev 912) @@ -0,0 +1,87 @@ +/* +To change this license header, choose License Headers in Project Properties. +To change this template file, choose Tools | Templates +and open the template in the editor. +*/ +/* + Created on : 26 févr. 2015, 10:03:51 + Author : root +*/ + +table { + font: 1em 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; + } + + +/* shared basics rules */ +table th, +table td { + text-align: left; + padding-right: .5em; + } + +table th { + font-weight: bold; + padding-left: .5em; + } + + +/* header not used*/ +table > thead > tr:first-child > th { + text-align: center; + color: blue; + } + +table > thead > tr + tr > th { + 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; + } + +table tbody th:after { + content: " :"; + } + +/* foot of table */ +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; + } +