click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r821656 - in /incubator/click/trunk/click/examples: src/org/apache/click/examples/page/control/LinkDemo.java webapp/assets/css/style.css
Date Mon, 05 Oct 2009 02:00:49 GMT
Author: sabob
Date: Mon Oct  5 02:00:48 2009
New Revision: 821656

URL: http://svn.apache.org/viewvc?rev=821656&view=rev
Log:
added actionlink style

Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
    incubator/click/trunk/click/examples/webapp/assets/css/style.css

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java?rev=821656&r1=821655&r2=821656&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
Mon Oct  5 02:00:48 2009
@@ -51,8 +51,10 @@
 
     public LinkDemo() {
         iconActionLink.setRenderLabelAndImage(true);
+        iconActionLink.addStyleClass("image-link");
         iconActionLink.setImageSrc("/assets/images/table-edit.png");
         iconPageLink.setRenderLabelAndImage(true);
+        iconPageLink.addStyleClass("image-link");
         iconPageLink.setImageSrc("/assets/images/home.png");
         
         externalLink.setParameter("q", "Click Framework");

Modified: incubator/click/trunk/click/examples/webapp/assets/css/style.css
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/assets/css/style.css?rev=821656&r1=821655&r2=821656&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/assets/css/style.css (original)
+++ incubator/click/trunk/click/examples/webapp/assets/css/style.css Mon Oct  5 02:00:48 2009
@@ -232,6 +232,16 @@
     margin-right: 2px;
 }
 
+.image-link {
+    text-decoration: none;
+}
+.image-link span {
+    text-decoration: underline;
+}
+.image-link img {
+    vertical-align: top;
+}
+
 /*
  * Spring Security (Acegi) example style.
  */



Mime
View raw message