From fc0419fc57c1e0bbd59bfcc80e2da4d8ac4cd4ef Mon Sep 17 00:00:00 2001 From: abhin4v Date: Fri, 5 Dec 2008 13:35:41 +0000 Subject: [PATCH] made changes in UI git-svn-id: file:///tmp/snv/trunk@13 12951d8a-c33d-4b7c-b961-822215c816e1 --- chrome/content/diggsidebar.js | 1 - chrome/content/diggstory.xml | 44 +++++++--------------------------- chrome/content/image/down.jpg | Bin 375 -> 0 bytes chrome/content/image/up.jpg | Bin 396 -> 0 bytes chrome/skin/diggsidebar.css | 43 ++++++++++++++------------------- 5 files changed, 27 insertions(+), 61 deletions(-) delete mode 100644 chrome/content/image/down.jpg delete mode 100644 chrome/content/image/up.jpg 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 32e78a7c6248b5ee6ddebc6d9d045ded3330d5b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 375 zcmex=51eky>1WG6fFfcPPvM@2jr5Kr* z1sPb_6j_Co91DReL_nTI0n9*A2|-3Q6B!wR8voy7-~n31BnULap5d-#-1lkvy0<5K z9q_%PqZlr{t4-B^g}u&m_Rs8V_ArF4C(|9=wzn~q2D diff --git a/chrome/content/image/up.jpg b/chrome/content/image/up.jpg deleted file mode 100644 index ac907ae77e7b6e93072e75b970665d8c216922b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 396 zcmex=h%FENwtPY2h76@5`Tv2uG~ y3LDP2X&g0OSzhoZ?{)T=RIR9t8;e}KY+vrOP5l)evHI;&MwYDP{nhjT-vj{WEm2zl 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,19 +23,18 @@ a img { font-size: x-small; } .storyTitle { - padding: 0px 5px; font-size: x-small; font-weight: bold; width: 100%; + color: #105CB6; } -.storyNew, .storyRead, .storyPopularity { +.storyCategory { + background-color: rgb(252,243,164); + text-align: center; +} +.storyPopularity { float: right; } -.storyNew, .storyRead { - padding: 0px 2px; - font-size: xx-small; - font-family: monospace; -} .storyHref { font-weight: bold; padding: 2px 3px; @@ -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; }