Some small style improvements.

This commit is contained in:
Fabio Manganiello 2023-05-04 02:20:40 +02:00
parent 2398cac572
commit 7db09276ca
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
2 changed files with 5 additions and 47 deletions

View File

@ -231,6 +231,7 @@ export default {
@include from($tablet) {
.search-bar {
min-width: 400px;
margin-left: 0.5em;
}
}
@ -239,59 +240,15 @@ export default {
display: flex;
.dropdown {
min-width: 10em;
.text {
text-align: left;
padding-left: 0.5em;
}
min-width: 11em;
}
.dropdown-container {
button {
width: 100%;
background: none;
text-align: left;
letter-spacing: 0.01em;
.text {
padding-left: 0.25em;
}
.icon.active {
color: $selected-fg;
}
}
.icon.active {
color: $selected-fg;
}
button {
height: 100%;
background: $default-bg-2;
border: 0;
padding: 0.5em;
&:hover {
color: $default-hover-fg;
}
}
.item {
padding: 0.75em 0.5em;
border: 0;
box-shadow: none;
.col-1.icon {
width: 1.5em;
}
&.selected {
font-weight: bold;
background: #ffffff00;
}
&:hover {
background: $hover-bg;
}
}
}
}

View File

@ -47,6 +47,7 @@ export default {
name: 'Variable',
components: {EntityIcon},
mixins: [EntityMixin],
emits: ['loading'],
data: function() {
return {
collapsed: true,