demos: update suggestions styling

This commit is contained in:
Philipp Kühn 2021-10-15 18:38:14 +02:00
parent 1502013145
commit b2dffc6013
5 changed files with 33 additions and 29 deletions

View File

@ -1,12 +1,13 @@
.items { .items {
padding: 0.2rem;
position: relative; position: relative;
border-radius: 0.25rem; border-radius: 0.5rem;
background: white; background: #FFF;
color: rgba(black, 0.8); color: rgba(0, 0, 0, 0.8);
overflow: hidden; overflow: hidden;
font-size: 0.9rem; font-size: 0.9rem;
box-shadow: box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1),
; ;
} }
@ -17,11 +18,11 @@
text-align: left; text-align: left;
background: transparent; background: transparent;
border: none; border: none;
padding: 0.2rem 0.5rem; padding: 0.2rem 0.4rem;
&.is-selected, &.is-selected,
&:hover { &:hover {
color: #A975FF; border-radius: 0.4rem;
background: rgba(#A975FF, 0.1); background: rgba(0, 0, 0, 0.05);
} }
} }

View File

@ -83,14 +83,15 @@ export default {
<style lang="scss"> <style lang="scss">
.items { .items {
padding: 0.2rem;
position: relative; position: relative;
border-radius: 0.25rem; border-radius: 0.5rem;
background: white; background: #FFF;
color: rgba(black, 0.8); color: rgba(0, 0, 0, 0.8);
overflow: hidden; overflow: hidden;
font-size: 0.9rem; font-size: 0.9rem;
box-shadow: box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1),
; ;
} }
@ -101,12 +102,12 @@ export default {
text-align: left; text-align: left;
background: transparent; background: transparent;
border: none; border: none;
padding: 0.2rem 0.5rem; padding: 0.2rem 0.4rem;
&.is-selected, &.is-selected,
&:hover { &:hover {
color: #A975FF; border-radius: 0.4rem;
background: rgba(#A975FF, 0.1); background: rgba(0, 0, 0, 0.05);
} }
} }
</style> </style>

View File

@ -83,14 +83,15 @@ export default {
<style lang="scss"> <style lang="scss">
.items { .items {
padding: 0.2rem;
position: relative; position: relative;
border-radius: 0.25rem; border-radius: 0.5rem;
background: white; background: #FFF;
color: rgba(black, 0.8); color: rgba(0, 0, 0, 0.8);
overflow: hidden; overflow: hidden;
font-size: 0.9rem; font-size: 0.9rem;
box-shadow: box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1),
; ;
} }
@ -101,12 +102,12 @@ export default {
text-align: left; text-align: left;
background: transparent; background: transparent;
border: none; border: none;
padding: 0.2rem 0.5rem; padding: 0.2rem 0.4rem;
&.is-selected, &.is-selected,
&:hover { &:hover {
color: #A975FF; border-radius: 0.4rem;
background: rgba(#A975FF, 0.1); background: rgba(0, 0, 0, 0.05);
} }
} }
</style> </style>

View File

@ -31,7 +31,7 @@ export default {
border-radius: 0.5rem; border-radius: 0.5rem;
background: white; background: white;
box-shadow: box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1),
; ;

View File

@ -83,14 +83,15 @@ export default {
<style lang="scss"> <style lang="scss">
.items { .items {
padding: 0.2rem;
position: relative; position: relative;
border-radius: 0.25rem; border-radius: 0.5rem;
background: white; background: #FFF;
color: rgba(black, 0.8); color: rgba(0, 0, 0, 0.8);
overflow: hidden; overflow: hidden;
font-size: 0.9rem; font-size: 0.9rem;
box-shadow: box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1),
; ;
} }
@ -101,12 +102,12 @@ export default {
text-align: left; text-align: left;
background: transparent; background: transparent;
border: none; border: none;
padding: 0.2rem 0.5rem; padding: 0.2rem 0.4rem;
&.is-selected, &.is-selected,
&:hover { &:hover {
color: #A975FF; border-radius: 0.4rem;
background: rgba(#A975FF, 0.1); background: rgba(0, 0, 0, 0.05);
} }
} }
</style> </style>