Tracks import

This commit is contained in:
Gregory Eremin
2012-09-01 21:55:01 +04:00
parent b5f616a9d9
commit 43422624f1
34 changed files with 1094 additions and 156 deletions
+126
View File
@@ -0,0 +1,126 @@
.artist-page .album .tracks {
margin-left: 265px;
& > li {
position: relative;
display: block;
width: 100%;
height: 38px;
list-style: none;
font-family: "Source Sans Pro", $helvetica;
font-size: 20px;
line-height: 28px;
text-shadow: 0 0 1px rgba(0, 0, 0, .3);
&:after {
content: "";
display: block;
width: 627px;
float: right;
border-bottom: #e0e0e0 1px solid;
margin: 0 5px 0 0;
}
&:first-child:after, &:hover:after {
display: none;
}
.btn-round {
width: 10px;
height: 22px;
border-radius: 50px;
i {
margin: 3px 0 0 -1px;
}
}
.track-play {
position: absolute;
top: 3px;
left: 5px;
i {
opacity: .3;
}
}
// Track title
.title {
position: absolute;
top: 5px;
left: 42px;
height: 28px;
max-width: 580px;
overflow: hidden;
.inner {
width: 1000px;
.track-link {
color: #303030;
}
.artists {
@include inline-block;
margin: 0;
padding: 0;
li {
@include inline-block;
margin: 0;
padding: 0;
color: #808080;
.artist-page {
color: #808080;
}
.delimiter {
color: #808080;
}
&:before {
content: ", ";
}
&:first-child:before {
content: "";
}
}
}
}
}
.length {
position: absolute;
top: 5px;
right: 5px;
}
.track-add {
position: absolute;
top: 3px;
right: 5px;
display: none;
}
// li:hover
&:hover{
border: {
width: 0px;
style: solid;
color: transparent;
radius: 4px;
}
background-color: rgba(200, 200, 200, .3);
.track-play i {
opacity: 1;
}
.track-add {
display: block;
}
.length {
display: none;
}
}
}
}
File diff suppressed because one or more lines are too long
+13 -75
View File
@@ -1,27 +1,28 @@
.artist-page {
h1 {
font-family: Lobster, Georgia, serif;
font-family: "Lobster Two", Georgia, serif;
font-weight: 700;
font-size: 42px;
line-height: 64px;
letter-spacing: 1px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
text-shadow: 0 0 1px rgba(0, 0, 0, .3);
}
.artist-info {
min-height: 250px;
margin-bottom: 50px;
margin-bottom: 20px;
.pic {
float: left;
img {
width: 250px;
height: 250px;
margin-top: 5px;
border-size: 1px;
border-style: solid;
border-color: rgba(255, 255, 255, .2);
border-radius: 5px;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
@include box-shadow(0 0 3px 1px hsla(0, 0%, 0%, 0.3));
}
}
.bio {
@@ -34,13 +35,14 @@
}
.album {
min-height: 250px;
min-height: 280px;
margin-bottom: 30px;
h2 {
font-family: Lobster, Georgia, Serif;
font-family: "Lobster Two", Georgia, Serif;
font-weight: 700;
font-size: 26px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
text-shadow: 0 0 1px rgba(0, 0, 0, .3);
}
.pic {
float: left;
@@ -51,82 +53,18 @@
background-color: #a0a0a0;
width: 250px;
height: 250px;
margin-top: 5px;
border-size: 1px;
border-style: solid;
border-color: rgba(255, 255, 255, .2);
border-radius: 5px;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
@include box-shadow(0 0 3px 1px hsla(0, 0%, 0%, 0.3));
margin-bottom: 10px;
}
}
.title {
& > .title {
margin-left: 270px;
margin-bottom: 10px;
}
.tracks {
margin-left: 270px;
tr:hover {
td {
background-color: rgba(200, 200, 200, .3);
.track-play i {
opacity: 1;
}
&.length {
.track-add {
display: block;
}
.length {
display: none;
}
}
}
}
td {
position: relative;
font-family: "Source Sans Pro", Helvetica, sans-serif;
font-size: 20px;
line-height: 28px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
.btn-round {
width: 10px;
height: 22px;
border-radius: 50px;
i {
margin: 3px 0 0 -1px;
}
}
}
td.title {
padding-left: 40px;
.track-play {
position: absolute;
margin: -2px 0 0 -40px;
i {
opacity: .3;
}
}
.track-link {
color: #303030;
}
}
td.length {
text-align: right;
.track-add {
position: absolute;
right: 8px;
margin: -2px 0 0 0;
display: none;
}
}
}
}
}
@@ -0,0 +1,39 @@
.autocomplete-w1 {
margin: 10px 0 0 0;
width: 268px;
background: {
color: #f0f0f0;
color: rgba(240, 243, 246, .95);
}
@include box-shadow(5px 14px 5px rgba(0, 0, 0, .15));
.autocomplete {
div {
width: 258px;
padding: 5px 5px;
border: {
color: transparent;
style: solid;
width: 1px;
}
background: {
color: #f0f0f0;
color: rgba(240, 243, 246, .95);
}
&:last-child {
border-bottom: {
left-radius: 5px;
right-radius: 5px;
}
}
&.selected {
color: #ffffff;
background-color: #49AFCD;
background-color: rgba(73, 175, 205, .95);
border-radius: 5px;
}
}
}
}
+28
View File
@@ -0,0 +1,28 @@
.bh-underlay-blue, .bh-underlay-green {
@include inline-block;
border-color: transparent;
@include border-radius(4px);
}
.bh-underlay-blue {
background-color: #126be8;
background: url($light_blue_noise);
}
.bh-underlay-green {
background-color: #17ed25;
background: url($light_green_noise);
}
.btn-bh-dark, .btn-bh-light {
background-position: 0 0 !important;
color: #fafafa;
text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
&:hover {
color: #ffffff;
}
}
.btn-bh-dark {
@include buttonBackground(rgba(0, 0, 0, .05), rgba(0, 0, 0, .15));
}
.btn-bh-light {
@include buttonBackground(rgba(255, 255, 255, .05), rgba(255, 255, 255, .15));
}
File diff suppressed because one or more lines are too long
+51
View File
@@ -0,0 +1,51 @@
.player {
width: 558px;
.controls {
float: left;
margin: 3px 0 0 -103px;
a {
margin: 5px 6px 0 -9px;
}
}
.progress-bar {
position: relative;
width: 100%;
height: 26px;
margin: 8px 0 0;
background-color: rgba(0, 0, 0, .3);
border: {
style: solid;
width: 1px;
color: rgba(0, 0, 0, .3);
radius: 4px;
}
@include box-shadow(inset 0 0 1px rgba(0, 0, 0, .2));
.bar {
position: absolute;
height: 26px;
background-color: rgba(255, 255, 255, .1);
@include box-shadow(inset 0 0 2px rgba(255, 255, 255, .2));
@include border-radius(4px 0px 0px 4px);
}
.title {
position: absolute;
left: 8px;
font: {
family: "Source Sans Pro", $helvetica;
size: 14px;
}
line-height: 24px;
color: #ffffff;
text-shadow: 1px 1px 0 rgba(80, 80, 80, .4);
}
.move-it {
position: absolute;
width: 100%;
height: 26px;
z-index: 9999;
}
}
}