refactor(ui): cleanup css

This commit is contained in:
peaklabs-dev
2026-08-24 19:37:02 +02:00
parent cf0865ef09
commit 41389a654f
2 changed files with 5 additions and 20 deletions
+1 -12
View File
@@ -1872,11 +1872,11 @@ html[data-theme="custom"] textarea:disabled {
.split-action {
display: inline-flex;
align-items: stretch;
}
.split-action-main,
.split-action-caret {
@apply button-highlighted;
display: inline-flex;
align-items: center;
justify-content: center;
@@ -1886,10 +1886,6 @@ html[data-theme="custom"] textarea:disabled {
font-weight: 500;
white-space: nowrap;
cursor: pointer;
border: none;
background: linear-gradient(to bottom, var(--color-coollabs-100), var(--color-coollabs-200));
color: #ffffff;
transition: background-color 0.15s, color 0.15s, filter 0.15s;
}
.split-action-main {
@@ -1910,12 +1906,6 @@ html[data-theme="custom"] textarea:disabled {
border-radius: 6px;
}
.split-action-main:hover:not(:disabled),
.split-action-caret:hover:not(:disabled) {
background: linear-gradient(to bottom, var(--color-coollabs-100), var(--color-coollabs));
color: #ffffff;
}
.split-action-main:disabled,
.split-action-caret:disabled {
cursor: not-allowed;
@@ -1930,7 +1920,6 @@ html[data-theme="custom"] textarea:disabled {
box-shadow: 0 0 0 1px var(--color-accent);
}
/* Compact height inside the fixed heading action bar */
.application-heading-actions .split-action-main,
.application-heading-actions .split-action-caret {
height: 1.75rem;
@@ -176,8 +176,7 @@
@can('manageProxy', $server)
<x-split-action id="server-mobile-actions" class="mb-3 flex w-full">
@if ($proxyCanBeStopped)
<x-slot:main wire:loading.attr="disabled" wire:loading.class="is-loading"
wire:target="checkProxy,startProxy"
<x-slot:main wire:loading.attr="disabled" wire:target="checkProxy,startProxy"
@click="document.getElementById('server-mobile-restart-proxy-trigger')?.click()">
<x-reicon name="restart" class="size-3.5" />
Restart Proxy
@@ -189,8 +188,7 @@
Stop Proxy
</button>
@else
<x-slot:main wire:loading.attr="disabled" wire:loading.class="is-loading"
wire:target="checkProxy,startProxy" @click="$wire.dispatch('checkProxyEvent')">
<x-slot:main wire:loading.attr="disabled" wire:target="checkProxy,startProxy" @click="$wire.dispatch('checkProxyEvent')">
<x-reicon name="play-circle" class="size-3.5" />
Start Proxy
</x-slot:main>
@@ -286,8 +284,7 @@
@endif
<x-split-action id="server-desktop-actions" class="resource-heading-actions shrink-0">
@if ($proxyCanBeStopped)
<x-slot:main wire:loading.attr="disabled" wire:loading.class="is-loading"
wire:target="checkProxy,startProxy"
<x-slot:main wire:loading.attr="disabled" wire:target="checkProxy,startProxy"
@click="document.getElementById('server-mobile-restart-proxy-trigger')?.click()">
<x-reicon name="restart" class="size-3.5" />
Restart Proxy
@@ -299,8 +296,7 @@
Stop Proxy
</button>
@else
<x-slot:main wire:loading.attr="disabled" wire:loading.class="is-loading"
wire:target="checkProxy,startProxy" @click="$wire.dispatch('checkProxyEvent')">
<x-slot:main wire:loading.attr="disabled" wire:target="checkProxy,startProxy" @click="$wire.dispatch('checkProxyEvent')">
<x-reicon name="play-circle" class="size-3.5" />
Start Proxy
</x-slot:main>