]> git.plutz.net Git - confetti/blobdiff - templates/courses.css.sh
adaption for changes in shcgi external
[confetti] / templates / courses.css.sh
old mode 100644 (file)
new mode 100755 (executable)
index 5321300..2c34fac
@@ -58,7 +58,7 @@ cat <<EOF
   float:left;
   width: 25ex;
   margin: .125em .5ex .5ex .5ex;
-  padding: 0 .2em .2em .2em;
+  padding: 0 .5ex .5ex .5ex;
   background: #EEE;
 }
 
@@ -100,17 +100,18 @@ cat <<EOF
 .courselist .course .dtstart .DTSCALHEAD{
   display: inline-block;
   font-weight: bold;
-  width: 4ex;
+  width: 4.5ex;
   margin: .25ex;
+  overflow: hidden;
 }
 .courselist .course .dtstart .DTSCAL{
   display: inline-block;
-  width: 4ex;
+  width: 4.5ex;
   margin: .25ex;
 }
-.courselist .course .dtstart .selected {
-  font-weight: bold;
-}
+.courselist .course .dtstart input[name=DTSDAY] { display: none; }
+.courselist .course .dtstart input[name=DTSDAY]:checked + label.DTSCAL { font-weight: bold; }
+
 .courselist .course .dtstart .DTSTIME{
   display: inline-block;
   width: 10ex;