WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 167d38d

Browse files
committed
fix: improve css
1 parent a5f6207 commit 167d38d

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

core/.air.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tmp_dir = "tmp"
44

55
[build]
66
args_bin = []
7-
bin = "./tmp/main.exe --dontopen --log debug --dontconnect"
7+
bin = "./tmp/main.exe --dontopen --log debug --dontconnect --ectocore"
88
cmd = "/usr/local/go/bin/go build -o ./tmp/main.exe ."
99
delay = 0
1010
exclude_dir = ["assets", "tmp", "vendor", "testdata","storage","zips"]

core/src/server/static/index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
}
8989

9090
@keyframes l7-1 {
91+
9192
0%,
9293
100% {
9394
background-position: 0 -50px, 100% -50px
@@ -112,6 +113,7 @@
112113
}
113114

114115
@keyframes l7-2 {
116+
115117
0%,
116118
70% {
117119
transform: translate(0)
@@ -610,8 +612,7 @@ <h1 style="margin:0; padding:0; font-size:1.5em;"><a
610612
</span>
611613
<span v-else-if="deviceType==''">
612614
<a href="https://github.com/schollz/_core/releases/[[.VersionCurrent]]" target="_blank"
613-
id="firmwareDownloadLink" style="font-size:1.0em;">[[.VersionCurrent]] <i
614-
class="fa-solid fa-microchip"></i></a>
615+
id="firmwareDownloadLink" style="font-size:1.0em;">[[.VersionCurrent]]</a>
615616
</span>
616617
<span v-else-if="deviceFirmwareUpload!=''"><i class="fas fa-circle" aria-hidden="true"></i>
617618
{{deviceFirmwareUpload}}
@@ -643,10 +644,10 @@ <h1 style="margin:0; padding:0; font-size:1.5em;"><a
643644
<a href="https://ectocore.rocks/quickstart" target="_blank" id="manualDownloadLink"
644645
style="font-size:1.0em;"><i class="fa-solid fa-book"></i></a>
645646
</span>
646-
<span>
647+
<!-- <span>
647648
<a href="https://getectocore.com" target="_blank" id="getLink" style="font-size:1.0em;"><i
648649
class="fa-solid fa-shopping-cart"></i></a>
649-
</span>
650+
</span> -->
650651
</span>
651652

652653
</header>
@@ -1106,8 +1107,12 @@ <h2>Changes to the Cookie Policy</h2>
11061107

11071108
<div class="footer-item">
11081109
<div v-if="uploading">uploading</div>
1109-
<div v-else-if="isworking"><div class="loader-footer"></div></div>
1110-
<div v-else-if="processing"><div class="loader-footer"></div></div>
1110+
<div v-else-if="isworking">
1111+
<div class="loader-footer"></div>
1112+
</div>
1113+
<div v-else-if="processing">
1114+
<div class="loader-footer"></div>
1115+
</div>
11111116
<div v-else-if="downloading">downloading</div>
11121117
<button id="downloadZipButton" type="submit" v-else-if="diskUsage>0">Download .zip to load onto
11131118
SD card ({{

core/src/server/static/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ body {
426426
display: none;
427427
}
428428

429+
#show-dialog,
430+
#show-dialog-settings {
431+
display: none !important;
432+
}
429433

430434
#app {
431435
font-size-adjust: 0.4;
@@ -494,7 +498,7 @@ body {
494498
}
495499

496500
h1 {
497-
font-size: 1.5rem;
501+
font-size: 1.1rem;
498502
/* Adjust the font size as needed for smaller screens */
499503
}
500504

0 commit comments

Comments
 (0)