diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-05 17:07:25 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-05 17:07:25 +0200 |
commit | d2bb2ba454c12adf1feb0e9c114fe9851f6c2623 (patch) | |
tree | b647011e230796b740f87f871ff439b42cd3678b /theme/stylesheets | |
parent | ba912318cdfcf28b8d1e8ff51315e80d600f7d6e (diff) | |
download | gitbook-d2bb2ba454c12adf1feb0e9c114fe9851f6c2623.zip gitbook-d2bb2ba454c12adf1feb0e9c114fe9851f6c2623.tar.gz gitbook-d2bb2ba454c12adf1feb0e9c114fe9851f6c2623.tar.bz2 |
Remove style for search
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-x | theme/stylesheets/website/summary.less | 36 | ||||
-rw-r--r-- | theme/stylesheets/website/variables.less | 6 |
2 files changed, 0 insertions, 42 deletions
diff --git a/theme/stylesheets/website/summary.less b/theme/stylesheets/website/summary.less index 6ef7ce4..37f2950 100755 --- a/theme/stylesheets/website/summary.less +++ b/theme/stylesheets/website/summary.less @@ -15,30 +15,6 @@ .transition(left @sidebar-transition-duration ease); - .book-search { - padding: @sidebar-search-padding; - - background: @sidebar-search-background; - - position: absolute; - top: -@header-height; - left: 0px; - right: 0px; - - .transition(top 0.5s ease); - - input, input:focus, input:hover { - width: 100%; - background: @sidebar-search-input-background; - border: 1px solid @sidebar-search-input-border-color; - .box-shadow(none); - outline: none; - line-height: 22px; - padding: 7px 4px; - color: inherit; - } - } - ul.summary { position: absolute; top: 0px; @@ -131,16 +107,4 @@ .transition(none) !important; } } - - &.with-search { - .book-summary { - .book-search { - top: 0px; - } - - ul.summary { - top: @header-height; - } - } - } } diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less index 21eac75..4d3e884 100644 --- a/theme/stylesheets/website/variables.less +++ b/theme/stylesheets/website/variables.less @@ -35,12 +35,6 @@ @sidebar-border-right: 1px solid @header-border; @sidebar-nested-padding: 20px; - -@sidebar-search-padding: 6px; -@sidebar-search-background: transparent; -@sidebar-search-input-background: transparent; -@sidebar-search-input-border-color: transparent; - @sidebar-divider-color: @header-border; @sidebar-link-color: @sidebar-color; |