aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/scroll-bars.reel/scroll-bars.html
blob: a9d929449b352759a940d59d3b6a9c785967d06c (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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<!-- <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> -->
<html>
    <head>
    <title></title>
    <script type="text/montage-serialization">
        {
            "owner": {
                "module": "montage/ui/scroll-bars.reel",
                "name": "ScrollBars",
                "properties": {
                    "element": {
                        "#": "montage-scroll-bars"
                    },
                    "_top": {
                        "#": "top"
                    },
                    "_bottomClip": {
                        "#": "bottom-clip"
                    },
                    "_bottom": {
                        "#": "bottom"
                    },
                    "_left": {
                        "#": "left"
                    },
                    "_rightClip": {
                        "#": "right-clip"
                    },
                    "_right": {
                        "#": "right"
                    }
                }
            }
        }
    </script>
    <style>
        .montage-scroll-bars {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            pointer-events: none;
        }
        .montage-scroll-bars .top {
            position: absolute;
            right: 2px;
            background: black;
            -webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.27);
            width: 5px;
            height: 3px;
            border-radius: 4px 4px 0 0;
            opacity: 0;
            clip: rect(-1px, 6px, 3px, -1px);
            -webkit-transform: translateZ(0);
        }
        .montage-scroll-bars .bottom {
            background: black;
            -webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.27);
            width: 5px;
            border-radius: 0 0 4px 4px;
            opacity: 0;
            -webkit-transform: translateZ(0);
        }
        .montage-scroll-bars .bottom-clip {
            position: absolute;
            right: 2px;
            width: 5px;
            -webkit-transform: translateZ(0);
        }
        .montage-scroll-bars .left {
            position: absolute;
            bottom: 2px;
            background: black;
            -webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.27);
            width: 3px;
            height: 5px;
            border-radius: 4px 0 0 4px;
            opacity: 0;
            clip: rect(-1px, 3px, 6px, -1px);
            -webkit-transform: translateZ(0);
        }
        .montage-scroll-bars .right {
            background: black;
            -webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.27);
            height: 5px;
            border-radius: 0 4px 4px 0;
            opacity: 0;
            -webkit-transform: translateZ(0);
        }
        .montage-scroll-bars .right-clip {
            position: absolute;
            bottom: 2px;
            height: 5px;
            -webkit-transform: translateZ(0);
        }
    </style>
</head>
<body>
    <div id="montage-scroll-bars" class="montage-scroll-bars">
        <div id="top" class="top"></div>
        <div id="bottom-clip" class="bottom-clip">
            <div id="bottom" class="bottom"></div>
        </div>
        <div id="left" class="left"></div>
        <div id="right-clip" class="right-clip">
            <div id="right" class="right"></div>
        </div>
    </div>
</body>
</html>