Add tiny shadow to cropped tab

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-03-16 10:58:16 +03:00
1 parent 08477021d1
commit 77d8573833
1 file changed
+18
@@ -37,6 +37,20 @@
.close {
opacity: 1;
}
&::before {
display: none;
}
}
&::before {
content: " ";
display: block;
position: absolute;
width: 5px;
height: 100%;
right: 0;
background: linear-gradient(90deg, transparent 0%, var(--dockHeadBackground) 25%);
}
&::after {
@@ -51,6 +65,10 @@
opacity: 1;
background: linear-gradient(90deg, transparent 0%, var(--dockTabActiveBackground) 25%);
}
&::before {
display: none;
}
}
}