nutella_framework 0.4.13 → 0.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/framework_components/order.json +2 -1
- data/framework_components/roomcast-bot/data/default/channels-data.json +1 -0
- data/framework_components/roomcast-bot/data/default/channels.json +1 -0
- data/framework_components/roomcast-bot/data/default/configs.json +1 -0
- data/framework_components/roomcast-bot/data/default/mapping.json +1 -0
- data/framework_components/roomcast-bot/roomcast_bot.rb +178 -0
- data/framework_components/roomcast-bot/startup +5 -0
- data/framework_components/roomcast-channel-creator/.gitignore +2 -0
- data/framework_components/roomcast-channel-creator/README.md +9 -0
- data/framework_components/roomcast-channel-creator/dist/app.js +29607 -0
- data/framework_components/roomcast-channel-creator/dist/css/font-awesome.min.css +4 -0
- data/framework_components/roomcast-channel-creator/dist/css/ionicons.min.css +11 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.svg +565 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.svg +2230 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/main.css +3304 -0
- data/framework_components/roomcast-channel-creator/dist/nutella_lib.js +5068 -0
- data/framework_components/roomcast-channel-creator/gulp/config.js +51 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/browserify.js +77 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/build.js +3 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/css.js +7 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/default.js +3 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/fonts.js +7 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/less.js +16 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/mui-fonts.js +7 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/nutella.js +7 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/setWatch.js +5 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/svgs.js +7 -0
- data/framework_components/roomcast-channel-creator/gulp/tasks/watch.js +12 -0
- data/framework_components/roomcast-channel-creator/gulp/util/bundleLogger.js +21 -0
- data/framework_components/roomcast-channel-creator/gulp/util/handleErrors.js +15 -0
- data/framework_components/roomcast-channel-creator/gulpfile.js +16 -0
- data/framework_components/roomcast-channel-creator/index.html +52 -0
- data/framework_components/roomcast-channel-creator/nutella.json +6 -0
- data/framework_components/roomcast-channel-creator/package.json +37 -0
- data/framework_components/roomcast-channel-creator/src/app/app.js +22 -0
- data/framework_components/roomcast-channel-creator/src/app/components/AnimationMixin.js +44 -0
- data/framework_components/roomcast-channel-creator/src/app/components/CataloguePage.js +130 -0
- data/framework_components/roomcast-channel-creator/src/app/components/Channel.js +378 -0
- data/framework_components/roomcast-channel-creator/src/app/components/ColorCell.js +28 -0
- data/framework_components/roomcast-channel-creator/src/app/components/ColorPicker.js +53 -0
- data/framework_components/roomcast-channel-creator/src/app/components/DetailPage.js +66 -0
- data/framework_components/roomcast-channel-creator/src/app/components/NutellaMixin.js +40 -0
- data/framework_components/roomcast-channel-creator/src/app/components/PageSliderMixin.js +68 -0
- data/framework_components/roomcast-channel-creator/src/app/components/Router.js +52 -0
- data/framework_components/roomcast-channel-creator/src/app/components/TopBar.js +86 -0
- data/framework_components/roomcast-channel-creator/src/app/components/main.js +333 -0
- data/framework_components/roomcast-channel-creator/src/css/font-awesome.min.css +4 -0
- data/framework_components/roomcast-channel-creator/src/css/ionicons.min.css +11 -0
- data/framework_components/roomcast-channel-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.svg +565 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.svg +2230 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/less/main.less +500 -0
- data/framework_components/roomcast-channel-creator/src/less/my_overrides.less +14 -0
- data/framework_components/roomcast-package-creator/.gitignore +2 -0
- data/framework_components/roomcast-package-creator/README.md +9 -0
- data/framework_components/roomcast-package-creator/dist/app.js +36624 -0
- data/framework_components/roomcast-package-creator/dist/css/font-awesome.min.css +4 -0
- data/framework_components/roomcast-package-creator/dist/css/ionicons.min.css +11 -0
- data/framework_components/roomcast-package-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.svg +565 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.svg +2230 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.woff +0 -0
- 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 +14 -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 +5932 -0
- data/framework_components/roomcast-package-creator/dist/nutella_lib.js +5068 -0
- data/framework_components/roomcast-package-creator/gulp/config.js +51 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/browserify.js +77 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/build.js +3 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/css.js +7 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/default.js +3 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/fonts.js +7 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/less.js +16 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/mui-fonts.js +7 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/nutella.js +7 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/setWatch.js +5 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/svgs.js +7 -0
- data/framework_components/roomcast-package-creator/gulp/tasks/watch.js +12 -0
- data/framework_components/roomcast-package-creator/gulp/util/bundleLogger.js +21 -0
- data/framework_components/roomcast-package-creator/gulp/util/handleErrors.js +15 -0
- data/framework_components/roomcast-package-creator/gulpfile.js +16 -0
- data/framework_components/roomcast-package-creator/index.html +51 -0
- data/framework_components/roomcast-package-creator/nutella.json +6 -0
- data/framework_components/roomcast-package-creator/package.json +38 -0
- data/framework_components/roomcast-package-creator/src/app/app.js +19 -0
- data/framework_components/roomcast-package-creator/src/app/components/ButtonInteractionsMixin.js +45 -0
- data/framework_components/roomcast-package-creator/src/app/components/ChannelCard.js +87 -0
- data/framework_components/roomcast-package-creator/src/app/components/ChannelItem.js +71 -0
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsCatalogue.js +64 -0
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsPanel.js +127 -0
- data/framework_components/roomcast-package-creator/src/app/components/ConfigField.js +50 -0
- data/framework_components/roomcast-package-creator/src/app/components/ConfigurationsPanel.js +114 -0
- data/framework_components/roomcast-package-creator/src/app/components/ContextButton.js +37 -0
- data/framework_components/roomcast-package-creator/src/app/components/GlobalButton.js +26 -0
- data/framework_components/roomcast-package-creator/src/app/components/NutellaMixin.js +23 -0
- data/framework_components/roomcast-package-creator/src/app/components/PoolHeader.js +67 -0
- data/framework_components/roomcast-package-creator/src/app/components/PoolRow.js +160 -0
- data/framework_components/roomcast-package-creator/src/app/components/ResourceFamilyPool.js +168 -0
- data/framework_components/roomcast-package-creator/src/app/components/ResourcesPanel.js +76 -0
- data/framework_components/roomcast-package-creator/src/app/components/main.js +222 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/dialog_.jsx +66 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/drop-down-menu.jsx +163 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/enhanced-textarea.jsx +113 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/floating-action-button_.jsx +73 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu-item.jsx +100 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu.jsx +209 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/overlay.jsx +21 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/raised-button_.jsx +72 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/right-nav.jsx +108 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/drop-down-arrow.jsx +17 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-left.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-right.jsx +17 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-menu.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/svg-icon.jsx +23 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-checked.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-outline-blank.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-off.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-on.jsx +16 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/text-field.jsx +215 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/css-event.js +52 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/date-time.js +132 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/dom.js +71 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/events.js +34 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-code.js +10 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-line.js +13 -0
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/unique-id.js +7 -0
- data/framework_components/roomcast-package-creator/src/css/font-awesome.min.css +4 -0
- data/framework_components/roomcast-package-creator/src/css/ionicons.min.css +11 -0
- data/framework_components/roomcast-package-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.svg +565 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.svg +2230 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-package-creator/src/less/drop-down-icon.less +43 -0
- data/framework_components/roomcast-package-creator/src/less/drop-down-menu.less +77 -0
- data/framework_components/roomcast-package-creator/src/less/enhanced-textarea.less +16 -0
- data/framework_components/roomcast-package-creator/src/less/main.less +491 -0
- data/framework_components/roomcast-package-creator/src/less/menu-item.less +69 -0
- data/framework_components/roomcast-package-creator/src/less/menu.less +50 -0
- data/framework_components/roomcast-package-creator/src/less/my_overrides.less +15 -0
- data/framework_components/roomcast-package-creator/src/less/svg-icon.less +11 -0
- data/framework_components/roomcast-package-creator/src/less/text-field.less +168 -0
- data/lib/commands/checkup.rb +1 -1
- data/nutella_lib/framework_net.rb +0 -1
- metadata +173 -4
@@ -0,0 +1,43 @@
|
|
1
|
+
@icon-width: 48px;
|
2
|
+
|
3
|
+
.mui-drop-down-icon {
|
4
|
+
display: inline-block;
|
5
|
+
width: @icon-width !important;
|
6
|
+
position: relative;
|
7
|
+
height: @desktop-toolbar-height;
|
8
|
+
font-size: @desktop-drop-down-menu-font-size;
|
9
|
+
cursor: pointer;
|
10
|
+
|
11
|
+
&.mui-open {
|
12
|
+
.mui-icon-highlight {
|
13
|
+
background-color: rgba(0, 0, 0, .1);
|
14
|
+
}
|
15
|
+
|
16
|
+
.mui-menu-control,
|
17
|
+
.mui-menu-control:hover {
|
18
|
+
.mui-menu-control-bg {
|
19
|
+
opacity: 0;
|
20
|
+
}
|
21
|
+
.mui-menu-label {
|
22
|
+
top: (@desktop-toolbar-height / 2);
|
23
|
+
opacity: 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.mui-menu {
|
28
|
+
opacity: 1;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.mui-menu {
|
33
|
+
.ease-out;
|
34
|
+
right: -14px !important;
|
35
|
+
top: 9px !important;
|
36
|
+
|
37
|
+
.mui-menu-item {
|
38
|
+
padding-right: (@icon-size + (@desktop-gutter-less*2));
|
39
|
+
height: @desktop-drop-down-menu-item-height;
|
40
|
+
line-height: @desktop-drop-down-menu-item-height;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
.mui-drop-down-menu {
|
2
|
+
|
3
|
+
* { .ease-out(); }
|
4
|
+
|
5
|
+
position: relative;
|
6
|
+
display: inline-block;
|
7
|
+
height: @desktop-toolbar-height;
|
8
|
+
font-size: @desktop-drop-down-menu-font-size;
|
9
|
+
|
10
|
+
&.mui-open {
|
11
|
+
.mui-menu-control,
|
12
|
+
.mui-menu-control:hover {
|
13
|
+
.mui-menu-control-bg {
|
14
|
+
opacity: 0;
|
15
|
+
}
|
16
|
+
.mui-menu-label {
|
17
|
+
top: (@desktop-toolbar-height / 2);
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.mui-menu {
|
23
|
+
opacity: 1;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.mui-menu-control {
|
28
|
+
cursor: pointer;
|
29
|
+
.clearfix();
|
30
|
+
height: 100%;
|
31
|
+
|
32
|
+
.mui-menu-control-bg {
|
33
|
+
background-color: @menu-background-color;
|
34
|
+
height: 100%;
|
35
|
+
width: 100%;
|
36
|
+
opacity: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
.mui-menu-control-bg {
|
41
|
+
opacity: 1;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.mui-menu-label {
|
46
|
+
line-height: @desktop-toolbar-height;
|
47
|
+
position: absolute;
|
48
|
+
padding-left: @desktop-gutter;
|
49
|
+
top: 0;
|
50
|
+
opacity: 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
.mui-menu-drop-down-icon {
|
54
|
+
position: absolute;
|
55
|
+
top: ((@desktop-toolbar-height - 24px) / 2);
|
56
|
+
right: @desktop-gutter-less;
|
57
|
+
* {
|
58
|
+
fill: @drop-down-menu-icon-color;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.mui-menu-control-underline {
|
63
|
+
border-top: solid 1px @border-color;
|
64
|
+
margin: 0 @desktop-gutter;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.mui-menu {
|
69
|
+
.mui-menu-item {
|
70
|
+
padding-right: (@icon-size + @desktop-gutter-less + @desktop-gutter-mini);
|
71
|
+
height: @desktop-drop-down-menu-item-height;
|
72
|
+
line-height: @desktop-drop-down-menu-item-height;
|
73
|
+
white-space: nowrap;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
.mui-enhanced-textarea {
|
2
|
+
.mui-enhanced-textarea-shadow,
|
3
|
+
.mui-enhanced-textarea-input {
|
4
|
+
width: 100%;
|
5
|
+
resize: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
.mui-enhanced-textarea-input {
|
9
|
+
overflow: hidden;
|
10
|
+
}
|
11
|
+
|
12
|
+
.mui-enhanced-textarea-shadow {
|
13
|
+
transform: scale(0);
|
14
|
+
position: absolute;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,491 @@
|
|
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 "enhanced-textarea.less";
|
9
|
+
@import "text-field.less";
|
10
|
+
@import "svg-icon.less";
|
11
|
+
//@import "menu-item.less";
|
12
|
+
@import "drop-down-menu.less";
|
13
|
+
@import "drop-down-icon.less";
|
14
|
+
@import "menu.less";
|
15
|
+
|
16
|
+
//////////// My custom app styles ////////////
|
17
|
+
|
18
|
+
// VARIABLES
|
19
|
+
@default-margin: 20px;
|
20
|
+
|
21
|
+
@card-margin: 20px;
|
22
|
+
@pad1: 2.60%; // 50px
|
23
|
+
@pad2: @pad1/2;
|
24
|
+
@margin-top: 36px + 10*2 + @card-margin;
|
25
|
+
@card-border: 5px;
|
26
|
+
|
27
|
+
@channel-icon-width: 60px;
|
28
|
+
@color-mui-blue: #00bcd4;
|
29
|
+
@color-mui-pink: #e91e63;
|
30
|
+
@color-mui-deselected: #cdcdcd;
|
31
|
+
@menu-item-hover-color: rgba(0, 0, 0, .035);
|
32
|
+
|
33
|
+
// Channels panel sections
|
34
|
+
@channels-title: 10%;
|
35
|
+
@channels-grid: 90%;
|
36
|
+
@channels-footer: 56px;
|
37
|
+
|
38
|
+
// MIXINS
|
39
|
+
.hidden {
|
40
|
+
color: transparent;
|
41
|
+
}
|
42
|
+
.hovered {
|
43
|
+
box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.2);
|
44
|
+
opacity: 1;
|
45
|
+
}
|
46
|
+
|
47
|
+
// CODE
|
48
|
+
|
49
|
+
html, body {
|
50
|
+
height: 100%;
|
51
|
+
overflow-y: scroll;
|
52
|
+
background-color: #e9eaed;
|
53
|
+
-webkit-user-select: none;
|
54
|
+
}
|
55
|
+
.resources-panel {
|
56
|
+
width: 50%;
|
57
|
+
position: absolute;
|
58
|
+
display: block;
|
59
|
+
}
|
60
|
+
.resources-panel:first-child {
|
61
|
+
margin-top: @default-margin;
|
62
|
+
}
|
63
|
+
.resource-family-pool {
|
64
|
+
position: static;
|
65
|
+
width: auto;
|
66
|
+
margin-left: @default-margin;
|
67
|
+
margin-right: @default-margin;
|
68
|
+
margin-bottom: @default-margin;
|
69
|
+
table {
|
70
|
+
width: 100%;
|
71
|
+
//table-layout: fixed;
|
72
|
+
tbody {
|
73
|
+
width: 100%;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
.configurations-panel-div {
|
78
|
+
position: static;
|
79
|
+
width: auto;
|
80
|
+
margin-left: @default-margin;
|
81
|
+
margin-right: @default-margin;
|
82
|
+
margin-bottom: @default-margin;
|
83
|
+
.config-title {
|
84
|
+
font-size: 1.3vw;
|
85
|
+
font-weight: 300;
|
86
|
+
-webkit-user-select: none;
|
87
|
+
cursor: default;
|
88
|
+
margin-left: 30px;
|
89
|
+
vertical-align: middle;
|
90
|
+
float: left;
|
91
|
+
}
|
92
|
+
>.mui-paper:first-child {
|
93
|
+
height: 60px;
|
94
|
+
line-height: 60px;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
.pool-row {
|
98
|
+
width: 100%;
|
99
|
+
border-top: solid 1px rgb(224, 224, 224);
|
100
|
+
td {
|
101
|
+
height: 100px;
|
102
|
+
vertical-align: middle;
|
103
|
+
//padding-top: 16px;
|
104
|
+
//padding-bottom: 10px;
|
105
|
+
}
|
106
|
+
td:first-child {
|
107
|
+
width: 10px;
|
108
|
+
min-width: 10px;
|
109
|
+
.remove-row-div {
|
110
|
+
width: 100%;
|
111
|
+
height: 100%;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
td:nth-child(2) {
|
115
|
+
width: 20%;
|
116
|
+
text-align: center;
|
117
|
+
}
|
118
|
+
td:nth-child(3) {
|
119
|
+
width: 65%;
|
120
|
+
}
|
121
|
+
td:last-child {
|
122
|
+
//width: 10%;
|
123
|
+
}
|
124
|
+
&.pool-add-row {
|
125
|
+
text-align: center;
|
126
|
+
cursor: pointer;
|
127
|
+
-webkit-user-select: none;
|
128
|
+
td {
|
129
|
+
height: 0;
|
130
|
+
}
|
131
|
+
:hover {
|
132
|
+
color: #ffffff;
|
133
|
+
background-color: @color-mui-blue;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
.pool-row:hover .remove-row-div {
|
138
|
+
background-color: @color-mui-pink;
|
139
|
+
cursor: pointer;
|
140
|
+
}
|
141
|
+
.pool-header{
|
142
|
+
height: 80px;
|
143
|
+
th {
|
144
|
+
vertical-align: middle;
|
145
|
+
}
|
146
|
+
th:first-child {
|
147
|
+
width: 10px;
|
148
|
+
min-width: 10px;
|
149
|
+
}
|
150
|
+
th:nth-child(2) {
|
151
|
+
width: 20%;
|
152
|
+
min-width: 20%;
|
153
|
+
text-align: center;
|
154
|
+
font-size: 2em;
|
155
|
+
font-weight: 300;
|
156
|
+
-webkit-user-select: none;
|
157
|
+
cursor: default;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
/////////////////////////////////
|
162
|
+
|
163
|
+
.div-button-container {
|
164
|
+
display: inline-block;
|
165
|
+
margin-right: 10px;
|
166
|
+
line-height: 20px;
|
167
|
+
}
|
168
|
+
|
169
|
+
///////// ChannelsPanel /////////
|
170
|
+
.channels-panel {
|
171
|
+
width: 50%;
|
172
|
+
height: 100vh;
|
173
|
+
position: fixed;
|
174
|
+
top: 0;
|
175
|
+
right: 0;
|
176
|
+
display: block;
|
177
|
+
}
|
178
|
+
.channels-panel-paper {
|
179
|
+
height: calc(~"100% - 2*@{default-margin}");
|
180
|
+
width: auto;
|
181
|
+
margin-top: @default-margin;
|
182
|
+
margin-right: @default-margin;
|
183
|
+
margin-bottom: @default-margin;
|
184
|
+
}
|
185
|
+
.channels-catalogue-title-div-outer {
|
186
|
+
height: @channels-title;
|
187
|
+
width: 100%;
|
188
|
+
display: table;
|
189
|
+
//display: block;
|
190
|
+
//text-align: center;
|
191
|
+
p {
|
192
|
+
font-size: 6vh;
|
193
|
+
font-weight: 100;
|
194
|
+
margin: 0;
|
195
|
+
padding: 0;
|
196
|
+
-webkit-user-select: none;
|
197
|
+
cursor: default;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
.channels-catalogue-title-div-middle {
|
201
|
+
padding: 0;
|
202
|
+
display: table-cell;
|
203
|
+
vertical-align: middle;
|
204
|
+
}
|
205
|
+
.channels-catalogue-title-div-inner {
|
206
|
+
text-align: center;
|
207
|
+
margin-left: auto;
|
208
|
+
margin-right: auto;
|
209
|
+
width: 100%;
|
210
|
+
}
|
211
|
+
.channels-panel-save-buttons-div-outer {
|
212
|
+
height: @channels-footer;
|
213
|
+
width: 100%;
|
214
|
+
margin: auto;
|
215
|
+
text-align: center;
|
216
|
+
position: absolute;
|
217
|
+
bottom: 0px + @default-margin;
|
218
|
+
background-color: white;
|
219
|
+
}
|
220
|
+
.channels-panel-save-buttons-div-inner {
|
221
|
+
width: 100%;
|
222
|
+
position: absolute;
|
223
|
+
bottom: 0;
|
224
|
+
}
|
225
|
+
.div-button-container-final-button {
|
226
|
+
display: inline-block;
|
227
|
+
//margin-top: 5px;
|
228
|
+
margin-right: 10px;
|
229
|
+
margin-bottom: 10px;
|
230
|
+
//line-height: 10px;
|
231
|
+
.mui-raised-button {
|
232
|
+
//height: 50%;
|
233
|
+
.mui-raised-button-container {
|
234
|
+
//height: 50%;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
///////// Channel items /////////
|
240
|
+
|
241
|
+
.channel-item {
|
242
|
+
display: inline-block;
|
243
|
+
text-align: center;
|
244
|
+
//width: @channel-icon-width;
|
245
|
+
margin-right: 20px;
|
246
|
+
margin-bottom: 10px;
|
247
|
+
margin-top: 10px;
|
248
|
+
cursor: pointer;
|
249
|
+
.channel-icon {
|
250
|
+
display: block;
|
251
|
+
margin: 0 auto;
|
252
|
+
border-radius: @card-border + 5;
|
253
|
+
width: @channel-icon-width;
|
254
|
+
height: @channel-icon-width;
|
255
|
+
background-color: white;
|
256
|
+
position: relative;
|
257
|
+
border: 1px solid transparent;
|
258
|
+
&:hover {
|
259
|
+
.hovered;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
span {
|
263
|
+
margin: 0;
|
264
|
+
padding: 0;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
/////////// Cards grid ////////////////
|
269
|
+
|
270
|
+
.content-div {
|
271
|
+
width: 100%;
|
272
|
+
height: @channels-grid;
|
273
|
+
display: block;
|
274
|
+
position: relative;
|
275
|
+
overflow: scroll;
|
276
|
+
padding-left: @default-margin;
|
277
|
+
.grid {
|
278
|
+
width: 100%;
|
279
|
+
height: 100%;
|
280
|
+
padding: 0 0 0 0;
|
281
|
+
display: table;
|
282
|
+
//clear: both;
|
283
|
+
position: relative;
|
284
|
+
[class*='col-'] {
|
285
|
+
float: left;
|
286
|
+
position: relative;
|
287
|
+
padding-right: @pad1;
|
288
|
+
padding-bottom: @pad2;
|
289
|
+
}
|
290
|
+
[class*='col-']:last-of-type {
|
291
|
+
padding-right: @pad1;
|
292
|
+
padding-bottom: @channels-footer - 5;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
.col-1-3 {
|
296
|
+
width: 33.33%;
|
297
|
+
position: relative;
|
298
|
+
}
|
299
|
+
.col-1-2 {
|
300
|
+
width: 50%;
|
301
|
+
position: relative;
|
302
|
+
}
|
303
|
+
.col-size {
|
304
|
+
.col-1-3;
|
305
|
+
@media (max-width: 1280px) {
|
306
|
+
.col-1-2;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
/////////// Card preview /////////////////
|
312
|
+
|
313
|
+
.channel-card {
|
314
|
+
// aspect ratio: 10:7.23
|
315
|
+
width: 100%;
|
316
|
+
height: 0;
|
317
|
+
padding-bottom: 72.30%;
|
318
|
+
position: relative;
|
319
|
+
background: white;
|
320
|
+
margin-bottom: 20px;
|
321
|
+
cursor: pointer;
|
322
|
+
* {
|
323
|
+
cursor: pointer;
|
324
|
+
}
|
325
|
+
&:hover {
|
326
|
+
opacity: 1 !important;
|
327
|
+
}
|
328
|
+
.channel-div {
|
329
|
+
width: 100%;
|
330
|
+
height: 100%;
|
331
|
+
position: absolute;
|
332
|
+
&:hover {
|
333
|
+
.hovered;
|
334
|
+
}
|
335
|
+
.channel-caption {
|
336
|
+
width: 100%;
|
337
|
+
height: 27%;
|
338
|
+
position: absolute;
|
339
|
+
bottom: 0;
|
340
|
+
background-color: rgba(0, 0, 0, 0.4);
|
341
|
+
.icon-name-wrapper {
|
342
|
+
width: 100%;
|
343
|
+
position: absolute;
|
344
|
+
bottom: 10%;
|
345
|
+
overflow: auto;
|
346
|
+
.channel-icon {
|
347
|
+
width: 15%;
|
348
|
+
height: 0;
|
349
|
+
padding-bottom: 15%;
|
350
|
+
margin-left: 2%;
|
351
|
+
background-color: white;
|
352
|
+
position: relative;
|
353
|
+
float: left;
|
354
|
+
vertical-align: bottom;
|
355
|
+
border:1px solid transparent;
|
356
|
+
border-radius: @card-border;
|
357
|
+
}
|
358
|
+
.name-wrapper {
|
359
|
+
width: 83%;
|
360
|
+
display: inline-block;
|
361
|
+
position: absolute;
|
362
|
+
float: right;
|
363
|
+
top: 50%;
|
364
|
+
transform: translateY(-50%);
|
365
|
+
.channel-name {
|
366
|
+
color: #ffffff;
|
367
|
+
font-size: 1.3vw;
|
368
|
+
margin: 0 0 0 3%;
|
369
|
+
padding: 0 0 0 0;
|
370
|
+
vertical-align: middle;
|
371
|
+
@media (min-width: 1025px) and (max-width: 1480px) {
|
372
|
+
margin: 0 0 3% 3%;
|
373
|
+
}
|
374
|
+
@media (max-width: 1024px) {
|
375
|
+
margin: 0 0 2% 3%;
|
376
|
+
}
|
377
|
+
@media (max-width: 900px) {
|
378
|
+
margin: 0 0 1% 3%;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
.channel-description {
|
382
|
+
color: #ffffff;
|
383
|
+
font-size: 0.8vw;
|
384
|
+
margin: 0 0 0 3%;
|
385
|
+
padding: 0 0 0 0;
|
386
|
+
line-height: 0;
|
387
|
+
}
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|
394
|
+
|
395
|
+
.unfocused {
|
396
|
+
opacity: 0.5;
|
397
|
+
}
|
398
|
+
|
399
|
+
///////// Channels List /////////
|
400
|
+
|
401
|
+
/*.channels-list-div {
|
402
|
+
height: 35%;
|
403
|
+
width: 100%;
|
404
|
+
padding: 20px;
|
405
|
+
overflow: scroll;
|
406
|
+
}*/
|
407
|
+
|
408
|
+
/////////// Mui ///////////
|
409
|
+
.mui-paper {
|
410
|
+
background-color: #fff;
|
411
|
+
}
|
412
|
+
.mui-floating-action-button-container {
|
413
|
+
z-index: 0;
|
414
|
+
}
|
415
|
+
.text-field-div {
|
416
|
+
width: 100%;
|
417
|
+
}
|
418
|
+
.mui-text-field {
|
419
|
+
width: 100%;
|
420
|
+
padding-left: 20px;
|
421
|
+
padding-right: 20px;
|
422
|
+
.mui-text-field-underline {
|
423
|
+
position: relative;
|
424
|
+
}
|
425
|
+
.mui-text-field-focus-underline {
|
426
|
+
position: relative;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
.mui-menu .mui-menu-item {
|
430
|
+
cursor: default;
|
431
|
+
&.mui-is-selected {
|
432
|
+
color: @color-mui-blue;
|
433
|
+
}
|
434
|
+
}
|
435
|
+
.mui-menu .mui-menu-item:hover .check-config-icon i {
|
436
|
+
color: @color-mui-blue;
|
437
|
+
}
|
438
|
+
.mui-menu .mui-menu-item:hover .delete-config-icon i {
|
439
|
+
color: @color-mui-pink;
|
440
|
+
}
|
441
|
+
.mui-drop-down-menu {
|
442
|
+
display: block;
|
443
|
+
height: 50px;
|
444
|
+
margin-left: auto;
|
445
|
+
margin-right: auto;
|
446
|
+
}
|
447
|
+
.mui-drop-down-menu .mui-menu .mui-menu-item {
|
448
|
+
padding-right: 0;
|
449
|
+
}
|
450
|
+
///////// Config Dropdown ///////////////////
|
451
|
+
|
452
|
+
.check-config-icon {
|
453
|
+
float: right;
|
454
|
+
cursor: pointer;
|
455
|
+
margin-left: 20px;
|
456
|
+
i {
|
457
|
+
color: @color-mui-deselected;
|
458
|
+
margin-left: 5px;
|
459
|
+
margin-right: 5px;
|
460
|
+
}
|
461
|
+
}
|
462
|
+
.delete-config-icon {
|
463
|
+
float: right;
|
464
|
+
cursor: pointer;
|
465
|
+
margin-left: 20px;
|
466
|
+
margin-right: 20px;
|
467
|
+
i {
|
468
|
+
color: @color-mui-deselected;
|
469
|
+
margin-left: 5px;
|
470
|
+
margin-right: 5px;
|
471
|
+
}
|
472
|
+
}
|
473
|
+
.config-text-field-div {
|
474
|
+
position: relative;
|
475
|
+
input {
|
476
|
+
width: 50%;
|
477
|
+
float: left;
|
478
|
+
line-height: inherit;
|
479
|
+
border: none;
|
480
|
+
outline:0 !important;
|
481
|
+
-webkit-appearance: none;
|
482
|
+
background: transparent;
|
483
|
+
&:focus {
|
484
|
+
}
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
////////////////////////////
|
489
|
+
|
490
|
+
|
491
|
+
|
@@ -0,0 +1,69 @@
|
|
1
|
+
.mui-menu-item {
|
2
|
+
|
3
|
+
* { user-select: none }
|
4
|
+
|
5
|
+
cursor: pointer;
|
6
|
+
line-height: @menu-item-height;
|
7
|
+
padding-left: @menu-item-padding;
|
8
|
+
padding-right: @menu-item-padding;
|
9
|
+
background-color: fade(@menu-item-hover-color, 0%);
|
10
|
+
|
11
|
+
&:hover {
|
12
|
+
&:not(.mui-is-disabled) {
|
13
|
+
background-color: @menu-item-hover-color;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.mui-menu-item-number {
|
18
|
+
float: right;
|
19
|
+
width: 24px;
|
20
|
+
text-align: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
.mui-menu-item-attribute {
|
24
|
+
float: right;
|
25
|
+
}
|
26
|
+
|
27
|
+
.mui-menu-item-icon-right {
|
28
|
+
line-height: @menu-item-height;
|
29
|
+
float: right;
|
30
|
+
}
|
31
|
+
|
32
|
+
.mui-menu-item-icon {
|
33
|
+
float: left;
|
34
|
+
line-height: @menu-item-height;
|
35
|
+
margin-right: @desktop-gutter;
|
36
|
+
}
|
37
|
+
|
38
|
+
.mui-menu-item-data {
|
39
|
+
display: block;
|
40
|
+
padding-left: (@desktop-gutter * 2);
|
41
|
+
line-height: @menu-item-data-height;
|
42
|
+
height: @menu-item-data-height;
|
43
|
+
vertical-align: top;
|
44
|
+
top: -12px;
|
45
|
+
position: relative;
|
46
|
+
.mui-font-weight-light;
|
47
|
+
}
|
48
|
+
|
49
|
+
.muidocs-icon-custom-arrow-drop-right {
|
50
|
+
margin-right: (@desktop-gutter-mini * -1);
|
51
|
+
color: @drop-down-menu-icon-color;
|
52
|
+
}
|
53
|
+
|
54
|
+
.mui-toggle {
|
55
|
+
margin-top: ((@menu-item-height - @radio-button-size) / 2);
|
56
|
+
float: right;
|
57
|
+
width: 42px;
|
58
|
+
}
|
59
|
+
|
60
|
+
&.mui-is-selected {
|
61
|
+
color: @menu-item-selected-text-color;
|
62
|
+
}
|
63
|
+
|
64
|
+
&.mui-is-disabled {
|
65
|
+
color: fade(@body-text-color, 30%) !important;
|
66
|
+
cursor: default;
|
67
|
+
}
|
68
|
+
|
69
|
+
}
|