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%; width: 100%;
text-align: left; text-align: left;
background: transparent; background: transparent;
border: none; border-radius: 0.4rem;
border: 1px solid transparent;
padding: 0.2rem 0.4rem; padding: 0.2rem 0.4rem;
&.is-selected, &.is-selected {
&:hover { border-color: #000;
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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