connected state redesign: sim/nosim svg, spin animation, dark:invert, pysimSetConnected()

This commit is contained in:
2026-08-07 01:04:00 +03:00
parent 2a91eb3c68
commit bfb0ceaaa3
3 changed files with 89 additions and 38 deletions
+11 -20
View File
@@ -611,10 +611,6 @@ video {
display: block;
}
.inline-block {
display: inline-block;
}
.flex {
display: flex;
}
@@ -627,8 +623,8 @@ video {
display: none;
}
.h-3 {
height: 0.75rem;
.h-16 {
height: 4rem;
}
.min-h-20 {
@@ -663,10 +659,6 @@ video {
width: 6rem;
}
.w-3 {
width: 0.75rem;
}
.w-6 {
width: 1.5rem;
}
@@ -679,6 +671,10 @@ video {
width: 100%;
}
.min-w-0 {
min-width: 0px;
}
.max-w-4xl {
max-width: 56rem;
}
@@ -832,21 +828,11 @@ video {
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
--tw-bg-opacity: 1;
background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-neutral-50 {
--tw-bg-opacity: 1;
background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
--tw-bg-opacity: 1;
background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
background-color: transparent;
}
@@ -1174,6 +1160,11 @@ video {
color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.dark\:invert:is(.dark *) {
--tw-invert: invert(100%);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.dark\:hover\:bg-slate-600:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1));