cleaned up css

pull/4/head
Keivan 14 years ago committed by sschlesier
parent bf1ff29519
commit 153e013afb

@ -32,7 +32,7 @@ namespace NzbDrone.Core
string connectionString = String.Format("Data Source={0};Version=3;", Path.Combine(AppPath, "nzbdrone.db"));
var dbProvider = ProviderFactory.GetProvider(connectionString, "System.Data.SQLite");
string logConnectionString = String.Format("Data Source={0};Version=3;", Path.Combine(AppPath, "log.db"));
var logDbProvider = ProviderFactory.GetProvider(logConnectionString, "System.Data.SQLite");
var logRepository = new SimpleRepository(logDbProvider, SimpleRepositoryOptions.RunMigrations);

@ -28,7 +28,10 @@ namespace NzbDrone.Core.Providers
public List<ProgressNotification> GetProgressNotifications
{
get { return new List<ProgressNotification>(_progressNotification.Values.Where(p => p.Status == ProgressNotificationStatus.InProgress)); }
get
{
return new List<ProgressNotification>(_progressNotification.Values.Where(p => p.Status == ProgressNotificationStatus.InProgress));
}
}
public void Dismiss(Guid notificationId)

@ -8,14 +8,13 @@
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
padding: 10px;
position: fixed;
text-align: left;
position: fixed;
z-index: 99;
margin: 0px auto;
bottom: 0;
width: 930px;
font-size: 20px;
color: White;
width:890px;
}
#msgCloseButton
{

@ -1,26 +1,20 @@
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/
h1, h2, h3
{
margin: 0;
color: #549900;
text-transform: lowercase;
}
body
{
padding: 0;
background: #191919 url(images/img07.jpg) no-repeat right top;
font-family: Segoe UI, Tahoma, Geneva, sans-serif;
font-family: "Segoe UI" , Tahoma, Geneva, sans-serif;
font-size: 13px;
color: #3C3C3C;
background-attachment: fixed;
}
h1, h2, h3
{
margin: 0;
color: #549900;
font-family: Segoe UI Light,Tahoma, Geneva, sans-serif;
text-transform: lowercase;
}
h1
{
font-size: 52px;
@ -47,10 +41,6 @@ ul, ol
{
}
blockquote
{
}
a
{
color: #065EFE;
@ -66,60 +56,17 @@ a img
border: none;
}
img.left
{
float: left;
margin: 7px 30px 0 0;
}
img.right
{
float: right;
margin: 7px 0 0 30px;
}
hr
{
display: none;
}
.list1
{
}
.list1 li
{
float: left;
line-height: normal;
}
.list1 li img
{
margin: 0 30px 30px 0;
}
.list1 li.alt img
{
margin-right: 0;
}
#wrapper
{
}
/* Header */
#header
{
width: 950px;
height: 70px;
margin: 0px auto;
}
/* Menu */
#menu
{
height: 60px;
}
#menu ul
@ -167,10 +114,6 @@ hr
color: #FFFFFF;
}
#menu .first
{
}
/* Page */
@ -180,94 +123,29 @@ hr
overflow: hidden;
background-color: White;
padding: 10px 20px 20px 20px;
width: 910px;
}
#centered
{
margin-right: auto;
width: 910px;
margin-left: auto;
}
/** LOGO */
#logo
{
width: 950px;
font-family: Segoe UI Light, Tahoma, Geneva, sans-serif;
height: 135px;
margin: 0 auto;
background: url(images/img03.jpg) no-repeat left top;
}
#logo h1, #logo p
{
margin: 0px;
line-height: normal;
text-transform: lowercase;
font-weight: lighter;
font-size: 90px;
color: #FFFFFF;
}
#logo p
{
margin-top: -4px;
padding: 0px 0px 0px 120px;
text-transform: lowercase;
font-size: 13px;
color: #3E81FB;
}
#logo h1
{
padding: 0px 0px 0px 120px;
letter-spacing: -1px;
font-size: 90px;
}
#logo h1 a
{
text-decoration: none;
color: #FFFFFF;
}
#logo a
{
text-decoration: none;
color: #3E81FB;
}
#banner
{
padding-bottom: 20px;
}
/* Content */
#content
{
background: #FFFFFF no-repeat;
float: left;
width: 100%;
padding: 0px 30px 20px 30px;
}
/* Footer */
#footer
{
width: 920px;
height: 100px;
margin: 0 auto;
padding: 0;
}
#footer p
{
margin: 0;
padding: 30px 0px 0px 0px;
text-align: center;
line-height: normal;
font-size: 11px;
}
#footer a
{
padding-left: 120px;
}
.stackframe

@ -1,7 +1,7 @@
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<%@ Import Namespace="Helpers" %>
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@ -19,29 +19,24 @@
<a href="http://github.com/kayone/NzbDrone">
<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" />
</a>
<div id="msgBox" style="visibility: hidden">
<span id="msgText">Scanning Series Folder...</span>
</div>
<div id="header">
<div id="centered">
<div id="menu">
<ul>
<%=Html.CurrentActionLink("Series", "Index", "Series") %>
<%=Html.CurrentActionLink("Settings", "Index", "Settings") %>
<%=Html.CurrentActionLink("Logs", "Index", "Log") %>
<%: MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series")) %>
<%: MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))%>
<%: MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))%>
</ul>
</div>
<!-- end #menu -->
</div>
<!-- end #header -->
<div id="logo">
<h1>
<div id="logo">
<asp:ContentPlaceHolder ID="TitleContent" runat="server" />
</h1>
</div>
<hr />
<div id="page">
<asp:ContentPlaceHolder ID="ActionMenu" runat="server" />
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div id="page">
<asp:ContentPlaceHolder ID="ActionMenu" runat="server" />
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
<div id="msgBox">
<span id="msgText">Scanning Series Folder...</span>
</div>
</div>
</body>
<asp:contentplaceholder runat="server" id="Scripts" />

Loading…
Cancel
Save