mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
88 lines
1.8 KiB
SCSS
88 lines
1.8 KiB
SCSS
.ClustersMenu {
|
|
position: relative;
|
|
text-align: center;
|
|
padding: $padding * 2 $padding;
|
|
background: var(--clusters-menu-bgc);
|
|
|
|
> .startup-tooltip {
|
|
$bgc: $mainBackground;
|
|
$arrowSize: 10px;
|
|
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 100%;
|
|
margin: $padding;
|
|
padding: $padding * 2;
|
|
width: 320px;
|
|
background: $bgc;
|
|
z-index: 100;
|
|
color: white;
|
|
filter: drop-shadow(0 0px 2px #ffffff33);
|
|
pointer-events: none;
|
|
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: $arrowSize solid transparent;
|
|
border-bottom: $arrowSize solid transparent;
|
|
border-right: $arrowSize solid $bgc;
|
|
right: 100%;
|
|
}
|
|
}
|
|
|
|
> .clusters {
|
|
//@include hidden-scrollbar; // fixme: uncomment after refactoring tooltip.tsx
|
|
--flex-gap: #{$padding * 2};
|
|
padding: $padding;
|
|
|
|
.is-mac & {
|
|
margin-top: $padding * 2;
|
|
}
|
|
}
|
|
|
|
> .add-cluster {
|
|
position: relative;
|
|
margin-top: $padding;
|
|
|
|
.Icon {
|
|
border-radius: $radius;
|
|
padding: $padding / 3;
|
|
color: var(--clusters-menu-bgc) !important;
|
|
background: white !important;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
opacity: 0.4;
|
|
|
|
&.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: none;
|
|
opacity: .75;
|
|
}
|
|
}
|
|
|
|
.Badge {
|
|
$boxSize: 17px;
|
|
$offset: -7px;
|
|
|
|
position: absolute;
|
|
font-size: $font-size-small;
|
|
right: $offset;
|
|
bottom: $offset;
|
|
line-height: $boxSize;
|
|
min-width: $boxSize;
|
|
min-height: $boxSize;
|
|
text-align: center;
|
|
color: white;
|
|
background: $colorSuccess;
|
|
font-weight: normal;
|
|
border-radius: $radius;
|
|
padding: 0;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
} |