|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 %define WINDOWS_AERO |
|
6 %include allDownloadsViewOverlay.css |
|
7 %undef WINDOWS_AERO |
|
8 |
|
9 @media (-moz-windows-default-theme) { |
|
10 /* |
|
11 -moz-appearance: menuitem is almost right, but the hover effect is not |
|
12 transparent and is lighter than desired. |
|
13 |
|
14 Copied from the autocomplete richlistbox styling in |
|
15 toolkit/themes/windows/global/autocomplete.css |
|
16 |
|
17 This styling should be kept in sync with the style from the above file. |
|
18 */ |
|
19 #downloadsRichListBox > richlistitem.download[selected] { |
|
20 color: inherit; |
|
21 background-color: transparent; |
|
22 /* four gradients for the bevel highlights on each edge, one for blue background */ |
|
23 background-image: |
|
24 linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, rgba(255,255,255,0) 3px), |
|
25 linear-gradient(to right, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px), |
|
26 linear-gradient(to left, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px), |
|
27 linear-gradient(to top, rgba(255,255,255,0.4) 3px, rgba(255,255,255,0) 3px), |
|
28 linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3)); |
|
29 background-clip: content-box; |
|
30 border-radius: 6px; |
|
31 outline: 1px solid rgb(124,163,206); |
|
32 -moz-outline-radius: 3px; |
|
33 outline-offset: -2px; |
|
34 } |
|
35 } |