Browse Source

Fix style

master
mcarquigny 2 months ago
parent
commit
08cf066c88
  1. BIN
      public/font/Geist-Black.otf
  2. BIN
      public/font/Geist-Bold.otf
  3. BIN
      public/font/Geist-ExtraBold.otf
  4. BIN
      public/font/Geist-ExtraLight.otf
  5. BIN
      public/font/Geist-Light.otf
  6. BIN
      public/font/Geist-Medium.otf
  7. BIN
      public/font/Geist-Regular.otf
  8. BIN
      public/font/Geist-SemiBold.otf
  9. BIN
      public/font/Geist-Thin.otf
  10. BIN
      public/font/Geist-var.ttf
  11. 9
      src/css/app.scss
  12. 19
      src/pages/StockItem.vue

BIN
public/font/Geist-Black.otf

Binary file not shown.

BIN
public/font/Geist-Bold.otf

Binary file not shown.

BIN
public/font/Geist-ExtraBold.otf

Binary file not shown.

BIN
public/font/Geist-ExtraLight.otf

Binary file not shown.

BIN
public/font/Geist-Light.otf

Binary file not shown.

BIN
public/font/Geist-Medium.otf

Binary file not shown.

BIN
public/font/Geist-Regular.otf

Binary file not shown.

BIN
public/font/Geist-SemiBold.otf

Binary file not shown.

BIN
public/font/Geist-Thin.otf

Binary file not shown.

BIN
public/font/Geist-var.ttf

Binary file not shown.

9
src/css/app.scss

@ -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';
}

19
src/pages/StockItem.vue

@ -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>

Loading…
Cancel
Save