WebUI: Add support for running concurrent searches
[qBittorrent.git] / src / webui / www / private / css / Window.css
blob73cab1219076d2d87137684271d0aa6a05f54b14
1 @import url("palette.css");
3 /*
5 Window.css for Mocha UI
7 Theme: Default
9 Copyright:
10 Copyright (c) 2007-2009 Greg Houston, <http://greghoustondesign.com/>.
12 License:
13 MIT-style license.
15 Required by:
16 Window.js and Modal.css
20 /* Windows
21 ---------------------------------------------------------------- */
23 .mocha {
24 background-color: var(--color-background-default);
25 display: none;
26 overflow: hidden;
29 .mochaOverlay {
30 background-color: var(--color-background-default);
31 border-radius: 5px;
32 height: auto !important; /* also fixes out of block issue */
33 left: 0;
34 position: absolute; /* This is also set in theme.js in order to make theme transitions smoother */
35 top: 0;
40 We get a little creative here in order to define a gradient in the CSS using a query
41 string appended to a background image.
43 "from" is the top color of the gradient. "to" is the bottom color of the gradient.
45 Both must be hex values without the leading # sign.
49 .mochaTitlebar {
50 background-color: var(--color-background-default);
51 border-radius: 5px;
52 overflow: hidden;
53 width: 100%;
56 .mochaTitlebar h3 {
57 font-size: 12px;
58 font-weight: bold;
59 line-height: 15px;
60 margin: 0;
61 padding: 5px 10px 4px 12px;
64 .mochaToolbarWrapper {
65 background-color: var(--color-background-popup);
66 height: auto !important;
67 overflow: hidden;
68 position: relative;
69 width: 100%; /* For IE */
72 div.mochaToolbarWrapper.bottom {
73 border: 0;
74 border-bottom: 1px solid var(--color-border-default);
77 .mochaToolbar {
78 border-top: 1px solid var(--color-border-default);
79 height: auto !important;
80 padding-top: 4px;
81 width: 100%; /* For IE */
84 .mochaContentBorder {
85 border-bottom: 1px solid var(--color-border-default);
86 border-top: 1px solid var(--color-border-default);
89 /* Has a fixed height and scrollbars if required. */
90 .mochaContentWrapper {
91 background-color: var(--color-background-popup);
92 font-size: 12px;
93 overflow: auto;
96 .mochaContent {
97 padding: 10px 12px;
100 .mocha .handle {
101 background: #0f0;
102 font-size: 1px; /* For IE6 */
103 height: 3px;
104 opacity: 0;
105 overflow: hidden;
106 position: absolute;
107 width: 3px;
108 z-index: 2;
111 /* Corner resize handles */
112 .mocha .corner {
113 background: #f00;
114 height: 10px;
115 width: 10px;
118 /* Bottom right resize handle */
119 .mocha .cornerSE {
120 background-color: var(--color-background-default);
121 height: 20px;
122 width: 20px;
125 .mochaCanvasHeader {
126 left: 0;
127 overflow: hidden;
128 position: absolute;
129 top: 0;
130 visibility: hidden;
131 z-index: -1;
134 .mochaControls {
135 height: 14px;
136 position: absolute;
137 right: 8px;
138 top: 8px;
139 width: 52px;
140 z-index: 4;
143 .mochaCanvasControls {
144 position: absolute;
145 right: 8px;
146 top: 8px;
147 z-index: 3;
151 To use images for these buttons:
152 1. Set the useCanvasControls window option to false.
153 2. If you use a different button size you may need to reposition the controls.
154 Modify the controlsOffset window option.
155 2. Replcac the background-color with a background-image for each button.
158 .mochaMinimizeButton,
159 .mochaMaximizeButton,
160 .mochaCloseButton {
161 background-color: var(--color-background-default);
162 color: var(--color-text-default);
163 cursor: pointer;
164 float: right;
165 font-size: 1px;
166 height: 14px;
167 margin-left: 5px;
168 width: 14px;
169 z-index: 4;
172 .mochaMinimizeButton {
173 margin-left: 0;
176 .mochaSpinner {
177 background: url("../images/spinner.gif") no-repeat;
178 bottom: 7px;
179 display: none;
180 height: 16px;
181 left: 6px;
182 position: absolute;
183 width: 16px;
186 .mochaIframe {
187 width: 100%;
190 /* Fix for IE6 select z-index issue */
191 .zIndexFix {
192 border: 1px solid transparent;
193 display: block;
194 /*filter: mask();*/
195 height: 100px;
196 left: 0;
197 position: absolute;
198 top: 0;
199 width: 100px;
200 z-index: -1;
203 /* Viewport overlays
204 ---------------------------------------------------------------- */
206 #modalOverlay {
207 background: #000;
208 display: none;
209 left: 0;
210 opacity: 0;
211 position: fixed;
212 top: 0;
213 width: 100%;
214 z-index: 10000;
217 /* Fix for IE6 select z-index issue */
218 #modalFix {
219 display: none;
220 left: 0;
221 opacity: 0;
222 position: absolute;
223 top: 0;
224 width: 100%;
225 z-index: 9999;
228 /* Underlay */
230 #windowUnderlay {
231 background: #fff;
232 left: 0;
233 position: fixed;
234 top: 0;
235 width: 100%;
238 * html #windowUnderlay {
239 position: absolute;
242 /* The replaced class is used internally when converting CSS values to Canvas. These classes should not be removed. */
244 .mocha.replaced,
245 .mochaTitlebar.replaced,
246 .mochaMinimizeButton.replaced,
247 .mochaMaximizeButton.replaced,
248 .mochaCloseButton.replaced {
249 background-color: transparent !important;
252 .windowClosed {
253 display: none;
254 left: -20000px;
255 overflow: hidden;
256 position: absolute;
257 top: -20000px;
258 visibility: hidden;
259 z-index: -1;
262 .windowClosed .mochaContentBorder,
263 .windowClosed .mochaToolbarWrapper,
264 .windowClosed .mochaTitlebar,
265 .windowClosed .mochaControls,
266 .windowClosed .mochaCanvasControls {
267 display: none;
268 left: 0;
269 position: absolute;
270 top: 0;
271 visibility: hidden;
272 z-index: -1;
275 /* Modals */
277 .modal2 {
278 border: 8px solid #fff;
281 .modal2 .mochaContentBorder {
282 border-width: 0px;
285 /* Window Themes */
287 .mocha.no-canvas {
288 background: #e5e5e5;
289 border: 1px solid #555;
292 .mocha.no-canvas .mochaTitlebar {
293 background: #e5e5e5;
296 .mocha.transparent .mochaTitlebar h3 {
297 color: #fff;
298 display: none;
301 .mocha.transparent .mochaContentWrapper {
302 background: transparent;
305 .mocha.notification {
306 background: #cedff2;
309 .mocha.notification .mochaTitlebar {
310 opacity: 0;
313 .mocha.notification .mochaContentBorder {
314 border-width: 0px;
317 .mocha.notification .mochaContentWrapper {
318 background: transparent;
319 font-size: 12px;
320 font-weight: bold;
321 text-align: center;
324 /* Example Window Themes */
326 #about_contentWrapper {
327 background: #e5e5e5 url("../images/logo2.gif") 3px 3px no-repeat;
330 #builder_contentWrapper {
331 background: #f5f5f7;
334 #json01 .mochaTitlebar {
335 background: #6dd2db;
338 #json02 .mochaTitlebar {
339 background: #6db6db;
342 #json03 .mochaTitlebar {
343 background: #6d92db;
346 .jsonExample .mochaTitlebar h3 {
347 color: #ddd;
350 /* This does not work in IE6. */
351 .isFocused.jsonExample .mochaTitlebar h3 {
352 color: #fff;
355 #fxmorpherExample .mochaContentWrapper {
356 background: #577a9e;
359 #clock {
360 background: #fff;
363 /* Workaround to make invisible buttons clickable */
365 .mochaMinimizeButton.replaced,
366 .mochaMaximizeButton.replaced,
367 .mochaCloseButton.replaced {
368 background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") !important;
371 /* iOS iframe scrolling */
372 .windowFrame .mochaContentWrapper {
373 /* scroll the Window content. !important required. */
374 overflow: auto !important;
375 -webkit-overflow-scrolling: touch;
378 .windowFrame .mochaContent {
379 height: 100%;
382 .windowFrame iframe {
383 /* fix double scroll bar by reducing frame height. !important required. */
384 height: calc(100% - 5px) !important;