diff --git a/chrome/chromeFiles/content/scholar/itemPane.xul b/chrome/chromeFiles/content/scholar/itemPane.xul
index 72ddf1597..934b36c27 100644
--- a/chrome/chromeFiles/content/scholar/itemPane.xul
+++ b/chrome/chromeFiles/content/scholar/itemPane.xul
@@ -9,6 +9,8 @@
+
+
@@ -42,6 +44,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js
index 9f507645d..ab2500c54 100644
--- a/chrome/chromeFiles/content/scholar/overlay.js
+++ b/chrome/chromeFiles/content/scholar/overlay.js
@@ -99,6 +99,7 @@ var ScholarPane = new function()
itemsView.unregister();
document.getElementById('tb-search').value = "";
+ document.getElementById('scholar-search-options').hidden = true;
if(collectionsView.selection.count == 1 && collectionsView.selection.currentIndex != -1)
{
@@ -169,7 +170,16 @@ var ScholarPane = new function()
function search()
{
if(itemsView)
- itemsView.searchText(document.getElementById('tb-search').value);
+ {
+ searchVal = document.getElementById('tb-search').value;
+ itemsView.searchText(searchVal);
+
+ //do something about granularity
+ //document.getElementById('scholar-search-options').getElementsByAttribute('checked','true')[0].label
+
+ document.getElementById('scholar-search-options').hidden = searchVal == "";
+ }
+
}
function getCollectionsView()
diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul
index d6dfe0145..2cccbad89 100644
--- a/chrome/chromeFiles/content/scholar/overlay.xul
+++ b/chrome/chromeFiles/content/scholar/overlay.xul
@@ -70,8 +70,19 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/chrome/chromeFiles/skin/default/scholar/overlay.css b/chrome/chromeFiles/skin/default/scholar/overlay.css
index 1703ad8a1..93709aeb1 100644
--- a/chrome/chromeFiles/skin/default/scholar/overlay.css
+++ b/chrome/chromeFiles/skin/default/scholar/overlay.css
@@ -87,6 +87,11 @@ tree #items-tree
-moz-user-focus: ignore;
}
+#scholar-view-item tabpanels
+{
+ padding: 8px 0px 0px 0px;
+}
+
#scholar-view-item .clicky
{
-moz-border-radius: 6px;