Fixed #27, #14, added some rounded corners

This commit is contained in:
2023-02-14 12:49:56 +01:00
parent ce02db8f6d
commit 65ad318a5c
2 changed files with 13 additions and 6 deletions

View File

@@ -258,6 +258,7 @@
background: #3bc4f1; background: #3bc4f1;
border: 1px solid #7ed0eb; border: 1px solid #7ed0eb;
cursor: pointer; cursor: pointer;
border-radius: 5px;
} }
.action-button.active:hover { .action-button.active:hover {
@@ -390,15 +391,17 @@
.section-button { .section-button {
width: 100%; width: 100%;
padding: 15px 0; padding: 15px 0;
margin: 5px 0px;
font-size: 18px; font-size: 18px;
background: #b4b4b4c5; background: #b9afaf;
cursor: pointer; cursor: pointer;
border-bottom: darkgray 2px solid !important; border-bottom: darkgray 2px solid !important;
border-radius: 5px;
} }
.section-button:hover { .section-button:hover {
/* border-bottom: #3bc4f1 2px solid; */ /* border-bottom: #3bc4f1 2px solid; */
backdrop-filter: brightness(110%); backdrop-filter: brightness(100%);
} }
.section-button .active { .section-button .active {

View File

@@ -3198,11 +3198,15 @@
tool.addEventListener('change', event => { tool.addEventListener('change', event => {
//Check if script was called from textarea or selector //Check if script was called from textarea or selector
var targetID = event.target.getAttribute('id'); var targetID = event.target.getAttribute('id');
if (targetID !== "processors" && targetID !== "versions") { if (targetID == "processors") {
return; processTooltip();
processVersionSelector();
} }
processTooltip(); else if (targetID == "versions") {
processVersionSelector(); processTooltip();
}
}) })
tool.addEventListener('click', event => { tool.addEventListener('click', event => {
//Check if script was called from textarea or selector //Check if script was called from textarea or selector