hookshot/web/components/elements/DropdownSearch.module.scss
Will Hunt 30bb52fc59
Better support for dark mode in widgets (#863)
* Major package upgrades

* Update rust deps and fix a few things

* Drop 18 testing

* Use node 20

* lint rust

* lint

* changelog

* Drop usage of SVGs, use compound elements.

* Update widget API

* Drop usage of SVGs, use compound elements.

* Add dark mode for widgets

* changelog

* Remove yarn-error.log
2023-12-22 15:44:00 +00:00

41 lines
699 B
SCSS

.dropdownItem {
padding: 0.25em 0.5em;
border-radius: 8px;
cursor: pointer;
&:hover {
background-color: rgba(54, 54, 54, 0.138);
}
}
.title {
font-weight: 600;
}
.description {
/* These work cross browser */
// https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
.value {
font-weight: 400;
color: var(--cpd-color-text-primary);
}
.hasImg {
display: grid;
grid-template-columns: auto 1fr;
grid-gap: 1em;
}
.itemImage {
width: auto;
max-height: 48px;
margin-top: auto;
margin-bottom: auto;
}