tag style changes
authorAndreas Unterkircher <unki@netshadow.at>
Tue, 12 Jun 2007 04:05:37 +0000 (04:05 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Tue, 12 Jun 2007 04:05:37 +0000 (04:05 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@86 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php
stylesheet.css

index 42d3075a2d665bd22bbc8b40e09c6ad505496548..c1bf643ba5dd2c0a517baac7c16ec38b252dc0ad 100644 (file)
@@ -150,7 +150,7 @@ class PHPFSPOT {
             continue;
 
          // return all available (= not selected) tags
             continue;
 
          // return all available (= not selected) tags
-         print "<a href=\"javascript:Tags('add', ". $tag .");\">". $this->tags[$tag] ."</a>&nbsp;";
+         print "<a href=\"javascript:Tags('add', ". $tag .");\" class=\"tag\">". $this->tags[$tag] ."</a>&nbsp;";
 
       }
 
 
       }
 
@@ -162,7 +162,7 @@ class PHPFSPOT {
       {
          // return all selected tags
          if(isset($_SESSION['selected_tags']) && in_array($tag, $_SESSION['selected_tags'])) {
       {
          // return all selected tags
          if(isset($_SESSION['selected_tags']) && in_array($tag, $_SESSION['selected_tags'])) {
-            print "<a href=\"javascript:Tags('del', ". $tag .");\">". $this->tags[$tag] ."</a>&nbsp;";
+            print "<a href=\"javascript:Tags('del', ". $tag .");\" class=\"tag\">". $this->tags[$tag] ."</a>&nbsp;";
          }
 
       }
          }
 
       }
index b4c69c55c82650524de086f636a65a8bf2bf6a23..72955f685daeed0749e60aff42e566468ee88d8c 100644 (file)
@@ -105,6 +105,21 @@ a:hover {
    color:                  #00aa44;\r
 }\r
 \r
    color:                  #00aa44;\r
 }\r
 \r
+a.tag {\r
+   font-size:              14px;\r
+   color:                  #000000;\r
+   text-decoration:        underline;\r
+   font-style:             italic;\r
+}\r
+\r
+a.tag:visited, a.tag:active {\r
+   color:                  #00ff00;\r
+} \r
+a.tag:hover {\r
+\r
+   color:                  #00aa44;\r
+}\r
+\r
 #matrix,#single {\r
    padding:                10px;\r
 }\r
 #matrix,#single {\r
    padding:                10px;\r
 }\r