# HG changeset patch # User Nicholas Jillings # Date 1453482198 0 # Node ID 44d20bccf36bebca35c70e08ff9495b07adba904 # Parent a275f9689af698b1672b2d4ab35587d6f4ed6413 More volume control styling diff -r a275f9689af6 -r 44d20bccf36b core.css --- a/core.css Fri Jan 22 11:10:33 2016 +0000 +++ b/core.css Fri Jan 22 17:03:18 2016 +0000 @@ -101,8 +101,10 @@ div#master-volume-holder { width: 250px; - height: 25px; float: left; + border: black 1px solid; + border-radius: 5px; + padding: 5px; } input#master-volume-control { diff -r a275f9689af6 -r 44d20bccf36b core.js --- a/core.js Fri Jan 22 11:10:33 2016 +0000 +++ b/core.js Fri Jan 22 17:03:18 2016 +0000 @@ -2824,6 +2824,13 @@ storePoint.appendChild(node); } + var title = document.createElement('div'); + title.innerHTML = 'Master Volume Control'; + title.style.fontSize = '0.75em'; + title.style.width = "100%"; + title.align = 'center'; + this.object.appendChild(title); + this.object.appendChild(this.slider); this.object.appendChild(this.valueText); }