summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-01 21:31:16 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-01 21:31:16 +0200
commitad45c78b44f887be547329501cba7c84c3a3c331 (patch)
treeec7c7e3880c716f7d992e3e388a1b75dea9ffe5c /search
parenta8ffe16f4f1652cfe9646f93dfc4e7a9a5766835 (diff)
downloadnextcloud-server-ad45c78b44f887be547329501cba7c84c3a3c331.tar.gz
nextcloud-server-ad45c78b44f887be547329501cba7c84c3a3c331.zip
pimped the search dropdown style a bit
Diffstat (limited to 'search')
-rw-r--r--search/css/results.css18
-rw-r--r--search/css/search.css17
2 files changed, 9 insertions, 26 deletions
diff --git a/search/css/results.css b/search/css/results.css
index e61bf419b35..c3147451e4a 100644
--- a/search/css/results.css
+++ b/search/css/results.css
@@ -1,9 +1,9 @@
-#searchresults { position:fixed; top:3.3em; right:0; z-index:50; background-color:white; border:1px solid black; margin-bottom:3em; overflow:auto; max-height:80%; width:40em; }
-#searchresults table{ width:100%; table-layout:fixed; top:1em;border-spacing:0}
-#searchresults td{padding-right:0.3em;padding-left:0.3em;vertical-align:top}
-#searchresults td.result div.text{padding-left:1em;}
-#searchresults div.text,div.name{width:30em; white-space:normal}
-#searchresults td.result{width:30em;}
-#searchresults td.result *{cursor:pointer}
-#searchresults td.type{width:7em;text-align:right; border-right:1px solid #aaa;border-bottom:none}
-#searchresults tr.current{background-color:#ddd}
+#searchresults { list-style:none; position:fixed; top:3.5em; right:0; z-index:100; background-color:#fff; overflow:hidden; text-overflow:ellipsis; max-height:80%; width:26.5em; padding-bottom:1em; -moz-box-shadow:0 0 10px #000; -webkit-box-shadow:0 0 10px #000; box-shadow:0 0 10px #000; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; }
+#searchresults li.resultHeader { font-size:1.2em; font-weight:bold; border-bottom:solid 1px #CCC; padding:.2em; background-color:#eee; }
+#searchresults li.result { margin-left:2em; }
+#searchresults table { width:100%; table-layout:fixed; top:0; border-spacing:0; }
+#searchresults td { padding:0 .3em; vertical-align:top; }
+#searchresults td.result div.text { padding-left:1em; white-space:nowrap; }
+#searchresults td.result * { cursor:pointer; }
+#searchresults td.type { width:3.5em; text-align:right; border-right:1px solid #aaa; border-bottom:none; font-weight:bold; }
+#searchresults tr.current { background-color:#ddd; }
diff --git a/search/css/search.css b/search/css/search.css
deleted file mode 100644
index df0712be03f..00000000000
--- a/search/css/search.css
+++ /dev/null
@@ -1,17 +0,0 @@
-#searchresults{
- margin: 2em;
- list-style:none;
- border: solid 1px #CCC;
-}
-
-#searchresults li.resultHeader{
- font-size:1.2em;
- font-weight:bold;
- border-bottom: solid 1px #CCC;
- padding:0.2em;
- background-color:#eee;
-}
-
-#searchresults li.result{
- margin-left:2em;
-} \ No newline at end of file