mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
This reverts commit 4af8fbaa34.
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
61 lines
1.1 KiB
SCSS
61 lines
1.1 KiB
SCSS
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
.dockTabs {
|
|
--min-tab-width: 120px;
|
|
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tabs {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
overflow: hidden;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
|
|
&:global(.scrollable) {
|
|
overflow: auto;
|
|
overflow-x: overlay; /* Set scrollbar inside content area */
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: transparent;
|
|
}
|
|
|
|
&:hover {
|
|
&::-webkit-scrollbar {
|
|
width: 100%;
|
|
height: 3px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
border-radius: 0;
|
|
height: 3px;
|
|
background-color: rgba(106, 115, 125, 0.2);
|
|
}
|
|
}
|
|
|
|
&::before, &::after {
|
|
content: "\00A0";
|
|
position: sticky;
|
|
min-width: 8px;
|
|
z-index: 1;
|
|
}
|
|
|
|
&::before {
|
|
left: 0;
|
|
background: linear-gradient(270deg, transparent 0%, var(--dockHeadBackground) 65%);
|
|
}
|
|
|
|
&::after {
|
|
right: 0;
|
|
background: linear-gradient(90deg, transparent 0%, var(--dockHeadBackground) 65%);
|
|
}
|
|
}
|
|
}
|