fleet/frontend/components/LiveQuery/TargetsInput/_styles.scss

72 lines
1.3 KiB
SCSS

.targets-input {
position: relative;
&__hosts-search-dropdown {
width: 100%;
position: absolute;
top: 70px;
left: 0;
z-index: 1;
background-color: $core-white;
border-radius: 0px 0px 8px 8px;
.table-container {
min-height: 225px;
box-shadow: 0px 4px 10px rgba(52, 59, 96, 0.15);
border-radius: 0px 0px 8px 8px;
.data-table__wrapper {
overflow: auto;
}
}
.empty-search,
.error-search {
padding-top: 72px;
padding-bottom: 72px;
min-height: 225px;
display: flex;
justify-content: center;
box-shadow: 0px 4px 10px rgba(52, 59, 96, 0.15);
box-sizing: border-box;
&__inner {
h4 {
margin: 0;
margin-bottom: 16px;
font-size: $small;
}
p {
margin: 0;
font-size: $x-small;
}
}
}
}
// hack because it's creating unwanted space
.table-container {
background-color: $core-white;
&__header {
display: none;
}
.data-table {
&__wrapper {
margin: 0;
}
}
}
&__hosts-selected-table {
margin-top: 8px;
img {
cursor: pointer;
transform: scale(0.5);
position: relative;
top: 2px;
}
.data-table__wrapper {
width: 100%;
overflow: auto;
}
}
}