Skip to content

Commit c0813a4

Browse files
Tweak UI
1 parent 138dd6d commit c0813a4

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

index.html

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,26 @@
112112
}
113113
/* Old Releases Toggle */
114114
.old-releases-toggle {
115-
margin: 1rem 0;
116-
padding: 0.6rem 1.2rem;
117-
background-color: #ecf0f1;
115+
margin: 0.8rem 0 0.5rem 8rem;
116+
padding: 0.4rem 1rem;
117+
background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
118118
border: 1px solid #bdc3c7;
119-
border-radius: 4px;
119+
border-radius: 6px;
120120
cursor: pointer;
121-
font-size: 1rem;
122-
color: #2c3e50;
123-
transition: background-color 0.2s;
121+
font-size: 0.9rem;
122+
color: #495057;
123+
transition: all 0.2s ease;
124+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
124125
}
125126
.old-releases-toggle:hover {
126-
background-color: #d5dbdb;
127+
background: linear-gradient(to bottom, #e9ecef, #dee2e6);
128+
border-color: #95a5a6;
129+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
130+
transform: translateY(-1px);
131+
}
132+
.old-releases-toggle:active {
133+
transform: translateY(0);
134+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
127135
}
128136
.old-releases-section {
129137
max-height: 0;
@@ -156,6 +164,12 @@
156164
display: block;
157165
margin: 0.5rem 0;
158166
}
167+
.old-releases-toggle {
168+
margin-left: 0;
169+
}
170+
.old-releases-label {
171+
margin-left: 0;
172+
}
159173
}
160174
</style>
161175
</head>
@@ -177,7 +191,7 @@ <h2>Install MicroPythonOS</h2>
177191
<br/>
178192
<button class="old-releases-toggle" onclick="toggleOldReleases()">Show old releases ▼</button>
179193
<div id="oldReleasesSection" class="old-releases-section">
180-
<p class="old-releases-label">Old releases, only for reverting or troubleshooting:</p>
194+
<div class="old-releases-label">These old releases are only here for archival, reverting, testing or troubleshooting.</div>
181195
<label><input type="radio" name="device" value="/manifests/Waveshare/ESP32-S3-Touch-LCD-2/Waveshare_ESP32-S3-Touch-LCD-2_0.4.x.json" onchange="updateManifest()"> Waveshare ESP32-S3-Touch-LCD-2: version 0.4.0</label>
182196
<label><input type="radio" name="device" value="/manifests/Waveshare/ESP32-S3-Touch-LCD-2/Waveshare_ESP32-S3-Touch-LCD-2_0.3.x.json" onchange="updateManifest()"> Waveshare ESP32-S3-Touch-LCD-2: version 0.3.2</label>
183197
<label><input type="radio" name="device" value="/manifests/Waveshare/ESP32-S3-Touch-LCD-2/Waveshare_ESP32-S3-Touch-LCD-2_0.2.x.json" onchange="updateManifest()"> Waveshare ESP32-S3-Touch-LCD-2: version 0.2.1</label>

0 commit comments

Comments
 (0)