summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/meter/default-style/style.css
blob: 9e0697bb3be2d874422fc9c9d9c034000e3e4e9d (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
div.meter-element {
  display: inline-block;
  height: 1em;
  width: 5em;
  vertical-align: -0.2em;

  background: -moz-linear-gradient(top, #e6e6e6, #e6e6e6, #eeeeee 20%, #cccccc 45%, #cccccc 55%);
}

div.meter-optimum {
  float: none ! important;

  height: 100%;
  /*
   * We can't apply the following style to the reference because it will have
   * underisable effectes:
   * width: 100%;
   */

  /* green. */
  background: -moz-linear-gradient(top, #ad7, #ad7, #cea 20%, #7a3 45%, #7a3 55%);
}

div.meter-sub-optimum {
  float: none ! important;

  height: 100%;
  /*
   * We can't apply the following style to the reference because it will have
   * underisable effectes:
   * width: 100%;
   */

  /* orange. */
  background: -moz-linear-gradient(top, #fe7, #fe7, #ffc 20%, #db3 45%, #db3 55%);
}

div.meter-sub-sub-optimum {
  float: none ! important;

  height: 100%;
  /*
   * We can't apply the following style to the reference because it will have
   * underisable effectes:
   * width: 100%;
   */

  /* red. */
  background: -moz-linear-gradient(top, #f77, #f77, #fcc 20%, #d44 45%, #d44 55%);
}

meter, meter::-moz-meter-bar, div.meter-element, div.meter-optimum, div.meter-sub-optimum, div.meter-sub-sub-optimum {
  -moz-appearance: none;
}