]> git.sesse.net Git - ccbs/commitdiff
Remove/hide some borders between the score/playmode/difficulty settings.
authorSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:53:10 +0000 (14:53 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:53:10 +0000 (14:53 +0000)
html/ccbs.css
html/templates/show-tournament.tmpl

index 3a8c4b08eb4ffa009a078b292c9cea6ea19c7980..b68d590791d423ac68ee4fd0aeaea9b895fa3f4c 100644 (file)
@@ -90,6 +90,13 @@ tr.own td, tr.own th { border-top: 2px solid red; border-bottom: 2px solid red;
        border-top: 1px solid gray;
 }
 
-.nowrap {
-       white-space: nowrap;
+.score {
+       border-right: 0px;
+}
+.playmode {
+       border-left: 0px;
+       border-right: 0px;
+}
+.difficulty {
+       border-left: 0px;
 }
index abaf236667dfe9f387a9cb79b5f411a04cf9acef..8169e6a4b1ef175dfde6a750fae757f4e93461ea 100644 (file)
         [% pl.nick %]
       </th>
         [% FOR s = pl.songs %]
-      <td>[% s.score %]</td>
-      <td>[% s.playmode %]</td>
-      <td>[% s.difficulty %]</td>
+      <td class="score">[% s.score %]</td>
+      <td class="playmode">[% s.playmode %]</td>
+      <td class="difficulty">[% s.difficulty %]</td>
           [% IF s.chosen %]
       <td>[% s.title %]</td>
           [% END %]
     <tr>
       <th>[% pl.nick %]</th>
         [% FOR s = pl.songs %]
-      <td>
+      <td class="score">
         <input type="hidden" name="old-score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" />
         <input name="score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" size="5" />
       </td>
-      <td>
+      <td class="playmode">
         <input type="hidden" name="old-playmode[% pl.player %]-[% s.songnumber %]" value="[% s.playmode %]" />
        <select name="playmode[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>
         [% END %]
        </select>
       </td>
-      <td>
+      <td class="difficulty">
         <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
        <select name="difficulty[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>