Project folder cleanup

This commit is contained in:
magnolia-fan
2011-06-24 01:35:15 +04:00
parent fa1a9490ff
commit 95c903e787
49 changed files with 2030 additions and 9259 deletions
View File
+99
View File
@@ -0,0 +1,99 @@
/* Main blocks*/
.artist-info {
width: 100%;
float: left;
margin: 0 0 25px 0;
clear: both;
}
.albums {
width: 100%;
float: left;
clear: both;
}
/* Artist info block */
.artist-info .pic {
float: left;
width: 250px;
margin: 25px 0;
}
.artist-info .pic img {
margin-left: 25px;
}
.artist-info .name {
margin: 25px 0 0 300px;
}
.artist-info .info {
margin: 0 17px 25px 300px;
}
/* Albums block */
.album {
clear: both;
}
.album .pic {
float: left;
width: 250px;
}
.album .pic > * {
margin-left: 25px;
}
.album .pic img {
width: 248px;
height: 248px;
border: #DDD 1px solid;
}
.add-album-button-container {
position: relative;
margin: 10px -25px 0 0;
text-align: center;
}
.album .pic .add-album {
}
.album .name {
display: block;
margin: 0 0 10px 300px;
}
.album .tracklist {
margin: 0 17px 30px 275px;
}
.album .tracklist ul {
}
.album .tracklist ul li {
display: block;
padding-left: 25px;
}
.add-track {
display: none;
float: left;
padding: 1px 5px;
margin: 3px 0 0 -22px;
}
.album .tracklist ul li .track-container {
height: 20px;
padding: 5px 0 0 0;
border-top: #EEE 1px solid;
}
.album .tracklist ul li:hover {
background-color: #FAFAFA;
}
.album .tracklist ul li:first-child {
border-top: none;
}
.album .tracklist ul li .trackname {
float: left;
}
.album .tracklist ul li .index {
display: block;
float: left;
width: 15px;
text-align: right;
margin: 3px 5px 0 0;
font-size: 10px;
color: #555;
}
.album .tracklist ul li .length {
float: right;
}
+42
View File
@@ -0,0 +1,42 @@
* {
margin: 0;
padding: 0;
border: none;
}
body {
overflow: hidden;
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
cursor: default;
min-width: 1000px;
}
#header-container {
margin-right: 350px;
}
#player-container {
width: 350px;
height: 600px;
float: right;
background-color: #222;
}
#data-container {
width: auto;
margin-right: 350px;
overflow-y: auto;
min-width: 650px;
}
#player {
width: 100%;
height: 120px;
}
#playlist {
width: 100%;
overflow-y: auto;
}
+165
View File
@@ -0,0 +1,165 @@
.fullscreen {
width: 100%;
height: 100%;
text-align: center;
}
#navigation {
background-color: #EEE;
background-image: url(/images/concrete_wall_2.png);
height: 30px;
}
#navigation li {
display: block;
float: left;
width: auto;
height: 30px;
margin-left: 10px;
color: #222;
line-height: 30px;
text-shadow: #666 0px 0px 0.5px;
}
#navigation li:hover {
cursor: pointer;
text-shadow: #666 0px 0px 2px;
}
#navigation li.logo {
font-size: 20px;
line-height: 32px;
font-weight: bold;
margin-right: 12px;
}
#navigation li.vk_auth {
display: none;
}
#navigation li a {
color: inherit;
text-decoration: inherit;
}
#header-container .hello {
float: right;
margin: 6px 10px 0 0;
color: #222;
}
#header-container .hello .greating {
display: block;
float: left;
margin-right: 8px;
}
#header-container .hello .settings {
float: right;
width: 15px;
height: 15px;
margin: 1px 0;
background-image: url(/images/icns/settings.png);
cursor: pointer;
}
.button {
display: inline;
width: auto;
padding: 5px 10px;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border: 1px solid;
cursor: pointer;
}
.button.gray {
background-color: #EEE;
color: #444;
border-color: #DDD;
}
.scrollbar-pane {
margin-right: 8px;
}
.scrollbar-handle-container {
width: 8px;
}
.scrollbar-handle {
width: 8px;
}
#data-container .scrollbar-handle-container {
background-color: #FFF;
}
#data-container .scrollbar-handle {
background-color: #CCC;
}
#data-container .scrollbar-handle:hover {
background-color: #999;
}
#data-container .scrollbar-handle.move {
background-color: #AAA;
}
#player-container .scrollbar-handle-container {
background-color: #222;
}
#player-container .scrollbar-handle {
background-color: #444;
}
#player-container .scrollbar-handle:hover {
background-color: #666;
}
#player-container .scrollbar-handle.move {
background-color: #888;
}
#error_page {
position: relative;
width: 600px;
text-align: center;
top: 100px;
left: 50%;
margin-left: -300px;
}
#error_page h1 {
font-size: 150px;
}
#error_page span {
font-size: 24px;
}
.kaboom {
width: 100%;
height: 30px;
clear: both;
}
.auth_notice {
display: none;
position: absolute;
background-color: #07F;
color: #FFF;
top: 32px;
left: 230px;
padding: 8px;
border: #05D 1px solid;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
.auth_notice .arrow {
float: left;
margin: -8px 15px 0 8px;
font-size: 25px;
font-weight: bold;
}
/* Colorizing *
#player-container { background-color: #CFC; }
#data-container { background-color: #CCF; }
#player { background-color: #AAC; }
#playlist { background-color: #ACC; }
.artist-info { background-color: #8EA; }
.albums { background-color: #A8E; }
+148
View File
@@ -0,0 +1,148 @@
#player .now-playing {
height: 30px;
color: #FFF;
text-align: center;
line-height: 30px;
}
#player .progress {
width: 330px;
height: 5px;
background-color: #333;
margin: 0 10px;
cursor: pointer;
}
#player .progress .loaded {
width: 0;
height: 5px;
background-color: #405050;
}
#player .progress .played {
width: 0;
height: 5px;
background-color: #09A;
}
#player .controls {
width: 290px;
margin: 20px 95px;
}
#player .controls > div {
width: 40px;
height: 40px;
float: left;
margin-right: 20px;
cursor: pointer;
}
#player .controls .prev {
background-image: url('/images/icns/prev.png');
}
#player .controls .play {
background-image: url('/images/icns/play.png');
}
#player .controls .pause {
background-image: url('/images/icns/pause.png');
display: none;
}
#player .controls .next {
background-image: url('/images/icns/next.png');
}
.playlist-tracks {
width: 343px;
}
.playlist-tracks li {
display: block;
height: 26px;
}
.playlist-tracks li .item {
position: relative;
overflow: hidden;
height: 26px;
color: #FFF;
}
.playlist-tracks li .item .title {
position: absolute;
top: 0;
left: 5px;
z-index: 10;
width: 330px;
height: 26px;
line-height: 26px;
display: block;
float: left;
overflow: hidden;
}
.playlist-tracks li .item .duration {
display: block;
position: absolute;
top: 0;
right: 5px;
z-index: 30;
height: 26px;
line-height: 26px;
}
.playlist-tracks li .item .remove {
display: none;
position: absolute;
top: 4px;
right: 5px;
z-index: 30;
height: 15px;
font-size: 11px;
background-color: #622;
color: #FFF;
border: #822 1px solid;
padding: 1px 2px 0 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
cursor: pointer;
}
.playlist-tracks li .item:hover {
background-color: #444;
cursor: default;
}
.playlist-tracks li:nth-child(odd) {
background-color: #2A2A2A;
cursor: default;
}
.playlist-tracks li.now .item {
color: #09A;
cursor: default;
}
/* Gradients */
.playlist-tracks li .item .fade {
position: absolute;
top: 0;
right: 0;
z-index: 20;
width: 100px;
height: 26px;
background: -moz-linear-gradient(left, rgba(32,32,32,0) 0%, rgba(32,32,32,1) 50%, rgba(32,32,32,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(32,32,32,0)), color-stop(50%,rgba(32,32,32,1)), color-stop(100%,rgba(32,32,32,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00202020', endColorstr='#202020',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* W3C */
}
.playlist-tracks li:nth-child(odd) .item .fade {
background: -moz-linear-gradient(left, rgba(42,42,42,0) 0%, rgba(42,42,42,1) 50%, rgba(42,42,42,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(42,42,42,0)), color-stop(50%,rgba(42,42,42,1)), color-stop(100%,rgba(42,42,42,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002a2a2a', endColorstr='#2a2a2a',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* W3C */
}
.playlist-tracks li .item:hover .fade {
background: -moz-linear-gradient(left, rgba(64,64,64,0) 0%, rgba(64,64,64,1) 50%, rgba(64,64,64,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(64,64,64,0)), color-stop(50%,rgba(64,64,64,1)), color-stop(100%,rgba(64,64,64,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00404040', endColorstr='#404040',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* W3C */
}
+87
View File
@@ -0,0 +1,87 @@
#search-container {
width: 425px;
padding: 0 5px;
}
#search-container #search_field {
width: 300px;
font-size: 24px;
padding: 4px;
border: #CCC 1px solid;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#search-container #search_button {
width: 100px;
font-size: 24px;
padding: 4px;
background-color: #DDD;
border: #CCC 1px solid;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.spinner {
display: none;
margin: 20px 0 0 175px;
}
.artist_loading {
display: none;
margin: 15px 0;
font-size: 18;
}
.artist_pics {
display: none;
}
.artist_pics .pic {
float: left;
width: 47px;
height: 47px;
overflow: hidden;
margin: 0 5px 5px 0;
}
.artist_pics .pic img {
width: 47px;
}
.autocomplete {
margin: 4px 0 0 -1px;
}
.autocomplete div {
font-size: 24px;
padding: 6px 5px;
border-top: #BBB 1px solid;
margin-bottom: 1px;
}
.autocomplete div:first-child {
border: none;
}
.autocomplete div.selected {
background-color: #DDD;
}
.suggestions {
display: none;
width: 415px;
text-align: left;
font-size: 24px;
}
.suggestions div {
margin: 15px 0;
}
.suggestions ul li {
display: block;
width: auto;
margin-bottom: 6px;
}
.suggestions .data.artist {
color: #04F;
border-bottom: #04F 1px dotted;
cursor: pointer;
}
.suggestions li span {
font-size: 14px;
font-style: italic;
}
+13
View File
@@ -0,0 +1,13 @@
<div id="search-container">
<form action="" method="post" id="search_form">
<input type="text" id="search_field"/>
<input type="submit" value="Search" id="search_button"/>
</form>
<img class="spinner" src="/images/loader.gif" alt=""/>
<div class="artist_loading">Artist info is loading for the first time now. Usually it takes less than a minute, please wait a bit.</div>
<div class="artist_pics"></div>
<div class="suggestions">
<div>Misspelled?</div>
<ul></ul>
</div>
</div>
+96
View File
@@ -0,0 +1,96 @@
.settings-container {
margin: 25px;
}
.settings-container .tabs {
height: 26px;
}
.settings-container .tabs > div {
float: left;
height: 25px;
}
.settings-container .tabs .left-space {
width: 15px;
}
.settings-container .tabs .tab {
position: relative;
border-left: #DDD 1px solid;
border-top: #DDD 1px solid;
border-right: #DDD 1px solid;
padding: 0 8px;
line-height: 24px;
margin-top: 2px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
background-color: #FAFAFA;
cursor: pointer;
}
.settings-container .tabs .tab.active {
position: relative;
z-index: 200;
background-color: #FFF;
border-left: #CCC 1px solid;
border-top: #CCC 1px solid;
border-right: #CCC 1px solid;
border-bottom: #FFF 6px solid;
margin-top: -2px;
line-height: 29px;
font-weight: bold;
cursor: default;
}
.settings-container .tabs .middle-space {
width: 8px;
}
.settings-container .form-container {
position: relative;
z-index: 100;
height: 500px;
border-top: #CCC 1px solid;
}
.settings-container .form-container .form {
margin: 25px;
}
.settings-container .form-container .form .field {
height: 40px;
margin-bottom: 10px;
clear: both;
}
.settings-container .form-container .form .field .label{
float: left;
font-size: 24px;
line-height: 32px;
width: 140px;
padding: 3px 6px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-color: #EAEAEA;
margin-right: -10px;
}
.settings-container .form-container .form .field .value {
float: left;
}
.settings-container .form-container .form .field input[type="text"]{
font-size: 24px;
padding: 4px;
border: #CCC 1px solid;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
width: 300px;
}
.settings-container .form-container .form .field input[type="button"]{
width: 120px;
font-size: 24px;
padding: 4px;
background-color: #DDD;
border: #CCC 1px solid;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-left: 5px;
}
.settings-container .forms {
display: none;
}
+32
View File
@@ -0,0 +1,32 @@
<div class="settings-container">
<div class="tabs">
<div class="left-space"></div>
<div class="tab" data-fieldset="account">Account</div>
<div class="middle-space"></div>
<div class="tab" data-fieldset="lastfm">Last.fm</div>
</div>
<div class="form-container"></div>
<div class="forms">
<div class="account">
<div class="form">
<div class="field">
<div class="label">Username:</div>
<div class="value"><input name="username" type="text"/></div>
</div>
<div class="field">
<div class="label">Email:</div>
<div class="value"><input name="email" type="text"/></div>
</div>
</div>
</div>
<div class="lastfm">
<div class="form">
<div class="field">
<div class="label">Username:</div>
<div class="value"><input name="username" type="text" disabled="disabled" value="Not connected" /></div>
<div class="action-button"><input type="button" class="lastfm-connect" value="Connect"/></div>
</div>
</div>
</div>
</div>
</div>