diff --git a/app/browser/css/style.css b/app/browser/css/style.css index 18e9613c..508e721f 100644 --- a/app/browser/css/style.css +++ b/app/browser/css/style.css @@ -1 +1 @@ -@charset "UTF-8";* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; outline: 0; font: inherit; cursor: inherit; }a { cursor: pointer; display: block; }::-webkit-scrollbar { width: 10px; height: 10px; opacity: 1; }::-webkit-scrollbar-track-piece { background: #1a1d22; }::-webkit-scrollbar-track-piece:vertical { border-left: 1px solid #1a1d22; }::-webkit-scrollbar-track-piece:horizontal { border-top: 1px solid #1a1d22; }::-webkit-scrollbar-corner { background: #1a1d22; }::-webkit-scrollbar-thumb { background: linear-gradient(#2d3139, #2b2f37 15rem); }::-webkit-scrollbar-thumb:vertical { border: 1px solid #1a1d22; border-width: 0 1px 0 1px; }::-webkit-scrollbar-thumb:horizontal { border: 1px solid #1a1d22; border-width: 1px 0 1px 0; }* { -webkit-user-select: none; }.inspector * { -webkit-user-select: initial; }.inspector *::selection { background: #528bff !important; }input:focus::selection { background: #528bff; }input { cursor: text; }html, body { height: 100%; overflow: hidden; position: relative; }html { font-size: 1px; }body { font-size: 14rem; line-height: 16rem; font-family: sans; color: #cccccc; white-space: nowrap; opacity: 1; cursor: default; }.btn { background: linear-gradient(#2d3139, #2b2f37 15rem); display: block; border: 1px solid #1a1d22; padding: 15rem; }a.btn:hover { background-image: linear-gradient(#32363d, #2d3139); }#lobby { background: #22252c; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; border: 1px solid #1a1d22; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 20rem; }#lobby .main { width: 600rem; max-height: 100%; }#lobby .header { background: linear-gradient(#2d3139, #2b2f37 15rem); padding: 20rem; font-weight: bold; box-shadow: 0 0 0 1px #1a1d22 inset; white-space: nowrap; text-overflow: ellipsis; }#lobby a { padding-right: 35rem; overflow: hidden; margin-top: 10rem; position: relative; white-space: nowrap; text-overflow: ellipsis; }#lobby a span { position: absolute; right: 0rem; top: 0rem; padding: 15rem; color: #999999; }#lobby a span:hover { color: #cccccc; }#container { background: #22252c; position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; transition: right 0.2s; }#container.sidepanel-open { right: 300rem; }#container #open-toggle { position: absolute; right: 0; top: 2rem; width: 60rem; height: 60rem; padding: 0 10rem; line-height: 60rem; font-size: 24rem; text-align: center; color: #999999; z-index: 2; }#container #open-toggle.sidepanel-open { color: #cccccc; }#sidepanel { position: absolute; z-index: 999999; width: 300rem; top: 0; right: 0; bottom: 0; margin-right: -300rem; background: #282c34; border-left: 1px solid #1a1d22; transition: right 0.2s; overflow-y: auto; overflow-x: visible; }#sidepanel.sidepanel-open { right: 300rem; }#sidepanel #options { position: absolute; left: 0; top: 2rem; right: 0; bottom: 0; padding: 5rem; list-style: none; background: #282c34; }#sidepanel #options li { display: block; margin-bottom: 5rem; background: linear-gradient(#2d3139, #2b2f37 15rem); }#sidepanel #options .inspector { padding: 10rem; }#sidepanel #options .inspector .result { background: #1a1d22; border-radius: 3rem; margin-top: 10rem; padding: 10rem; color: #999999; white-space: pre; word-wrap: break-word; width: 100%; max-height: 300rem; overflow-y: auto; }#sidepanel #options .inspector .result::-webkit-scrollbar-track-piece, #sidepanel #options .inspector .result::-webkit-scrollbar-thumb { border-color: #1a1d22 !important; }#sidepanel #options .inspector .result::-webkit-scrollbar-thumb { background: #22252c !important; opacity: 0.6 !important; }.nicescroll-rails-hr { margin-top: 3rem; }.nicescroll-rails-vr { display: none !important; }a { color: inherit; }.navigation { position: absolute; top: 0; left: 0; right: 0; z-index: 1; font-size: 14rem; background: #22252c; border-bottom: 1px solid #1a1d22; border-top: 1px solid #282c34; height: 60rem; }.navigation ::first-letter { text-transform: uppercase; }.navigation.main { padding-right: 55rem; right: 0; }.navigation ul { list-style: none; display: flex; padding: 7rem 6rem; }.navigation ul li.on + li { border-image: none; border-left: 1px solid transparent; }.navigation ul li { display: block; max-width: 250rem; flex: 1; border-width: 0 0 0 1px; border-image: linear-gradient(rgba(26, 29, 34, 0), #1a1d22, rgba(26, 29, 34, 0)) 0 0 0 1 stretch; }.navigation ul li:first-child, .navigation ul li.on { border-image: none; border-left: 1px solid transparent; }.navigation ul li:first-child { border-left: 0; }.navigation ul li a { display: block; padding: 5rem 10rem; line-height: 34rem; border-radius: 3rem; overflow: hidden; text-align: center; border: 1px solid transparent; position: relative; color: #999999; }.navigation ul li a span { display: block; width: 100%; -webkit-mask: linear-gradient(to left, transparent, #000000 10rem) no-repeat; }.navigation ul li a.on { background: #282c34; border: 1px solid #1a1d22; color: #cccccc; }.navigation ul li a.on:before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06); background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)); }.navigation ul li a.on:after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4rem; }.content { position: absolute; left: 0; top: 60rem; right: 0; bottom: 0; background: #282c34; }.content .content { top: 60rem; }#loading { position: absolute; top: 50%; left: 50%; margin-top: -15rem; text-align: center; }#loading .spinner { display: block; margin: 0 auto; height: 30rem; width: 30rem; border-radius: 50%; border: 2rem solid rgba(0, 0, 0, 0.2); border-top-color: #528bff; animation: spin 0.5s linear infinite; }#loading #status { margin-top: 10rem; display: inline-block; }@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }.popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 10%; background: rgba(0, 0, 0, 0.5); z-index: 1000000; }.popup .popup-title { position: relative; padding: 15rem; background: linear-gradient(#2d3139, #2b2f37 15rem); }.popup .popup-title .closer { position: absolute; right: 0rem; top: 0; padding: 15rem; color: #999999; cursor: pointer; }.popup .popup-title .closer:hover { color: #cccccc; }.popup .popup-wrapper { background: #282c34; height: 100%; width: 100%; max-width: 600rem; margin: 0 auto; position: relative; overflow: hidden; border: 1px solid #1a1d22; }.popup .popup-wrapper .popup-content { height: 100%; width: 100%; padding: 10rem; overflow-y: scroll; white-space: normal; }form label { display: block; padding-top: 10rem; margin-bottom: 10rem; }form .info { color: #999999; margin-bottom: 10rem; }form input { display: block; margin-bottom: 10rem; background: #22252c; font: inherit; color: #cccccc; border: 1px solid #1a1d22; width: 100%; padding: 10rem; }form input.invalid { box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.3) !important; }form input:focus { box-shadow: 0 0 0 1px #528bff; }form .submit { margin-top: 30rem; }.tab.on.stretch { display: flex; justify-content: space-between; }.tab.on.stretch > .widget { width: 100%; }.tab { display: none; overflow: auto; position: relative; }.tab.on { display: block; height: 100%; width: auto; }.widget { display: inline-block; height: auto; min-width: 100rem; overflow: hidden; position: relative; font-size: 13rem; padding: 35rem 1px 0; vertical-align: top; border: 6rem solid transparent; border-width: 6rem 0; margin: 0 3rem; box-shadow: 0 0 0 1px #22252c inset; background: linear-gradient(#2d3139, #2b2f37 15rem); background-clip: padding-box; }.widget:first-child { margin-left: 6rem; }.widget:last-child { margin-right: 6rem; }.widget.nolabel { padding-top: 0; }.widget.nolabel > .label { display: none; }.widget .label { z-index: 1; padding: 10rem 10rem; position: absolute; top: 0rem; left: 0; right: 0; text-overflow: ellipsis; overflow: hidden; height: 35rem; }.widget .label.accent { color: #528bff; }.widget input { width: 100%; height: 35rem; border: 0; background: #22252c; color: inherit; display: block; padding: 10rem; }.widget input:focus { box-shadow: 0 0 0 1px #528bff inset !important; }.widget input[disabled] { color: #999999; }/* STRIP (contains any widgets) */.strip-container { width: 100rem; height: 100%; overflow: visible; border-bottom: 0; background: none; box-shadow: none; }.strip-container > .label { background: linear-gradient(#2d3139, #2b2f37 15rem); box-shadow: 0 0 0 1px #22252c inset; }.strip-container .strip { height: 100%; display: flex; flex-direction: column; }.strip-container .strip > .widget { display: block; margin: 0; width: auto; }.strip-container .strip > .widget:not(:last-child) { border-bottom-width: 0; }.strip-container .strip > .widget:first-childĀ  { border-top-width: 0; }.strip-container.horizontal { padding-top: 0; padding-left: 40rem; width: 100%; height: auto; margin: 0; border-left-width: 6rem; display: block; }.strip-container.horizontal:last-child { margin-bottom: 6rem; }.strip-container.horizontal.nolabel { padding-left: 0; }.strip-container.horizontal .strip { flex-direction: row; align-items: flex-start; }.strip-container.horizontal .strip > .widget { border-bottom-width: 0; border-top-width: 0; border-right-width: 6rem; flex-shrink: initial; }.strip-container.horizontal .strip > .widget:last-child { border-right-width: 6rem; }.strip-container.horizontal > .label { width: 35rem; height: 100%; left: 0; top: 0; }.strip-container.horizontal > .label span { transform: rotate(180deg); display: block; position: relative; overflow: hidden; text-overflow: ellipsis; -webkit-writing-mode: vertical-lr; text-align: center; height: 100%; }.panel-container { position: absolute; margin: 0 !important; border-top: 0; z-index: 2; }.panel-container .panel { height: 100%; padding: 6rem 0; overflow: auto; }.panel-container .panel > .widget { border: 0; }.panel-container .panel.stretch { display: flex; justify-content: space-between; }.panel-container .panel.stretch > .widget { width: 100%; }/* BUTTONS */.toggle-container { width: 100rem; flex-shrink: 0; padding: 0 !important; cursor: pointer; }.toggle-container .label { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 29rem 10rem 26rem; line-height: 1rem; background: none !important; text-align: center; pointer-events: none; }.toggle-container:hover { background-image: linear-gradient(#32363d, #2d3139); }.toggle { z-index: 1; padding: 29rem 10rem 26rem; }.toggle .light { position: absolute; left: 4rem; right: 4rem; top: 4rem; height: 4rem; background: #1a1d22; border-radius: 3rem; }.toggle.on .light { background: #528bff; }.switch-container { width: 100rem; flex-shrink: 0; }.switch-container .switch { height: 100%; width: 100%; cursor: pointer; display: flex; flex-direction: column; align-items: stretch; padding-bottom: 1px; }.switch-container .switch .value { background: linear-gradient(#2d3139, #2b2f37 15rem); color: #999999; width: 100%; position: relative; border-top: 1px solid #282c34; padding: 12rem 12rem 12rem 24rem; white-space: normal; text-align: left; word-break: break-all; overflow: hidden; }.switch-container .switch .value:hover { background: linear-gradient(#32363d, #2d3139); }.switch-container .switch .value:last-child { margin-bottom: 0; }.switch-container .switch .value:after { content: ""; position: absolute; left: 8rem; top: 50%; width: 8rem; height: 8rem; margin-top: -4rem; background: #1a1d22; border-radius: 8rem; }.switch-container .switch .value.on:after { background: #528bff; }/* XY */.xy-container, .rgb-container { width: 300rem; flex-shrink: 0; }.xy-wrapper { overflow: hidden; }.xy-wrapper .value { width: 100%; }.xy-wrapper input { width: 50%; float: left; padding: 2rem; text-align: center; position: relative; left: 0rem; right: 0rem; box-shadow: 0 0 1px 0 #1a1d22 inset; }.xy { position: relative; width: 100%; padding-bottom: 90%; overflow: hidden; }.xy .handle { position: absolute; height: 0rem; width: 0rem; bottom: 0; left: 0; max-height: 100%; max-width: 100%; z-index: 2; cursor: -webkit-grab; }.xy .handle:active { cursor: -webkit-grabbing; }.xy .handle:active:after { transform: scale(1.5); }.xy .handle:after { content: ""; position: absolute; top: -.5rem; right: -1px; border-radius: 100% !important; width: 20rem; height: 20rem; margin: -10rem -10rem 0 0; box-shadow: 0 0 0 1000rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2); }.xy .handle::before { content: ""; position: absolute; top: -.5rem; left: -1px; width: 2000rem; height: 2000rem; margin: -1000rem 0 0 -1000rem; }.rgb-wrapper input { width: 33.33%; }.rgb { background-color: red; }.rgb:before, .rgb:after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }.rgb:before { background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%); }.rgb:after { background: linear-gradient(to bottom, transparent 0%, black 100%); /* W3C */ }.hue { width: 100%; height: 30rem; background: transparent linear-gradient(to left, #F00, #FF0080, #F0F, #8000FF, #00F, #0080FF, #0FF, #00FF80, #0F0, #80FF00, #FF0, #FF8000, #F00) repeat scroll 0% 0%; overflow: hidden; position: relative; }.hue .handle { position: absolute; height: 100%; max-width: 100%; width: 0; z-index: 2; left: 0; bottom: 0; cursor: -webkit-grab; }.hue .handle:active { cursor: -webkit-grabbing; }.hue .handle:active:after { transform: scale(1.5); }.hue .handle:after { content: ""; position: absolute; top: 50%; right: -1px; box-shadow: 0 0 0 1000rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2); border-radius: 100% !important; width: 11rem; height: 11rem; margin: -5rem -4rem 0 0; }.hue .handle:before { content: ""; position: absolute; top: 0; left: 0; width: 2000rem; height: 100%; margin-left: -1000rem; }.fader-container { width: 100rem; min-width: 80rem; height: 100%; min-height: 300rem; }.fader-container.nolabel .fader-wrapper-outer { top: 0; }.fader-container .fader-wrapper-outer { padding-bottom: 30rem; position: absolute; top: 30rem; bottom: 0; left: 1px; right: 1px; }.fader-container .fader-wrapper-outer input { position: absolute; bottom: 0; }.fader-container .fader-wrapper { padding: 20rem; overflow: hidden; height: 100%; position: relative; }.fader-container .fader-wrapper .fader { height: 100%; width: 4rem; background: #1a1d22; position: relative; margin: 0 auto; left: -25rem; }.fader-container .fader-wrapper .fader.nogauge .handle { background: none; }.fader-container .fader-wrapper .fader.nogauge .handle:before { content: ""; position: absolute; top: -6rem; left: -2rem; height: 8rem; width: 8rem; background: #528bff; border: none !important; border-radius: 100% !important; box-shadow: 0 0 0 5rem rgba(82, 139, 255, 0.2), 0 0 2px 0 #2b2f37; }.fader-container .fader-wrapper .fader .handle { position: absolute; bottom: 0 !important; top: auto !important; width: 100%; height: 0rem; max-height: 100%; max-width: 100%; cursor: -webkit-grab; background: #528bff; z-index: 1; }.fader-container .fader-wrapper .fader .handle:active { cursor: -webkit-grabbing; }.fader-container .fader-wrapper .fader .handle:after { content: ""; position: absolute; height: 2000rem; width: 2000rem; margin: -1000rem 0 0 -1000rem; }.fader-container .fader-wrapper .pips { position: absolute; top: -1%; bottom: 1%; left: 14rem; }.fader-container .fader-wrapper .pips .pip { height: 1%; width: 4rem; border-bottom: 1px solid #cccccc; }.fader-container .fader-wrapper .pips .pip.val { width: 10rem; position: relative; }.fader-container .fader-wrapper .pips .pip.val span { position: relative; width: 30rem; display: block; text-align: center; font-size: 11rem; line-height: 12rem; left: 15rem; top: -2rem; color: #cccccc; }.fader-container.horizontal { min-height: 80rem; height: auto; width: 300rem; flex-shrink: 0; }.fader-container.horizontal .fader-wrapper-outer { position: relative; top: auto; padding-bottom: 35rem; }.fader-container.horizontal .fader-wrapper-outer .fader-wrapper { padding: 20rem 20rem 50rem; }.fader-container.horizontal .fader-wrapper-outer .fader { width: 100%; left: auto; height: 4rem; }.fader-container.horizontal .fader-wrapper-outer .fader .handle { height: 100% !important; width: 0; }.fader-container.horizontal .fader-wrapper-outer .pips { top: 14rem; left: 0; right: 0; display: flex; flex-direction: row; align-items: stretch; }.fader-container.horizontal .fader-wrapper-outer .pip { width: 100%; display: block; height: 4rem; border-bottom: 0; border-right: 1px solid #999999; }.fader-container.horizontal .fader-wrapper-outer .pip.val { width: 1%; float: left; height: 10rem; }.fader-container.horizontal .fader-wrapper-outer .pip.val span { top: 15rem; left: -15rem; }.knob-container { width: 100rem; min-height: 135rem; flex-shrink: 0; }.knob-container.nolabel .knob-wrapper-outer { padding-top: 15rem; }.knob-container .knob-wrapper-outer { width: 100%; top: 0; bottom: 0; padding-bottom: 15rem; overflow: hidden; }.knob-container .knob-wrapper-outer input { bottom: -15rem; position: relative; z-index: 1; }.knob-container .knob-wrapper-outer.nogauge .knob:after, .knob-container .knob-wrapper-outer.nogauge .knob-mask:after { display: none; }.knob-container .knob-wrapper-outer.nogauge .knob-wrapper .knob:before { content: ""; position: absolute; top: auto; bottom: 6rem; left: 6rem; height: 7rem; width: 7rem; background: #528bff; border: none !important; border-radius: 100% !important; box-shadow: 0 0 0 3rem rgba(82, 139, 255, 0.2), 0 0 2px 0 #2b2f37; }.knob-container .knob-wrapper-outer .knob-wrapper { padding: 5rem 20rem; margin: 0 auto; width: 95rem; position: relative; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask { width: 100%; padding-bottom: 100%; border-radius: 100%; position: relative; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 100%; border: 4rem solid #1a1d22; border-bottom-color: transparent; pointer-events: none; z-index: 0; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:after { content: ""; position: absolute; top: 0rem; left: -3rem; right: -3rem; bottom: -2rem; border-radius: 100%; border: 12rem solid transparent; border-bottom-color: #2b2f37; pointer-events: none; }.knob-container .knob-wrapper-outer .knob-wrapper .knob { position: absolute; top: 0; left: 0; right: 0; bottom: 0; cursor: -webkit-grab; }.knob-container .knob-wrapper-outer .knob-wrapper .knob:active { cursor: -webkit-grabbing; }.knob-container .knob-wrapper-outer .knob-wrapper .knob:after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 100%; border: 4rem solid transparent; border-bottom-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob.d2:after { border-right-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob.d3:after { border-top-color: #528bff; border-right-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span { position: absolute; top: 20rem; left: 20rem; right: 20rem; bottom: 20rem; border-radius: 100%; background: #4c4e52; box-shadow: 0 0 0 4rem #22252c; z-index: 100; transform: rotate(45deg); z-index: 100; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span:before { content: ""; position: absolute; height: 3rem; width: 3rem; background: #4c4e52; margin-left: -1.5rem; left: 50%; bottom: -3rem; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span:after { content: ""; position: absolute; height: 2000rem; width: 2000rem; margin: -1000rem 0 0 -1000rem; }.knob-container .knob-wrapper-outer .knob-wrapper .pip { position: absolute; font-size: 11rem; color: #cccccc; pointer-events: none; }.knob-container .knob-wrapper-outer .knob-wrapper .pip.min { bottom: -5rem; left: 0; right: 50%; width: 50%; text-align: center; }.knob-container .knob-wrapper-outer .knob-wrapper .pip.max { bottom: -5rem; left: 50%; width: 50%; right: 0; text-align: center; }.led-container { width: 100rem; flex-shrink: 0; }.led-container .led { padding: 10rem 1px 5rem; }.led-container .led div { border-radius: 100%; width: 60%; margin: 0 auto; overflow: hidden; background: #1a1d22; }.led-container .led div span { padding-bottom: 100%; display: block; background-color: #528bff; } \ No newline at end of file +@charset "UTF-8";* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; outline: 0; font: inherit; cursor: inherit; }a { cursor: pointer; display: block; }::-webkit-scrollbar { width: 10px; height: 10px; opacity: 1; }::-webkit-scrollbar-track-piece { background: #1a1d22; }::-webkit-scrollbar-track-piece:vertical { border-left: 1px solid #1a1d22; }::-webkit-scrollbar-track-piece:horizontal { border-top: 1px solid #1a1d22; }::-webkit-scrollbar-corner { background: #1a1d22; }::-webkit-scrollbar-thumb { background: linear-gradient(#2d3139, #2b2f37 15rem); }::-webkit-scrollbar-thumb:vertical { border: 1px solid #1a1d22; border-width: 0 1px 0 1px; }::-webkit-scrollbar-thumb:horizontal { border: 1px solid #1a1d22; border-width: 1px 0 1px 0; }* { -webkit-user-select: none; }.inspector * { -webkit-user-select: initial; }.inspector *::selection { background: #528bff !important; }input:focus::selection { background: #528bff; }input { cursor: text; }html, body { height: 100%; overflow: hidden; position: relative; }html { font-size: 1px; }body { font-size: 14rem; line-height: 16rem; font-family: sans; color: #cccccc; white-space: nowrap; opacity: 1; cursor: default; }.btn { background: linear-gradient(#2d3139, #2b2f37 15rem); display: block; border: 1px solid #1a1d22; padding: 15rem; }a.btn:hover { background-image: linear-gradient(#32363d, #2d3139); }#lobby { background: #22252c; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; border: 1px solid #1a1d22; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 20rem; }#lobby .main { width: 600rem; max-height: 100%; }#lobby .header { background: linear-gradient(#2d3139, #2b2f37 15rem); padding: 20rem; font-weight: bold; box-shadow: 0 0 0 1px #1a1d22 inset; white-space: nowrap; text-overflow: ellipsis; }#lobby a { padding-right: 35rem; overflow: hidden; margin-top: 10rem; position: relative; white-space: nowrap; text-overflow: ellipsis; }#lobby a span { position: absolute; right: 0rem; top: 0rem; padding: 15rem; color: #999999; }#lobby a span:hover { color: #cccccc; }#container { background: #22252c; position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; transition: right 0.2s; }#container.sidepanel-open { right: 300rem; }#container #open-toggle { position: absolute; right: 0; top: 2rem; width: 60rem; height: 60rem; padding: 0 10rem; line-height: 60rem; font-size: 24rem; text-align: center; color: #999999; z-index: 2; }#container #open-toggle.sidepanel-open { color: #cccccc; }#sidepanel { position: absolute; z-index: 999999; width: 300rem; top: 0; right: 0; bottom: 0; margin-right: -300rem; background: #282c34; border-left: 1px solid #1a1d22; transition: right 0.2s; overflow-y: auto; overflow-x: visible; }#sidepanel.sidepanel-open { right: 300rem; }#sidepanel #options { position: absolute; left: 0; top: 2rem; right: 0; bottom: 0; padding: 5rem; list-style: none; background: #282c34; }#sidepanel #options li { display: block; margin-bottom: 5rem; background: linear-gradient(#2d3139, #2b2f37 15rem); }#sidepanel #options .inspector { padding: 10rem; }#sidepanel #options .inspector .result { background: #1a1d22; border-radius: 3rem; margin-top: 10rem; padding: 10rem; color: #999999; white-space: pre; word-wrap: break-word; width: 100%; max-height: 300rem; overflow-y: auto; }#sidepanel #options .inspector .result::-webkit-scrollbar-track-piece, #sidepanel #options .inspector .result::-webkit-scrollbar-thumb { border-color: #1a1d22 !important; }#sidepanel #options .inspector .result::-webkit-scrollbar-thumb { background: #22252c !important; opacity: 0.6 !important; }.nicescroll-rails-hr { margin-top: 3rem; }.nicescroll-rails-vr { display: none !important; }a { color: inherit; }.navigation { position: absolute; top: 0; left: 0; right: 0; z-index: 1; font-size: 14rem; background: #22252c; border-bottom: 1px solid #1a1d22; border-top: 1px solid #282c34; height: 60rem; }.navigation ::first-letter { text-transform: uppercase; }.navigation.main { padding-right: 55rem; right: 0; }.navigation ul { list-style: none; display: flex; padding: 7rem 6rem; }.navigation ul li.on + li { border-image: none; border-left: 1px solid transparent; }.navigation ul li { display: block; max-width: 250rem; flex: 1; border-width: 0 0 0 1px; border-image: linear-gradient(rgba(26, 29, 34, 0), #1a1d22, rgba(26, 29, 34, 0)) 0 0 0 1 stretch; }.navigation ul li:first-child, .navigation ul li.on { border-image: none; border-left: 1px solid transparent; }.navigation ul li:first-child { border-left: 0; }.navigation ul li a { display: block; padding: 5rem 10rem; line-height: 34rem; border-radius: 3rem; overflow: hidden; text-align: center; border: 1px solid transparent; position: relative; color: #999999; }.navigation ul li a span { display: block; width: 100%; -webkit-mask: linear-gradient(to left, transparent, #000000 10rem) no-repeat; }.navigation ul li a.on { background: #282c34; border: 1px solid #1a1d22; color: #cccccc; }.navigation ul li a.on:before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06); background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)); }.navigation ul li a.on:after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4rem; }.content { position: absolute; left: 0; top: 60rem; right: 0; bottom: 0; background: #282c34; }.content .content { top: 60rem; }#loading { position: absolute; top: 50%; left: 50%; margin-top: -15rem; text-align: center; }#loading .spinner { display: block; margin: 0 auto; height: 30rem; width: 30rem; border-radius: 50%; border: 2rem solid rgba(0, 0, 0, 0.2); border-top-color: #528bff; animation: spin 0.5s linear infinite; }#loading #status { margin-top: 10rem; display: inline-block; }@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }.popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 10%; background: rgba(0, 0, 0, 0.5); z-index: 1000000; }.popup .popup-title { position: relative; padding: 15rem; background: linear-gradient(#2d3139, #2b2f37 15rem); }.popup .popup-title .closer { position: absolute; right: 0rem; top: 0; padding: 15rem; color: #999999; cursor: pointer; }.popup .popup-title .closer:hover { color: #cccccc; }.popup .popup-wrapper { background: #282c34; height: 100%; width: 100%; max-width: 600rem; margin: 0 auto; position: relative; overflow: hidden; border: 1px solid #1a1d22; }.popup .popup-wrapper .popup-content { height: 100%; width: 100%; padding: 10rem; overflow-y: scroll; white-space: normal; }form label { display: block; padding-top: 10rem; margin-bottom: 10rem; }form .info { color: #999999; margin-bottom: 10rem; }form input { display: block; margin-bottom: 10rem; background: #22252c; font: inherit; color: #cccccc; border: 1px solid #1a1d22; width: 100%; padding: 10rem; }form input.invalid { box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.3) !important; }form input:focus { box-shadow: 0 0 0 1px #528bff; }form .submit { margin-top: 30rem; }.tab.on.stretch { display: flex; justify-content: space-between; }.tab.on.stretch > .widget { width: 100%; }.tab { display: none; overflow: auto; position: relative; }.tab.on { display: block; height: 100%; width: auto; }.widget { display: inline-block; height: auto; min-width: 100rem; overflow: hidden; position: relative; font-size: 13rem; padding: 35rem 1px 0; vertical-align: top; border: 6rem solid transparent; border-width: 6rem 0; margin: 0 3rem; box-shadow: 0 0 0 1px #22252c inset; background: linear-gradient(#2d3139, #2b2f37 15rem); background-clip: padding-box; -webkit-tap-highlight-color: transparent; }.widget:first-child { margin-left: 6rem; }.widget:last-child { margin-right: 6rem; }.widget.nolabel { padding-top: 0; }.widget.nolabel > .label { display: none; }.widget .label { z-index: 1; padding: 10rem 10rem; position: absolute; top: 0rem; left: 0; right: 0; text-overflow: ellipsis; overflow: hidden; height: 35rem; }.widget .label.accent { color: #528bff; }.widget input { width: 100%; height: 35rem; border: 0; background: #22252c; color: inherit; display: block; padding: 10rem; }.widget input:focus { box-shadow: 0 0 0 1px #528bff inset !important; }.widget input[disabled] { color: #999999; }/* STRIP (contains any widgets) */.strip-container { width: 100rem; height: 100%; overflow: visible; border-bottom: 0; background: none; box-shadow: none; }.strip-container > .label { background: linear-gradient(#2d3139, #2b2f37 15rem); box-shadow: 0 0 0 1px #22252c inset; }.strip-container .strip { height: 100%; display: flex; flex-direction: column; }.strip-container .strip > .widget { display: block; margin: 0; width: auto; }.strip-container .strip > .widget:not(:last-child) { border-bottom-width: 0; }.strip-container .strip > .widget:first-childĀ  { border-top-width: 0; }.strip-container.horizontal { padding-top: 0; padding-left: 40rem; width: 100%; height: auto; margin: 0; border-left-width: 6rem; display: block; }.strip-container.horizontal:last-child { margin-bottom: 6rem; }.strip-container.horizontal.nolabel { padding-left: 0; }.strip-container.horizontal .strip { flex-direction: row; align-items: flex-start; }.strip-container.horizontal .strip > .widget { border-bottom-width: 0; border-top-width: 0; border-right-width: 6rem; flex-shrink: initial; }.strip-container.horizontal .strip > .widget:last-child { border-right-width: 6rem; }.strip-container.horizontal > .label { width: 35rem; height: 100%; left: 0; top: 0; }.strip-container.horizontal > .label span { transform: rotate(180deg); display: block; position: relative; overflow: hidden; text-overflow: ellipsis; -webkit-writing-mode: vertical-lr; text-align: center; height: 100%; }.panel-container { position: absolute; margin: 0 !important; border-top: 0; z-index: 2; }.panel-container .panel { height: 100%; padding: 6rem 0; overflow: auto; }.panel-container .panel > .widget { border: 0; }.panel-container .panel.stretch { display: flex; justify-content: space-between; }.panel-container .panel.stretch > .widget { width: 100%; }/* BUTTONS */.toggle-container { width: 100rem; flex-shrink: 0; padding: 0 !important; cursor: pointer; }.toggle-container .label { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 29rem 10rem 26rem; line-height: 1rem; background: none !important; text-align: center; pointer-events: none; }.toggle-container:hover { background-image: linear-gradient(#32363d, #2d3139); }.toggle { z-index: 1; padding: 29rem 10rem 26rem; }.toggle .light { position: absolute; left: 4rem; right: 4rem; top: 4rem; height: 4rem; background: #1a1d22; border-radius: 3rem; }.toggle.on .light { background: #528bff; }.switch-container { width: 100rem; flex-shrink: 0; }.switch-container .switch { height: 100%; width: 100%; cursor: pointer; display: flex; flex-direction: column; align-items: stretch; padding-bottom: 1px; }.switch-container .switch .value { background: linear-gradient(#2d3139, #2b2f37 15rem); color: #999999; width: 100%; position: relative; border-top: 1px solid #282c34; padding: 12rem 12rem 12rem 24rem; white-space: normal; text-align: left; word-break: break-all; overflow: hidden; }.switch-container .switch .value:hover { background: linear-gradient(#32363d, #2d3139); }.switch-container .switch .value:last-child { margin-bottom: 0; }.switch-container .switch .value:after { content: ""; position: absolute; left: 8rem; top: 50%; width: 8rem; height: 8rem; margin-top: -4rem; background: #1a1d22; border-radius: 8rem; }.switch-container .switch .value.on:after { background: #528bff; }/* XY */.xy-container, .rgb-container { width: 300rem; flex-shrink: 0; }.xy-wrapper { overflow: hidden; }.xy-wrapper .value { width: 100%; }.xy-wrapper input { width: 50%; float: left; padding: 2rem; text-align: center; position: relative; left: 0rem; right: 0rem; box-shadow: 0 0 1px 0 #1a1d22 inset; }.xy { position: relative; width: 100%; padding-bottom: 90%; overflow: hidden; }.xy .handle { position: absolute; height: 0rem; width: 0rem; bottom: 0; left: 0; max-height: 100%; max-width: 100%; z-index: 2; cursor: -webkit-grab; }.xy .handle:active { cursor: -webkit-grabbing; }.xy .handle:active:after { transform: scale(1.5); }.xy .handle:after { content: ""; position: absolute; top: -.5rem; right: -1px; border-radius: 100% !important; width: 20rem; height: 20rem; margin: -10rem -10rem 0 0; box-shadow: 0 0 0 1000rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2); }.xy .handle::before { content: ""; position: absolute; top: -.5rem; left: -1px; width: 2000rem; height: 2000rem; margin: -1000rem 0 0 -1000rem; }.rgb-wrapper input { width: 33.33%; }.rgb { background-color: red; }.rgb:before, .rgb:after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }.rgb:before { background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%); }.rgb:after { background: linear-gradient(to bottom, transparent 0%, black 100%); /* W3C */ }.hue { width: 100%; height: 30rem; background: transparent linear-gradient(to left, #F00, #FF0080, #F0F, #8000FF, #00F, #0080FF, #0FF, #00FF80, #0F0, #80FF00, #FF0, #FF8000, #F00) repeat scroll 0% 0%; overflow: hidden; position: relative; }.hue .handle { position: absolute; height: 100%; max-width: 100%; width: 0; z-index: 2; left: 0; bottom: 0; cursor: -webkit-grab; }.hue .handle:active { cursor: -webkit-grabbing; }.hue .handle:active:after { transform: scale(1.5); }.hue .handle:after { content: ""; position: absolute; top: 50%; right: -1px; box-shadow: 0 0 0 1000rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2); border-radius: 100% !important; width: 11rem; height: 11rem; margin: -5rem -4rem 0 0; }.hue .handle:before { content: ""; position: absolute; top: 0; left: 0; width: 2000rem; height: 100%; margin-left: -1000rem; }.fader-container { width: 100rem; min-width: 80rem; height: 100%; min-height: 300rem; }.fader-container.nolabel .fader-wrapper-outer { top: 0; }.fader-container .fader-wrapper-outer { padding-bottom: 30rem; position: absolute; top: 30rem; bottom: 0; left: 1px; right: 1px; }.fader-container .fader-wrapper-outer input { position: absolute; bottom: 0; }.fader-container .fader-wrapper { padding: 20rem; overflow: hidden; height: 100%; position: relative; }.fader-container .fader-wrapper .fader { height: 100%; width: 4rem; background: #1a1d22; position: relative; margin: 0 auto; left: -25rem; }.fader-container .fader-wrapper .fader.nogauge .handle { background: none; }.fader-container .fader-wrapper .fader .handle { position: absolute; bottom: 0 !important; top: auto !important; width: 100%; height: 0rem; max-height: 100%; max-width: 100%; cursor: -webkit-grab; background: #528bff; z-index: 1; }.fader-container .fader-wrapper .fader .handle:active { cursor: -webkit-grabbing; }.fader-container .fader-wrapper .fader .handle:before { content: ""; position: absolute; top: -6rem; left: -2rem; height: 8rem; width: 8rem; background: #528bff; border: none !important; border-radius: 100% !important; box-shadow: 0 0 0 5rem rgba(82, 139, 255, 0.2), 0 0 2px 0 #2b2f37; }.fader-container .fader-wrapper .fader .handle:after { content: ""; position: absolute; height: 2000rem; width: 2000rem; margin: -1000rem 0 0 -1000rem; }.fader-container .fader-wrapper .pips { position: absolute; top: -1%; bottom: 1%; left: 14rem; }.fader-container .fader-wrapper .pips .pip { height: 1%; width: 4rem; border-bottom: 1px solid #cccccc; }.fader-container .fader-wrapper .pips .pip.val { width: 10rem; position: relative; }.fader-container .fader-wrapper .pips .pip.val span { position: relative; width: 30rem; display: block; text-align: center; font-size: 11rem; line-height: 12rem; left: 15rem; top: -2rem; color: #cccccc; }.fader-container.horizontal { min-height: 80rem; height: auto; width: 300rem; flex-shrink: 0; }.fader-container.horizontal .fader-wrapper-outer { position: relative; top: auto; padding-bottom: 35rem; }.fader-container.horizontal .fader-wrapper-outer .fader-wrapper { padding: 20rem 20rem 50rem; }.fader-container.horizontal .fader-wrapper-outer .fader { width: 100%; left: auto; height: 4rem; }.fader-container.horizontal .fader-wrapper-outer .fader .handle { height: 100% !important; width: 0; }.fader-container.horizontal .fader-wrapper-outer .pips { top: 14rem; left: 0; right: 0; display: flex; flex-direction: row; align-items: stretch; }.fader-container.horizontal .fader-wrapper-outer .pip { width: 100%; display: block; height: 4rem; border-bottom: 0; border-right: 1px solid #999999; }.fader-container.horizontal .fader-wrapper-outer .pip.val { width: 1%; float: left; height: 10rem; }.fader-container.horizontal .fader-wrapper-outer .pip.val span { top: 15rem; left: -15rem; }.knob-container { width: 100rem; min-height: 135rem; flex-shrink: 0; }.knob-container.nolabel .knob-wrapper-outer { padding-top: 15rem; }.knob-container .knob-wrapper-outer { width: 100%; top: 0; bottom: 0; padding-bottom: 15rem; overflow: hidden; }.knob-container .knob-wrapper-outer input { bottom: -15rem; position: relative; z-index: 1; }.knob-container .knob-wrapper-outer.nogauge .knob:after, .knob-container .knob-wrapper-outer.nogauge .knob-mask:after { display: none; }.knob-container .knob-wrapper-outer.nogauge .knob-wrapper .knob:before { content: ""; position: absolute; top: auto; bottom: 6rem; left: 6rem; height: 7rem; width: 7rem; background: #528bff; border: none !important; border-radius: 100% !important; box-shadow: 0 0 0 3rem rgba(82, 139, 255, 0.2), 0 0 2px 0 #2b2f37; }.knob-container .knob-wrapper-outer .knob-wrapper { padding: 5rem 20rem; margin: 0 auto; width: 95rem; position: relative; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask { width: 100%; padding-bottom: 100%; border-radius: 100%; position: relative; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 100%; border: 4rem solid #1a1d22; border-bottom-color: transparent; pointer-events: none; z-index: 0; }.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:after { content: ""; position: absolute; top: 0rem; left: -3rem; right: -3rem; bottom: -2rem; border-radius: 100%; border: 12rem solid transparent; border-bottom-color: #2b2f37; pointer-events: none; }.knob-container .knob-wrapper-outer .knob-wrapper .knob { position: absolute; top: 0; left: 0; right: 0; bottom: 0; cursor: -webkit-grab; }.knob-container .knob-wrapper-outer .knob-wrapper .knob:active { cursor: -webkit-grabbing; }.knob-container .knob-wrapper-outer .knob-wrapper .knob:after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 100%; border: 4rem solid transparent; border-bottom-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob.d2:after { border-right-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob.d3:after { border-top-color: #528bff; border-right-color: #528bff; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span { position: absolute; top: 20rem; left: 20rem; right: 20rem; bottom: 20rem; border-radius: 100%; background: #4c4e52; box-shadow: 0 0 0 4rem #22252c; z-index: 100; transform: rotate(45deg); z-index: 100; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span:before { content: ""; position: absolute; height: 3rem; width: 3rem; background: #4c4e52; margin-left: -1.5rem; left: 50%; bottom: -3rem; }.knob-container .knob-wrapper-outer .knob-wrapper .knob span:after { content: ""; position: absolute; height: 2000rem; width: 2000rem; margin: -1000rem 0 0 -1000rem; }.knob-container .knob-wrapper-outer .knob-wrapper .pip { position: absolute; font-size: 11rem; color: #cccccc; pointer-events: none; }.knob-container .knob-wrapper-outer .knob-wrapper .pip.min { bottom: -5rem; left: 0; right: 50%; width: 50%; text-align: center; }.knob-container .knob-wrapper-outer .knob-wrapper .pip.max { bottom: -5rem; left: 50%; width: 50%; right: 0; text-align: center; }.led-container { width: 100rem; flex-shrink: 0; }.led-container .led { padding: 10rem 1px 5rem; }.led-container .led div { border-radius: 100%; width: 60%; margin: 0 auto; overflow: hidden; background: #1a1d22; }.led-container .led div span { padding-bottom: 100%; display: block; background-color: #528bff; } \ No newline at end of file diff --git a/app/browser/js/app/init.js b/app/browser/js/app/init.js index 610c1509..7944e6aa 100644 --- a/app/browser/js/app/init.js +++ b/app/browser/js/app/init.js @@ -118,6 +118,11 @@ init = function(session,callback) { click:loadState, icon:'folder-open' }, + { + label:'Load last state', + click:loadLastState, + icon:'history' + }, { label:'Send all', click:sendState, diff --git a/app/browser/js/app/utils.js b/app/browser/js/app/utils.js index 5615c707..b2415ab3 100644 --- a/app/browser/js/app/utils.js +++ b/app/browser/js/app/utils.js @@ -18,6 +18,9 @@ getState = function (){ loadState = function() { ipc.send('load') } +loadLastState = function() { + ipc.send('loadlast') +} sendState = function(){ var data = getState().join('\n') diff --git a/app/browser/scss/style.scss b/app/browser/scss/style.scss index e6d90c1c..0238406f 100644 --- a/app/browser/scss/style.scss +++ b/app/browser/scss/style.scss @@ -573,6 +573,7 @@ form { box-shadow: 0 0 0 1px $color-bg inset; background:$bg-3d; background-clip:padding-box; + -webkit-tap-highlight-color:transparent; &:first-child { margin-left:6rem; @@ -1021,18 +1022,6 @@ form { &.nogauge { .handle { background:none; - &:before { - content:""; - position: absolute; - top:-6rem; - left:-2rem; - height:8rem; - width:8rem; - background:$color-accent; - border:none!important; - border-radius: 100%!important; - box-shadow: 0 0 0 5rem transparentize($color-accent,.8),0 0 2px 0 mix($color-text,$color-fg,2); - } } } .handle { @@ -1049,6 +1038,18 @@ form { &:active { cursor: -webkit-grabbing; } + &:before { + content:""; + position: absolute; + top:-6rem; + left:-2rem; + height:8rem; + width:8rem; + background:$color-accent; + border:none!important; + border-radius: 100%!important; + box-shadow: 0 0 0 5rem transparentize($color-accent,.8),0 0 2px 0 mix($color-text,$color-fg,2); + } &:after { content:""; position: absolute; diff --git a/app/main/main.js b/app/main/main.js index 06f2eeb4..0dbbfa70 100644 --- a/app/main/main.js +++ b/app/main/main.js @@ -221,10 +221,10 @@ ipc.on('sendOsc', function (event,data) { ipc.on('save', function(event, data){ - dialog.showSaveDialog(window,{title:'Save current state to preset file',defaultPath:settings.read('presetPath'),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){ + dialog.showSaveDialog(window,{title:'Save current state to preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){ if (file==undefined) {return} - settings.write('presetPath',file.replace(file.split('/').pop(),'')) + settings.write('presetPath',file) if (file.indexOf('.preset')==-1){file+='.preset'} fs.writeFile(file,data, function (err, data) { @@ -235,10 +235,10 @@ ipc.on('save', function(event, data){ }) ipc.on('load', function(event, data){ - dialog.showOpenDialog(window,{title:'Load preset file',defaultPath:settings.read('presetPath'),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){ + dialog.showOpenDialog(window,{title:'Load preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){ if (file==undefined) {return} - settings.write('presetPath',file[0].replace(file[0].split('/').pop(),'')) + settings.write('presetPath',file[0]) fs.readFile(file[0],'utf-8', function read(err, data) { if (err) throw err @@ -247,6 +247,15 @@ ipc.on('load', function(event, data){ }) }) +ipc.on('loadlast', function(event, data){ + if (!settings.read('presetPath')) {return} + fs.readFile(settings.read('presetPath'),'utf-8', function read(err, data) { + if (err) throw err + renderProcess.send('load',data) + }) +}) + + ipc.on('fullscreen', function(event){ window.setFullScreen(!window.isFullScreen()) diff --git a/presets/sebkhachott.preset b/presets/sebkhachott.preset index a5d7f03a..eea45ed0 100644 --- a/presets/sebkhachott.preset +++ b/presets/sebkhachott.preset @@ -1,43 +1,43 @@ -Drums -0.07 -Basses -1.72 -Guitars -2.22 -MxSynths -9.55 -MxDrums -18.47 -Vocals -5.94 -Acoustics -9.81 -FOH -0.48 -Kick -3.07 -Snare 3.74 -Toms -6.4 -OH_L -70 -OH_R -70 -Tom1 -1.52 -Tom2 -68.39 -Tom3 -0.54 +Drums -0.05 +Basses -5.2 +Guitars -17.77 +MxSynths -3.78 +MxDrums -13.21 +Vocals -4.47 +Acoustics -70 +FOH -13.83 +Kick -0.04 +Snare -5.75 +Toms -6 +OH_L -20.53 +OH_R -20.53 +Tom1 -3.09 +Tom2 -0.09 +Tom3 -70 EQ_Freq_1_Drums 35.84 EQ_Band_1_Drums 0.7 EQ_Gain_1_Drums 5 -EQ_On_1_Drums 1 +EQ_On_1_Drums 0 EQ_Freq_2_Drums 340.96 EQ_Band_2_Drums 0.3 EQ_Gain_2_Drums -17 -EQ_On_2_Drums 1 +EQ_On_2_Drums 0 EQ_Freq_3_Drums 1198.9 EQ_Band_3_Drums 0.3 EQ_Gain_3_Drums 6 -EQ_On_3_Drums 1 +EQ_On_3_Drums 0 EQ_Freq_4_Drums 4793.6 EQ_Band_4_Drums 0.5 EQ_Gain_4_Drums 6 -EQ_On_4_Drums 1 +EQ_On_4_Drums 0 EQ_Freq_1_Kick 65.54 EQ_Band_1_Kick 0.7 -EQ_Gain_1_Kick 7 +EQ_Gain_1_Kick 3.44 EQ_On_1_Kick 1 EQ_Freq_2_Kick 400.36 EQ_Band_2_Kick 1 -EQ_Gain_2_Kick 0 -EQ_On_2_Kick 0 +EQ_Gain_2_Kick -5.63 +EQ_On_2_Kick 1 EQ_Freq_3_Kick 565.3 EQ_Band_3_Kick 1.31 EQ_Gain_3_Kick -9.04 @@ -145,9 +145,9 @@ EQ_On_4_OH_R 1 Gate_LF_Kick 33.6 Gate_HF_Kick 240 Gate_Thresh_Kick -70 -Gate_Attack_Kick 0 +Gate_Attack_Kick 14.81 Gate_Hold_Kick 2 -Gate_Decay_Kick 2 +Gate_Decay_Kick 505.45 Gate_LF_Snare 33.6 Gate_HF_Snare 240 Gate_Thresh_Snare -70 @@ -172,14 +172,39 @@ Gate_Thresh_Tom3 -70 Gate_Attack_Tom3 0 Gate_Hold_Tom3 2 Gate_Decay_Tom3 2 -Bass_ORL -2.66 -Bass_Dag 3.95 +Comp_Attack_Kick 25.11 +Comp_Release_Kick 167.51 +Comp_Thresh_Kick -20 +Comp_Ratio_Kick 5.08 +Comp_Makeup_Kick 4.09 +Comp_Attack_Snare 4.45 +Comp_Release_Snare 2 +Comp_Thresh_Snare -30 +Comp_Ratio_Snare 1 +Comp_Makeup_Snare 0 +Comp_Attack_Toms 28.07 +Comp_Release_Toms 2 +Comp_Thresh_Toms -30 +Comp_Ratio_Toms 1 +Comp_Makeup_Toms 0 +Comp_Attack_OH-L 1.5 +Comp_Release_OH-L 2 +Comp_Thresh_OH-L -30 +Comp_Ratio_OH-L 1 +Comp_Makeup_OH-L 0 +Comp_Attack_OH-R 1.5 +Comp_Release_OH-R 2 +Comp_Thresh_OH-R -30 +Comp_Ratio_OH-R 1 +Comp_Makeup_OH-R 0 +Bass_ORL 0.12 +Bass_Dag 1.96 Oct_Bass_ORL 0 Disto_Bass_ORL 0 -FX_Bass_ORL 0.98 -Oct_Bass_Dag 0 -Disto_Bass_Dag 0 -FX_Bass_Dag -4.03 +FX_Bass_ORL -0.08 +Oct_Bass_Dag -70 +Disto_Bass_Dag -64.53 +FX_Bass_Dag -2.87 EQ_Freq_1_Bass_Dag 71.48 EQ_Band_1_Bass_Dag 0.6 EQ_Gain_1_Bass_Dag 5.48 @@ -196,20 +221,20 @@ EQ_Freq_4_Bass_Dag 5011.4 EQ_Band_4_Bass_Dag 0.71 EQ_Gain_4_Bass_Dag 4 EQ_On_4_Bass_Dag 1 -Guitar_ORL 2.35 +Guitar_ORL -2.27 FX_Gtr_ORL_1 0 FX_Gtr_ORL_2 0 FX_Gtr_ORL -1.01 -Guitar_Dag 3.28 +Guitar_Dag -0.12 FX_Gtr_Dag_1 0 -FX_Gtr_Dag_2 0 +FX_Gtr_Dag_2 -3.21 FX_Gtr_Dag 0 Scape_Gtr_Dag 0 MxBass -27.06 -MxChords -11.56 -MxLead -6.46 -MxCtLead -2.51 -MxClassical -6.54 +MxChords -6.56 +MxLead -3.25 +MxCtLead -9.17 +MxClassical -11.74 EQ_Freq_1_MxBass 39.8 EQ_Band_1_MxBass 0.13 EQ_Gain_1_MxBass -12 @@ -226,11 +251,11 @@ EQ_Freq_4_MxBass 14495.6 EQ_Band_4_MxBass 0.6 EQ_Gain_4_MxBass -16.48 EQ_On_4_MxBass 1 -MxKicks -5.78 -MxSnares -6.16 +MxKicks -7.62 +MxSnares -0.17 MxCymbs -3.5 MxCont 0 -MxSamples -0.99 +MxSamples -0.28 EQ_Freq_1_MxKicks 23.96 EQ_Band_1_MxKicks 0.7 EQ_Gain_1_MxKicks 7 @@ -266,19 +291,19 @@ EQ_On_4_MxCymbs 1 PianoToy 0 Cymbalum 0 GuitarAc 0 -Vx_ORL 1.97 -FX_Vx_ORL_1 0 -FX_Vx_ORL_2 0 -FX_Vx_ORL 0 -Vx_Dag 1.9 -FX_Vx_Dag_1 0 +Vx_ORL 0.36 +FX_Vx_ORL_1 -3.23 +FX_Vx_ORL_2 -2.98 +FX_Vx_ORL -3.03 +Vx_Dag -0.07 +FX_Vx_Dag_1 -3.13 FX_Vx_Dag_2 0 FX_Vx_Dag 0 -Scape_Vx_Dag 2.96 +Scape_Vx_Dag -61.97 Vx_Jeannot 0 EQ_Freq_1_Vx_ORL 69.5 EQ_Band_1_Vx_ORL 0.7 -EQ_Gain_1_Vx_ORL 7.96 +EQ_Gain_1_Vx_ORL -2.11 EQ_On_1_Vx_ORL 1 EQ_Freq_2_Vx_ORL 281.56 EQ_Band_2_Vx_ORL 0.61 @@ -294,8 +319,8 @@ EQ_Gain_4_Vx_ORL 5.04 EQ_On_4_Vx_ORL 1 EQ_Freq_1_Vx_Dag 79.4 EQ_Band_1_Vx_Dag 0.2 -EQ_Gain_1_Vx_Dag 4.52 -EQ_On_1_Vx_Dag 0 +EQ_Gain_1_Vx_Dag -6.44 +EQ_On_1_Vx_Dag 1 EQ_Freq_2_Vx_Dag 281.56 EQ_Band_2_Vx_Dag 0.37 EQ_Gain_2_Vx_Dag -7 @@ -335,4 +360,14 @@ Gate_HF_Vx_ORL 23520 Gate_Thresh_Vx_ORL -50.02 Gate_Attack_Vx_ORL 10 Gate_Hold_Vx_ORL 99.9 -Gate_Decay_Vx_ORL 101.95 \ No newline at end of file +Gate_Decay_Vx_ORL 101.95 +Comp_Attack_Vx_Dag 1.5 +Comp_Release_Vx_Dag 2 +Comp_Thresh_Vx_Dag -30 +Comp_Ratio_Vx_Dag 1 +Comp_Makeup_Vx_Dag 0 +Comp_Attack_Vx_ORL 1.5 +Comp_Release_Vx_ORL 2 +Comp_Thresh_Vx_ORL -30 +Comp_Ratio_Vx_ORL 1 +Comp_Makeup_Vx_ORL 0 \ No newline at end of file diff --git a/sessions/demo.js b/sessions/demo.js index 27a97870..83e42143 100644 --- a/sessions/demo.js +++ b/sessions/demo.js @@ -50,7 +50,7 @@ widgets: [ { label:'Absolute XY', - type:"xy", + type:"rgb", absolute:true, target:target }, diff --git a/sessions/sebkhachott.js b/sessions/sebkhachott.js index 03abe63e..ed61d7d5 100644 --- a/sessions/sebkhachott.js +++ b/sessions/sebkhachott.js @@ -2116,6 +2116,84 @@ return [ ] } ] + }, + { + id:"Comp_Drum", + label:"Comp", + widgets:function(){ + var w = [] + var s = ['Kick','Snare','Toms','OH-L','OH-R'] + for (i in s) { + w.push({ + id: "Comp_"+s[i], + label: s[i], + type: "strip", + horizontal:true, + widgets: [ + { + id: "Comp_Attack_"+s[i], + label: "Attack", + type:"knob", + range: { + min: 1.5, + max: 400 + }, + unit:"ms", + target: nmPorts['Drums'], + path: "/strip/"+s[i]+"/SC4%20mono/Attack%20time%20(ms)/unscaled" + }, + { + id: "Comp_Release_"+s[i], + label: "Release", + type:"knob", + range: { + min: 2, + max: 800 + }, + unit:"ms", + target: nmPorts['Drums'], + path: "/strip/"+s[i]+"/SC4%20mono/Release%20time%20(ms)/unscaled" + }, + { + id: "Comp_Thresh_"+s[i], + label: "Threshold", + type:"knob", + range: { + min: -30, + max: 0 + }, + unit:"dB", + target: nmPorts['Drums'], + path: "/strip/"+s[i]+"/SC4%20mono/Threshold%20level%20(dB)/unscaled" + }, + { + id: "Comp_Ratio_"+s[i], + label: "Ratio", + type:"knob", + range: { + min: 1, + max: 20 + }, + target: nmPorts['Drums'], + path: "/strip/"+s[i]+"/SC4%20mono/Ratio%20(1:n)/unscaled" + }, + { + id: "Comp_Makeup_"+s[i], + label: "Makeup", + type:"knob", + range: { + min: 0, + max: 24 + }, + unit:"dB", + target: nmPorts['Drums'], + path: "/strip/"+s[i]+"/SC4%20mono/Makeup%20gain%20(dB)/unscaled" + } + ] + }) + } + return w + }() } ] }, @@ -4063,6 +4141,84 @@ return [ ] } ] + }, + { + id:"Comp_Vocals", + label:"Comp", + widgets:function(){ + var w = [] + var s = ['Vx_Dag','Vx_ORL'] + for (i in s) { + w.push({ + id: "Comp_"+s[i], + label: s[i], + type: "strip", + horizontal:true, + widgets: [ + { + id: "Comp_Attack_"+s[i], + label: "Attack", + type:"knob", + range: { + min: 1.5, + max: 400 + }, + unit:"ms", + target: nmPorts['Vocals'], + path: "/strip/"+s[i]+"/SC4%20mono/Attack%20time%20(ms)/unscaled" + }, + { + id: "Comp_Release_"+s[i], + label: "Release", + type:"knob", + range: { + min: 2, + max: 800 + }, + unit:"ms", + target: nmPorts['Vocals'], + path: "/strip/"+s[i]+"/SC4%20mono/Release%20time%20(ms)/unscaled" + }, + { + id: "Comp_Thresh_"+s[i], + label: "Threshold", + type:"knob", + range: { + min: -30, + max: 0 + }, + unit:"dB", + target: nmPorts['Vocals'], + path: "/strip/"+s[i]+"/SC4%20mono/Threshold%20level%20(dB)/unscaled" + }, + { + id: "Comp_Ratio_"+s[i], + label: "Ratio", + type:"knob", + range: { + min: 1, + max: 20 + }, + target: nmPorts['Vocals'], + path: "/strip/"+s[i]+"/SC4%20mono/Ratio%20(1:n)/unscaled" + }, + { + id: "Comp_Makeup_"+s[i], + label: "Makeup", + type:"knob", + range: { + min: 0, + max: 24 + }, + unit:"dB", + target: nmPorts['Vocals'], + path: "/strip/"+s[i]+"/SC4%20mono/Makeup%20gain%20(dB)/unscaled" + } + ] + }) + } + return w + }() } ] }