[Pkg-mozext-commits] [sage-extension] 05/07: css update

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_0
in repository sage-extension.

commit d9625771df4a704f20feec91869438095c54a5e2
Author: Peter Andrews <petea at jhu.edu>
Date:   Sun May 23 07:40:16 2004 +0000

    css update
---
 src/sage/content/res/sage.css | 15 ++++++---------
 src/sage/content/sage.js      |  2 +-
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/sage/content/res/sage.css b/src/sage/content/res/sage.css
index 02ead6e..b74d5af 100755
--- a/src/sage/content/res/sage.css
+++ b/src/sage/content/res/sage.css
@@ -13,17 +13,16 @@ body {
 	font-family: verdana;
 }
 
-a:link		{ text-decoration: none; color: #DD2B13; }
-a:visited	{ text-decoration: none;  color: #955322; }
+a:link		{ text-decoration: none; color: #436976; font-weight: bold; }
+a:visited	{ text-decoration: none;  color: #436976; }
 a:hover		{ text-decoration: underline; }
 a:active	{ text-decoration: none; }
 
 p.item-desc a:link { color: #029; }
 
 #rss-header {
-	-moz-border-radius: 6px;
-	background-color: #EEEAE4;
-	border: 1px solid #cccccc;
+	background-color: #dee7ec;
+	border: 1px solid #8cacbb;
 	padding: 6px 8px;
 	margin: 10px 2%;
 }
@@ -42,9 +41,7 @@ p.item-desc a:link { color: #029; }
 }
 
 div.item {
-	-moz-border-radius: 6px;
-	background-color: #fafafa;
-	border: 1px solid #cccccc;
+	border: 1px solid #8cacbb;
 	width: 47%;
 	min-width: 14em;
 	margin: 0px 0px 8px 2%;
@@ -53,7 +50,7 @@ div.item {
 }
 
 h2.item-title {
-	background-color: #EEEAE4;
+	background-color: #dee7ec;
 	font-size: x-small;
 	font-weight: normal;
 	line-height: 1.1;
diff --git a/src/sage/content/sage.js b/src/sage/content/sage.js
index d9067cb..aa71b4c 100755
--- a/src/sage/content/sage.js
+++ b/src/sage/content/sage.js
@@ -479,7 +479,7 @@ function setRssItemListBox() {
 
 	for(var i=0; rssObject.items.length>i; i++){
 		var rssItem = rssObject.items[i];
-		var itemLabel = rssItem.title ? htmlToText(rssItem.title) : "No Title";
+		var itemLabel = (i+1) + ". " + rssItem.title ? htmlToText(rssItem.title) : "No Title";
 		var listItem = rssItemListBox.appendItem(itemLabel, i);
 		
 		if(isVisited(rssItem.link)){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list