mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
style(ui): give split action buttons 3D depth and drop logs empty icon
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9acc8defca
commit
47bfe5e6a6
+31
-24
@@ -194,18 +194,20 @@
|
||||
transition-duration: 120ms;
|
||||
}
|
||||
|
||||
.button {
|
||||
transition-duration: 120ms, 120ms, 120ms, 80ms, 80ms;
|
||||
}
|
||||
|
||||
.icon-button:not(:disabled):active,
|
||||
.app-tab:active,
|
||||
.split-action-main:not(:disabled):active,
|
||||
.split-action-caret:not(:disabled):active {
|
||||
.app-tab:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.button:not(:disabled):active {
|
||||
.button,
|
||||
.split-action-main,
|
||||
.split-action-caret {
|
||||
transition-duration: 120ms, 120ms, 120ms, 80ms, 80ms;
|
||||
}
|
||||
|
||||
.button:not(:disabled):active,
|
||||
.split-action-main:not(:disabled):active,
|
||||
.split-action-caret:not(:disabled):active {
|
||||
transform: translateY(2px);
|
||||
box-shadow: none;
|
||||
}
|
||||
@@ -2575,12 +2577,30 @@ html[data-theme="custom"]:not(.dark) :is(.application-settings-section, .applica
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
/* Same physical edge as highlighted .button: hover lifts, press sinks. */
|
||||
.split-action-main:not(:disabled),
|
||||
.split-action-caret:not(:disabled) {
|
||||
--button-depth-color: var(--color-coollabs-300);
|
||||
box-shadow: 0 2px 0 var(--button-depth-color);
|
||||
}
|
||||
|
||||
.dark .split-action-main:not(:disabled),
|
||||
.dark .split-action-caret:not(:disabled) {
|
||||
--button-depth-color: var(--color-brand-depth);
|
||||
}
|
||||
|
||||
.split-action-main:not(:disabled):hover,
|
||||
.split-action-caret:not(:disabled):hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 3px 0 var(--button-depth-color);
|
||||
}
|
||||
|
||||
.split-action-main:focus-visible,
|
||||
.split-action-caret:focus-visible {
|
||||
outline: none;
|
||||
outline: 1px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-shadow: 0 0 0 1px var(--color-accent);
|
||||
}
|
||||
|
||||
/* Custom listbox (replaces native <select>) */
|
||||
@@ -4625,10 +4645,9 @@ html[data-theme="custom"] .runtime-log-columns {
|
||||
min-height: 18rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
padding: 2rem;
|
||||
color: var(--runtime-log-muted);
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.runtime-log-loading {
|
||||
@@ -4642,18 +4661,6 @@ html[data-theme="custom"] .runtime-log-columns {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.runtime-log-empty-icon {
|
||||
display: inline-flex;
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--runtime-log-line);
|
||||
border-radius: 0.5rem;
|
||||
background: var(--runtime-log-detail);
|
||||
}
|
||||
|
||||
.runtime-log-empty p {
|
||||
color: inherit;
|
||||
font-size: 0.8125rem;
|
||||
|
||||
@@ -263,9 +263,6 @@
|
||||
<span>Loading logs</span>
|
||||
</div>
|
||||
<div class="runtime-log-empty" x-show="!loading && lineCount === 0" role="status">
|
||||
<span class="runtime-log-empty-icon" aria-hidden="true">
|
||||
<x-reicon name="terminal" class="size-4" />
|
||||
</span>
|
||||
<div>
|
||||
<p>No logs yet</p>
|
||||
<span>Logs will appear here when the container produces output.</span>
|
||||
|
||||
Reference in New Issue
Block a user