# HG changeset patch # User Matti Hamalainen # Date 1410250892 -10800 # Node ID f64a46fa7961969197575088fe078d2e5ed46605 # Parent d70c899b0571a8197256df19346fa66144a00849 Rename some CSS elements. diff -r d70c899b0571 -r f64a46fa7961 index.php --- a/index.php Sun Aug 31 01:10:35 2014 +0300 +++ b/index.php Tue Sep 09 11:21:32 2014 +0300 @@ -313,9 +313,11 @@ if ($mini) { $out = - "". - " \n ". - " \n \n"; + "
".lukGetDayName($currDay)."
\n". + " \n". + " ". + " \n". + " \n"; $startDay = $currDay; $lastDay = $currDay + 1; @@ -326,8 +328,9 @@ "

".join("; ", $classInfo["general"]). //" [".cmQM("viikossa", $classInfo["totalHours"])."]". "

\n". - "
".lukGetDayName($currDay)."
". - " \n \n"; + "
\n". + " \n". + " \n"; $cellWidth = $classInfo["maxDays"] > 0 ? 100 / $classInfo["maxDays"] : 15; if ($cellWidth > 25) $cellWidth = 25; diff -r d70c899b0571 -r f64a46fa7961 luk1.css --- a/luk1.css Sun Aug 31 01:10:35 2014 +0300 +++ b/luk1.css Tue Sep 09 11:21:32 2014 +0300 @@ -62,7 +62,7 @@ margin: 0px; } -table.timetable th { +#timeTable th { padding: 2px; margin: 2px; text-align: center; @@ -81,17 +81,17 @@ border-radius: 5pt; } -table.timetable { +#timeTable { font-size: 10pt; } -table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { +#timeTable td > a, table.timetable td > a:visited, table.timetable td > a:active { text-decoration: none; text-shadow: 2px 2px 2px #000; color: #fff; } -table.timetable td > a:hover { +#timeTable td > a:hover { color: yellow; } @@ -100,12 +100,12 @@ white-space: nowrap; } -table.timetable * table { +#timeTable * table { width: 100%; height: 100%; } -table.timetable tr:hover th { +#timeTable tr:hover th { color: red; } diff -r d70c899b0571 -r f64a46fa7961 luk2.css --- a/luk2.css Sun Aug 31 01:10:35 2014 +0300 +++ b/luk2.css Tue Sep 09 11:21:32 2014 +0300 @@ -44,7 +44,7 @@ margin: 0px; } -table.timetable th { +#timeTable th { padding: 2px; margin: 2px; background: #444; @@ -58,18 +58,18 @@ color: #ccc; } -table.timetable { +#timeTable { font-size: 10pt; background: #222; } -table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { +#timeTable td > a, table.timetable td > a:visited, table.timetable td > a:active { text-decoration: none; text-shadow: 2px 2px 2px #000; color: #fff; } -table.timetable td > a:hover { +#timeTable td > a:hover { color: yellow; } @@ -78,12 +78,12 @@ white-space: nowrap; } -table.timetable * table { +#timeTable * table { width: 100%; height: 100%; } -table.timetable tr:hover th { +#timeTable tr:hover th { color: red; } diff -r d70c899b0571 -r f64a46fa7961 luk3.css --- a/luk3.css Sun Aug 31 01:10:35 2014 +0300 +++ b/luk3.css Tue Sep 09 11:21:32 2014 +0300 @@ -61,7 +61,7 @@ margin: 0px; } -table.timetable th { +#timeTable th { padding: 2px; margin: 2px; text-align: center; @@ -80,17 +80,17 @@ border-radius: 5pt; } -table.timetable { +#timeTable { font-size: 10pt; } -table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { +#timeTable td > a, table.timetable td > a:visited, table.timetable td > a:active { text-decoration: none; text-shadow: 2px 2px 2px #000; color: #fff; } -table.timetable td > a:hover { +#timeTable td > a:hover { color: yellow; } @@ -99,12 +99,12 @@ white-space: nowrap; } -table.timetable * table { +#timeTable * table { width: 100%; height: 100%; } -table.timetable tr:hover th { +#timeTable tr:hover th { color: red; } diff -r d70c899b0571 -r f64a46fa7961 luk4.css --- a/luk4.css Sun Aug 31 01:10:35 2014 +0300 +++ b/luk4.css Tue Sep 09 11:21:32 2014 +0300 @@ -61,7 +61,7 @@ margin: 0px; } -table.timetable th { +#timeTable th { padding: 3pt; margin: 3pt; text-align: center; @@ -81,17 +81,17 @@ border-radius: 5pt; } -table.timetable { +#timeTable { font-size: 10pt; } -table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { +#timeTable td > a, table.timetable td > a:visited, table.timetable td > a:active { text-decoration: none; text-shadow: 2px 2px 2px #000; color: #fff; } -table.timetable td > a:hover { +#timeTable td > a:hover { color: yellow; } @@ -100,12 +100,12 @@ white-space: nowrap; } -table.timetable * table { +#timeTable * table { width: 100%; height: 100%; } -table.timetable tr:hover th { +#timeTable tr:hover th { color: red; } diff -r d70c899b0571 -r f64a46fa7961 mluk1.css --- a/mluk1.css Sun Aug 31 01:10:35 2014 +0300 +++ b/mluk1.css Tue Sep 09 11:21:32 2014 +0300 @@ -25,7 +25,7 @@ display: inline-block; } -table.timetable * table { +#timeTable * table { width: auto; height: 100%; } diff -r d70c899b0571 -r f64a46fa7961 mluk2.css --- a/mluk2.css Sun Aug 31 01:10:35 2014 +0300 +++ b/mluk2.css Tue Sep 09 11:21:32 2014 +0300 @@ -25,7 +25,7 @@ display: inline-block; } -table.timetable * table { +#timeTable * table { width: auto; height: 100%; } diff -r d70c899b0571 -r f64a46fa7961 mluk3.css --- a/mluk3.css Sun Aug 31 01:10:35 2014 +0300 +++ b/mluk3.css Tue Sep 09 11:21:32 2014 +0300 @@ -48,7 +48,7 @@ margin: 0px; } -table.timetable th { +#timeTable th { padding: 2px; margin: 2px; text-align: center; @@ -71,17 +71,17 @@ border-radius: 5pt; } -table.timetable { +#timeTable { font-size: 10pt; } -table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { +#timeTable td > a, table.timetable td > a:visited, table.timetable td > a:active { text-decoration: none; text-shadow: 2px 2px 2px #000; color: #fff; } -table.timetable td > a:hover { +#timeTable td > a:hover { color: yellow; } @@ -90,12 +90,12 @@ white-space: nowrap; } -table.timetable * table { +#timeTable * table { width: 100%; height: 100%; } -table.timetable tr:hover th.hours { +#timeTable tr:hover th.hours { color: red; } diff -r d70c899b0571 -r f64a46fa7961 mluk4.css --- a/mluk4.css Sun Aug 31 01:10:35 2014 +0300 +++ b/mluk4.css Tue Sep 09 11:21:32 2014 +0300 @@ -25,7 +25,7 @@ display: inline-block; } -table.timetable * table { +#timeTable * table { width: auto; height: 100%; }