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}box-layout-ct {
    overflow: hidden;
    zoom: 1;
}
 
.#{$prefix}box-target {
    position: absolute;
    // This width for the &quot;CSS container box&quot; of the box child items gives them the room
    // they need to avoid being &quot;crushed&quot; (aka, &quot;wrapped&quot;). On Opera, elements cannot be
    // wider than 32767px or else they break the scrollWidth (it becomes == offsetWidth)
    // and you cannot scroll the content.
    width: 20000px;
    // On IE quirks and IE6/7 strict, a text-align:center style trickles down to this el
    // at times and will cause it to move off the left edge. The easy fix is to just always
    // set left:0 here (right:0 in rtl mode). The top:0 part is just being paranoid.
    // The requirement for targetEl is that its origin align with innerCt... this ensures
    // that it does!
    top: 0;
    left: 0;
    // If we don't give the element a height, it does not always participate in the scrollWidth.
    height: 1px;
}
 
@if $include-rtl {
    .#{$prefix}rtl.#{$prefix}box-target {
        left: auto;
        right: 0;
    }
}
 
.#{$prefix}box-inner {
    overflow:hidden;
 
    zoom:1;
 
    position:relative;
    left:0;
    top:0;
}
 
.#{$prefix}horizontal-box-overflow-body {
    float: left;
}
 
.#{$prefix}box-scroller {
    position: relative;
    background-repeat: no-repeat;
}
 
.#{$prefix}box-scroller-left,
.#{$prefix}box-scroller-right {
    float: left;
    height: 100%;
    z-index: 5;
}
 
.#{$prefix}box-scroller-top,
.#{$prefix}box-scroller-bottom {
    .#{$prefix}box-scroller {
        line-height: 0;
        font-size: 0;
        background-position: center 0;
    }
}
 
.#{$prefix}box-menu-after {
    float: right;
}
 
@if $include-rtl {
    .#{$prefix}rtl.#{$prefix}box-menu-after {
        float: left;
    }
}</pre>
</body>
</html>