mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* 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
41 lines
699 B
SCSS
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;
|
|
} |