diff --git a/data/scripts/whiteToTransparent.js b/data/scripts/whiteToTransparent.js
index c88cc7c1..56194823 100644
--- a/data/scripts/whiteToTransparent.js
+++ b/data/scripts/whiteToTransparent.js
@@ -1,6 +1,5 @@
var transparentCanvas = document.createElement("canvas")
var transparentContext = transparentCanvas.getContext("2d")
-document.body.appendChild(transparentCanvas)
//Function that auto the image
function whiteToTransparent(targetImage) {
diff --git a/index.html b/index.html
index cd26561b..54e064be 100644
--- a/index.html
+++ b/index.html
@@ -18,45 +18,40 @@
Card Border
-
-
-
-
-
-
-
-
-
Border
-
+
+
+
Color
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -244,22 +241,26 @@
Watermark Color
-
+
+
+
-
+
+
+
@@ -335,6 +336,7 @@
--hover-text-color: rgb(100, 200, 50); /*HOVER*/
--section-background-color: rgba(0, 0, 0, 0.5); /*BACKGROUND*/
--section-border-color: rgba(128, 255, 128, 0.25); /*BORDER*/
+ --solid-border-color: rgb(39, 71, 39); /*Opaque Border*/
}
/*Applies to most elements (with rows and columns)*/
* {
@@ -424,6 +426,35 @@ input[type="color"] {
top: -8px;
left: 18px;
}
+/* Custom select box (dropdown)*/
+.dropdown {
+ position: relative;
+ display: inline-block;
+ width: 100%;
+ padding: 0px;
+}
+.dropdown select {
+ width: inherit;
+ background-color: var(--section-border-color);
+ color: var(--title-text-color);
+ border: none;
+ -moz-appearance: none;
+ -webkit-appearance:none;
+ appearance: none;
+}
+.dropdown select option {
+ color: var(--title-text-color);
+ background-color: var(--solid-border-color);
+}
+.dropdown::after {
+ content: "\25BC";
+ font-size: 10px;
+ position: absolute;
+ pointer-events: none;
+ color: var(--title-text-color);
+ right: 3%;
+ top: 38%;
+}
/*List of all mana symbols and their associated codes*/
#symbolList img {
padding: 0px;
@@ -438,11 +469,6 @@ input[type="color"] {
color: var(--title-text-color);
font-family: belerenbsc;
font-size: 60px;
- position: sticky;
- top: 0px;
- z-index: 1;
- background-color: var(--section-background-color);
- border: 1px solid var(--section-border-color);
}
.info, .info * {
color: var(--dark-text-color);