mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Updated the theme page CSS.
--HG-- branch : dev
This commit is contained in:
@@ -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;}
|
||||
|
@@ -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>
|
@@ -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) {
|
||||
|
@@ -141,6 +141,8 @@ h4 img, h5 img, h6 img {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.smallText {font-size:1em; line-height:1.4em;}
|
||||
|
||||
|
||||
/* Layout
|
||||
|
||||
|
Reference in New Issue
Block a user