diff options
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.html | 75 |
1 files changed, 72 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..96d823a5 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,89 @@ | |||
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 | opacity: 1; | ||
62 | |||
63 | -webkit-transition: opacity 0.5s ease-in-out; | ||
64 | } | ||
65 | .montage-youtube-channel.show img { | ||
66 | opacity: 0; | ||
67 | } | ||
68 | |||
69 | .montage-youtube-channel .montage-youtube-channel-popup { | ||
70 | width: 640px; | ||
71 | border: 5px solid #000; | ||
72 | border-radius: 5px; | ||
73 | |||
74 | position: fixed; | ||
75 | top: 50%; | ||
76 | margin-top: -192px; | ||
77 | left: 50%; | ||
78 | margin-left: -320px; | ||
79 | |||
80 | z-index: 9000; | ||
81 | |||
82 | opacity: 0; | ||
83 | visibility: hidden; | ||
84 | -webkit-transition: all 0.5s ease-in-out; | ||
85 | } | ||
86 | .montage-youtube-channel.show .montage-youtube-channel-popup { | ||
87 | opacity: 1; | ||
88 | visibility: visible; | ||
89 | } | ||
90 | </style> | ||
28 | </head> | 91 | </head> |
29 | <body> | 92 | <body> |
30 | <div data-montage-id="container" class="montage-youtube-channel"> | 93 | <div data-montage-id="container" class="montage-youtube-channel"> |
31 | <div data-montage-id="player"></div> | 94 | <img src="" alt="" data-montage-id="imageA"> |
95 | <img src="" alt="" data-montage-id="imageB"> | ||
96 | <img src="" alt="" data-montage-id="imageC"> | ||
97 | |||
98 | <div data-montage-id="popup" class="montage-youtube-channel-popup" class="hide"> | ||
99 | <div data-montage-id="player"></div> | ||
100 | </div> | ||
32 | </div> | 101 | </div> |
33 | </body> | 102 | </body> |
34 | </html> | 103 | </html> |