aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/youtube-channel.reel/youtube-channel.html
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/youtube-channel.reel/youtube-channel.html')
-rw-r--r--node_modules/montage/ui/youtube-channel.reel/youtube-channel.html72
1 files changed, 69 insertions, 3 deletions
diff --git a/node_modules/montage/ui/youtube-channel.reel/youtube-channel.html b/node_modules/montage/ui/youtube-channel.reel/youtube-channel.html
index 184ac360..50286c22 100644
--- a/node_modules/montage/ui/youtube-channel.reel/youtube-channel.html
+++ b/node_modules/montage/ui/youtube-channel.reel/youtube-channel.html
@@ -15,20 +15,86 @@
15 "element": {"#": "player"} 15 "element": {"#": "player"}
16 } 16 }
17 }, 17 },
18 "imageA": {
19 "prototype": "montage/ui/image.reel",
20 "properties": {
21 "element": {"#": "imageA"}
22 }
23 },
24 "imageB": {
25 "prototype": "montage/ui/image.reel",
26 "properties": {
27 "element": {"#": "imageB"}
28 }
29 },
30 "imageC": {
31 "prototype": "montage/ui/image.reel",
32 "properties": {
33 "element": {"#": "imageC"}
34 }
35 },
18 36
19 "owner": { 37 "owner": {
20 "prototype": "montage/ui/youtube-channel.reel", 38 "module": "montage/ui/youtube-channel.reel",
39 "name": "YoutubeChannel",
21 "properties": { 40 "properties": {
22 "element": {"#": "container"}, 41 "element": {"#": "container"},
23 "player": {"@": "player"} 42 "player": {"@": "player"},
43 "_popupElement": {"#": "popup"},
44 "imageA": {"@": "imageA"},
45 "imageB": {"@": "imageB"},
46 "imageC": {"@": "imageC"}
24 } 47 }
25 } 48 }
26 } 49 }
27 </script> 50 </script>
51 <style type="text/css">
52 .montage-youtube-channel {
53 width: 370px;
54 }
55
56 .montage-youtube-channel img {
57 cursor: pointer;
58 height: 90px;
59 width: 120px;
60 background-color: #000;
61 }
62
63 .montage-youtube-channel-popup {
64 width: 640px;
65 border: 5px solid #000;
66 border-radius: 5px;
67 background: #000;
68
69 position: fixed;
70 top: 50%;
71 margin-top: -192px;
72 left: 50%;
73 margin-left: -320px;
74
75 z-index: 9000;
76
77 -webkit-transform: scale3d(0, 0, 1);
78 opacity: 0;
79 -webkit-transition: all 0.5s ease-in-out;
80 visibility: hidden;
81 }
82 .montage-youtube-channel-popup.show {
83 -webkit-transform: scale3d(1, 1, 1);
84 opacity: 1;
85 visibility: visible;
86 }
87 </style>
28</head> 88</head>
29<body> 89<body>
30 <div data-montage-id="container" class="montage-youtube-channel"> 90 <div data-montage-id="container" class="montage-youtube-channel">
31 <div data-montage-id="player"></div> 91 <img src="" alt="" data-montage-id="imageA">
92 <img src="" alt="" data-montage-id="imageB">
93 <img src="" alt="" data-montage-id="imageC">
94
95 <div data-montage-id="popup" class="montage-youtube-channel-popup" class="hide">
96 <div data-montage-id="player"></div>
97 </div>
32 </div> 98 </div>
33</body> 99</body>
34</html> 100</html>