summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/themes/blackberry/ToggleButton.css
blob: 0658f5fd1b30bbe8dff4e09bb578d11f2218a83e (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
/* dojox.mobile.ToggleButton */
.mblToggleButton {
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  padding: 0px 10px 0px 25px;
  height: 29px;
  border-width: 1px 1px 1px 1px;
  border-style: outset;
  border-color: #9CACC0;
  -webkit-border-radius: 6px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce));
  font-family: Helvetica;
  font-size: 16px;
  color: black;
  line-height: 29px;
}
.mblToggleButton.mblToggleButtonSelected {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#088eef), to(#0851ad), color-stop(0.5, #0869c6));
  color: white;
}
.mblToggleButton.mblToggleButtonChecked {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fbf7), to(#cecfd6), color-stop(0.5, #ced3ce));
  color: black;
}
.mblToggleButton.mblToggleButtonChecked::after {
  position: absolute;
  content: "";
  top: 6px;
  left: 7px;
  width: 5px;
  height: 10px;
  border-color: #0851AD;
  border-width: 2px;
  border-style: none solid solid none;
  -webkit-transform: rotate(45deg) skew(10deg);
  -webkit-transform-origin: 50% 50%;
}
.mblToggleButton.mblToggleButtonChecked.mblToggleButtonSelected {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#088eef), to(#0851ad), color-stop(0.5, #0869c6));
  color: white;
}
.mblToggleButton.mblToggleButtonChecked.mblToggleButtonSelected::after {
  border-color: white;
}
.mblToggleButton:disabled {
  cursor: default;
  border-color: grey;
  background-image: none;
  color: grey;
}