Skip to content

Commit c5a4615

Browse files
committed
Consolidate CSS styles for user mention list
Fixes: #3140 Signed-off-by: Jonas <jonas@freesources.org>
1 parent 13af71a commit c5a4615

1 file changed

Lines changed: 3 additions & 22 deletions

File tree

src/components/Mention/List.vue

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -95,29 +95,10 @@ export default {
9595
<style lang="scss">
9696
.items {
9797
position: relative;
98-
border-radius: 0.5rem;
99-
background: #FFF;
100-
color: rgba(0, 0, 0, 0.8);
98+
border-radius: var(--border-radius);
99+
background: var(--color-main-background);
101100
overflow: hidden;
102101
font-size: 0.9rem;
103-
box-shadow:
104-
0 0 0 1px rgba(0, 0, 0, 0.05),
105-
0px 10px 20px rgba(0, 0, 0, 0.1),
106-
;
107-
}
108-
109-
.item {
110-
display: block;
111-
margin: 0;
112-
width: 100%;
113-
text-align: left;
114-
background: transparent;
115-
border-radius: 0.4rem;
116-
border: 1px solid transparent;
117-
padding: 0.2rem 0.4rem;
118-
119-
&.is-selected {
120-
border-color: #000;
121-
}
102+
box-shadow: 0 1px 5px var(--color-box-shadow);
122103
}
123104
</style>

0 commit comments

Comments
 (0)