2
0

search.css 4.3 KB

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