Debian Codegraph @

docs/html/search/search.css

raw symbols SCIP
1 /*---------------- Search Box positioning */
2
3 #main-menu > li:last-child {
4 /* This <li> object is the parent of the search bar */
5 display: flex;
6 justify-content: center;
7 align-items: center;
8 height: 36px;
9 margin-right: 1em;
10 }
11
12 /*---------------- Search box styling */
13
14 .SRPage * {
15 font-weight: normal;
16 line-height: normal;
17 }
18
19 dark-mode-toggle {
20 margin-left: 5px;
21 display: flex;
22 float: right;
23 }
24
25 #MSearchBox {
26 display: inline-block;
27 white-space : nowrap;
28 background: var(--search-background-color);
29 border-radius: 0.65em;
30 box-shadow: var(--search-box-shadow);
31 z-index: 102;
32 }
33
34 #MSearchBox .left {
35 display: inline-block;
36 vertical-align: middle;
37 height: 1.4em;
38 }
39
40 #MSearchSelect {
41 display: inline-block;
42 vertical-align: middle;
43 width: 20px;
44 height: 19px;
45 background-image: var(--search-magnification-select-image);
46 margin: 0 0 0 0.3em;
47 padding: 0;
48 }
49
50 #MSearchSelectExt {
51 display: inline-block;
52 vertical-align: middle;
53 width: 10px;
54 height: 19px;
55 background-image: var(--search-magnification-image);
56 margin: 0 0 0 0.5em;
57 padding: 0;
58 }
59
60
61 #MSearchField {
62 display: inline-block;
63 vertical-align: middle;
64 width: 7.5em;
65 height: 19px;
66 margin: 0 0.15em;
67 padding: 0;
68 line-height: 1em;
69 border:none;
70 color: var(--search-foreground-color);
71 outline: none;
72 font-family: var(--font-family-search);
73 -webkit-border-radius: 0px;
74 border-radius: 0px;
75 background: none;
76 }
77
78 @media(hover: none) {
79 /* to avoid zooming on iOS */
80 #MSearchField {
81 font-size: 16px;
82 }
83 }
84
85 #MSearchBox .right {
86 display: inline-block;
87 vertical-align: middle;
88 width: 1.4em;
89 height: 1.4em;
90 }
91
92 #MSearchClose {
93 display: none;
94 font-size: inherit;
95 background : none;
96 border: none;
97 margin: 0;
98 padding: 0;
99 outline: none;
100
101 }
102
103 #MSearchCloseImg {
104 padding: 0.3em;
105 margin: 0;
106 }
107
108 .MSearchBoxActive #MSearchField {
109 color: var(--search-active-color);
110 }
111
112
113
114 /*---------------- Search filter selection */
115
116 #MSearchSelectWindow {
117 display: none;
118 position: absolute;
119 left: 0; top: 0;
120 border: 1px solid var(--search-filter-border-color);
121 background-color: var(--search-filter-background-color);
122 z-index: 10001;
123 padding-top: 4px;
124 padding-bottom: 4px;
125 -moz-border-radius: 4px;
126 -webkit-border-top-left-radius: 4px;
127 -webkit-border-top-right-radius: 4px;
128 -webkit-border-bottom-left-radius: 4px;
129 -webkit-border-bottom-right-radius: 4px;
130 -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
131 }
132
133 .SelectItem {
134 font: 8pt var(--font-family-search);
135 padding-left: 2px;
136 padding-right: 12px;
137 border: 0px;
138 }
139
140 span.SelectionMark {
141 margin-right: 4px;
142 font-family: var(--font-family-monospace);
143 outline-style: none;
144 text-decoration: none;
145 }
146
147 a.SelectItem {
148 display: block;
149 outline-style: none;
150 color: var(--search-filter-foreground-color);
151 text-decoration: none;
152 padding-left: 6px;
153 padding-right: 12px;
154 }
155
156 a.SelectItem:focus,
157 a.SelectItem:active {
158 color: var(--search-filter-foreground-color);
159 outline-style: none;
160 text-decoration: none;
161 }
162
163 a.SelectItem:hover {
164 color: var(--search-filter-highlight-text-color);
165 background-color: var(--search-filter-highlight-bg-color);
166 outline-style: none;
167 text-decoration: none;
168 cursor: pointer;
169 display: block;
170 }
171
172 /*---------------- Search results window */
173
174 iframe#MSearchResults {
175 /*width: 60ex;*/
176 height: 15em;
177 }
178
179 #MSearchResultsWindow {
180 display: none;
181 position: absolute;
182 left: 0; top: 0;
183 border: 1px solid var(--search-results-border-color);
184 background-color: var(--search-results-background-color);
185 z-index:10000;
186 width: 300px;
187 height: 400px;
188 overflow: auto;
189 }
190
191 /* ----------------------------------- */
192
193
194 #SRIndex {
195 clear:both;
196 }
197
198 .SREntry {
199 font-size: 10pt;
200 padding-left: 1ex;
201 }
202
203 .SRPage .SREntry {
204 font-size: 8pt;
205 padding: 1px 5px;
206 }
207
208 div.SRPage {
209 margin: 5px 2px;
210 background-color: var(--search-results-background-color);
211 }
212
213 .SRChildren {
214 padding-left: 3ex; padding-bottom: .5em
215 }
216
217 .SRPage .SRChildren {
218 display: none;
219 }
220
221 .SRSymbol {
222 font-weight: bold;
223 color: var(--search-results-foreground-color);
224 font-family: var(--font-family-search);
225 text-decoration: none;
226 outline: none;
227 }
228
229 a.SRScope {
230 display: block;
231 color: var(--search-results-foreground-color);
232 font-family: var(--font-family-search);
233 font-size: 8pt;
234 text-decoration: none;
235 outline: none;
236 }
237
238 a.SRSymbol:focus, a.SRSymbol:active,
239 a.SRScope:focus, a.SRScope:active {
240 text-decoration: underline;
241 }
242
243 span.SRScope {
244 padding-left: 4px;
245 font-family: var(--font-family-search);
246 }
247
248 .SRPage .SRStatus {
249 padding: 2px 5px;
250 font-size: 8pt;
251 font-style: italic;
252 font-family: var(--font-family-search);
253 }
254
255 .SRResult {
256 display: none;
257 }
258
259 div.searchresults {
260 margin-left: 10px;
261 margin-right: 10px;
262 }
263
264 /*---------------- External search page results */
265
266 .pages b {
267 color: white;
268 padding: 5px 5px 3px 5px;
269 background-image: var(--nav-gradient-active-image-parent);
270 background-repeat: repeat-x;
271 text-shadow: 0 1px 1px #000000;
272 }
273
274 .pages {
275 line-height: 17px;
276 margin-left: 4px;
277 text-decoration: none;
278 }
279
280 .hl {
281 font-weight: bold;
282 }
283
284 #searchresults {
285 margin-bottom: 20px;
286 }
287
288 .searchpages {
289 margin-top: 10px;
290 }
291