Skip to content

Commit a7fa3e2

Browse files
committed
Improve usage of screen estate
1 parent dd35263 commit a7fa3e2

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

css/buttons.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ button.secondary:hover {
4646
background-color: rgba(0, 92, 95, .2);
4747
}
4848

49+
button.secondary.small {
50+
padding: 2px 12px;
51+
font-size: 0.7rem;
52+
}
53+
4954
button.link {
5055
color: var(--main-control-color) !important;
5156
text-decoration: none;

css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ h1 {
3131
margin-bottom: 20px;
3232
}
3333

34+
h2 {
35+
font-size: 1.2em;
36+
font-weight: 600;
37+
}
38+
3439
/* Input field styling */
3540
input[type="text"], input[type="search"] {
3641
font-family: 'Open Sans', sans-serif;

css/status-bar.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
background-color: rgba(0, 0, 0, 0.75);
77
color: white;
88
padding: 0px 20px; /* Set initial padding to 0 for smooth slide */
9-
margin-top: 10px;
109
max-height: 0;
1110
opacity: 0;
1211
transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;

css/style.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@
5252
margin: 0 auto;
5353
}
5454

55-
.section-title {
56-
font-size: 1.2em;
57-
font-weight: 600;
58-
}
59-
6055
.divider {
6156
border: none;
6257
border-top: 2px solid #C9D2D2;

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ <h1>📦 MicroPython Package Installer</h1>
2424

2525
<!-- Board Selection -->
2626
<div class="container" id="device-selection">
27-
<div class="section-title">Detected Boards</div>
27+
<div class="container"><h2>Detected Boards</h2><button id="reload-link" class="secondary small">Reload</button></div>
2828
<div class="item-selection-list"></div>
29-
<div id="reload-link-container"><a id="reload-link">Reload</a></div>
3029
</div>
3130

3231
<!-- Search Field -->
3332
<div class="container" id="search-container">
34-
<div class="section-title">Packages</div>
33+
<h2>Packages</h2>
3534
<div id="search">
3635
<span id="search-icon">
3736
<!-- Magnifying glass SVG -->

0 commit comments

Comments
 (0)