13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js">.#{$prefix}form-cb-wrap {
    height: $form-field-height;
    @if $include-ext-toolbar-toolbar and $form-toolbar-field-height != $form-field-height {
        .#{$prefix}toolbar-item &amp; {
            height: $form-toolbar-field-height;
        }
    }
}
 
.#{$prefix}form-cb {
    margin-top: round(($form-field-height - $form-checkbox-size) / 2);
    @if $include-ext-toolbar-toolbar and $form-toolbar-field-height != $form-field-height {
        .#{$prefix}toolbar-item &amp; {
            margin-top: round(($form-toolbar-field-height - $form-checkbox-size) / 2);
        }
    }
}
 
.#{$prefix}form-checkbox {
    width: $form-checkbox-size;
    height: $form-checkbox-size;
    background: theme-background-image($form-checkbox-image) no-repeat;
}
 
.#{$prefix}form-cb-checked .#{$prefix}form-checkbox {
    background-position: 0 (0 - $form-checkbox-size);
}
 
/* Focused */
.#{$prefix}form-checkbox-focus {
    background-position: (0 - $form-checkbox-size) 0;
}
.#{$prefix}form-cb-checked {
    .#{$prefix}form-checkbox-focus {
        background-position: (0 - $form-checkbox-size) (0 - $form-checkbox-size);
    }
}
 
/* boxLabel */
.#{$prefix}form-cb-label {
    margin-top: round(($form-field-height - $form-label-line-height) / 2);
    font: $form-label-font;
    .#{$prefix}toolbar-item &amp; {
        @if $form-toolbar-label-font != $form-label-font {
            font: $form-toolbar-label-font;
        }
        @if ($form-field-height != $form-toolbar-field-height) or ($form-label-line-height != $form-toolbar-label-line-height) {
            margin-top: round(($form-toolbar-field-height - $form-toolbar-label-line-height) / 2);
        }
    }
}
 
.#{$prefix}form-cb-label-before {
    margin-right: $form-checkbox-label-spacing;
}
 
@if $include-rtl {
    .#{$prefix}rtl.#{$prefix}field .#{$prefix}form-cb-label-before {
        margin-right: 0;
        margin-left: $form-checkbox-label-spacing;
    }
}
 
.#{$prefix}form-cb-label-after {
    margin-left: $form-checkbox-label-spacing;
}
 
@if $include-rtl {
    .#{$prefix}rtl.#{$prefix}field .#{$prefix}form-cb-label-after {
        margin-left: 0;
        margin-right: $form-checkbox-label-spacing;
    }
}
</pre>
</body>
</html>