mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
b02d2c3772
* Move tributejs to npm/webpack - Move vendored bundle to npm and webpack - Rewrote initialization to single function - Restyled it (made it a bit smaller) - Fixed it for arc-green * fix mention * also include emoji on #content * Update web_src/less/_tribute.less Co-authored-by: mrsdizzie <info@mrsdizzie.com> * rewrite to only use one instance of Tribute * refactor * fix copy/paste error Co-authored-by: mrsdizzie <info@mrsdizzie.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
42 lines
778 B
Text
42 lines
778 B
Text
@import "~tributejs/dist/tribute.css";
|
|
|
|
.tribute-container {
|
|
box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25);
|
|
border-radius: .25rem;
|
|
}
|
|
|
|
.tribute-container ul {
|
|
margin-top: 0 !important;
|
|
background: #ffffff !important;
|
|
}
|
|
|
|
.tribute-container li {
|
|
padding: 3px .5rem !important;
|
|
}
|
|
|
|
.tribute-container li span.fullname {
|
|
font-weight: normal;
|
|
font-size: .8rem;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.tribute-container li.highlight,
|
|
.tribute-container li:hover {
|
|
background: #2185d0 !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.tribute-item {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tribute-item .emoji,
|
|
.tribute-item img[src*="/avatar/"] {
|
|
margin-right: .5rem;
|
|
}
|
|
|
|
.tribute-container img {
|
|
width: 1.5rem !important;
|
|
height: 1.5rem !important;
|
|
}
|