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

BIN
public/font/Geist-Black.otf Normal file

Binary file not shown.

BIN
public/font/Geist-Bold.otf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/font/Geist-Light.otf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/font/Geist-Thin.otf Normal file

Binary file not shown.

BIN
public/font/Geist-var.ttf Normal file

Binary file not shown.

View File

@ -1 +1,10 @@
// app global css in SCSS form // 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';
}

View File

@ -3,7 +3,7 @@
<q-btn @click="generateQRCode" class="float-right" icon="qr_code"></q-btn> <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 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> <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> <h4 class="q-ma-none q-pb-md text-grey">{{item.type}}</h4>
<q-dialog v-model="showQr"> <q-dialog v-model="showQr">
@ -27,15 +27,18 @@
<q-input v-model="item.name" <q-input v-model="item.name"
:disable="item.deleted" :disable="item.deleted"
type="text" type="text"
label="Nom"
outlined color="secondary" outlined color="secondary"
stack-label label="Nom" class="q-mb-md" class="q-mb-md"
@update:model-value="changed = true"/> @update:model-value="changed = true">
</q-input>
<q-input v-model="item.owner" <q-input v-model="item.owner"
:disable="item.deleted" :disable="item.deleted"
outlined color="secondary" stack-label label="Propriétaire" class="q-mb-md" outlined color="secondary" stack-label label="Propriétaire" class="q-mb-md"
@input="changed = true"/> @input="changed = true"/>
<q-field borderless stack-label label="Etat cosmétique" class="q-mb-md"> <q-field borderless stack-label label="Etat cosmétique" class="q-mb-md">
<q-btn-toggle <q-btn-toggle
class="q-mt-sm"
no-caps no-caps
:disable="item.deleted" :disable="item.deleted"
v-model="item.state" v-model="item.state"
@ -54,6 +57,7 @@
</q-field> </q-field>
<q-field borderless stack-label label="Fonctionnel" class="q-mb-md"> <q-field borderless stack-label label="Fonctionnel" class="q-mb-md">
<q-btn-toggle <q-btn-toggle
class="q-mt-sm"
no-caps no-caps
:disable="item.deleted" :disable="item.deleted"
v-model="item.working" v-model="item.working"
@ -69,6 +73,7 @@
</q-field> </q-field>
<q-field borderless stack-label label="En stock" class="q-mb-md"> <q-field borderless stack-label label="En stock" class="q-mb-md">
<q-btn-toggle <q-btn-toggle
class="q-mt-sm"
no-caps no-caps
:disable="item.deleted" :disable="item.deleted"
v-model="item.available" v-model="item.available"
@ -92,6 +97,7 @@
{label: 'Non', value: false} {label: 'Non', value: false}
]" ]"
@input="changed = true" @input="changed = true"
class="q-mt-sm"
/> />
</q-field> </q-field>
<q-input <q-input
@ -100,7 +106,7 @@
@update:model-value="changed = true" @update:model-value="changed = true"
type="textarea" type="textarea"
:max-height="100" :max-height="100"
rows="4" rows="5"
outlined color="secondary" stack-label label="Commentaire" class="q-mb-md" outlined color="secondary" stack-label label="Commentaire" class="q-mb-md"
inverted inverted
/> />
@ -367,5 +373,8 @@ export default {
} }
</script> </script>
<style> <style scoped>
.q-field__label{
padding-bottom:16px !important;
}
</style> </style>