mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Unbroke some stuff
Getting creative with these names
This commit is contained in:
parent
f60ab7c73f
commit
47160cd84c
3 changed files with 14 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<div class="resource-details artist-details" ng-class="::{'x-archived': artist.is_archived}">
|
||||
|
||||
<header ng-style="{{::gradient}}">
|
||||
<header ng-style="{'background-image': 'linear-gradient(135deg, ' + artist.avatar_colors[0] + ' 15%, ' + artist.avatar_colors[1] + ' 100%)'}">
|
||||
<img src="{{::artist.avatars.normal}}">
|
||||
<div class="artist-right">
|
||||
<h1>{{::artist.name}}</h1>
|
||||
|
|
|
@ -26,9 +26,6 @@ module.exports = angular.module('ponyfm').controller "artist", [
|
|||
artists.fetch($state.params.slug)
|
||||
.done (artistResponse) ->
|
||||
$scope.artist = artistResponse.artist
|
||||
$scope.gradient = {
|
||||
'background-image': 'linear-gradient(135deg, ' + $scope.artist.avatar_colors[0] + ' 15%, ' + $scope.artist.avatar_colors[1] + ' 100%)'
|
||||
}
|
||||
|
||||
$scope.toggleFollow = () ->
|
||||
follow.toggle('artist', $scope.artist.id).then (res) ->
|
||||
|
|
|
@ -375,23 +375,35 @@ html {
|
|||
}
|
||||
|
||||
.pagination {
|
||||
.border-radius(0px);
|
||||
border: none;
|
||||
background: #eee;
|
||||
margin: 0px;
|
||||
margin-bottom: 10px;
|
||||
padding: 0px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
ul {
|
||||
.border-radius(0px);
|
||||
margin: 5px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
|
||||
> li:first-child > a, > li:last-child > a {
|
||||
.border-radius(0px);
|
||||
}
|
||||
|
||||
.disabled {
|
||||
a {
|
||||
color: #999;
|
||||
background-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
display: block;
|
||||
float: left;
|
||||
|
@ -403,6 +415,7 @@ html {
|
|||
display: block;
|
||||
float: left;
|
||||
color: @pfm-purple;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue