Commit a205475b authored by Andreas Heimann's avatar Andreas Heimann

removed songrow headers, updated navigation

parent efe9e1e9
<template>
<div class="song-row song-row-new">
<div class="song-header" v-if="title">
<div :class="'row-title ' + (noactions ? 'row-title-noactions' : '')">{{ title }}</div>
<div class="row-controls" v-if="!noactions">
<slot name="controls"></slot>
</div>
</div>
<div class="song-row">
<div class="song-list">
<slot name="song-list"></slot>
</div>
<div class="noresults">
</div>
<div class="pagination" v-if="!noactions">
<slot name="controls"></slot>
</div>
</div>
</template>
......@@ -29,46 +26,7 @@
display: grid;
grid-template-rows: auto 1fr;
grid-gap: 5px;
& .song-header {
display: grid;
grid-template-columns: 1fr auto;
& .row-title {
letter-spacing: 0.25em;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
&.row-title-noactions {
margin: 10px 0px;
}
}
& .row-controls {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 15px;
& .item {
width: 28px;
height: 28px;
font-size: 22px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
&.disabled {
opacity: 0.4;
}
&:not(.disabled):hover {
background: rgba(255,255,255,0.2);
cursor: pointer;
}
}
}
}
& .song-list {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
......@@ -86,6 +44,14 @@
display: block;
}
}
& .pagination {
text-align: right;
margin-top: 25px;
& .button {
margin-left: 10px;
display: inline;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment