fleet/frontend/components/TeamsDropdown/_styles.scss

95 lines
1.7 KiB
SCSS

.component__team-dropdown-wrapper {
&.disabled {
cursor: auto;
opacity: 0.75;
}
}
.component__team-dropdown {
border: 0 !important;
position: relative;
:hover {
cursor: pointer !important;
}
&.is-focused {
.Select-control {
border: 0 !important;
height: 32px;
}
}
.Select-menu {
padding-right: $pad-small; // moves scrollbar to edge of dropdown
max-height: none;
}
.Select-menu-outer {
position: absolute;
width: 330px;
min-width: 125px;
max-height: none;
right: 12px;
top: 36px;
border-radius: 6px;
padding-right: 0;
margin: 0;
}
.Select-control {
background-color: transparent;
border: 0 !important;
border-radius: none;
position: none;
width: max-content; // move select arrow
height: 32px;
&:hover {
box-shadow: none;
}
&:hover .Select-value-label {
color: $core-vibrant-blue !important;
}
.Select-arrow-zone {
padding-left: 15px;
}
.Select-multi-value-wrapper {
width: max-content; // move select arrow
height: 32px;
.Select-input {
display: none !important;
}
.Select-value {
position: relative; // move select arrow
display: inline-block; // move select arrow
line-height: 32px;
padding: 0;
border: 0 !important;
background-color: transparent !important;
right: 0;
left: 0;
bottom: 0;
top: 0;
&.is-focused {
border: 0 !important;
}
:hover {
border: 0 !important;
}
.Select-value-label {
font-size: $large !important;
line-height: 32px;
}
}
}
}
}