flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mamsel...@apache.org
Subject svn commit: r1551437 - in /flex/site/trunk/content: css/style.css js/showcase.js
Date Tue, 17 Dec 2013 01:19:22 GMT
Author: mamsellem
Date: Tue Dec 17 01:19:22 2013
New Revision: 1551437

URL: http://svn.apache.org/r1551437
Log:
IN PROGRESS - FLEX-33907 Showcase section in web site
bold for entries headers

Modified:
    flex/site/trunk/content/css/style.css
    flex/site/trunk/content/js/showcase.js

Modified: flex/site/trunk/content/css/style.css
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/css/style.css?rev=1551437&r1=1551436&r2=1551437&view=diff
==============================================================================
--- flex/site/trunk/content/css/style.css (original)
+++ flex/site/trunk/content/css/style.css Tue Dec 17 01:19:22 2013
@@ -1280,6 +1280,11 @@ img.showcase {
     height: 250px;
 }
 
+.sc_header {
+    font-weight: bold;
+
+}
+
 /*blog entry*/
 
 .entry{float:left; margin-bottom:10px;}

Modified: flex/site/trunk/content/js/showcase.js
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/js/showcase.js?rev=1551437&r1=1551436&r2=1551437&view=diff
==============================================================================
--- flex/site/trunk/content/js/showcase.js (original)
+++ flex/site/trunk/content/js/showcase.js Tue Dec 17 01:19:22 2013
@@ -16,16 +16,16 @@
      // TITLE
     var entry = '<div class="headline"><h4>'+props.title+'</h4></div>'
+
       ' <ul class="arrow_list">' +
-        '<li> Summary:  '+props.description+'  </li>'  +
-        '<li>Author:   '+props.author+' </li>' ;
+        '<li><span class="sc_header">Summary:</span>   '+props.description+'
 </li>'  +
+        '<li><span class="sc_header">Author:</span>   '+props.author+'
</li>' ;
 
      if (props.website) {
-         entry += '<li> Web site:   <A href="'+ props.website+'" target="_blank">'
+ props.website + '</A></li>';
+         entry += '<li><span class="sc_header"> Web site:</span>   <A
href="'+ props.website+'" target="_blank">' + props.website + '</A></li>';
      }
      var links = props.links;
      if (links){
          for (i=0; i < links.length; i+= 2){
-             entry += '<li> '+links[i]+':  <A href="' + links[i+1] + '" target="_blank">'
+ links[i+1] + '</A></li>';
+             entry += '<li> <span class="sc_header">'+links[i]+':</span>
 <A href="' + links[i+1] + '" target="_blank">' + links[i+1] + '</A></li>';
          }
      }
      entry += '</ul>'    ;



Mime
View raw message