nitdoc: Add quick search results preview.
[nit.git] / share / nitdoc / styles / main.css
index 253634e..07214ec 100644 (file)
@@ -256,7 +256,6 @@ article .info .code {
 input[type=text] {\r
        width: 150px;\r
        border: 1px solid #CCC;\r
-       border-radius: 5px;\r
        margin-right: 5px;
        padding: 1px 2px;\r
 }
@@ -321,4 +320,36 @@ nav h3 a.fold {
 .init.private { background-image: url('../resources/icons/const_private.png')}\r
 .fun.public { background-image: url('../resources/icons/meth_public.png')}\r
 .fun.protected { background-image: url('../resources/icons/meth_protected.png')}\r
-.fun.private { background-image: url('../resources/icons/meth_private.png')}
\ No newline at end of file
+.fun.private { background-image: url('../resources/icons/meth_private.png')}\r
+\r
+/* Quick Search */\r
+\r
+#search {\r
+       width: 300px;\r
+}\r
+\r
+#searchTable {\r
+       background-color: #FFFFFF;\r
+       border: 1px solid #E0E0E0;\r
+       border-spacing: 0px;\r
+}\r
+\r
+#searchTable .activeSearchResult {\r
+       cursor: pointer;\r
+       background: #EEE;\r
+}\r
+\r
+#searchTable td {\r
+       white-space: nowrap;\r
+       overflow: hidden;\r
+       line-height: 22px;\r
+       padding: 2px;\r
+       width: 25%;\r
+}\r
+\r
+#searchTable td.entryInfo {\r
+       color: #0D8921;\r
+       font-size: small;\r
+       width: 75%;\r
+       text-align: right;\r
+}
\ No newline at end of file