diff --git a/chrome/content/diggsidebar.js b/chrome/content/diggsidebar.js index 1b48df8..b82a277 100644 --- a/chrome/content/diggsidebar.js +++ b/chrome/content/diggsidebar.js @@ -176,7 +176,6 @@ var DiggSidebar = { for (attr in attributes) li.setAttribute(attr, attributes[attr]); - if (DiggSidebar.storyIds.indexOf(story.id) != -1) li.new = false; li.read = story.read; } if (DiggSidebar.storyIds.indexOf(story.id) == -1) newStoryIds.push(story.id); diff --git a/chrome/content/diggstory.xml b/chrome/content/diggstory.xml index 6d26762..0ce1cb2 100644 --- a/chrome/content/diggstory.xml +++ b/chrome/content/diggstory.xml @@ -9,15 +9,12 @@ - - - New - Unread - - - - - + + + + + + - + @@ -56,39 +53,20 @@ - - - - - - @@ -96,8 +74,6 @@ diff --git a/chrome/content/image/down.jpg b/chrome/content/image/down.jpg deleted file mode 100644 index 32e78a7..0000000 Binary files a/chrome/content/image/down.jpg and /dev/null differ diff --git a/chrome/content/image/up.jpg b/chrome/content/image/up.jpg deleted file mode 100644 index ac907ae..0000000 Binary files a/chrome/content/image/up.jpg and /dev/null differ diff --git a/chrome/skin/diggsidebar.css b/chrome/skin/diggsidebar.css index ad27ac1..773f826 100644 --- a/chrome/skin/diggsidebar.css +++ b/chrome/skin/diggsidebar.css @@ -6,20 +6,16 @@ a { a img { border: none; } -#dsStoryListBox { - margin: 1px; - border-style: solid !important; - border-color: #000; - border-width: 1px; +.storyHeader { + cursor: pointer; + padding: 1px; } .storyDetails { padding: 3px; display: none; background-color: #ffffff; clear: both; - border: 1px dashed black; - margin: 0px 8px 8px 8px; - width: 230px; + margin: 0px 5px 5px 5px; } .storyDetails > div { clear: both; @@ -27,18 +23,17 @@ a img { font-size: x-small; } .storyTitle { - padding: 0px 5px; font-size: x-small; font-weight: bold; width: 100%; + color: #105CB6; } -.storyNew, .storyRead, .storyPopularity { - float: right; +.storyCategory { + background-color: rgb(252,243,164); + text-align: center; } -.storyNew, .storyRead { - padding: 0px 2px; - font-size: xx-small; - font-family: monospace; +.storyPopularity { + float: right; } .storyHref { font-weight: bold; @@ -48,27 +43,25 @@ a img { .storyDesc { height: auto!important; } -.storyHeader { - cursor: pointer; - padding: 2px; - width: 250px; -} .storyHref:hover, .storyUserLink:hover { color: white; background-color: blue; } #dsStoryListBox richlistitem{ - border-bottom: 1px solid black; + border: 2px solid #E5ECF3; + border-top: none; color: #000000!important; -moz-binding: url("chrome://diggsidebar/content/diggstory.xml#diggstoryitem"); } richlistitem[selected="true"] { - background-color: #FFEBF0; + background-color: #E5ECF3; color: inherit; } -richlistitem .storyTitle:hover { - background-color: green; - color: white; +.storyHeader:hover { + background-color: rgb(252,243,164); +} +.storyHeader:hover .storyTitle{ + color: #000; }