demos: update suggestion styling

This commit is contained in:
Philipp Kühn 2021-10-26 00:00:30 +02:00
parent 5551c47600
commit 641ae99701
8 changed files with 24 additions and 32 deletions

View File

@ -18,12 +18,11 @@
width: 100%;
text-align: left;
background: transparent;
border: none;
border-radius: 0.4rem;
border: 1px solid transparent;
padding: 0.2rem 0.4rem;
&.is-selected,
&:hover {
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
&.is-selected {
border-color: #000;
}
}

View File

@ -15,9 +15,8 @@
}
.mention {
color: #A975FF;
background-color: rgba(#A975FF, 0.1);
border-radius: 0.3rem;
border: 1px solid #000;
border-radius: 0.4rem;
padding: 0.1rem 0.3rem;
}

View File

@ -102,13 +102,12 @@ export default {
width: 100%;
text-align: left;
background: transparent;
border: none;
border-radius: 0.4rem;
border: 1px solid transparent;
padding: 0.2rem 0.4rem;
&.is-selected,
&:hover {
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
&.is-selected {
border-color: #000;
}
}
</style>

View File

@ -115,9 +115,8 @@ export default {
}
.mention {
color: #A975FF;
background-color: rgba(#A975FF, 0.1);
border-radius: 0.3rem;
border: 1px solid #000;
border-radius: 0.4rem;
padding: 0.1rem 0.3rem;
}

View File

@ -102,13 +102,12 @@ export default {
width: 100%;
text-align: left;
background: transparent;
border: none;
border-radius: 0.4rem;
border: 1px solid transparent;
padding: 0.2rem 0.4rem;
&.is-selected,
&:hover {
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
&.is-selected {
border-color: #000;
}
}
</style>

View File

@ -51,9 +51,8 @@ export default {
}
.mention {
color: #A975FF;
background-color: rgba(#A975FF, 0.1);
border-radius: 0.3rem;
border: 1px solid #000;
border-radius: 0.4rem;
padding: 0.1rem 0.3rem;
}
</style>

View File

@ -102,13 +102,12 @@ export default {
width: 100%;
text-align: left;
background: transparent;
border: none;
border-radius: 0.4rem;
border: 1px solid transparent;
padding: 0.2rem 0.4rem;
&.is-selected,
&:hover {
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
&.is-selected {
border-color: #000;
}
}
</style>

View File

@ -60,9 +60,8 @@ export default {
}
.mention {
color: #A975FF;
background-color: rgba(#A975FF, 0.1);
border-radius: 0.3rem;
border: 1px solid #000;
border-radius: 0.4rem;
padding: 0.1rem 0.3rem;
}
</style>