search.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. /*---------------- Search Box */
  2. #MSearchBox {
  3. white-space : nowrap;
  4. background: white;
  5. border-radius: 0.65em;
  6. box-shadow: inset 0.5px 0.5px 3px 0px #555;
  7. z-index: 102;
  8. }
  9. #MSearchBox .left {
  10. display: inline-block;
  11. vertical-align: middle;
  12. height: 1.4em;
  13. }
  14. #MSearchSelect {
  15. display: inline-block;
  16. vertical-align: middle;
  17. height: 19px;
  18. padding: 0 0 0 0.3em;
  19. margin: 0;
  20. }
  21. #MSearchField {
  22. display: inline-block;
  23. vertical-align: middle;
  24. width: 7.5em;
  25. height: 19px;
  26. margin: 0 0.15em;
  27. padding: 0;
  28. line-height: 1em;
  29. border:none;
  30. color: #909090;
  31. outline: none;
  32. font-family: Arial, Verdana, sans-serif;
  33. -webkit-border-radius: 0px;
  34. border-radius: 0px;
  35. background: none;
  36. }
  37. @media(hover: none) {
  38. /* to avoid zooming on iOS */
  39. #MSearchField {
  40. font-size: 16px;
  41. }
  42. }
  43. #MSearchBox .right {
  44. display: inline-block;
  45. vertical-align: middle;
  46. width: 1.4em;
  47. height: 1.4em;
  48. }
  49. #MSearchClose {
  50. display: none;
  51. font-size: inherit;
  52. background : none;
  53. border: none;
  54. margin: 0;
  55. padding: 0;
  56. outline: none;
  57. }
  58. #MSearchCloseImg {
  59. height: 1.4em;
  60. padding: 0.3em;
  61. margin: 0;
  62. }
  63. .MSearchBoxActive #MSearchField {
  64. color: #000000;
  65. }
  66. #main-menu > li:last-child {
  67. /* This <li> object is the parent of the search bar */
  68. display: flex;
  69. justify-content: center;
  70. align-items: center;
  71. height: 36px;
  72. margin-right: 1em;
  73. }
  74. /*---------------- Search filter selection */
  75. #MSearchSelectWindow {
  76. display: none;
  77. position: absolute;
  78. left: 0; top: 0;
  79. border: 1px solid #90A5CE;
  80. background-color: #F9FAFC;
  81. z-index: 10001;
  82. padding-top: 4px;
  83. padding-bottom: 4px;
  84. -moz-border-radius: 4px;
  85. -webkit-border-top-left-radius: 4px;
  86. -webkit-border-top-right-radius: 4px;
  87. -webkit-border-bottom-left-radius: 4px;
  88. -webkit-border-bottom-right-radius: 4px;
  89. -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
  90. }
  91. .SelectItem {
  92. font: 8pt Arial, Verdana, sans-serif;
  93. padding-left: 2px;
  94. padding-right: 12px;
  95. border: 0px;
  96. }
  97. span.SelectionMark {
  98. margin-right: 4px;
  99. font-family: monospace;
  100. outline-style: none;
  101. text-decoration: none;
  102. }
  103. a.SelectItem {
  104. display: block;
  105. outline-style: none;
  106. color: #000000;
  107. text-decoration: none;
  108. padding-left: 6px;
  109. padding-right: 12px;
  110. }
  111. a.SelectItem:focus,
  112. a.SelectItem:active {
  113. color: #000000;
  114. outline-style: none;
  115. text-decoration: none;
  116. }
  117. a.SelectItem:hover {
  118. color: #FFFFFF;
  119. background-color: #3D578C;
  120. outline-style: none;
  121. text-decoration: none;
  122. cursor: pointer;
  123. display: block;
  124. }
  125. /*---------------- Search results window */
  126. iframe#MSearchResults {
  127. /*width: 60ex;*/
  128. height: 15em;
  129. }
  130. #MSearchResultsWindow {
  131. display: none;
  132. position: absolute;
  133. left: 0; top: 0;
  134. border: 1px solid #000;
  135. background-color: #EEF1F7;
  136. z-index:10000;
  137. }
  138. /* ----------------------------------- */
  139. #SRIndex {
  140. clear:both;
  141. padding-bottom: 15px;
  142. }
  143. .SREntry {
  144. font-size: 10pt;
  145. padding-left: 1ex;
  146. }
  147. .SRPage .SREntry {
  148. font-size: 8pt;
  149. padding: 1px 5px;
  150. }
  151. body.SRPage {
  152. margin: 5px 2px;
  153. }
  154. .SRChildren {
  155. padding-left: 3ex; padding-bottom: .5em
  156. }
  157. .SRPage .SRChildren {
  158. display: none;
  159. }
  160. .SRSymbol {
  161. font-weight: bold;
  162. color: #425E97;
  163. font-family: Arial, Verdana, sans-serif;
  164. text-decoration: none;
  165. outline: none;
  166. }
  167. a.SRScope {
  168. display: block;
  169. color: #425E97;
  170. font-family: Arial, Verdana, sans-serif;
  171. text-decoration: none;
  172. outline: none;
  173. }
  174. a.SRSymbol:focus, a.SRSymbol:active,
  175. a.SRScope:focus, a.SRScope:active {
  176. text-decoration: underline;
  177. }
  178. span.SRScope {
  179. padding-left: 4px;
  180. font-family: Arial, Verdana, sans-serif;
  181. }
  182. .SRPage .SRStatus {
  183. padding: 2px 5px;
  184. font-size: 8pt;
  185. font-style: italic;
  186. font-family: Arial, Verdana, sans-serif;
  187. }
  188. .SRResult {
  189. display: none;
  190. }
  191. div.searchresults {
  192. margin-left: 10px;
  193. margin-right: 10px;
  194. }
  195. /*---------------- External search page results */
  196. .searchresult {
  197. background-color: #F0F3F8;
  198. }
  199. .pages b {
  200. color: white;
  201. padding: 5px 5px 3px 5px;
  202. background-image: url("../tab_a.png");
  203. background-repeat: repeat-x;
  204. text-shadow: 0 1px 1px #000000;
  205. }
  206. .pages {
  207. line-height: 17px;
  208. margin-left: 4px;
  209. text-decoration: none;
  210. }
  211. .hl {
  212. font-weight: bold;
  213. }
  214. #searchresults {
  215. margin-bottom: 20px;
  216. }
  217. .searchpages {
  218. margin-top: 10px;
  219. }