Updated the theme page CSS.

--HG--
branch : dev
This commit is contained in:
Jonathan Wall
2011-02-24 14:09:25 -08:00
parent a46736e2f8
commit c2944974f8
4 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +1,4 @@
#main .templates p {
margin:0 0 .3em 0;
}
#currentTheme .themePreviewImage {
#currentTheme .themePreviewImage {
float: left;
margin-right: 20px;
}
@@ -51,6 +48,7 @@
.themePreviewImage {
height:300px;
}
#main .themeInfo {margin:12px 0 0 0;}
/***Recently installed**/
.recentlyInstalledTheme { }
.recentlyInstalledTheme {background:#fff url(images/new.gif) no-repeat 0px 5px;}

View File

@@ -6,13 +6,13 @@
@Html.Image(Href(Html.ThemePath((ExtensionDescriptor)Model.ContentPart.Descriptor, "/Theme.png")), Html.Encode((string)Model.ContentPart.Name), new { @class = "themePreviewImage" })
<div class="details">
@Model.ContentPart.Name<br />
@T("By") @Model.ContentPart.Descriptor.Author<br />
<h4>@Model.ContentPart.Name</h4>
<h5>@T("By") @Model.ContentPart.Descriptor.Author<br />
@T("Version:") @Model.ContentPart.Descriptor.Version<br />
@if (Model.ContentPart.Descriptor.WebSite != null) {
<a href="@Model.ContentPart.Descriptor.WebSite">@Model.ContentPart.Descriptor.WebSite</a><br />
}
<br />
<p>@Model.ContentPart.Descriptor.Description</p>
}</h5>
<p class="themeInfo">@Model.ContentPart.Descriptor.Description</p>
</div>
</div>

View File

@@ -19,8 +19,8 @@
<button type="submit" title="@T("Preview")">@T("Preview")</button>
}
<h5>@T("By") @Model.ContentPart.Descriptor.Author</h5>
<p>
<p class="themeInfo smallText">
@T("By") @Model.ContentPart.Descriptor.Author<br />
@T("Version:") @Model.ContentPart.Descriptor.Version<br />
@Model.ContentPart.Descriptor.Description<br />
@if (Model.ContentPart.Descriptor.WebSite != null) {

View File

@@ -141,6 +141,8 @@ h4 img, h5 img, h6 img {
margin: 0;
}
.smallText {font-size:1em; line-height:1.4em;}
/* Layout