aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/css
diff options
context:
space:
mode:
authorMatias Niemelä2013-05-09 21:53:07 -0400
committerIgor Minar2013-05-16 16:17:46 -0700
commit3a49b7eec4836ec9dc1588e6cedda942755dc7bf (patch)
treee6daf1614c8d864858cafaa0a36751488c874e05 /docs/src/templates/css
parent0401a7f598ef9a36ffe1f217e1a98961046fa551 (diff)
downloadangular.js-3a49b7eec4836ec9dc1588e6cedda942755dc7bf.tar.bz2
feat(ngdocs): Add FullText search to replace Google search in docs
Diffstat (limited to 'docs/src/templates/css')
-rw-r--r--docs/src/templates/css/docs.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css
index c15172ca..dd0ad5b7 100644
--- a/docs/src/templates/css/docs.css
+++ b/docs/src/templates/css/docs.css
@@ -259,4 +259,39 @@ ul.events > li > h3 {
.syntax-links + pre {
border-top-left-radius:0;
border-top-right-radius:0;
+
+.search-results {
+ clear:both;
+ display:table;
+ width:100%;
+}
+
+.search-results > .search-group {
+ vertical-align:top;
+ padding:10px 0;
+ display:table-cell;
+}
+
+.search-group.cols-1 { width:100%; }
+.search-group.cols-2 { width:50%; }
+.search-group.cols-3 { width:33%; }
+.search-group.cols-4 { width:25%; }
+
+.search-close {
+ z-index:1029;
+ position:absolute;
+ bottom:-25px;
+ left:80%;
+ text-align:center;
+ line-height:50px;
+ width:50px;
+ font-size:2em;
+ background:#222222;
+ border-radius:15px;
+}
+
+.search-close span {
+ text-decoration:none;
+ position:relative;
+ z-index:1031;
}