Commit | Line | Data |
---|---|---|
dadba0f2 RK |
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 | button { | |
6 | line-height: 20px; | |
7 | font-size: 1em; | |
8 | height: 30px; | |
9 | max-height: 30px; | |
10 | min-width: 120px; | |
11 | padding: 3px; | |
12 | color: #000000; | |
13 | border: none; | |
14 | border-radius: 300px; | |
15 | background-color: #C09070; | |
16 | -moz-appearance: none; | |
17 | -moz-border-top-colors: none !important; | |
18 | -moz-border-right-colors: none !important; | |
19 | -moz-border-bottom-colors: none !important; | |
20 | -moz-border-left-colors: none !important; | |
21 | } | |
22 | ||
23 | button:hover { | |
24 | background-color: #FFCF00; | |
25 | cursor: pointer; | |
26 | } | |
27 | ||
28 | button:hover:active { | |
29 | background-color: #FF9F00; | |
30 | } | |
31 | ||
32 | progress { | |
33 | height: 30px; | |
34 | vertical-align: middle; | |
35 | padding: 0; | |
36 | width: 120px; | |
37 | } | |
38 | ||
39 | li { | |
40 | margin: 20px 0; | |
41 | } | |
42 | ||
43 | .name { | |
44 | display: inline-block; | |
45 | min-width: 280px; | |
46 | } | |
47 | ||
48 | .status { | |
49 | display: inline-block; | |
50 | min-width: 120px; | |
51 | } | |
52 | ||
53 | .warning { | |
54 | color: #F06; | |
55 | margin: 0; | |
56 | font-size: 0.9em; | |
57 | } | |
58 | ||
59 | li[status="unknown"], | |
60 | li > .uninstall-button, | |
61 | li > .install-button, | |
62 | li > progress { | |
63 | display: none; | |
64 | } | |
65 | ||
66 | li[status="installed"] > .uninstall-button, | |
67 | li[status="uninstalled"] > .install-button, | |
68 | li[status="preparing"] > progress, | |
69 | li[status="downloading"] > progress, | |
70 | li[status="installing"] > progress { | |
71 | display: inline; | |
72 | } | |
73 | ||
74 | li:not([status="uninstalled"]) > .warning { | |
75 | display: none; | |
76 | } |