Subversion Repositories Integrator Subversion

Rev

Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
179 espaco 1
body {
2
  .ui-chkbox {
3
    display: inline-block;
4
    vertical-align: middle;
5
    margin: 0;
6
    width: $checkboxWidth;
7
    height: $checkboxHeight;
8
 
9
    .ui-chkbox-box {
10
      border: $inputBorder;
11
      border-width: $checkboxBorderWidth;
12
      background: $inputBg;
13
      width: $checkboxWidth;
14
      height: $checkboxHeight;
15
      text-align: center;
16
      position: relative;
17
      border-radius: $borderRadius;
18
      transition: $transition;
19
 
20
      &.ui-state-hover {
21
        border-color: $inputHoverBorderColor;
22
      }
23
 
24
      &.ui-state-focus {
25
        box-shadow: $checkboxFocusShadow;
26
        outline: 0 none;
27
      }
28
 
29
      &.ui-state-active {
30
        border-color:$checkboxActiveBorderColor;
31
        background: $checkboxActiveBg;
32
        color:$checkboxTextActiveColor;
33
 
34
        &.ui-state-hover {
35
          background: $checkboxActiveHoverBg;
36
        }
37
      }
38
 
39
      &.ui-state-error {
40
        @include invalid-input();
41
      }
42
 
43
      .ui-chkbox-icon {
44
        overflow: visible;
45
        position: absolute;
46
        left: 50%;
47
        top: 50%;
48
        margin-left: -1 * $iconSize / 2;
49
        margin-top: -1 * $iconSize / 2;
50
 
51
        &.ui-icon-check {
52
          @include icon_override("\e909");
53
        }
54
 
55
        &.ui-icon-closethick {
56
          @include icon_override("\e90b");
57
        }
58
      }
59
    }
60
  }
61
 
62
  &.ui-input-filled,
63
  .ui-input-filled {
64
    .ui-chkbox {
65
      .ui-chkbox-box {
66
        background-color: $inputFilledBg;
67
 
68
        &.ui-state-hover {
69
          background-color: $inputFilledHoverBg;
70
        }
71
 
72
        &.ui-state-active {
73
          background: $checkboxActiveBg;
74
 
75
          &.ui-state-hover {
76
            background: $checkboxActiveHoverBg;
77
          }
78
        }
79
      }
80
    }
81
  }
82
 
83
  @if ($highlightBg == $checkboxActiveBg) {
84
    .ui-state-highlight {
85
      .ui-chkbox {
86
        .ui-chkbox-box.ui-state-active {
87
          border-color: $highlightTextColor;
88
        }
89
      }
90
    }
91
  }
92
}