style(client): refine drag insertion markers
This commit is contained in:
@@ -296,12 +296,16 @@
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: -4px;
|
||||
margin-right: calc(-1 * var(--dsh-session-list-edge-inset));
|
||||
padding-left: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.rail .listArea {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* Relative for the bottom fade overlay. */
|
||||
@@ -342,7 +346,9 @@
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
margin-left: -4px;
|
||||
margin-right: var(--dsh-session-list-scrollbar-offset);
|
||||
padding-left: 4px;
|
||||
padding-right: calc(
|
||||
var(--dsh-session-list-edge-inset)
|
||||
- var(--dsh-session-list-scrollbar-width)
|
||||
@@ -386,20 +392,28 @@
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 4px;
|
||||
left: -4px;
|
||||
right: 4px;
|
||||
height: 2px;
|
||||
border-radius: 999px;
|
||||
background: var(--dsw-alias-state-business-primary);
|
||||
height: 12px;
|
||||
background:
|
||||
radial-gradient(
|
||||
circle at 6px 6px,
|
||||
transparent 0 3px,
|
||||
var(--dsw-alias-state-business-primary) 3px 5px,
|
||||
transparent 5px
|
||||
),
|
||||
linear-gradient(
|
||||
var(--dsw-alias-state-business-primary) 0 0
|
||||
) 10px 5px / calc(100% - 10px) 2px no-repeat;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.workspaceDropBefore::before {
|
||||
top: -3px;
|
||||
top: -8px;
|
||||
}
|
||||
|
||||
.workspaceDropAfter::after {
|
||||
bottom: -3px;
|
||||
bottom: -8px;
|
||||
}
|
||||
|
||||
.sessionOverflowButton {
|
||||
|
||||
@@ -236,8 +236,8 @@
|
||||
background: var(--dsw-alias-interactive-bg-hover);
|
||||
}
|
||||
|
||||
/* Session drag insert line: an independent 2px rule between rows, absolutely
|
||||
positioned so it neither resembles a row border nor changes layout. */
|
||||
/* Session drag insert marker: a hollow leading dot and 2px rule between rows,
|
||||
absolutely positioned so it neither resembles a row border nor changes layout. */
|
||||
.sessionRow.dropBefore,
|
||||
.sessionRow.dropAfter {
|
||||
position: relative;
|
||||
@@ -248,20 +248,28 @@
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 4px;
|
||||
left: 0;
|
||||
right: 4px;
|
||||
height: 2px;
|
||||
border-radius: 999px;
|
||||
background: var(--dsw-alias-state-business-primary);
|
||||
height: 12px;
|
||||
background:
|
||||
radial-gradient(
|
||||
circle at 6px 6px,
|
||||
transparent 0 3px,
|
||||
var(--dsw-alias-state-business-primary) 3px 5px,
|
||||
transparent 5px
|
||||
),
|
||||
linear-gradient(
|
||||
var(--dsw-alias-state-business-primary) 0 0
|
||||
) 10px 5px / calc(100% - 10px) 2px no-repeat;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sessionRow.dropBefore::before {
|
||||
top: -2px;
|
||||
top: -7px;
|
||||
}
|
||||
|
||||
.sessionRow.dropAfter::after {
|
||||
bottom: -2px;
|
||||
bottom: -7px;
|
||||
}
|
||||
|
||||
/* Hover-card body (figma 169:16903): dark surface, fixed colors both themes. */
|
||||
|
||||
Reference in New Issue
Block a user