Skip to content

Commit

Permalink
Remove !important from fullscreen button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jun 11, 2024
1 parent 1747a2d commit 9c03a71
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/packager/packager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1226,14 +1226,14 @@ cd "$(dirname "$0")"
border: 0;
border-radius: 4px;
}
.control-button:hover {
.control-button-highlight:hover {
background: ${this.options.appearance.accent}26;
}
.control-button.active {
.control-button-highlight.active {
background: ${this.options.appearance.accent}59;
}
.fullscreen-button {
background: white !important;
background: white;
}
.standalone-fullscreen-button {
position: absolute;
Expand Down Expand Up @@ -1355,7 +1355,7 @@ cd "$(dirname "$0")"
${this.options.controls.greenFlag.enabled ? `
const greenFlagButton = document.createElement('img');
greenFlagButton.src = 'data:image/svg+xml,' + encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.63 17.5"><path d="M.75 2a6.44 6.44 0 017.69 0h0a6.44 6.44 0 007.69 0v10.4a6.44 6.44 0 01-7.69 0h0a6.44 6.44 0 00-7.69 0" fill="#4cbf56" stroke="#45993d" stroke-linecap="round" stroke-linejoin="round"/><path stroke-width="1.5" fill="#4cbf56" stroke="#45993d" stroke-linecap="round" stroke-linejoin="round" d="M.75 16.75v-16"/></svg>');
greenFlagButton.className = 'control-button green-flag-button';
greenFlagButton.className = 'control-button control-button-highlight green-flag-button';
greenFlagButton.draggable = false;
greenFlagButton.addEventListener('click', () => {
scaffolding.greenFlag();
Expand All @@ -1373,7 +1373,7 @@ cd "$(dirname "$0")"
${this.options.controls.pause.enabled ? `
const pauseButton = document.createElement('img');
pauseButton.className = 'control-button pause-button';
pauseButton.className = 'control-button control-button-highlight pause-button';
pauseButton.draggable = false;
let isPaused = false;
pauseButton.addEventListener('click', () => {
Expand All @@ -1397,7 +1397,7 @@ cd "$(dirname "$0")"
${this.options.controls.stopAll.enabled ? `
const stopAllButton = document.createElement('img');
stopAllButton.src = 'data:image/svg+xml,' + encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path fill="#ec5959" stroke="#b84848" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M4.3.5h5.4l3.8 3.8v5.4l-3.8 3.8H4.3L.5 9.7V4.3z"/></svg>');
stopAllButton.className = 'control-button stop-all-button';
stopAllButton.className = 'control-button control-button-highlight stop-all-button';
stopAllButton.draggable = false;
stopAllButton.addEventListener('click', () => {
scaffolding.stopAll();
Expand Down

0 comments on commit 9c03a71

Please sign in to comment.