nutella_framework 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/framework_components/roomcast-main-app/.gitignore +2 -0
- data/framework_components/roomcast-main-app/README.md +9 -0
- data/framework_components/roomcast-main-app/dist/LICENSE +21 -0
- data/framework_components/roomcast-main-app/dist/app.js +54280 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_alpha.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_grid.svg +216 -0
- data/framework_components/roomcast-main-app/dist/css/ionicons.min.css +11 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.svg +2230 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-main-app/dist/main.css +3227 -0
- data/framework_components/roomcast-main-app/gulp/config.js +47 -0
- data/framework_components/roomcast-main-app/gulp/tasks/browserify.js +77 -0
- data/framework_components/roomcast-main-app/gulp/tasks/build.js +3 -0
- data/framework_components/roomcast-main-app/gulp/tasks/css.js +7 -0
- data/framework_components/roomcast-main-app/gulp/tasks/default.js +3 -0
- data/framework_components/roomcast-main-app/gulp/tasks/fonts.js +7 -0
- data/framework_components/roomcast-main-app/gulp/tasks/less.js +16 -0
- data/framework_components/roomcast-main-app/gulp/tasks/markup.js +7 -0
- data/framework_components/roomcast-main-app/gulp/tasks/setWatch.js +5 -0
- data/framework_components/roomcast-main-app/gulp/tasks/svgs.js +7 -0
- data/framework_components/roomcast-main-app/gulp/tasks/watch.js +12 -0
- data/framework_components/roomcast-main-app/gulp/util/bundleLogger.js +21 -0
- data/framework_components/roomcast-main-app/gulp/util/handleErrors.js +15 -0
- data/framework_components/roomcast-main-app/gulpfile.js +16 -0
- data/framework_components/roomcast-main-app/index.html +38 -0
- data/framework_components/roomcast-main-app/nutella.json +6 -0
- data/framework_components/roomcast-main-app/package.json +47 -0
- data/framework_components/roomcast-main-app/src/app/app.js +15 -0
- data/framework_components/roomcast-main-app/src/app/components/app/Channel.js +72 -0
- data/framework_components/roomcast-main-app/src/app/components/app/NutellaMixin.js +23 -0
- data/framework_components/roomcast-main-app/src/app/components/app/Player.js +129 -0
- data/framework_components/roomcast-main-app/src/app/components/app/iOSMixin.js +22 -0
- data/framework_components/roomcast-main-app/src/app/components/app/main.js +519 -0
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu-item.jsx +79 -0
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu.jsx +177 -0
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/overlay.jsx +21 -0
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/right-nav.jsx +108 -0
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentitiesGrid.js +91 -0
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentityCard.js +86 -0
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/iOSMixin.js +19 -0
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/main.js +105 -0
- data/framework_components/roomcast-main-app/src/app/components/login/AppIdPage.js +97 -0
- data/framework_components/roomcast-main-app/src/app/components/login/BrokerPage.js +139 -0
- data/framework_components/roomcast-main-app/src/app/components/login/IdentitiesGrid.js +93 -0
- data/framework_components/roomcast-main-app/src/app/components/login/IdentityCard.js +99 -0
- data/framework_components/roomcast-main-app/src/app/components/login/RunIdPage.js +78 -0
- data/framework_components/roomcast-main-app/src/app/components/login/iOSMixin.js +23 -0
- data/framework_components/roomcast-main-app/src/app/components/login/main.js +121 -0
- data/framework_components/roomcast-main-app/src/app/components/main.js +64 -0
- data/framework_components/roomcast-main-app/src/less/main.less +364 -0
- data/framework_components/roomcast-main-app/src/less/my_overrides.less +39 -0
- data/framework_components/roomcast-main-app/src/less/right-nav.less +31 -0
- data/framework_components/roomcast-package-creator/dist/app.js +17830 -3473
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.svg +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/main.css +2 -1
- data/framework_components/roomcast-package-creator/dist/nutella_lib.js +4110 -4050
- data/framework_components/roomcast-package-creator/index.html +0 -13
- data/framework_components/roomcast-package-creator/package.json +33 -32
- data/framework_components/roomcast-package-creator/src/app/app.js +14 -4
- data/framework_components/roomcast-package-creator/src/app/components/ChannelCard.js +14 -1
- data/framework_components/roomcast-package-creator/src/app/components/main.js +0 -4
- data/framework_components/roomcast-package-creator/src/less/main.less +1 -0
- metadata +57 -2
@@ -0,0 +1,364 @@
|
|
1
|
+
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
|
2
|
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
|
3
|
+
|
4
|
+
@import "node_modules/material-ui/src/less/scaffolding.less";
|
5
|
+
//Define a custom less file to override any variables defined in scaffolding.less
|
6
|
+
@import "my_overrides.less";
|
7
|
+
@import "node_modules/material-ui/src/less/components.less";
|
8
|
+
@import "right-nav.less";
|
9
|
+
|
10
|
+
//////////// APP ////////////
|
11
|
+
|
12
|
+
// VARIABLES
|
13
|
+
@pad1: 5vh; // 50px
|
14
|
+
@pad2: @pad1/2;
|
15
|
+
|
16
|
+
.vendor(@property, @value) {
|
17
|
+
-webkit-@{property}: @value;
|
18
|
+
-moz-@{property}: @value;
|
19
|
+
-ms-@{property}: @value;
|
20
|
+
-o-@{property}: @value;
|
21
|
+
@{property}: @value;
|
22
|
+
}
|
23
|
+
|
24
|
+
// CODE
|
25
|
+
|
26
|
+
html, body {
|
27
|
+
height: 100%;
|
28
|
+
width: 100%;
|
29
|
+
background-color: #e9eaed;
|
30
|
+
box-sizing: border-box;
|
31
|
+
}
|
32
|
+
*, *:before, *:after {
|
33
|
+
box-sizing: inherit;
|
34
|
+
-webkit-touch-callout: none;
|
35
|
+
-webkit-user-select: none;
|
36
|
+
}
|
37
|
+
.outerDiv {
|
38
|
+
}
|
39
|
+
.grid {
|
40
|
+
z-index: 200;
|
41
|
+
padding: @pad1 0 @pad1 @pad1;
|
42
|
+
width: 100%;
|
43
|
+
min-height: 31vh;
|
44
|
+
white-space: nowrap;
|
45
|
+
overflow-x: scroll;
|
46
|
+
overflow-y: hidden;
|
47
|
+
position: absolute;
|
48
|
+
background-color: rgba(1,1,1,0.8);
|
49
|
+
.vendor(transition, all 500ms ease-in-out);
|
50
|
+
}
|
51
|
+
.channel {
|
52
|
+
// aspect ratio: 10:7.23
|
53
|
+
width: 20vh*1.383;
|
54
|
+
height: 20vh;
|
55
|
+
display: inline-block;
|
56
|
+
position: relative;
|
57
|
+
background: white;
|
58
|
+
margin-right: 30px;
|
59
|
+
&:hover {
|
60
|
+
box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
|
61
|
+
cursor: pointer;
|
62
|
+
}
|
63
|
+
.channel-div {
|
64
|
+
width: 100%;
|
65
|
+
height: 100%;
|
66
|
+
position: absolute;
|
67
|
+
.channel-caption {
|
68
|
+
width: 100%;
|
69
|
+
height: 27%;
|
70
|
+
position: absolute;
|
71
|
+
bottom: 0;
|
72
|
+
background-color: rgba(0, 0, 0, 0.4);
|
73
|
+
.icon-name-wrapper {
|
74
|
+
width: 100%;
|
75
|
+
position: absolute;
|
76
|
+
bottom: 10%;
|
77
|
+
overflow: auto;
|
78
|
+
.channel-icon {
|
79
|
+
width: 15%;
|
80
|
+
height: 0;
|
81
|
+
padding-bottom: 15%;
|
82
|
+
margin-left: 2%;
|
83
|
+
background-color: white;
|
84
|
+
position: relative;
|
85
|
+
float: left;
|
86
|
+
vertical-align: bottom;
|
87
|
+
border:1px solid transparent;
|
88
|
+
}
|
89
|
+
.name-wrapper {
|
90
|
+
width: 83%;
|
91
|
+
display: inline-block;
|
92
|
+
position: absolute;
|
93
|
+
float: right;
|
94
|
+
top: 20%;
|
95
|
+
.channel-name {
|
96
|
+
color: #ffffff;
|
97
|
+
font-size: 1.3vw;
|
98
|
+
cursor: default;
|
99
|
+
margin: 0 0 4% 3%;
|
100
|
+
padding: 0 0 0 0;
|
101
|
+
vertical-align: middle;
|
102
|
+
@media (min-width: 1025px) and (max-width: 1480px) {
|
103
|
+
margin: 0 0 3% 3%;
|
104
|
+
}
|
105
|
+
@media (max-width: 1024px) {
|
106
|
+
margin: 0 0 2% 3%;
|
107
|
+
}
|
108
|
+
@media (max-width: 900px) {
|
109
|
+
margin: 0 0 1% 3%;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
.channel-description {
|
113
|
+
color: #ffffff;
|
114
|
+
font-size: 0.8vw;
|
115
|
+
cursor: default;
|
116
|
+
margin: 0 0 0 3%;
|
117
|
+
padding: 0 0 0 0;
|
118
|
+
line-height: 0;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
.controlButton {
|
127
|
+
position: fixed;
|
128
|
+
bottom: 10px;
|
129
|
+
right: 15px;
|
130
|
+
z-index: 250;
|
131
|
+
cursor: pointer;
|
132
|
+
color: #9197a3;
|
133
|
+
font-size: 2em;
|
134
|
+
&:hover {
|
135
|
+
color: darken(#9197a3, 10);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
.logout-button-div {
|
139
|
+
position: absolute;
|
140
|
+
bottom: 5%;
|
141
|
+
width: 100%;
|
142
|
+
text-align: center;
|
143
|
+
.logout-button {
|
144
|
+
.mui-paper-container {
|
145
|
+
padding: 0;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
.mui-right-nav .mui-paper-container {
|
150
|
+
overflow: scroll;
|
151
|
+
}
|
152
|
+
|
153
|
+
.player {
|
154
|
+
width: 100%;
|
155
|
+
height: 100vh;
|
156
|
+
position: absolute;
|
157
|
+
top: 0;
|
158
|
+
left: 0;
|
159
|
+
.channel-frame {
|
160
|
+
width: 100%;
|
161
|
+
height: 100vh;
|
162
|
+
position: absolute;
|
163
|
+
top: 0;
|
164
|
+
left: 0;
|
165
|
+
}
|
166
|
+
.back-button {
|
167
|
+
//z-index: 110;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
.tabs-button {
|
172
|
+
position: absolute;
|
173
|
+
top: 30px;
|
174
|
+
left: 30px;
|
175
|
+
i {
|
176
|
+
position: relative;
|
177
|
+
font-size: 38px;
|
178
|
+
color: white;
|
179
|
+
top: 2px;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
.hidden-tabs {
|
184
|
+
.vendor(transform, translate(0,-31vh))
|
185
|
+
}
|
186
|
+
|
187
|
+
//////////// LOGIN ////////////
|
188
|
+
|
189
|
+
// VARIABLES
|
190
|
+
@external-margin: 20px;
|
191
|
+
@card-margin: 20px;
|
192
|
+
|
193
|
+
// MIXINS
|
194
|
+
.clickable {
|
195
|
+
cursor: pointer;
|
196
|
+
}
|
197
|
+
|
198
|
+
|
199
|
+
// CODE
|
200
|
+
|
201
|
+
html, body {
|
202
|
+
height: 100%;
|
203
|
+
width: 100%;
|
204
|
+
background-color: #e9eaed;
|
205
|
+
box-sizing: border-box;
|
206
|
+
}
|
207
|
+
*, *:before, *:after {
|
208
|
+
box-sizing: inherit;
|
209
|
+
-webkit-touch-callout: none;
|
210
|
+
}
|
211
|
+
*:not(input) {
|
212
|
+
-webkit-user-select: none;
|
213
|
+
}
|
214
|
+
|
215
|
+
////////////////////////////////
|
216
|
+
|
217
|
+
.main-div {
|
218
|
+
//position: absolute;
|
219
|
+
}
|
220
|
+
|
221
|
+
.titles-div {
|
222
|
+
width: 100%;
|
223
|
+
text-align: center;
|
224
|
+
|
225
|
+
// flex container properties
|
226
|
+
display: flex;
|
227
|
+
flex-direction: row;
|
228
|
+
flex-wrap: wrap;
|
229
|
+
justify-content: flex-start;
|
230
|
+
align-items: center;
|
231
|
+
align-content: stretch;
|
232
|
+
|
233
|
+
.rc-logo {
|
234
|
+
width: 20vw;
|
235
|
+
margin: auto;
|
236
|
+
margin-bottom: 0;
|
237
|
+
display: block;
|
238
|
+
}
|
239
|
+
|
240
|
+
.title {
|
241
|
+
font-size: 3em;
|
242
|
+
font-weight: 300;
|
243
|
+
cursor: default;
|
244
|
+
|
245
|
+
// flex item properties
|
246
|
+
width: 100%;
|
247
|
+
flex-grow: 1;
|
248
|
+
flex-shrink: 1;
|
249
|
+
&:first-child {
|
250
|
+
margin-top: 0.7em;
|
251
|
+
font-size: 6em;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.grid-div {
|
257
|
+
width: 100%;
|
258
|
+
position: absolute;
|
259
|
+
|
260
|
+
.identities-grid {
|
261
|
+
//width: 100%;
|
262
|
+
margin-left: @external-margin;
|
263
|
+
//margin-top: @external-margin;
|
264
|
+
margin-right: @external-margin;
|
265
|
+
|
266
|
+
// flex container properties
|
267
|
+
display: flex;
|
268
|
+
flex-direction: row;
|
269
|
+
flex-wrap: wrap;
|
270
|
+
justify-content: flex-start;
|
271
|
+
align-items: center;
|
272
|
+
align-content: stretch;
|
273
|
+
|
274
|
+
.identity-card {
|
275
|
+
background: white;
|
276
|
+
.clickable;
|
277
|
+
margin: @card-margin;
|
278
|
+
|
279
|
+
// flex item properties
|
280
|
+
flex-grow: 0;
|
281
|
+
flex-shrink: 0;
|
282
|
+
//flex-basis: 0; // TODO breaks Safari
|
283
|
+
|
284
|
+
.mui-paper-container {
|
285
|
+
position: relative;
|
286
|
+
|
287
|
+
.card-name {
|
288
|
+
// flex container properties
|
289
|
+
height: 100%;
|
290
|
+
width: 100%;
|
291
|
+
position: absolute;
|
292
|
+
display: flex;
|
293
|
+
flex-direction: row;
|
294
|
+
flex-wrap: wrap;
|
295
|
+
justify-content: center;
|
296
|
+
align-items: center;
|
297
|
+
align-content: center;
|
298
|
+
|
299
|
+
span {
|
300
|
+
font-size: 1.5em;
|
301
|
+
font-weight: 300;
|
302
|
+
|
303
|
+
// flex item properties
|
304
|
+
flex-grow: 0;
|
305
|
+
flex-shrink: 0;
|
306
|
+
flex-basis: main-size;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
.backgroundMessage {
|
316
|
+
position: absolute;
|
317
|
+
left: 0;
|
318
|
+
bottom: 50%;
|
319
|
+
width: 100%;
|
320
|
+
font-size: 2.5vw;
|
321
|
+
text-align: center;
|
322
|
+
color: #9197a3;
|
323
|
+
font-weight: 300;
|
324
|
+
cursor: default;
|
325
|
+
}
|
326
|
+
|
327
|
+
.text-field-broker {
|
328
|
+
margin: 0 auto;
|
329
|
+
width: 40%;
|
330
|
+
.mui-text-field {
|
331
|
+
font-size: 3em;
|
332
|
+
width: 100%;
|
333
|
+
height: 1.5em !important;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
.submit-broker {
|
338
|
+
width: 100%;
|
339
|
+
margin: auto;
|
340
|
+
display: inline-block;
|
341
|
+
position: absolute;
|
342
|
+
bottom: 30px;
|
343
|
+
text-align: center;
|
344
|
+
.mui-raised-button {
|
345
|
+
min-width: 150px;
|
346
|
+
height: 55px;
|
347
|
+
.mui-raised-button-container {
|
348
|
+
height: 100%;
|
349
|
+
}
|
350
|
+
.mui-raised-button-label {
|
351
|
+
font-size: 20px;
|
352
|
+
}
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
/////////// LOADING /////////
|
357
|
+
|
358
|
+
#logo {
|
359
|
+
width: 100%;
|
360
|
+
height: 100vh;
|
361
|
+
display: block;
|
362
|
+
margin: auto;
|
363
|
+
background-color: rgba(1,1,1,0.7);
|
364
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
//Override Variables in scaffolding.less
|
2
|
+
|
3
|
+
.save-button {
|
4
|
+
button {
|
5
|
+
background-color: @cyan-500;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
.undo-button {
|
9
|
+
button {
|
10
|
+
background-color: @pink-300;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
.mui-is-current-selected {
|
14
|
+
color: black;
|
15
|
+
font-size: 1.5em;
|
16
|
+
}
|
17
|
+
.mui-right-nav {
|
18
|
+
.mui-right-nav-menu {
|
19
|
+
z-index: 300 !important;
|
20
|
+
}
|
21
|
+
.mui-overlay {
|
22
|
+
z-index: 250
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// Disables ripples to allow dragging
|
27
|
+
.mui-floating-action-button {
|
28
|
+
&:hover {
|
29
|
+
cursor: pointer;
|
30
|
+
}
|
31
|
+
&:hover .mui-floating-action-button-inner .mui-floating-action-button-container,.mui-enhanced-button {
|
32
|
+
//box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
|
33
|
+
background-color: darken(@pink-300, 30);
|
34
|
+
}
|
35
|
+
.mui-floating-action-button-inner {
|
36
|
+
pointer-events: none;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
.mui-right-nav {
|
2
|
+
|
3
|
+
.mui-right-nav-menu {
|
4
|
+
height: 100%;
|
5
|
+
position: fixed;
|
6
|
+
width: @left-nav-width;
|
7
|
+
background-color: @left-nav-color;
|
8
|
+
z-index: 100;
|
9
|
+
right: 0px;
|
10
|
+
top: 0px;
|
11
|
+
.ease-out();
|
12
|
+
|
13
|
+
.mui-menu {
|
14
|
+
.mui-menu-item {
|
15
|
+
height: @desktop-left-nav-menu-item-height;
|
16
|
+
line-height: @desktop-left-nav-menu-item-height;
|
17
|
+
}
|
18
|
+
a.mui-menu-item {
|
19
|
+
display: block;
|
20
|
+
text-decoration: none;
|
21
|
+
color: @body-text-color;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&.mui-closed {
|
27
|
+
.mui-right-nav-menu {
|
28
|
+
transform: translate3d(-((-1 * @left-nav-width) - 10px), 0, 0);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|