separator

This commit is contained in:
Red Adaya 2024-11-22 22:59:48 +08:00
parent 524879ae6f
commit 6e2d36ba09

View File

@ -10,16 +10,25 @@
font-weight: bold;
color: var(--secondary-text-color);
opacity: 0;
display: flex;
align-items: center;
justify-content: flex-end;
&::after {
content: "";
position: absolute;
right: -0.5px;
width: 1px;
height: 14px;
border-right: 1px solid rgb(from var(--main-text-color) r g b / 0.2);
}
.tab-inner {
position: relative;
width: 100%;
height: 100%;
white-space: nowrap;
transition:
background,
border-color 0.15s ease-in;
border-right: 1px solid rgba(255, 255, 255, 0.2);
transition: background 0.15s ease-in;
&:hover {
border-radius: 6px;