Commit eb7e1d65 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 89227e34
...@@ -127,41 +127,40 @@ if($_GET["action"] == "filme"){ ...@@ -127,41 +127,40 @@ if($_GET["action"] == "filme"){
}else if($_GET["action"] == "rechte"){ }else if($_GET["action"] == "rechte"){
$titel = "Rechteverwaltung"; $titel = "Rechteverwaltung";
$content = '<div class="content"><h1>Rechteverwaltung</h1>'; $content = '<div class="content"><h1>Rechteverwaltung</h1>';
$JavaScript ='<style>.table-header-rotated { $JavaScript ='<style>
.table-header-rotated {
border-collapse: collapse; border-collapse: collapse;
.csstransforms & td { }
.csstransforms .table-header-rotated td {
width: 30px; width: 30px;
} }
.no-csstransforms & th { .no-csstransforms .table-header-rotated th {
padding: 5px 10px; padding: 5px 10px;
} }
td { .table-header-rotated td {
text-align: center; text-align: center;
padding: 10px 5px; padding: 10px 5px;
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.csstransforms & th.rotate { .csstransforms .table-header-rotated th.rotate {
height: 140px; height: 140px;
white-space: nowrap; white-space: nowrap;
// Firefox needs the extra DIV for some reason, otherwise the text disappears if you rotate }
> div { .csstransforms .table-header-rotated th.rotate > div {
transform: -webkit-transform: translate(25px, 51px) rotate(315deg);
// Magic Numbers transform: translate(25px, 51px) rotate(315deg);
translate(25px, 51px)
// 45 is really 360-45
rotate(315deg);
width: 30px; width: 30px;
} }
> div > span { .csstransforms .table-header-rotated th.rotate > div > span {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
padding: 5px 10px; padding: 5px 10px;
} }
} .table-header-rotated th.row-header {
th.row-header {
padding: 0 10px; padding: 0 10px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
}</style>';
</style>';
$JavaScriptOLD = '<style>th.rotate { $JavaScriptOLD = '<style>th.rotate {
/* Something you can count on */ /* Something you can count on */
height: 140px; height: 140px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment