Skip to content

Instantly share code, notes, and snippets.

@yury-n
Created February 11, 2017 17:26
Show Gist options
  • Save yury-n/351566d79ad94ddf0b398c00c28ef231 to your computer and use it in GitHub Desktop.
Save yury-n/351566d79ad94ddf0b398c00c28ef231 to your computer and use it in GitHub Desktop.
.lq-autocomplete {
position: relative;
&--with-arrow {
.lq-autocomplete__input {
&:after {
position: absolute;
top: 50%;
right: 0.8rem;
width: 0;
height: 0;
pointer-events: none;
content: "";
border-top: 0.58857rem solid rgba(0, 0, 0, 0.12);
border-right: 0.58857rem solid rgba(0, 0, 0, 0);
border-left: 0.58857rem solid rgba(0, 0, 0, 0);
}
}
}
&__card {
position: absolute;
width: 100%;
z-index: 1;
}
&__list-item {
&--highlighted {
background: rgb(238, 238, 238);
}
[class*="itemContentRoot"] {
height: 5rem;
flex-direction: row;
align-items: center;
justify-content: space-between;
span:first-child {
font-weight: normal;
}
span:last-child {
padding-top: 0;
margin-left: 50px;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment