UI refresh: UX layer, Users/Errors/Event redesign, board analyser #10
+1
-140
@@ -139,34 +139,7 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- Test status dot + progress ---------- */
|
/* ---------- Test progress ---------- */
|
||||||
|
|
||||||
.status-dot {
|
|
||||||
display: inline-block;
|
|
||||||
flex: none;
|
|
||||||
width: 8px;
|
|
||||||
height: 8px;
|
|
||||||
margin-right: 9px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: var(--muted);
|
|
||||||
vertical-align: middle;
|
|
||||||
position: relative;
|
|
||||||
top: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-running { background-color: var(--accent); animation: ob-pulse 2s ease-out infinite; }
|
|
||||||
.status-passed { background-color: var(--ok); }
|
|
||||||
.status-failed { background-color: var(--bad); }
|
|
||||||
.status-pending { background-color: var(--warn); }
|
|
||||||
.status-awaiting { background-color: var(--purple);}
|
|
||||||
.status-stopped,
|
|
||||||
.status-deleted { background-color: #566074; }
|
|
||||||
|
|
||||||
@keyframes ob-pulse {
|
|
||||||
0% { box-shadow: 0 0 0 0 rgba(76, 141, 255, 0.55); }
|
|
||||||
70% { box-shadow: 0 0 0 7px rgba(76, 141, 255, 0); }
|
|
||||||
100% { box-shadow: 0 0 0 0 rgba(76, 141, 255, 0); }
|
|
||||||
}
|
|
||||||
|
|
||||||
.ob-progress {
|
.ob-progress {
|
||||||
min-width: 96px;
|
min-width: 96px;
|
||||||
@@ -543,25 +516,6 @@
|
|||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ev-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: minmax(0, 1fr) 360px;
|
|
||||||
gap: 20px;
|
|
||||||
align-items: start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-grid .card {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-side {
|
|
||||||
position: sticky;
|
|
||||||
top: calc(var(--topbar-h) + 16px);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-movelist {
|
.ev-movelist {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 580px;
|
max-height: 580px;
|
||||||
@@ -691,76 +645,6 @@ button.ev-move:hover {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ev-nav {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
gap: 6px;
|
|
||||||
margin-top: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-nav button:disabled {
|
|
||||||
opacity: 0.4;
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-hint {
|
|
||||||
margin: 12px 0 0;
|
|
||||||
color: var(--muted);
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-hint kbd {
|
|
||||||
display: inline-block;
|
|
||||||
min-width: 20px;
|
|
||||||
padding: 1px 6px;
|
|
||||||
background-color: var(--color3);
|
|
||||||
border: 1px solid var(--line-strong);
|
|
||||||
border-bottom-width: 2px;
|
|
||||||
border-radius: var(--radius);
|
|
||||||
color: var(--color-font2);
|
|
||||||
font: 11px var(--font-mono);
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Reserved for the board analyser. It listens for the "ob:ply" event that
|
|
||||||
event_viewer.js dispatches whenever the selected move changes. */
|
|
||||||
|
|
||||||
.ev-board {
|
|
||||||
position: relative;
|
|
||||||
aspect-ratio: 1;
|
|
||||||
margin: 16px;
|
|
||||||
border: 1px solid var(--line-strong);
|
|
||||||
border-radius: var(--radius);
|
|
||||||
background: repeating-conic-gradient(#1B2230 0 25%, #131925 0 50%) 0 0 / 25% 25%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-board-msg {
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 6px;
|
|
||||||
padding: 24px;
|
|
||||||
background-color: rgba(11, 14, 20, 0.72);
|
|
||||||
color: var(--muted);
|
|
||||||
font-size: 13px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-board-msg i {
|
|
||||||
margin-bottom: 4px;
|
|
||||||
font-size: 30px;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-board-msg strong {
|
|
||||||
color: var(--color-font1);
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Plain text logs */
|
/* Plain text logs */
|
||||||
|
|
||||||
.ev-tools {
|
.ev-tools {
|
||||||
@@ -854,22 +738,6 @@ button.ev-move:hover {
|
|||||||
|
|
||||||
/* ---------- Responsive ---------- */
|
/* ---------- Responsive ---------- */
|
||||||
|
|
||||||
@media (max-width: 1100px) {
|
|
||||||
|
|
||||||
.ev-grid {
|
|
||||||
grid-template-columns: minmax(0, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-side {
|
|
||||||
position: static;
|
|
||||||
order: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ev-board-card {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
|
||||||
.ev-versus {
|
.ev-versus {
|
||||||
@@ -894,10 +762,3 @@ button.ev-move:hover {
|
|||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
|
||||||
|
|
||||||
.status-running {
|
|
||||||
animation: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user