summaryrefslogtreecommitdiffstats
path: root/devtools/client/webide/themes/addons.css
blob: 1ae41f2d9e3766d904f1e649af0a85f31e6d7a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

button {
  line-height: 20px;
  font-size: 1em;
  height: 30px;
  max-height: 30px;
  min-width: 120px;
  padding: 3px;
  color: #737980;
  border: 1px solid rgba(23,50,77,.4);
  border-radius: 5px;
  background-color: #f1f1f1;
  background-image: linear-gradient(#fff, rgba(255,255,255,.1));
  box-shadow: 0 1px 1px 0 #fff, inset 0 2px 2px 0 #fff;
  text-shadow: 0 1px 1px #fefffe;
  -moz-appearance: none;
  -moz-border-top-colors: none !important;
  -moz-border-right-colors: none !important;
  -moz-border-bottom-colors: none !important;
  -moz-border-left-colors: none !important;
}

button:hover {
  background-image: linear-gradient(#fff, rgba(255,255,255,.6));
  cursor: pointer;
}

button:hover:active {
  background-image: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.6));
}

progress {
  height: 30px;
  vertical-align: middle;
  padding: 0;
  width: 120px;
}

li {
  margin: 20px 0;
}

.name {
  display: inline-block;
  min-width: 280px;
}

.status {
  display: inline-block;
  min-width: 120px;
}

.warning {
  color: #F06;
  margin: 0;
  font-size: 0.9em;
}

li[status="unknown"],
li > .uninstall-button,
li > .install-button,
li > progress {
  display: none;
}

li[status="installed"] > .uninstall-button,
li[status="uninstalled"] > .install-button,
li[status="preparing"] > progress,
li[status="downloading"] > progress,
li[status="installing"] > progress {
  display: inline;
}

li:not([status="uninstalled"]) > .warning {
  display: none;
}