mirror of
https://github.com/open-webui/computer.git
synced 2026-11-24 22:37:40 -05:00
refac
This commit is contained in:
1 parent
60d5e896a6
commit
5f53001685
2 files changed
+8
-26
No files matched your search
@@ -219,7 +219,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Settings - pinned bottom -->
|
||||
<div class="relative px-1.5 pb-0.5 shrink-0">
|
||||
<div class="relative px-1 pb-0.5 shrink-0">
|
||||
|
||||
<button
|
||||
bind:this={menuButtonEl}
|
||||
|
||||
@@ -479,39 +479,21 @@
|
||||
justify-content: center;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.split-divider-h {
|
||||
width: 4px;
|
||||
width: 6px;
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.split-divider-v {
|
||||
height: 4px;
|
||||
height: 6px;
|
||||
cursor: row-resize;
|
||||
}
|
||||
|
||||
.split-divider-handle {
|
||||
position: absolute;
|
||||
border-radius: 9999px;
|
||||
background: transparent;
|
||||
transition: background 150ms ease;
|
||||
}
|
||||
|
||||
.split-divider-h .split-divider-handle {
|
||||
width: 2px;
|
||||
height: 32px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.split-divider-v .split-divider-handle {
|
||||
height: 2px;
|
||||
width: 32px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.split-divider::before {
|
||||
@@ -544,9 +526,9 @@
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.split-divider:hover .split-divider-handle,
|
||||
.is-dragging .split-divider .split-divider-handle {
|
||||
background: oklch(0.6 0.15 250);
|
||||
.split-divider:hover,
|
||||
.is-dragging .split-divider {
|
||||
background: rgba(150, 150, 150, 0.12);
|
||||
}
|
||||
|
||||
/* Drag state */
|
||||
|
||||
Reference in new issue
Block a user