remove useless comment
This commit is contained in:
parent
3a9c213d86
commit
df53bf0267
1 changed files with 10 additions and 11 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
<!-- TODO: dynamiser la valeur de l'attribut style: url('inspiration.cover') -->
|
||||
<div
|
||||
id="inspirations-dropdown"
|
||||
class="flex flex-col"
|
||||
|
|
@ -21,7 +20,7 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from "vue";
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
const { all } = defineProps({
|
||||
all: Array,
|
||||
|
|
@ -33,10 +32,10 @@ watch(current, (newValue) => {
|
|||
changeInspiration(newValue);
|
||||
});
|
||||
|
||||
const emit = defineEmits(["update:currentInspiration"]);
|
||||
const emit = defineEmits(['update:currentInspiration']);
|
||||
|
||||
function changeInspiration(inspiration) {
|
||||
emit("update:currentInspiration", inspiration);
|
||||
emit('update:currentInspiration', inspiration);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
@ -52,7 +51,7 @@ function changeInspiration(inspiration) {
|
|||
padding: var(--space-8) var(--space-48) var(--space-8) var(--space-64);
|
||||
}
|
||||
#inspirations-dropdown::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: var(--space-8);
|
||||
width: 2.75rem;
|
||||
|
|
@ -64,21 +63,21 @@ function changeInspiration(inspiration) {
|
|||
background-position: center;
|
||||
}
|
||||
|
||||
[role="combobox"],
|
||||
[role='combobox'],
|
||||
#inspirations-select_list {
|
||||
border: 1px solid var(--color-grey-200);
|
||||
}
|
||||
[role="combobox"]:hover {
|
||||
[role='combobox']:hover {
|
||||
outline: 1px solid var(--color-grey-400);
|
||||
border-color: var(--color-background);
|
||||
}
|
||||
[role="combobox"][aria-expanded="true"] {
|
||||
[role='combobox'][aria-expanded='true'] {
|
||||
outline: 2px solid var(--color-focus-ring);
|
||||
outline-offset: -2px;
|
||||
border-color: transparent;
|
||||
}
|
||||
#inspirations-select,
|
||||
[role="combobox"] {
|
||||
[role='combobox'] {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
|
|
@ -126,7 +125,7 @@ function changeInspiration(inspiration) {
|
|||
margin-top: var(--space-4);
|
||||
}
|
||||
#inspirations-select_list > *::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: var(--space-8);
|
||||
width: 1.75rem;
|
||||
|
|
@ -143,7 +142,7 @@ function changeInspiration(inspiration) {
|
|||
}
|
||||
#inspirations-select_list > *:focus,
|
||||
#inspirations-select_list > *:focus-visible,
|
||||
#inspirations-select_list > [data-p-focused="true"] {
|
||||
#inspirations-select_list > [data-p-focused='true'] {
|
||||
outline: 2px solid var(--color-focus-ring);
|
||||
}
|
||||
/* Check */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue