Add global css style to add clickable class
This commit is contained in:
@@ -110,7 +110,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h3 class="title">{{data.title}}</h3>
|
<h3 class="title">{{data.title}}</h3>
|
||||||
<h3 class="subtitle" @click="goToAuthor">{{data.author}}</h3>
|
<h3 class="subtitle clickable" @click="goToAuthor">{{data.author}}</h3>
|
||||||
<p>{{data.summary}}</p>
|
<p>{{data.summary}}</p>
|
||||||
<div class="my-5" v-if="data.isbn">ISBN: {{data.isbn}}</div>
|
<div class="my-5" v-if="data.isbn">ISBN: {{data.isbn}}</div>
|
||||||
<div class="my-5" v-if="data.inventaireid">Inventaire ID: {{data.inventaireid}}</div>
|
<div class="my-5" v-if="data.inventaireid">Inventaire ID: {{data.inventaireid}}</div>
|
||||||
|
|||||||
@@ -98,10 +98,6 @@ img {
|
|||||||
width:auto;
|
width:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clickable {
|
|
||||||
cursor:pointer
|
|
||||||
}
|
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
transition:ease-in-out 0.04s;
|
transition:ease-in-out 0.04s;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
|||||||
@@ -74,11 +74,6 @@ img {
|
|||||||
width:auto;
|
width:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.clickable {
|
|
||||||
cursor:pointer
|
|
||||||
}
|
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
transition:ease-in-out 0.04s;
|
transition:ease-in-out 0.04s;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
|||||||
@@ -86,9 +86,5 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
.clickable {
|
|
||||||
cursor:pointer
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ import { aliases, mdi } from 'vuetify/iconsets/mdi-svg'
|
|||||||
import { VRating } from 'vuetify/components/VRating';
|
import { VRating } from 'vuetify/components/VRating';
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
|
|
||||||
|
import './styles/global.css';
|
||||||
|
|
||||||
import fr from './locales/fr.json';
|
import fr from './locales/fr.json';
|
||||||
import en from './locales/en.json';
|
import en from './locales/en.json';
|
||||||
|
|
||||||
|
|||||||
3
front/src/styles/global.css
Normal file
3
front/src/styles/global.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.clickable {
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user