Skip to content

Commit

Permalink
v0.10
Browse files Browse the repository at this point in the history
Merge branch 'dev'
  • Loading branch information
Zé Bateira committed May 13, 2014
2 parents 3729629 + f05d539 commit 353ed13
Show file tree
Hide file tree
Showing 20 changed files with 536 additions and 160 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ These are the contents of the script:
```sh
$ mkdir ~/Spotify ; cd ~/Spotify
$ rm -rf rama
$ rm rama_v0.9.1.tar.gz
$ curl https://github.com/carsy/rama-spotify/releases/download/v0.9.1/rama_v0.9.1.tar.gz
$ tar -xvf rama_v0.9.1.tar.gz
$ rm rama_v0.10.tar.gz
$ curl https://github.com/carsy/rama-spotify/releases/download/v0.10/rama_v0.10.tar.gz
$ tar -xvf rama_v0.10.tar.gz
$ open spotify:app:rama
```

Expand Down Expand Up @@ -64,6 +64,11 @@ With no official release for the Spotify Desktop Client, there's nothing I can d
[Releases]
----

[v0.10] - Tags menu
- Tags menu added
- Clicking on tags highlights the artists that have that tag
- Tags are retrieved from echonest (as well as for the artist menu)

[v0.9.1] - Expand button bugfix
- expand button shown after expand.

Expand Down Expand Up @@ -121,6 +126,7 @@ José Bateira
[here]:https://github.com/carsy/rama-spotify/releases/latest
[Releases]:https://github.com/carsy/rama-spotify/releases/latest
[issues]:https://github.com/carsy/rama-spotify/issues
[v0.10]:https://github.com/carsy/rama-spotify/releases/tag/v0.10
[v0.9.1]:https://github.com/carsy/rama-spotify/releases/tag/v0.9.1
[v0.9]:https://github.com/carsy/rama-spotify/releases/tag/v0.9
[v0.8]:https://github.com/carsy/rama-spotify/releases/tag/v0.8
Expand Down
159 changes: 115 additions & 44 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -280,30 +280,31 @@ a {
display: none !important;
}

/* mixins */
/* imports */
/* Header Styles */
/* line 4, ../sass/_header.scss */
#header {
background-color: #222326;
max-height: 60px;
position: fixed;
width: 100%;
z-index: 1;
background-color: #222326;
opacity: 0.9;
border-bottom: 1px solid #5e6069;
min-height: 60px;
}
/* line 16, ../sass/_header.scss */
/* line 17, ../sass/_header.scss */
#header .header-text a {
color: #dfe0e6;
}
/* line 21, ../sass/_header.scss */
/* line 22, ../sass/_header.scss */
#header .header-title {
text-align: center;
font-size: 3em;
line-height: 60px;
}
/* line 27, ../sass/_header.scss */
/* line 28, ../sass/_header.scss */
#header .header-link {
display: table;
position: absolute;
Expand All @@ -315,12 +316,12 @@ a {
background-color: #313336;
margin-left: 10px;
}
/* line 40, ../sass/_header.scss */
/* line 41, ../sass/_header.scss */
#header .header-link a {
display: table-cell;
vertical-align: middle;
}
/* line 45, ../sass/_header.scss */
/* line 46, ../sass/_header.scss */
#header .header-link:after {
content: url(../img/external_link-tiny-gray.png);
display: inline-block;
Expand All @@ -330,7 +331,7 @@ a {
margin-top: -5px;
}
@media (max-width: 500px) {
/* line 27, ../sass/_header.scss */
/* line 28, ../sass/_header.scss */
#header .header-link {
display: none;
}
Expand Down Expand Up @@ -371,15 +372,15 @@ a {
display: none;
position: relative;
float: right;
opacity: 0.9;
padding: 10px 6px;
opacity: 0.9;
background-color: #222326;
border-radius: 2px;
border-width: 1px;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
border-radius: 2px;
}
/* line 49, ../sass/_settings.scss */
/* line 45, ../sass/_settings.scss */
#settings .settings-form .tri {
position: absolute;
top: -5px;
Expand All @@ -393,20 +394,20 @@ a {
border-style: solid;
-webkit-transform: rotate(45deg);
}
/* line 66, ../sass/_settings.scss */
/* line 62, ../sass/_settings.scss */
#settings .settings-form .option {
overflow: auto;
}
/* line 69, ../sass/_settings.scss */
/* line 65, ../sass/_settings.scss */
#settings .settings-form .option:not(.first-child) {
margin-top: 5px;
}
/* line 73, ../sass/_settings.scss */
/* line 69, ../sass/_settings.scss */
#settings .settings-form .option label {
float: left;
margin-right: 5px;
}
/* line 77, ../sass/_settings.scss */
/* line 73, ../sass/_settings.scss */
#settings .settings-form .option input {
padding: 2px;
width: 30px;
Expand All @@ -415,7 +416,7 @@ a {
border-width: 1px;
border-color: #3e3e40;
}
/* line 85, ../sass/_settings.scss */
/* line 81, ../sass/_settings.scss */
#settings .settings-form .option input[name=treemode] {
margin-top: 5px;
margin-left: 5px;
Expand Down Expand Up @@ -464,34 +465,37 @@ meter {

/* line 4, ../sass/_tracklist.scss */
#tracklist {
opacity: 0.9;
position: absolute;
z-index: 1;
bottom: 0;
left: 0;
overflow: auto;
width: 100%;
height: 51px;
border-top: 1px solid #3e3e40;
background-color: #222326;
color: #dfe0e6;
opacity: 0.9;
background-color: #222326;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
border-bottom-width: 0;
}
/* line 18, ../sass/_tracklist.scss */
/* line 17, ../sass/_tracklist.scss */
#tracklist .column {
float: left;
}
/* line 22, ../sass/_tracklist.scss */
/* line 21, ../sass/_tracklist.scss */
#tracklist .right-content {
padding: 1px 5px;
}
/* line 26, ../sass/_tracklist.scss */
/* line 25, ../sass/_tracklist.scss */
#tracklist #tracklist_list {
position: relative;
height: 100%;
max-width: calc(100% - 50px);
overflow: hidden;
}
/* line 35, ../sass/_tracklist.scss */
/* line 34, ../sass/_tracklist.scss */
#tracklist .list-track {
display: inline-block;
padding: 2px 5px;
Expand All @@ -504,16 +508,16 @@ meter {
border-style: solid;
cursor: pointer;
}
/* line 50, ../sass/_tracklist.scss */
/* line 49, ../sass/_tracklist.scss */
#tracklist .list-track:hover {
opacity: 0.95;
}
/* line 54, ../sass/_tracklist.scss */
/* line 53, ../sass/_tracklist.scss */
#tracklist .list-track:active {
border-color: #7fb701;
-webkit-transform: scale(0.98, 0.98);
}
/* line 59, ../sass/_tracklist.scss */
/* line 58, ../sass/_tracklist.scss */
#tracklist .list-track a {
color: #dfe0e6;
}
Expand All @@ -522,7 +526,7 @@ meter {
#artistmenu {
position: absolute;
left: 0;
top: 20%;
top: 80px;
width: 126px;
opacity: 0.9;
background-color: #222326;
Expand All @@ -532,52 +536,119 @@ meter {
border-left: 0;
color: #dfe0e6;
}
/* line 19, ../sass/_artistmenu.scss */
/* line 14, ../sass/_artistmenu.scss */
#artistmenu .artist-info-field {
margin: 5px;
}
/* line 23, ../sass/_artistmenu.scss */
/* line 18, ../sass/_artistmenu.scss */
#artistmenu #artist_albums {
width: 120px;
margin: 5px auto;
text-align: center;
}
/* line 27, ../sass/_artistmenu.scss */
/* line 23, ../sass/_artistmenu.scss */
#artistmenu #artist_albums .artist-album {
display: inline-block;
margin: 5px;
margin: 0px 3px;
}
/* line 29, ../sass/_artistmenu.scss */
#artistmenu #artist_tags {
width: 120px;
margin: 5px auto;
text-align: center;
overflow: hidden;
}
/* line 33, ../sass/_artistmenu.scss */
/* line 35, ../sass/_artistmenu.scss */
#artistmenu #artist_tags .artist-tag {
display: inline-block;
margin: 1px;
background-color: #2e2f33;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
border-radius: 1px;
padding: 2px 4px;
text-align: center;
}
/* line 43, ../sass/_artistmenu.scss */
#artistmenu #artist_controls {
display: none;
width: 100%;
}
/* line 37, ../sass/_artistmenu.scss */
/* line 47, ../sass/_artistmenu.scss */
#artistmenu #artist_controls .control:first-child {
margin-top: 10px;
}
/* line 40, ../sass/_artistmenu.scss */
/* line 50, ../sass/_artistmenu.scss */
#artistmenu #artist_controls .control {
background-color: #2e2f33;
max-width: 80%;
background-color: #2e2f33;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
padding: 4px;
margin: 10px auto;
border-radius: 1px;
cursor: pointer;
padding: 2px 4px;
text-align: center;
padding: 4px;
cursor: pointer;
margin: 10px auto;
}
/* line 53, ../sass/_artistmenu.scss */
#artistmenu #artist_controls .control#control_expand, #artistmenu #artist_controls .control#control_delete {
display: none;
}
/* line 57, ../sass/_artistmenu.scss */
/* line 86, ../sass/main.scss */
#artistmenu #artist_controls .control:hover {
opacity: 0.95;
}
/* line 61, ../sass/_artistmenu.scss */
/* line 90, ../sass/main.scss */
#artistmenu #artist_controls .control:active {
border-color: #7fb701;
-webkit-transform: scale(0.98, 0.98);
}
/* line 60, ../sass/_artistmenu.scss */
#artistmenu #artist_controls .control#control_expand {
display: none;
}

/* line 1, ../sass/_tagsmenu.scss */
#tagsmenu_wrapper {
position: absolute;
top: 59px;
height: auto;
width: 100%;
text-align: center;
}

/* line 10, ../sass/_tagsmenu.scss */
#tagsmenu {
display: inline-block;
color: #dfe0e6;
padding: 5px;
opacity: 0.9;
background-color: #222326;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
}
/* line 18, ../sass/_tagsmenu.scss */
#tagsmenu .common-tag {
background-color: #2e2f33;
border-color: #3e3e40;
border-width: 1px;
border-style: solid;
border-radius: 1px;
padding: 2px 4px;
text-align: center;
cursor: pointer;
margin: 1px;
}
/* line 86, ../sass/main.scss */
#tagsmenu .common-tag:hover {
opacity: 0.95;
}
/* line 90, ../sass/main.scss */
#tagsmenu .common-tag:active {
border-color: #7fb701;
-webkit-transform: scale(0.98, 0.98);
}
/* line 23, ../sass/_tagsmenu.scss */
#tagsmenu .common-tag.selected {
border-color: #95dc00;
}
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@

<div id="artistmenu"></div>

<div id="tagsmenu_wrapper">
<div id="tagsmenu"></div>
</div>

</div>

<!-- build:js js/vendor.js -->
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

version="v0.9.1"
version="v0.10"

mkdir ~/Spotify ; cd ~/Spotify
rm -rf rama-spotify
Expand Down
2 changes: 1 addition & 1 deletion js/components/components.js → js/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var Components = {
if (component.controller && !component.hasDependencies) {
var controller = component.controller;

controller.loadView(this.components[component.supports]);
controller.loadView(component.supports);
}
}
},
Expand Down
Loading

0 comments on commit 353ed13

Please sign in to comment.