~wasta-linux/wasta-core-wily/master

« back to all changes in this revision

Viewing changes to install-files/firefox-addons/extensions/{8a01dfcc-450f-11e5-909b-fb581d5d46b0}/chrome/global/spinbuttons.css

  • Committer: Rik Shaw
  • Date: 2015-11-01 13:28:40 UTC
  • Revision ID: git-v1:59c62c9b2e4f4f1cf62db1f5dc1cf630feb99933
initial 15.10 commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
6
 
 
7
spinbuttons {
 
8
  -moz-appearance: spinner;
 
9
  cursor: default;
 
10
}
 
11
 
 
12
.spinbuttons-button {
 
13
  min-width: 13px;
 
14
  min-height: 11px;
 
15
  margin: 0 !important;
 
16
  border: 2px solid;
 
17
  -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
 
18
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
19
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
20
  -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
 
21
  background-color: ThreeDFace;
 
22
}
 
23
 
 
24
.spinbuttons-button > .button-box {
 
25
  border: 0;
 
26
}
 
27
 
 
28
.spinbuttons-button:hover:active
 
29
{
 
30
  border: 2px solid;
 
31
  -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
 
32
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
33
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
34
  -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
 
35
}
 
36
 
 
37
.spinbuttons-button[disabled="true"] {
 
38
  border: 2px solid;
 
39
  -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important;
 
40
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important;
 
41
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
 
42
  -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important;
 
43
}
 
44
 
 
45
.spinbuttons-up {
 
46
  -moz-appearance: spinner-upbutton;
 
47
  background-image: url("chrome://global/skin/arrow/arrow-up.gif");
 
48
  background-position: center center;
 
49
  background-repeat: no-repeat;
 
50
}
 
51
 
 
52
.spinbuttons-up[disabled="true"] {
 
53
  background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
 
54
}
 
55
 
 
56
.spinbuttons-down {
 
57
  -moz-appearance: spinner-downbutton;
 
58
  background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
 
59
  background-position: center center;
 
60
  background-repeat: no-repeat;
 
61
}
 
62
 
 
63
.spinbuttons-down[disabled="true"] {
 
64
  background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
 
65
}