#table { position: relative; margin: 8px; } #table table { border-collapse: collapse; border-spacing: 0; } #table table tr:nth-child(even) { background-color: #eee; } /* #table table tr:nth-child(even) td:not(.row-header) { opacity: .8; } #table table tr:hover td:not(.row-header) { opacity: .8; } */ .table-header-rotated td.row-header{ font-family: monospace; width: auto; padding-right: 10px; } .table-header-rotated td:not(.row-header) { width: 40px; border: 1px solid #aaa; border-top: 0; border-bottom: 0; vertical-align: middle; text-align: center; } tr:hover td:not(.row-header) { border-color: #888; } td.group { border-left: 0 !important; font-weight: bold; } .table-header-rotated th.rotate-45{ height: 150px; width: 50px; //min-width: 50px; //max-width: 50px; position: relative; vertical-align: bottom; padding: 0; font-size: 12px; //line-height: 1; } .table-header-rotated th.rotate-45 > div{ position: relative; top: 0px; left: 75px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/ height: 100%; -ms-transform:skew(-45deg,0deg); -moz-transform:skew(-45deg,0deg); -webkit-transform:skew(-45deg,0deg); -o-transform:skew(-45deg,0deg); transform:skew(-45deg,0deg); overflow: hidden; border: 1px solid #aaa; border-bottom: 0; } .table-header-rotated th.rotate-45 span { -ms-transform:skew(45deg,0deg) rotate(315deg); -moz-transform:skew(45deg,0deg) rotate(315deg); -webkit-transform:skew(45deg,0deg) rotate(315deg); -o-transform:skew(45deg,0deg) rotate(315deg); transform:skew(45deg,0deg) rotate(315deg); position: absolute; bottom: 60px; /* 40 cos(45) = 28 with an additional 2px margin*/ left: -70px; /*Because it looked good, but there is probably a mathematical link here as well*/ display: inline-block; // width: 100%; width: 185px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/ text-align: left; // white-space: nowrap; /*whether to display in one line or not*/ } .nowrap { white-space: nowrap; } td.sw, th.sw div { background-color: #ddd; } tr td.sw:nth-child(even), tr th.sw:nth-child(even) div { background-color: #ccc; } tr:hover td.sw { background-color: #aaa; } tr:hover td.sw:nth-child(even) { background-color: #999; } td.radeon, th.radeon div { background-color: #fdd; } tr td.radeon:nth-child(even), tr th.radeon:nth-child(even) div { background-color: #ecc; } tr:hover td.radeon { background-color: #caa; } tr:hover td.radeon:nth-child(even) { background-color: #b99; } td.nouveau, th.nouveau div { background-color: #dfd; } tr td.nouveau:nth-child(even), tr th.nouveau:nth-child(even) div { background-color: #cec; } tr:hover td.nouveau { background-color: #aca; } tr:hover td.nouveau:nth-child(even) { background-color: #9b9; } td.intel, th.intel div { background-color: #ddf; } tr td.intel:nth-child(even), tr th.intel:nth-child(even) div { background-color: #cce; } tr:hover td.intel { background-color: #aac; } tr:hover td.intel:nth-child(even) { background-color: #99b; } td.unsupported { background-color: #ddd !important; } tr td.unsupported:nth-child(even) { background-color: #ccc !important; } tr:hover td.unsupported { background-color: #aaa !important; } tr:hover td.unsupported:nth-child(even) { background-color: #999 !important; } .floating { display: none; position: fixed; top: 50px; left: 0; padding-left: 8px; background: white; z-index: 1; width: 100%; box-shadow: 0 5px 10px 0 rgba(0,0,0,.2); } #table a, #table a:active, #table a:link, #table a:hover { color: #00f; } #table { color: #000; } #loading { display: none; position: fixed; top: 50%; left: 50%; margin-left: -27px; margin-top: -27px; z-index: 10; margin: 0 auto; width: 54px; height: 55px; background: white url(ajax-loader.gif); } .navbar-left { padding-left: 10px; }