summaryrefslogtreecommitdiffstats
path: root/views/layouts/presentation_files/iPhoneCheckboxes.css
blob: 365a2863e71145ee9d32c142a6178be8381bd379 (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
.iPhoneCheckContainer {
  position: relative;
  height: 17px;
  cursor: pointer;
  overflow: hidden; display:inline-block; padding:0; }
  .iPhoneCheckContainer input {
    position: absolute;
    top: 5px;
    left: 30px;
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); }
  .iPhoneCheckContainer label {
    white-space: nowrap;
    font-size: 8px;
    line-height: 0px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    height: 17px;
    position: absolute;
    width: auto;
    top: 0;
    padding-top: 0px;
    overflow: hidden; }
  .iPhoneCheckContainer, .iPhoneCheckContainer label {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none; }

.iPhoneCheckDisabled {
  opacity: 0.5;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50); }

label.iPhoneCheckLabelOn {
  color: white;
  background: url('on.png') no-repeat;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
  padding-top: 0px; width:32px;}
  label.iPhoneCheckLabelOn span {
    padding-left: 8px; position:relative; top:-1px;}
label.iPhoneCheckLabelOff {
  color: #8b8b8b;
  background: url('off.png') no-repeat right 0;
  text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
  text-align: right;
  right: 6px; width:32px; }
  label.iPhoneCheckLabelOff span {
    padding-right: 8px; position:relative; top:-1px;}

.iPhoneCheckHandle {
  display: block;
  height: 17px;
  cursor: pointer;
  position: absolute;
  top: 2px;
  left: 0;
  width: 13px;
  background: url('slider.png') no-repeat;
  }