changeset 144:f64a46fa7961

Rename some CSS elements.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 09 Sep 2014 11:21:32 +0300
parents d70c899b0571
children c028506aa9cc
files index.php luk1.css luk2.css luk3.css luk4.css mluk1.css mluk2.css mluk3.css mluk4.css
diffstat 9 files changed, 41 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- 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 =
-    "<table class=\"timetable\">".
-    " <tr>\n  <th></th>".
-    "  <th class=\"days\">".lukGetDayName($currDay)."</th>\n </tr>\n";
+    "<table id=\"timeTable\">\n".
+    " <tr>\n".
+    "  <th></th>".
+    "  <th class=\"days\">".lukGetDayName($currDay)."</th>\n".
+    " </tr>\n";
 
     $startDay = $currDay;
     $lastDay = $currDay + 1;
@@ -326,8 +328,9 @@
     "<p>".join("; ", $classInfo["general"]).
     //" [".cmQM("viikossa", $classInfo["totalHours"])."]".
     "</p>\n".
-    "<table class=\"timetable\">".
-    " <tr>\n  <th></th>\n";
+    "<table id=\"timeTable\">\n".
+    " <tr>\n".
+    "  <th></th>\n";
     
     $cellWidth = $classInfo["maxDays"] > 0 ? 100 / $classInfo["maxDays"] : 15;
     if ($cellWidth > 25) $cellWidth = 25;
--- 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;
 }
 
--- 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;
 }
 
--- 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;
 }
 
--- 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;
 }
 
--- 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%;
 }
--- 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%;
 }
--- 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;
 }
 
--- 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%;
 }