@nebularstreams/libmui 2.5.7 → 2.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/libui.css CHANGED
@@ -12,4 +12,4 @@
12
12
  /*!
13
13
  * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
14
14
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
15
- */@font-face{font-display:block;font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(webfonts/fa-brands-400.woff2) format("woff2")}.fabrd:before{font-family:Font Awesome\ 5 Brands!important;font-weight:400}#modal-container button{flex-direction:row;font-size:1.5rem!important;height:2.54rem;position:relative}#modal-container button i{left:0;position:absolute;top:.5rem}#modal-container input{background:var(--inputs);font-size:1.5rem;height:2.54rem;margin-top:.25rem}.modal-content textarea{background:var(--inputs);border:1px solid var(--border-color);font-family:inherit;font-size:inherit;max-height:15rem;min-height:5rem;resize:vertical}#modal-container>.modal-content button{text-overflow:ellipsis;white-space:nowrap}#modal-container>.modal-content{background-color:var(--accent-light);border-radius:1rem;max-height:75%;max-width:50%;min-width:30%;overflow-y:auto;width:auto!important}#modal-container.iscustom{backdrop-filter:none}.modal-content-popper{background:var(--window-background-hi);border-radius:1rem;box-shadow:0 0 2px var(--shadow-color);padding:2rem}.modal-content h4{margin:1rem}.modal-content .popup input{background:var(--inputs);border:1px solid var(--border-color);border-radius:.25rem;font-size:1.25rem;line-height:var(--unitsize-small);outline:none;padding:0 .75rem}#modaltitle{font-size:1.5rem;font-variant:all-small-caps;margin-bottom:0;margin-top:0;padding-bottom:.5rem;padding-top:0;text-align:center}#modal-container{--accent-light:#333;--text:#ddd;--text-lo:#aaa;align-items:center;background:rgba(0,0,0,.7);bottom:0;color:var(--accent);display:none;font-size:1.25rem;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:100000}#modal-container button{background:transparent;border:none}#modal-container .container{padding:1rem;text-align:right}.buttonchoice>.wrap>button{height:var(--unitsize-small);line-height:var(--unitsize-small);padding:0 .2rem}.buttonchoice.withicon{background:var(--window-background)}.buttonchoice.withicon:before{align-self:center;display:block;flex-grow:0;flex-shrink:0;font-family:Font Awesome\ 5 Free;text-align:center;width:var(--unitsize)}.hud .clrcombo{color:var(--text-lo);font-size:1rem}.combowidget.novalue button{color:var(--text-lo);opacity:.6}.hud .innercard .title .combowidget{background:transparent}.buttonchoice.withicon>.bg-inputs button.accent{background:var(--accent)!important;color:var(--text-over-accent)!important}.buttonchoice.withicon>.bg-inputs button.accent.alt-accent{background:var(--green)!important;color:var(--text-over-accent)!important}.buttonchoice button.alt-accent{background:var(--back-error)}.buttonchoice>div>button{border:0;font-size:1rem;min-width:3rem}.buttonchoice.istoggler>div>button.accent{border-bottom-color:var(--accent)!important}.buttonchoice.istoggler>div>button{border-bottom:solid var(--border-color);color:var(--text-lo);transition:all .25s ease-in-out}.hud .tgbutton.accent{border-bottom-color:var(--accent)!important}.hud .tgbutton.accent.important{border-bottom-color:red!important;color:red!important}.hud .tgbutton.accent.warning{border-bottom-color:orange!important;color:orange!important}.hud .tgbutton{border-bottom:solid var(--border-color);color:var(--text-lo);font-size:1rem;transition:all .25s ease-in-out}.choicer>div:before{flex-grow:1;font-family:Font Awesome\ 5 Free}.confhud .choicer:before,ul.sessionevents:before{background:rgba(0,0,0,.1);border-bottom:solid;content:attr(data-title);font-size:1em;font-variant:all-small-caps;font-weight:700;margin:0 0 1rem!important;padding:0;text-align:left}.choicer:before{margin:.25rem 0}.combowidget button{font-size:inherit}.hud .colorjoe-wrapper{background:var(--window-background);box-shadow:none;display:flex;justify-content:space-evenly;left:.25rem;margin:.5rem 0;padding:.6rem 0;position:absolute;right:.25rem;width:auto;z-index:100002}.hud .colorjoe-cell,.hud .colorjoe-wrapper{border:1px solid var(--border-color);border-radius:.25rem}.hud .colorjoe-cell{height:fit-content;overflow:hidden}.colorjoe-cell>.inset{height:2rem;position:relative}.hud .gradient .colorjoe-cell>.inset{min-width:unset;position:relative}.hud .colorjoe-cell>.inset.titled:before{color:#fff;content:attr(data-caption);display:inline-block;font-size:1.1rem;font-variant:all-small-caps;text-align:center;text-shadow:0 0 4px #000;width:100%}.hud .colorjoe-cell.withalt>.inset:after{background:var(--accent);bottom:2px;content:"";height:4px;left:0;position:absolute;width:var(--data-altval)}.hud .colorjoe-cell>.inset{cursor:pointer;min-width:2.54rem}.hud .cardie>.title .colorjoe-cell>.inset{height:2.54rem}.hud .colorjoe-cell.unitheightsmall>.inset{height:2rem}.hud .colorjoe-cell.unitheight>.inset{height:2.54rem}.hud .gradient{border:1px solid var(--border-color);border-radius:.25rem;height:auto}.hud .gradient button{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.hud .gradient button.leftmost{border-radius:.25rem 0 0 .25rem}.hud .gradient>.colorjoe-cell+.colorjoe-cell{border-radius:0}.hud .gradient .colorjoe-cell{border:0;border-radius:0;height:2rem}.hud .underlay{background:transparent;height:100%;left:0;position:fixed;right:0;top:0;z-index:100}.hud .colorjoe-cell.chequered.open{margin-bottom:360px;min-width:300px}.hud .innercard .colorjoe-cell.chequered.open{min-width:260px}.ptype_color{position:relative;width:auto}.ptype_combo .combovalue span{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combovalue,.combowidget{overflow:hidden}.hud .selectfile>input{cursor:pointer;left:0;opacity:0;top:0;z-index:2}.hud .toolz .textfield input{padding-left:2rem}.textfield input{background:var(--inputs);border:1px solid var(--border-color);border-radius:.25rem;color:var(--text);height:2rem;outline:none!important;padding:0 .2rem}.textfield input.withicon{padding-right:3.5rem}.textfield input.withicon-2{padding-right:3rem}.input-static.withdrag{border:1px solid var(--border-color);cursor:ns-resize;padding:.25rem}.hud .progstrip{background:var(--window-background-lo);border:1px solid var(--border-color);border-radius:.25rem;cursor:crosshair;height:1.25rem;line-height:1.25rem;margin-bottom:0;margin-top:.5rem}.videocollapsed.ispaused .progstrip>.inner{background:#ff0}.hud .progstrip .cuein,.hud .progstrip .cueout{background:red;width:2px}.hud .progstrip:after{color:#fff;content:attr(data-time) " / " attr(data-total);font-size:.75rem;font-weight:700;mix-blend-mode:difference;position:absolute;text-align:center;width:100%}.withmultiplier .mithril-range-bar-0,.withmultiplier .mithril-range-bar-1,.withmultiplier .mithril-range-handle{transition:.1s linear}.withmultiplier .mithril-range:active *{transition:none!important}.range.disabled{cursor:not-allowed}.range.disabled>.mithril-range .mithril-range-bar-1.nokey{background-color:var(--window-background)}.range.disabled>.mithril-range{opacity:.8;pointer-events:none}.plussep:before{font-family:Font Awesome\ 5 Free;left:1rem;position:absolute}.plussep.contracted:before{color:var(--accent)}.plussep{border-bottom:1px solid var(--border-color);border-top:1px solid var(--border-color);cursor:pointer;padding:.25rem 0;position:relative}.flexcol>.separator{flex-grow:0!important}.hud .smileyswidget{height:100vh}.smileyswidget icons{overflow-x:hidden}.smileyswidget .categories{cursor:pointer;font-size:.75em;padding:0 .5rem;width:20%}.smileyswidget .smiley{background:var(--window-background-hi);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;font-size:3rem;justify-content:center;margin:1px;overflow:hidden;padding:0 .5rem;text-align:center}.font-200{font-size:2rem}.smileyswidget .smiley:active{transform:scale(.9)}.smileyswidget .categories>div{background:var(--window-background);border-radius:.5rem;font-variant:all-small-caps;line-height:1rem;margin:.25rem;padding:.25rem;text-align:center}.smileyswidget .categories.flexrow{background:var(--window-background-hi);border-bottom:3px solid var(--border-color);flex-wrap:wrap;font-size:1rem;justify-content:space-between;padding:.25rem;width:auto}.smileyswidget .categories.flexrow>div.isfav{color:#ff0;padding-left:.25rem;padding-right:.35rem;padding-top:.25rem}.hud input.transparent{background:transparent;border:0!important;border-radius:0}.hud .order-end{order:100}.smileyswidget .smiley.fa{padding:.5rem}.hud .templatedinput .paramgroup{background:var(--window-background);border:1px solid var(--border-color);border-radius:.5rem;margin-top:.5rem;overflow:hidden;padding:.5rem .25rem}.hud .templatedinput .paramgroup>div{margin-bottom:.25rem}.hud .separator{flex-grow:1;font-variant:all-small-caps;opacity:.75}.hud .ptype_separator.flexbreak>*{display:none}.hud .ptype_iterakey .separator{margin:.25rem!important}.hud .separator.inlier{background:var(--window-background-lo);text-align:center}.hud .separator.mini{border-bottom:1px solid;margin:.15rem 0}.hud .separator.outlier{margin-left:-.75rem;margin-right:-.75rem}.hud .separator.outlier-1{margin-left:-.25rem;margin-right:-.25rem}.propsdeck.tab-inter-1{overflow-y:auto}.hud .propsdeck .mk_face.workshop,.hud .propsdeck .mk_workshop{border-bottom:1px solid var(--border-color);padding-bottom:0;padding-top:0}.uploadfile input{opacity:0;z-index:100}
15
+ */@font-face{font-display:block;font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(webfonts/fa-brands-400.woff2) format("woff2")}.fabrd:before{font-family:Font Awesome\ 5 Brands!important;font-weight:400}#modal-container button{flex-direction:row;font-size:1.5rem!important;height:2.54rem;position:relative}#modal-container button i{left:0;position:absolute;top:.5rem}#modal-container input{background:var(--inputs);font-size:1.5rem;height:2.54rem;margin-top:.25rem}.modal-content textarea{background:var(--inputs);border:1px solid var(--border-color);font-family:inherit;font-size:inherit;max-height:15rem;min-height:5rem;resize:vertical}#modal-container>.modal-content button{text-overflow:ellipsis;white-space:nowrap}#modal-container>.modal-content{background-color:var(--accent-light);border-radius:1rem;max-height:75%;max-width:50%;min-width:30%;overflow-y:auto;width:auto!important}#modal-container.iscustom{backdrop-filter:none}.modal-content-popper{background:var(--window-background-hi);border-radius:1rem;box-shadow:0 0 2px var(--shadow-color);padding:2rem}.modal-content h4{margin:1rem}.modal-content .popup input{background:var(--inputs);border:1px solid var(--border-color);border-radius:.25rem;font-size:1.25rem;line-height:var(--unitsize-small);outline:none;padding:0 .75rem}#modaltitle{font-size:1.5rem;font-variant:all-small-caps;margin-bottom:0;margin-top:0;padding-bottom:.5rem;padding-top:0;text-align:center}#modal-container{--accent-light:#333;--text:#ddd;--text-lo:#aaa;align-items:center;background:rgba(0,0,0,.7);bottom:0;color:var(--accent);display:none;font-size:1.25rem;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:100000}#modal-container button{background:transparent;border:none}#modal-container .container{padding:1rem;text-align:right}.buttonchoice>.wrap>button{height:var(--unitsize-small);line-height:var(--unitsize-small);padding:0 .2rem}.buttonchoice.withicon{background:var(--window-background)}.buttonchoice.withicon:before{align-self:center;display:block;flex-grow:0;flex-shrink:0;font-family:Font Awesome\ 5 Free;text-align:center;width:var(--unitsize)}.hud .clrcombo{color:var(--text-lo);font-size:1rem}.combowidget.novalue button{color:var(--text-lo);opacity:.6}.hud .innercard .title .combowidget{background:transparent}.buttonchoice.withicon>.bg-inputs button.accent{background:var(--accent)!important;color:var(--text-over-accent)!important}.buttonchoice.withicon>.bg-inputs button.accent.alt-accent{background:var(--green)!important;color:var(--text-over-accent)!important}.buttonchoice button.alt-accent{background:var(--back-error)}.buttonchoice>div>button{border:0;font-size:1rem;min-width:3rem}.buttonchoice.istoggler>div>button.accent{border-bottom-color:var(--accent)!important}.buttonchoice.istoggler>div>button{border-bottom:solid var(--border-color);color:var(--text-lo);transition:all .25s ease-in-out}.hud .tgbutton.accent{border-bottom-color:var(--accent)!important}.hud .tgbutton.accent.important{border-bottom-color:red!important;color:red!important}.hud .tgbutton.accent.warning{border-bottom-color:orange!important;color:orange!important}.hud .tgbutton{border-bottom:solid var(--border-color);color:var(--text-lo);font-size:1rem;transition:all .25s ease-in-out}.choicer>div:before{flex-grow:1;font-family:Font Awesome\ 5 Free}.confhud .choicer:before,ul.sessionevents:before{background:rgba(0,0,0,.1);border-bottom:solid;content:attr(data-title);font-size:1em;font-variant:all-small-caps;font-weight:700;margin:0 0 1rem!important;padding:0;text-align:left}.choicer:before{margin:.25rem 0}.combowidget button{font-size:inherit}.hud .colorjoe-wrapper{background:var(--window-background);box-shadow:none;display:flex;justify-content:space-evenly;left:.25rem;margin:.5rem 0;padding:.6rem 0;position:absolute;right:.25rem;width:auto;z-index:100002}.hud .colorjoe-cell,.hud .colorjoe-wrapper{border:1px solid var(--border-color);border-radius:.25rem}.hud .colorjoe-cell{height:fit-content;overflow:hidden}.colorjoe-cell>.inset{height:2rem;position:relative}.hud .gradient .colorjoe-cell>.inset{min-width:unset;position:relative}.hud .colorjoe-cell>.inset.titled:before{color:#fff;content:attr(data-caption);display:inline-block;font-size:1.1rem;font-variant:all-small-caps;text-align:center;text-shadow:0 0 4px #000;width:100%}.hud .colorjoe-cell.withalt>.inset:after{background:var(--accent);bottom:2px;content:"";height:4px;left:0;position:absolute;width:var(--data-altval)}.hud .colorjoe-cell>.inset{cursor:pointer;min-width:2.54rem}.hud .cardie>.title .colorjoe-cell>.inset{height:2.54rem}.hud .colorjoe-cell.unitheightsmall>.inset{height:2rem}.hud .colorjoe-cell.unitheight>.inset{height:2.54rem}.hud .gradient{border:1px solid var(--border-color);border-radius:.25rem;height:auto}.hud .gradient button{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.hud .gradient button.leftmost{border-radius:.25rem 0 0 .25rem}.hud .gradient>.colorjoe-cell+.colorjoe-cell{border-radius:0}.hud .gradient .colorjoe-cell{border:0;border-radius:0;height:2rem}.hud .underlay{background:transparent;height:100%;left:0;position:fixed;right:0;top:0;z-index:100}.hud .colorjoe-cell.chequered.open{margin-bottom:360px;min-width:300px}.hud .innercard .colorjoe-cell.chequered.open{min-width:260px}.ptype_color{position:relative;width:auto}.ptype_combo .combovalue span{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combovalue,.combowidget{overflow:hidden}.hud .selectfile>input{cursor:pointer;left:0;opacity:0;top:0;z-index:2}.hud .toolz .textfield input{padding-left:2rem}.textfield{position:relative}.textfield input{background:var(--inputs);border:1px solid var(--border-color);border-radius:.25rem;color:var(--text);height:2rem;outline:none!important;padding:0 .2rem}.textfield input.withicon{padding-right:3.5rem}.textfield input.withicon-2{padding-right:3rem}.input-static.withdrag{border:1px solid var(--border-color);cursor:ns-resize;padding:.25rem}.hud .progstrip{background:var(--window-background-lo);border:1px solid var(--border-color);border-radius:.25rem;cursor:crosshair;height:1.25rem;line-height:1.25rem;margin-bottom:0;margin-top:.5rem}.videocollapsed.ispaused .progstrip>.inner{background:#ff0}.hud .progstrip .cuein,.hud .progstrip .cueout{background:red;width:2px}.hud .progstrip:after{color:#fff;content:attr(data-time) " / " attr(data-total);font-size:.75rem;font-weight:700;mix-blend-mode:difference;position:absolute;text-align:center;width:100%}.withmultiplier .mithril-range-bar-0,.withmultiplier .mithril-range-bar-1,.withmultiplier .mithril-range-handle{transition:.1s linear}.withmultiplier .mithril-range:active *{transition:none!important}.range.disabled{cursor:not-allowed}.range.disabled>.mithril-range .mithril-range-bar-1.nokey{background-color:var(--window-background)}.range.disabled>.mithril-range{opacity:.8;pointer-events:none}.plussep:before{font-family:Font Awesome\ 5 Free;left:1rem;position:absolute}.plussep.contracted:before{color:var(--accent)}.plussep{border-bottom:1px solid var(--border-color);border-top:1px solid var(--border-color);cursor:pointer;padding:.25rem 0;position:relative}.flexcol>.separator{flex-grow:0!important}.hud .smileyswidget{height:100vh}.smileyswidget icons{overflow-x:hidden}.smileyswidget .categories{cursor:pointer;font-size:.75em;padding:0 .5rem;width:20%}.smileyswidget .smiley{background:var(--window-background-hi);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;font-size:3rem;justify-content:center;margin:1px;overflow:hidden;padding:0 .5rem;text-align:center}.font-200{font-size:2rem}.smileyswidget .smiley:active{transform:scale(.9)}.smileyswidget .categories>div{background:var(--window-background);border-radius:.5rem;font-variant:all-small-caps;line-height:1rem;margin:.25rem;padding:.25rem;text-align:center}.smileyswidget .categories.flexrow{background:var(--window-background-hi);border-bottom:3px solid var(--border-color);flex-wrap:wrap;font-size:1rem;justify-content:space-between;padding:.25rem;width:auto}.smileyswidget .categories.flexrow>div.isfav{color:#ff0;padding-left:.25rem;padding-right:.35rem;padding-top:.25rem}.hud input.transparent{background:transparent;border:0!important;border-radius:0}.hud .order-end{order:100}.smileyswidget .smiley.fa{padding:.5rem}.hud .templatedinput .paramgroup{background:var(--window-background);border:1px solid var(--border-color);border-radius:.5rem;margin-top:.5rem;overflow:hidden;padding:.5rem .25rem}.hud .templatedinput .paramgroup>div{margin-bottom:.25rem}.hud .separator{flex-grow:1;font-variant:all-small-caps;opacity:.75}.hud .ptype_separator.flexbreak>*{display:none}.hud .ptype_iterakey .separator{margin:.25rem!important}.hud .separator.inlier{background:var(--window-background-lo);text-align:center}.hud .separator.mini{border-bottom:1px solid;margin:.15rem 0}.hud .separator.outlier{margin-left:-.75rem;margin-right:-.75rem}.hud .separator.outlier-1{margin-left:-.25rem;margin-right:-.25rem}.propsdeck.tab-inter-1{overflow-y:auto}.hud .propsdeck .mk_face.workshop,.hud .propsdeck .mk_workshop{border-bottom:1px solid var(--border-color);padding-bottom:0;padding-top:0}.uploadfile input{opacity:0;z-index:100}#hslaValue,#rgbValue{float:right}.cj-container{overflow:auto}#showPicker{float:left}.colorjoe-popper .colorprobe i{position:static!important}.colorjoe-wrapper{background:var(--window-background);border-radius:.5rem;box-shadow:0 0 3px var(--shadow-color);display:flex;left:3%;position:absolute;width:94%;z-index:100002}.colorPicker{--colorjoe-size:200px;display:flex;justify-content:space-evenly}.colorjoe-popper .colorPicker{--colorjoe-size:300px}.underlay{background:transparent;height:100%;left:0;position:fixed;right:0;top:0;z-index:100000}.colorPicker .extras{float:right}.colorPicker .extras .currentColorContainer{overflow:hidden}.colorPicker .extras .currentColor{border:1px solid #bbb;-moz-border-radius:.3em;border-radius:.3em;float:right;height:30px;width:65px}.colorPicker .extras .colorFields{margin-bottom:.5em;margin-top:.5em}.colorPicker .extras .color{text-align:right}.colorPicker .extras .colorFields input{margin-left:.5em;width:40px}.colorPicker .extras .hex{float:right}.colorPicker .extras .hex input{width:60px}.colorPicker .twod{float:left;margin:.5em}.colorPicker .twod,.colorPicker .twod .bg{height:var(--colorjoe-size);width:var(--colorjoe-size)}.colorPicker .oned,.colorPicker .oned .bg{height:var(--colorjoe-size)}.colorPicker .oned,.colorPicker .oned .bg,.colorPicker .oned .pointer .shape{width:20px}.colorPicker .twod .bg{position:absolute}.colorPicker .twod .pointer{position:relative;width:8px;z-index:2}.colorPicker .twod .pointer .shape{position:absolute}.colorPicker .twod .pointer .shape1{border:2px solid #000;-moz-border-radius:5px;border-radius:5px;height:10px;width:10px}.colorPicker .twod .pointer .shape1,.colorPicker .twod .pointer .shape2{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.colorPicker .twod .pointer .shape2{border:2px solid #fff;-moz-border-radius:4px;border-radius:4px;height:8px;width:8px}.colorPicker .oned{float:left;margin:.5em}.colorPicker .oned .bg{border:1px solid #bbb}.colorPicker .oned .pointer{position:relative;z-index:2}.colorPicker .oned .pointer .shape{border:2px solid #000;-moz-border-radius:5px;border-radius:5px;height:5px;margin-left:-1px;margin-top:-4px;position:absolute}.colorPicker .oned .bg{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 66%,#f0f 83%,red)}.colorPicker .twod .bg1{background:linear-gradient(90deg,#fff 0,hsla(0,0%,100%,0));z-index:0}.colorPicker .twod .bg2{background:linear-gradient(180deg,transparent 0,#000);z-index:1}#hslPicker .twod .bg1{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 66%,#f0f 83%,red)}#hslPicker .twod .bg2{background:linear-gradient(180deg,transparent 0,#7f7f7f)}#hslPicker .oned .bg{background:linear-gradient(180deg,#fff 0,transparent 50%,#000);z-index:1}#hslPicker .extras{width:100px}#hslPicker .oned.alpha{margin:0}#hslPicker .oned.alpha .bg,.colorPicker .oned.alpha .bg{background:linear-gradient(180deg,#fff 0,transparent)}.mithril-range{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;cursor:pointer;font-size:1rem;outline:none!important;padding:.7rem .5rem;position:relative;user-select:none;width:100%}.mithril-range:focus .mithril-range-handle{background:var(--accent-alt)!important}.mithril-range-bar{box-sizing:border-box;height:1.2rem;position:relative;width:100%}.mithril-range-bar-1{background-color:var(--accent);border-bottom-left-radius:1rem;border-top-left-radius:1rem;left:0;width:100%}.mithril-range-bar-0,.mithril-range-bar-1{box-sizing:border-box;height:.3rem;position:absolute;top:.4rem}.mithril-range-bar-0{background:var(--window-background-lo);border-bottom-right-radius:1rem;border-top-right-radius:1rem;right:0;width:0}.mithril-range-handle{background-color:#fff;border-bottom:0;border-top:0;box-shadow:0 0 4px var(--shadow-color);box-sizing:border-box;display:inline-block;height:.8rem;left:0;margin-top:.05rem;position:absolute;top:.1rem;width:2px}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.7",
4
+ "version": "2.5.9",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -3,6 +3,8 @@
3
3
  flex-direction: row;
4
4
  font-size: 1.5rem !important;
5
5
  position: relative;
6
+ color: var(--text);
7
+ font-variant: all-small-caps;
6
8
  }
7
9
 
8
10
  #modal-container button i {
@@ -15,7 +17,8 @@
15
17
  font-size: 1.5rem;
16
18
  background: var(--inputs);
17
19
  height: 2.54rem;
18
- margin-top: 0.25rem;;
20
+ margin-top: 0.25rem;
21
+ border: solid 1px var(--border-color);
19
22
  }
20
23
 
21
24
  .modal-content textarea {
@@ -35,7 +38,7 @@
35
38
 
36
39
  #modal-container > .modal-content {
37
40
  width: auto !important;
38
- min-width: 30%;
41
+ min-width: 500px;
39
42
  max-width: 50%;
40
43
  max-height: 75%;
41
44
  overflow-y: auto;
@@ -66,6 +69,8 @@
66
69
  border-radius: 0.25rem;
67
70
  background: var(--inputs);
68
71
  outline: none;
72
+ color: var(--text);
73
+
69
74
  }
70
75
 
71
76
  #modaltitle {
@@ -99,6 +104,7 @@
99
104
  #modal-container button {
100
105
  background: transparent;
101
106
  border: none;
107
+ color: var(--text);
102
108
  }
103
109
 
104
110
  #modal-container .container {
package/src/style.js CHANGED
@@ -26,4 +26,6 @@ import "./widgets/css/range-anims.css"
26
26
  import "./widgets/css/separator.css"
27
27
  import "./widgets/css/smileys.css"
28
28
  import "./widgets/css/templatedinput.css"
29
- import "./widgets/css/uploadfile.css"
29
+ import "./widgets/css/uploadfile.css"
30
+ import "./widgets/css/colorjoe.css"
31
+ import "./widgets/css/mithril-range.css"
@@ -73,7 +73,7 @@ const CardieWidget = defineWidget(
73
73
  ? m(
74
74
  (element || "ul"),
75
75
  {
76
- class: "cardie ohidden noshrink "
76
+ class: "cardie ohidden "
77
77
  + (cols ? "flexcol " : "flexrow wrap ")
78
78
  + (attrs.class ? " " + attrs.class : "")
79
79
  + (nofold
@@ -0,0 +1,230 @@
1
+ #rgbValue, #hslaValue {
2
+ float: right;
3
+ }
4
+
5
+ .cj-container {
6
+ overflow: auto;
7
+ }
8
+
9
+ #showPicker {
10
+ float: left;
11
+ }
12
+
13
+ .colorjoe-popper .colorprobe i {
14
+ position: static !important;
15
+ }
16
+
17
+ .colorjoe-wrapper {
18
+ display: flex;
19
+ position: absolute;
20
+ left: 3%;
21
+ z-index: 100002;
22
+ width: 94%;
23
+ box-shadow: 0 0 3px var(--shadow-color);
24
+ background: var(--window-background);
25
+ border-radius: 0.5rem;
26
+ }
27
+
28
+ .colorPicker {
29
+ display: flex;
30
+ justify-content: space-evenly;
31
+ --colorjoe-size: 200px;
32
+ }
33
+
34
+ .colorjoe-popper .colorPicker {
35
+ --colorjoe-size: 300px;
36
+ }
37
+ /*
38
+ .colorPicker {
39
+ display: flex;
40
+ position: absolute;
41
+ left: 3%;
42
+ z-index: 100002;
43
+ width: 94%;
44
+ justify-content: space-evenly;
45
+ box-shadow: 0 0 3px var(--shadow-color);
46
+ padding: 0.6rem 0;
47
+ background: var(--window-background);
48
+ border-radius: 0.5rem;
49
+ margin: 0.5rem 0;
50
+ }
51
+ */
52
+
53
+ .underlay {
54
+ position: fixed;
55
+ top: 0;
56
+ left: 0;
57
+ height: 100%;
58
+ right: 0;
59
+ background: transparent;
60
+ z-index: 100000;
61
+ }
62
+
63
+ .colorPicker .extras {
64
+ float: right;
65
+ }
66
+
67
+ .colorPicker .extras .currentColorContainer {
68
+ overflow: hidden;
69
+ }
70
+
71
+ .colorPicker .extras .currentColor {
72
+ float: right;
73
+ width: 65px;
74
+ height: 30px;
75
+ border: 1px solid #BBB;
76
+ -moz-border-radius: .3em;
77
+ border-radius: .3em;
78
+ }
79
+
80
+ .colorPicker .extras .colorFields {
81
+ margin-top: 0.5em;
82
+ margin-bottom: 0.5em;
83
+ }
84
+
85
+ .colorPicker .extras .color {
86
+ text-align: right;
87
+ }
88
+
89
+ .colorPicker .extras .colorFields input {
90
+ width: 40px;
91
+ margin-left: 0.5em;
92
+ }
93
+
94
+ .colorPicker .extras .hex {
95
+ float: right;
96
+ }
97
+
98
+ .colorPicker .extras .hex input {
99
+ width: 60px;
100
+ }
101
+
102
+ .colorPicker .twod {
103
+ float: left;
104
+ margin: 0.5em;
105
+ }
106
+
107
+ /* main dimensions */
108
+ .colorPicker .twod, .colorPicker .twod .bg {
109
+ width: var(--colorjoe-size);
110
+ height: var(--colorjoe-size);
111
+ }
112
+
113
+ .colorPicker .oned, .colorPicker .oned .bg {
114
+ height: var(--colorjoe-size);
115
+ }
116
+
117
+ .colorPicker .oned, .colorPicker .oned .bg, .colorPicker .oned .pointer .shape {
118
+ width: 20px;
119
+ }
120
+
121
+ .colorPicker .twod .bg {
122
+ position: absolute;
123
+
124
+ /* These seem to cause issues in some browsers, careful!
125
+ border: 1px solid #BBB;
126
+ -moz-border-radius: .3em;
127
+ border-radius: .3em;
128
+ */
129
+ }
130
+
131
+ .colorPicker .twod .pointer {
132
+ position: relative;
133
+ z-index: 2;
134
+ width: 8px;
135
+ }
136
+
137
+ .colorPicker .twod .pointer .shape {
138
+ position: absolute;
139
+ }
140
+
141
+ .colorPicker .twod .pointer .shape1 {
142
+ -webkit-transform: translate(-50%, -50%);
143
+ -ms-transform: translate(-50%, -50%);
144
+ transform: translate(-50%, -50%);
145
+ width: 10px;
146
+ height: 10px;
147
+ border: 2px solid black;
148
+ -moz-border-radius: 5px;
149
+ border-radius: 5px;
150
+ }
151
+
152
+ .colorPicker .twod .pointer .shape2 {
153
+ -webkit-transform: translate(-50%, -50%);
154
+ -ms-transform: translate(-50%, -50%);
155
+ transform: translate(-50%, -50%);
156
+ width: 8px;
157
+ height: 8px;
158
+ border: 2px solid white;
159
+ -moz-border-radius: 4px;
160
+ border-radius: 4px;
161
+ }
162
+
163
+ .colorPicker .oned {
164
+ float: left;
165
+ margin: 0.5em;
166
+ }
167
+
168
+ .colorPicker .oned .bg {
169
+ border: 1px solid #BBB;
170
+ /*
171
+ -moz-border-radius: .3em;
172
+ border-radius: .3em;
173
+ */
174
+ }
175
+
176
+ .colorPicker .oned .pointer {
177
+ position: relative;
178
+ z-index: 2;
179
+ }
180
+
181
+ .colorPicker .oned .pointer .shape {
182
+ position: absolute;
183
+ margin-left: -1px;
184
+ margin-top: -4px;
185
+ height: 5px;
186
+ border: 2px solid black;
187
+ -moz-border-radius: 5px;
188
+ border-radius: 5px;
189
+ }
190
+
191
+ /* gradients, tweak as needed based on which browsers you want to support */
192
+ .colorPicker .oned .bg {
193
+ background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #ff00ff 83%, #ff0000 100%);
194
+ }
195
+
196
+ .colorPicker .twod .bg1 {
197
+ z-index: 0;
198
+ background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
199
+ }
200
+
201
+ .colorPicker .twod .bg2 {
202
+ z-index: 1;
203
+ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
204
+ }
205
+
206
+ #hslPicker .twod .bg1 {
207
+ background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #ff00ff 83%, #ff0000 100%);
208
+ }
209
+
210
+ #hslPicker .twod .bg2 {
211
+ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(127, 127, 127, 1) 100%);
212
+ }
213
+
214
+ #hslPicker .oned .bg {
215
+ z-index: 1;
216
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%);
217
+ }
218
+
219
+ #hslPicker .extras {
220
+ width: 100px;
221
+ }
222
+
223
+ #hslPicker .oned.alpha {
224
+ margin: 0;
225
+ }
226
+
227
+ #hslPicker .oned.alpha .bg,
228
+ .colorPicker .oned.alpha .bg {
229
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* W3C */
230
+ }
@@ -1,3 +1,7 @@
1
+ .textfield {
2
+ position: relative;
3
+ }
4
+
1
5
  .textfield input {
2
6
  height: 2rem;
3
7
  bordeR: solid 1px var(--border-color);
@@ -0,0 +1,69 @@
1
+ /* Styles for mithril-range */
2
+
3
+ /* Container hit area */
4
+ .mithril-range {
5
+ position: relative;
6
+ width: 100%;
7
+ padding: 0.7rem 0.5rem;
8
+ box-sizing: border-box;
9
+ user-select: none;
10
+ cursor: pointer;
11
+ outline: none !important;
12
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
13
+ font-size: 1rem;
14
+ }
15
+
16
+ .mithril-range:focus .mithril-range-handle {
17
+ background: var(--accent-alt) !important;
18
+ }
19
+
20
+ /* Bar in the middle of hit area */
21
+
22
+ .mithril-range-bar {
23
+ position: relative;
24
+ width: 100%;
25
+ height: 1.2rem;
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ .mithril-range-bar-1 {
30
+ position: absolute;
31
+ left: 0;
32
+ top: 0.4rem;
33
+ width: 100%;
34
+ height: 0.3rem;
35
+ background-color: var(--accent);
36
+ box-sizing: border-box;
37
+ border-top-left-radius: 1rem;
38
+ border-bottom-left-radius: 1rem;
39
+ }
40
+
41
+ .mithril-range-bar-0 {
42
+ position: absolute;
43
+ right: 0;
44
+ top: 0.4rem;
45
+ width: 0;
46
+ height: 0.3rem;
47
+ box-sizing: border-box;
48
+ border-top-right-radius: 1rem;
49
+ border-bottom-right-radius: 1rem;
50
+ background: var(--window-background-lo);
51
+ }
52
+
53
+ /* Handle centered on bar */
54
+ .mithril-range-handle {
55
+ position: absolute;
56
+ left: 0;
57
+ top: 0.1rem;
58
+ display: inline-block;
59
+ background-color: #FFF;
60
+ width: 2px;
61
+ height: 0.8rem;
62
+ box-sizing: border-box;
63
+ border-top: 0;
64
+ border-bottom: 0;
65
+ box-shadow: 0 0 4px var(--shadow-color);
66
+ margin-top: 0.05rem;
67
+ }
68
+
69
+ /* End styles for mithril-range */