@import "./page_list"; .search-listpage-icon { font-size: 16px; color: #999; } .search-listpage-clear { z-index: 3; display: none; position: absolute; right: 8px; z-index: 10; font-size: 0.6em; width: 22px; height: 22px; color: #ccc; padding: 8px; } .search-input-group { display: inline-block; margin-left: 20px; margin-bottom: 0; width: 200px; vertical-align: bottom; } .search-top { .search-top-input-group { // using react-bootstrap-typeahead // see: https://github.com/ericgio/react-bootstrap-typeahead .bootstrap-typeahead-input input { width: 400px; } .search-top-clear { position: absolute; right: 40px; z-index: 10; width: 22px; height: 22px; top: 7px; color: #ccc; padding: 0; } } // using react-bootstrap-typeahead // see: https://github.com/ericgio/react-bootstrap-typeahead .bootstrap-typeahead-menu { li a span { .picture { width: 14px; height: 14px; } .page-path { display: inline; padding: 0 4px; color: inherit; } .page-list-meta { font-size: .9em; color: #999; >span { margin-right: .3rem; } } } } } .search-result { .search-result-list { nav { &.affix { top: 8px; width: 32%; padding-right: 0; padding-bottom: 50px; height: 100%; overflow-y: scroll; } .nav { > li { padding: 0px 11px 0 8px; &.active { padding: 0px 8px; border-right: solid 3px #666; background: #f0f0f0; } } } } } .search-result-content { padding-bottom: 32px; .search-result-meta { margin-bottom: 16px; font-weight: bold; } .search-result-page { > h2 { font-size: 20px; } &:first-child > h2 { margin-top: 0; } .wiki { border: solid 1px #ccc; padding: 16px; border-radius: 3px; font-size: 13px; } } } } // Smartphone and Tablet @media (max-width: $screen-sm-max) { .search-top { margin-top: 4px 0 0 0; padding: 0; border-style: none !important; box-shadow: none !important; -webkit-box-shadow: none !important; .search-form { width: 76%; } .search-top-input-group { .search-top-input { width: 100%; } .btn { z-index: 10; } } } .search-result { .search-result-content { .search-result-page { .wiki { h1, h2, h3, h4, h5, h6 { font-size: medium; } height: 250px; overflow: scroll; } } } } } // Smartphone @media (max-width: $screen-xs-max) { .search-top { .search-form { min-width: 40%; max-width: 50%; width: 50%; } .search-box { } } }