Fix style

This commit is contained in:
mcarquigny
2025-04-16 21:24:49 +02:00
parent 2b5692399c
commit 08cf066c88
12 changed files with 23 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+9
View File
@@ -1 +1,10 @@
// app global css in SCSS form
@font-face {
font-family: geist;
src: url(../public/font/Geist-var.ttf) format('truetype');
}
// declare a class which applies it
html, body {
font-family: 'geist';
}
+14 -5
View File
@@ -3,7 +3,7 @@
<q-btn @click="generateQRCode" class="float-right" icon="qr_code"></q-btn>
<q-chip class="float-right text-white" color="secondary">{{item.ref}}</q-chip>
<q-chip v-if="item.deleted" class="float-right q-mr-md" color="red">Supprimé</q-chip>
<h2 class="q-ma-none" :class="{'text-faded': !item.name}">{{item.name || '---- -- ----'}}</h2>
<h2 class="q-ma-none text-weight-medium" :class="{'text-faded': !item.name}">{{item.name || '---- -- ----'}}</h2>
<h4 class="q-ma-none q-pb-md text-grey">{{item.type}}</h4>
<q-dialog v-model="showQr">
@@ -27,15 +27,18 @@
<q-input v-model="item.name"
:disable="item.deleted"
type="text"
label="Nom"
outlined color="secondary"
stack-label label="Nom" class="q-mb-md"
@update:model-value="changed = true"/>
class="q-mb-md"
@update:model-value="changed = true">
</q-input>
<q-input v-model="item.owner"
:disable="item.deleted"
outlined color="secondary" stack-label label="Propriétaire" class="q-mb-md"
@input="changed = true"/>
<q-field borderless stack-label label="Etat cosmétique" class="q-mb-md">
<q-btn-toggle
class="q-mt-sm"
no-caps
:disable="item.deleted"
v-model="item.state"
@@ -54,6 +57,7 @@
</q-field>
<q-field borderless stack-label label="Fonctionnel" class="q-mb-md">
<q-btn-toggle
class="q-mt-sm"
no-caps
:disable="item.deleted"
v-model="item.working"
@@ -69,6 +73,7 @@
</q-field>
<q-field borderless stack-label label="En stock" class="q-mb-md">
<q-btn-toggle
class="q-mt-sm"
no-caps
:disable="item.deleted"
v-model="item.available"
@@ -92,6 +97,7 @@
{label: 'Non', value: false}
]"
@input="changed = true"
class="q-mt-sm"
/>
</q-field>
<q-input
@@ -100,7 +106,7 @@
@update:model-value="changed = true"
type="textarea"
:max-height="100"
rows="4"
rows="5"
outlined color="secondary" stack-label label="Commentaire" class="q-mb-md"
inverted
/>
@@ -367,5 +373,8 @@ export default {
}
</script>
<style>
<style scoped>
.q-field__label{
padding-bottom:16px !important;
}
</style>