Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Desktop Client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Desktop Client
Commits
56b9b0ea
Commit
56b9b0ea
authored
Jun 13, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete SongInstallItem.vue
parent
73aa5cbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
101 deletions
+0
-101
src/components/Song/SongInstallItem.vue
src/components/Song/SongInstallItem.vue
+0
-101
No files found.
src/components/Song/SongInstallItem.vue
deleted
100644 → 0
View file @
73aa5cbd
<
template
>
<div
class=
"song-item"
v-on:click=
"install()"
>
<div
class=
"song-cover"
>
<div
class=
"song-icon"
><i
class=
"mdi mdi-folder-music"
></i></div>
</div>
<div
class=
"song-metadata"
>
<div
class=
"song-title"
>
{{
$t
(
'
library.installed.install.title
'
)
}}
</div>
<div
class=
"song-artist"
>
{{
$t
(
'
library.installed.install.text
'
)
}}
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
SongInstallItem
'
,
data
:
function
()
{
return
{
}
},
mounted
:
function
()
{
},
methods
:
{
install
:
function
()
{
this
.
$parent
.
$parent
.
$emit
(
'
install
'
);
}
}
}
</
script
>
<
style
scoped
lang=
"less"
>
.song-item {
background: rgba(255,255,255,0.1);
transition: 0.2s ease-in-out transform, 0.2s ease-in-out box-shadow;
overflow: hidden;
border-radius: 6px;
& .song-cover {
background: rgba(255,255,255,0.1);
background-size: cover;
width: 100%;
padding-top: 100%;
position: relative;
background-position: center;
& .song-icon {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
display: flex;
justify-content: center;
align-items: center;
font-size: 32px;
}
}
& .song-metadata {
padding: 15px;
& .song-title {
font-weight: bold;
overflow: hidden;
white-space: nowrap;
}
& .song-artist {
margin-top: 5px;
opacity: 0.6;
overflow: hidden;
white-space: nowrap;
}
& .song-difficulties {
margin-top: 10px;
height: 20px;
display: flex;
& img {
height: 18px;
margin-right: 10px;
opacity: 0.3;
&.active {
opacity: 1;
}
}
}
}
&:hover {
transform: scale(1.1);
cursor: pointer;
box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.4);
& .song-cover {
& .song-charter {
opacity: 1;
}
}
}
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment