1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

I feel pretty,

Oh, so pretty,
I feel pretty and witty and gay!
And I pity
Any girl who isn't me today.
This commit is contained in:
kay.one 2013-06-06 22:15:07 -07:00
parent 4015984900
commit f63869bcfa
7 changed files with 36 additions and 17 deletions

View File

@ -25,6 +25,10 @@
} }
} }
.backdrop .page {
background-color: transparent;
}
html { html {
overflow: -moz-scrollbars-vertical; overflow: -moz-scrollbars-vertical;
overflow-y: scroll; overflow-y: scroll;
@ -61,12 +65,6 @@ html {
} }
} }
#in-sub-nav {
ul {
margin: 0 0 80px 0;
}
}
#notification-region { #notification-region {
pre { pre {
font-size: 12px; font-size: 12px;

View File

@ -11,3 +11,12 @@
color: #b9b9b9; color: #b9b9b9;
} }
#in-sub-nav {
margin-bottom: 80px;
}
.backdrop #in-sub-nav {
background-color: #000000;
opacity: 0.85;
}

View File

@ -750,7 +750,7 @@ body h1, body h2, body h3, body h4, body h5, body h6 {
#in-sub-nav { #in-sub-nav {
ul { ul {
text-align: center; text-align: center;
margin-bottom: 80px; margin-bottom: 10px;
} }
li { li {
list-style-type: none; list-style-type: none;

View File

@ -1,5 +1,5 @@
"use strict"; "use strict";
define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], function () { define(['app', 'Series/Details/SeasonCollectionView', 'Shared/LoadingView'], function () {
NzbDrone.Series.Details.SeriesDetailsLayout = Backbone.Marionette.Layout.extend({ NzbDrone.Series.Details.SeriesDetailsLayout = Backbone.Marionette.Layout.extend({
itemViewContainer: '.x-series-seasons', itemViewContainer: '.x-series-seasons',
@ -9,10 +9,19 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
seasons: '#seasons' seasons: '#seasons'
}, },
onShow: function () { ui: {
header: '.x-header'
},
initialize: function () {
$('body').addClass('backdrop');
},
onShow: function () {
var self = this; var self = this;
$.backstretch(this.model.get('fanArt'));
this.seasons.show(new NzbDrone.Shared.LoadingView()); this.seasons.show(new NzbDrone.Shared.LoadingView());
this.seasonCollection = new NzbDrone.Series.SeasonCollection(); this.seasonCollection = new NzbDrone.Series.SeasonCollection();
@ -30,6 +39,7 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
onClose: function () { onClose: function () {
$('.backstretch').remove(); $('.backstretch').remove();
$('body').removeClass('backdrop');
} }
}); });
} }

View File

@ -1,10 +1,5 @@
<div class="row series-page-header"> <div class="row series-page-header">
<div class="span3"> <div class="span11">
<a href="{{traktUrl}}" target="_blank">
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
</a>
</div>
<div class="offset1 span7">
<div class="row"> <div class="row">
<h1>{{title}}</h1> <h1>{{title}}</h1>
</div> </div>

View File

@ -18,14 +18,19 @@
} }
.series-page-header { .series-page-header {
.card; background: #000000;
padding: 30px 0px; color: #ffffff;
opacity: 0.9;
padding: 30px 30px;
margin: 50px 10px;
opacity: 0.9;
} }
.series-season { .series-season {
.card; .card;
margin: 80px 10px; margin: 80px 10px;
padding: 20px 40px; padding: 20px 40px;
opacity: 0.9;
} }
@ -124,3 +129,4 @@
.series-detail-overview { .series-detail-overview {
margin-bottom: 50px; margin-bottom: 50px;
} }

View File

@ -1,5 +1,6 @@
.card { .card {
margin :10px; margin :10px;
background-color: #ffffff;
padding: 10px; padding: 10px;
box-shadow: 0px 0px 10px 1px #e1e1e1; box-shadow: 0px 0px 10px 1px #e1e1e1;
color: #444444; color: #444444;