Skip to content

Commit

Permalink
refactor: cleanup classes and fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Feb 10, 2021
1 parent 86a9f3e commit 44450c2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 43 deletions.
6 changes: 6 additions & 0 deletions assets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ body {

.link {
cursor: pointer;
color: inherit !important;
text-decoration: none;
}

.link:hover {
text-decoration: underline;
}

.flex-0 {
flex: 0;
}

/* Customized Vuetify components */
.v-menu__content .v-list {
background: map-get($material-light, 'cards') !important;
Expand Down
6 changes: 0 additions & 6 deletions components/Players/TrackList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,6 @@ export default Vue.extend({
</script>

<style lang="scss" scoped>
.link {
cursor: pointer;
}
.link:hover {
text-decoration: underline;
}
.v-data-table.track-table {
background-color: transparent;
}
Expand Down
6 changes: 0 additions & 6 deletions pages/artist/_itemId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,4 @@ export default Vue.extend({
left: 0;
width: 1.25em;
}
.link {
cursor: pointer;
}
.link:hover {
text-decoration: underline;
}
</style>
12 changes: 0 additions & 12 deletions pages/item/_itemId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -427,15 +427,3 @@ export default Vue.extend({
}
});
</script>

<style lang="scss" scoped>
.link {
cursor: pointer;
}
.link:hover {
text-decoration: underline;
}
.flex-0 {
flex: 0;
}
</style>
7 changes: 0 additions & 7 deletions pages/musicalbum/_itemId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
>
{{ $t('byArtist') }}
<nuxt-link
tag="span"
class="link"
:to="getItemDetailsLink(item.AlbumArtists[0])"
>
Expand Down Expand Up @@ -185,9 +184,3 @@ export default Vue.extend({
}
});
</script>

<style lang="scss" scoped>
.flex-0 {
flex: 0;
}
</style>
12 changes: 0 additions & 12 deletions pages/series/_itemId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -326,15 +326,3 @@ export default Vue.extend({
}
});
</script>

<style lang="scss" scoped>
.link {
cursor: pointer;
}
.link:hover {
text-decoration: underline;
}
.flex-0 {
flex: 0;
}
</style>

0 comments on commit 44450c2

Please sign in to comment.