-
-
-
+
+
@@ -72,24 +64,4 @@ export default {
.default-cover {
background-image: url("../../../assets/audio/default-cover.png") !important;
}
-
-.play-button {
- position: absolute;
- right: 0;
- bottom: 40%;
-}
-
-.with-overlay {
- background-size: cover !important;
- background-position: center !important;
- height: 8em;
- width: 8em;
- display: flex !important;
- justify-content: center !important;
- align-items: center !important;
-}
-.flat.card .with-overlay.image {
- border-radius: 50% !important;
- margin: 0 auto;
-}
diff --git a/front/src/components/library/Artists.vue b/front/src/components/library/Artists.vue
index 7f83fb0a0..10ef24f3b 100644
--- a/front/src/components/library/Artists.vue
+++ b/front/src/components/library/Artists.vue
@@ -42,7 +42,7 @@
+
-
- {{ artist.name|truncate(30) }}
-
-
+
+
+ {{ artist.name|truncate(30) }}
+
+
-
+
+
+
-
- 1 album
-
-
-
- 1 track
-
-
+ %{ count } track
+
+
diff --git a/front/src/style/_main.scss b/front/src/style/_main.scss
index db2f0701a..6c8ca4584 100644
--- a/front/src/style/_main.scss
+++ b/front/src/style/_main.scss
@@ -354,20 +354,6 @@ td.align.right {
word-wrap: break-word;
}
-.ui.cards > .flat.card, .flat.card {
- box-shadow: none;
- .content {
- border: none;
- }
-}
-
-.ui.cards > .inline.card {
- flex-direction: row;
- .content {
- padding: 0.5em 0.75em;
- }
-}
-
.ui.checkbox label {
cursor: pointer;
}
@@ -439,21 +425,30 @@ input + .help {
}
}
.ui.cards.app-cards {
- > .app-card {
- display: inline-block;
- width: 15em;
- > .image {
+ $card-width: 14em;
+ $card-hight: 22em;
+ .app-card {
+ display: flex;
+ width: $card-width;
+ height: $card-hight;
+ .head-image {
+ height: $card-width;
background-size: cover !important;
background-position: center !important;
- height: 15em;
- width: 15em;
display: flex !important;
justify-content: flex-end !important;
align-items: flex-end !important;
- padding: 0.5em;
.button {
margin: 0;
}
+ &.circular {
+ overflow: visible;
+ border-radius: 50% !important;
+ height: $card-width - 1em;
+ width: $card-width - 1em;
+ margin: 0.5em;
+
+ }
}
.extra {
border-top: 0 !important;
@@ -462,6 +457,7 @@ input + .help {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ padding-bottom: 0;
}
.floating.dropdown > .icon {
margin-right: 0;