Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Small style update for the filter text placholder

Scott Petrovic05180d01e4ca
diff --git a/src/index.html b/src/index.html
index 25e6204..51213ba 100644
--- a/src/index.html
+++ b/src/index.html
@@ -266,9 +266,8 @@
<div id="animations-listing">
<!-- Filter textbox for animations -->
- <div style="margin-bottom: 0.5rem;">
- <input type="text" id="animation-filter" placeholder="Filter animations..." style="width: 100%; padding: 0.5rem; background-color: #1f405a; border: 1px solid #5693ca; border-radius: 4px; color: white;">
- </div>
+ <input type="text" id="animation-filter" placeholder="Filter animations..." style="width: 100%; padding: 0.5rem; background-color: #1f405a; border: none; border-radius: 4px;">
+
<div id="animations-listing-header">
<span>Animation name</span>
diff --git a/src/styles.css b/src/styles.css
index 09fec10..d92d9b8 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -435,4 +435,11 @@ input[type="file"] {
gap: 1rem;
background-color: #0f2f3d;
padding: 1rem;
+}
+
+/* Style for animation filter placeholder text */
+#animation-filter::placeholder {
+ color: white;
+ opacity: 1; /* Firefox needs this to ensure full opacity */
+ font-style: italic;;
}
\ No newline at end of file