Skip to content

Commit

Permalink
new improved UI
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaykharayat committed May 1, 2021
1 parent 285265c commit da264be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions browserAction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<div id="header">
<img src="/icons/icon.png" id="logo">
<span id="title">Speaker <span style="color: white;">Booster</span></span>
<span id="title">Speaker <span style="color:#EAEAEA;">Booster</span></span>
</div>
<span id="volumeBoosterTitle">Volume Booster</span>
<div id="volumeBoosterContainer">
Expand All @@ -21,7 +21,7 @@
<input id="volumeSlider" name="volumeSlider" type="range" min="1" max="10" value="1">
<img src="/icons/high-volume.png" id="highVolume">

<label id="volumePercentage"></label>
<label id="volumePercentage" style="display: none;"></label>
<script src="script.js"></script>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion browserAction/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let mVolumeDownButton = document.querySelector("#lowVolume");
let mVolumeUpButton = document.querySelector("#highVolume");
let mLogo = document.querySelector("#logo");

volumneValue.innerText = sliderNode.value + "%";
volumneValue.innerText = sliderNode.value * 10 + "%";
console.log(mVolumeDownButton);
mVolumeUpButton.addEventListener("click", (e) => {
let statusValue = browser.storage.local.get("status");
Expand Down
3 changes: 2 additions & 1 deletion browserAction/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

body {
width: 320px;
height: 360px;
height: 200px;
background: #EAEAEA;
}

#logo {
Expand Down

0 comments on commit da264be

Please sign in to comment.