File tree 3 files changed +30
-7
lines changed
3 files changed +30
-7
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ sub _fetch {
93
93
my $release = $data -> {release };
94
94
my $dist = $data -> {distribution };
95
95
96
- $data -> {chat } = $self -> _get_chat( $release , $dist );
97
- $data -> {issues } = $self -> _get_issues( $release , $dist );
98
- $data -> {github } = $data -> { distribution } -> {repo }-> {github };
96
+ $data -> {chat } = $self -> _get_chat( $release , $dist );
97
+ $data -> {issues } = $self -> _get_issues( $release , $dist );
98
+ $data -> {github } = $dist -> {repo }-> {github };
99
99
$data -> {repository } = $self -> _get_repository( $release , $dist );
100
100
101
101
Future-> done($data );
Original file line number Diff line number Diff line change 12
12
</div>
13
13
%% if $github && $repository.url {
14
14
<div class="star-rating">
15
- <a href="[% $repository.url %]" target="_blank" class="btn btn-primary">
16
- ⭐ Starred <span class="badge badge-primary" >[% $github.stars %]</span>
15
+ <a href="[% $repository.url %]" target="_blank" class="btn btn-primary" title="View on GitHub" >
16
+ ⭐ Starred <span>[% $github.stars %]</span>
17
17
<span class="sr-only">GitHub stars</span>
18
18
</a>
19
19
</div>
Original file line number Diff line number Diff line change @@ -110,11 +110,10 @@ a.favorite {
110
110
display : inline-block ;
111
111
line-height : 1 ;
112
112
text-align : right ;
113
- min-width : 25px ;
114
113
position : relative ;
115
- top : -1px ;
116
114
font-size : @font-size-base ;
117
115
font-weight : normal ;
116
+ height : 100% ;
118
117
min-width : 35px ;
119
118
cursor : pointer ;
120
119
@@ -236,6 +235,30 @@ a.ellipsis:hover * {
236
235
margin-bottom : 1px ;
237
236
}
238
237
238
+ .star-rating {
239
+ & a .btn.btn-primary {
240
+ padding : 1px 3px ;
241
+ font-size : 0.9em ;
242
+ background : #f0f0f0 linear-gradient (to bottom , #fbfbfb , #f0f0f0 );
243
+ color : #000 ;
244
+ min-width : 25px ;
245
+ position : relative ;
246
+ font-size : @font-size-base ;
247
+ font-weight : normal ;
248
+ min-width : 35px ;
249
+ border-color : #e0e0e0 ;
250
+ line-height : 1.54em ;
251
+
252
+ & :hover {
253
+ background : #36c linear-gradient (to bottom , #69f , #36c );
254
+ color : #fff ;
255
+ border-color : #36c ;
256
+ opacity : 1 ;
257
+ text-decoration : none ;
258
+ }
259
+ }
260
+ }
261
+
239
262
/* Contributors list on release pages
240
263
* see /release/Plack for example
241
264
*/
You can’t perform that action at this time.
0 commit comments