mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
A bit of CSS cleanup and reorg
--HG-- branch : dev
This commit is contained in:
@@ -122,6 +122,7 @@
|
|||||||
<Content Include="Scripts\jquery.ui.widget.js" />
|
<Content Include="Scripts\jquery.ui.widget.js" />
|
||||||
<Content Include="Scripts\jquery.utils.js" />
|
<Content Include="Scripts\jquery.utils.js" />
|
||||||
<Content Include="Scripts\ui.timepickr.js" />
|
<Content Include="Scripts\ui.timepickr.js" />
|
||||||
|
<Content Include="Styles\admin.css" />
|
||||||
<Content Include="Styles\archives.css" />
|
<Content Include="Styles\archives.css" />
|
||||||
<Content Include="Styles\datetime.css" />
|
<Content Include="Styles\datetime.css" />
|
||||||
<Content Include="Styles\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
<Content Include="Styles\images\ui-bg_flat_0_aaaaaa_40x100.png" />
|
||||||
|
3
src/Orchard.Web/Modules/Orchard.Blogs/Styles/admin.css
Normal file
3
src/Orchard.Web/Modules/Orchard.Blogs/Styles/admin.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.blogdescription {
|
||||||
|
margin-top:1em;
|
||||||
|
}
|
@@ -2,9 +2,7 @@
|
|||||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||||
<h1 class="withActions">
|
<h1><a href="<%=Url.BlogForAdmin(Model.Item.Slug) %>"><%=Html.TitleForPage(Model.Item.Name) %></a></h1>
|
||||||
<a href="<%=Url.BlogForAdmin(Model.Item.Slug) %>"><%=Html.TitleForPage(Model.Item.Name) %></a>
|
|
||||||
</h1>
|
|
||||||
<% Html.Zone("manage"); %><%--
|
<% Html.Zone("manage"); %><%--
|
||||||
<form>
|
<form>
|
||||||
<div class="actions bulk">
|
<div class="actions bulk">
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
<a href="<%=Url.BlogPostCreate(Model.Item) %>" title="<%=_Encoded("New Post") %>"><%=_Encoded("New Post") %></a><%=_Encoded(" | ")%>
|
<a href="<%=Url.BlogPostCreate(Model.Item) %>" title="<%=_Encoded("New Post") %>"><%=_Encoded("New Post") %></a><%=_Encoded(" | ")%>
|
||||||
<a href="<%=Url.BlogEdit(Model.Item.Slug) %>" title="<%=_Encoded("Settings") %>"><%=_Encoded("Settings") %></a><%=_Encoded(" | ")%>
|
<a href="<%=Url.BlogEdit(Model.Item.Slug) %>" title="<%=_Encoded("Settings") %>"><%=_Encoded("Settings") %></a><%=_Encoded(" | ")%>
|
||||||
<%-- todo: (heskew) this is waaaaa too verbose. need template helpers for all ibuttons --%>
|
<%-- todo: (heskew) this is waaaaa too verbose. need template helpers for all ibuttons --%>
|
||||||
<% using (Html.BeginFormAntiForgeryPost(Url.BlogDelete(Model.Item.Slug), FormMethod.Post, new { @class = "inline" })) { %>
|
<% using (Html.BeginFormAntiForgeryPost(Url.BlogDelete(Model.Item.Slug), FormMethod.Post, new { @class = "inline link" })) { %>
|
||||||
<button type="submit" class="linkButton" title="<%=_Encoded("Remove") %>"><%=_Encoded("Remove") %></button><%
|
<button type="submit" title="<%=_Encoded("Remove") %>"><%=_Encoded("Remove") %></button><%
|
||||||
} %>
|
} %>
|
||||||
</div>
|
</div>
|
||||||
<div class="properties">
|
<div class="properties">
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<%@ Import Namespace="Orchard.Blogs"%>
|
<%@ Import Namespace="Orchard.Blogs"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.Models"%><%
|
<%@ Import Namespace="Orchard.Blogs.Models"%><%
|
||||||
|
Html.RegisterStyle("admin.css");
|
||||||
if (AuthorizedFor(Permissions.ManageBlogs)) { %>
|
if (AuthorizedFor(Permissions.ManageBlogs)) { %>
|
||||||
<div class="folderProperties">
|
<div class="folderProperties">
|
||||||
<p><a href="<%=Url.BlogEdit(Model.Slug) %>" class="edit"><%=_Encoded("Edit") %></a></p>
|
<p><a href="<%=Url.BlogEdit(Model.Slug) %>" class="edit"><%=_Encoded("Edit") %></a></p>
|
||||||
|
@@ -93,6 +93,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Content\Admin\images\folder.gif" />
|
<Content Include="Content\Admin\images\folder.gif" />
|
||||||
<Content Include="Module.txt" />
|
<Content Include="Module.txt" />
|
||||||
|
<Content Include="Styles\admin.css" />
|
||||||
<Content Include="Views\Admin\Add.aspx" />
|
<Content Include="Views\Admin\Add.aspx" />
|
||||||
<Content Include="Views\Admin\Create.aspx" />
|
<Content Include="Views\Admin\Create.aspx" />
|
||||||
<Content Include="Views\Admin\Edit.aspx" />
|
<Content Include="Views\Admin\Edit.aspx" />
|
||||||
|
7
src/Orchard.Web/Modules/Orchard.Media/Styles/admin.css
Normal file
7
src/Orchard.Web/Modules/Orchard.Media/Styles/admin.css
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
.breadCrumbs, .folderProperties {
|
||||||
|
float:left;
|
||||||
|
margin:-2em 0 0;
|
||||||
|
}
|
||||||
|
.folderProperties {
|
||||||
|
float:right;
|
||||||
|
}
|
@@ -1,7 +1,8 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaItemAddViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaItemAddViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
||||||
<%@ Import Namespace="Orchard.Media.Models"%>
|
<%@ Import Namespace="Orchard.Media.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Media.ViewModels"%>
|
<%@ Import Namespace="Orchard.Media.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Add Media").ToString()) %></h1>
|
<h1><%=Html.TitleForPage(T("Add Media").ToString()) %></h1>
|
||||||
<div class="breadCrumbs">
|
<div class="breadCrumbs">
|
||||||
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index") %> >
|
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index") %> >
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderCreateViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderCreateViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
||||||
<%@ Import Namespace="Orchard.Media.Models"%>
|
<%@ Import Namespace="Orchard.Media.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Media.ViewModels"%>
|
<%@ Import Namespace="Orchard.Media.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Add a Folder").ToString()) %></h1>
|
<h1><%=Html.TitleForPage(T("Add a Folder").ToString()) %></h1>
|
||||||
<div class="breadCrumbs">
|
<div class="breadCrumbs">
|
||||||
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index") %> >
|
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index") %> >
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderEditViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderEditViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Media.Models"%>
|
<%@ Import Namespace="Orchard.Media.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
||||||
<%@ Import Namespace="Orchard.Media.ViewModels"%>
|
<%@ Import Namespace="Orchard.Media.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Manage Folder").ToString())%></h1>
|
<h1><%=Html.TitleForPage(T("Manage Folder").ToString())%></h1>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaItemEditViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaItemEditViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Media.Models"%>
|
<%@ Import Namespace="Orchard.Media.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
||||||
<%@ Import Namespace="Orchard.Media.ViewModels"%>
|
<%@ Import Namespace="Orchard.Media.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Edit Media - {0}", Model.Name).ToString())%></h1>
|
<h1><%=Html.TitleForPage(T("Edit Media - {0}", Model.Name).ToString())%></h1>
|
||||||
|
|
||||||
<div class="breadCrumbs">
|
<div class="breadCrumbs">
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderEditPropertiesViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<MediaFolderEditPropertiesViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
<%@ Import Namespace="Orchard.Media.Helpers"%>
|
||||||
<%@ Import Namespace="Orchard.Media.Models"%>
|
<%@ Import Namespace="Orchard.Media.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Media.ViewModels"%>
|
<%@ Import Namespace="Orchard.Media.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Folder Properties").ToString())%></h1>
|
<h1><%=Html.TitleForPage(T("Folder Properties").ToString())%></h1>
|
||||||
<div class="breadCrumbs">
|
<div class="breadCrumbs">
|
||||||
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index")%> >
|
<p><%=Html.ActionLink(T("Media Folders").ToString(), "Index")%> >
|
||||||
|
@@ -93,6 +93,7 @@
|
|||||||
<Compile Include="ViewModels\PageViewModel.cs" />
|
<Compile Include="ViewModels\PageViewModel.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="Styles\admin.css" />
|
||||||
<Content Include="Content\Admin\images\draft.gif" />
|
<Content Include="Content\Admin\images\draft.gif" />
|
||||||
<Content Include="Content\Admin\images\offline.gif" />
|
<Content Include="Content\Admin\images\offline.gif" />
|
||||||
<Content Include="Content\Admin\images\online.gif" />
|
<Content Include="Content\Admin\images\online.gif" />
|
||||||
|
19
src/Orchard.Web/Modules/Orchard.Pages/Styles/admin.css
Normal file
19
src/Orchard.Web/Modules/Orchard.Pages/Styles/admin.css
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
.pageList {
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
/*background:#FFFFFF url(images/backgroundGradient.gif) repeat-x scroll left top;*/
|
||||||
|
}
|
||||||
|
.orchard-pages .contentItems {
|
||||||
|
margin:.5em 0 0;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
.contentItems .properties ul {
|
||||||
|
margin:0.8em 0 0 2em;
|
||||||
|
}
|
||||||
|
.contentItems .properties ul li {
|
||||||
|
margin:0;
|
||||||
|
padding:0 0 .1em 0;
|
||||||
|
}
|
||||||
|
.properties h3 {
|
||||||
|
display:inline;
|
||||||
|
}
|
@@ -3,7 +3,8 @@
|
|||||||
<%@ Import Namespace="Orchard.ContentManagement"%>
|
<%@ Import Namespace="Orchard.ContentManagement"%>
|
||||||
<%@ Import Namespace="Orchard.Core.Common.Models"%>
|
<%@ Import Namespace="Orchard.Core.Common.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||||
<%@ Import Namespace="Orchard.Pages.ViewModels"%>
|
<%@ Import Namespace="Orchard.Pages.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Manage Pages").ToString())%></h1>
|
<h1><%=Html.TitleForPage(T("Manage Pages").ToString())%></h1>
|
||||||
<%-- todo: Add helper text here when ready. <p><%=_Encoded("Possible text about setting up a page goes here.")%></p>--%>
|
<%-- todo: Add helper text here when ready. <p><%=_Encoded("Possible text about setting up a page goes here.")%></p>--%>
|
||||||
<div class="manage"><%=Html.ActionLink(T("Add a page").ToString(), "Create", new { }, new { @class = "button primaryAction" })%></div><%
|
<div class="manage"><%=Html.ActionLink(T("Add a page").ToString(), "Create", new { }, new { @class = "button primaryAction" })%></div><%
|
||||||
|
@@ -88,6 +88,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Content\orchard.ico" />
|
<Content Include="Content\orchard.ico" />
|
||||||
<Content Include="Scripts\base.js" />
|
<Content Include="Scripts\base.js" />
|
||||||
|
<Content Include="Styles\admin.css" />
|
||||||
<Content Include="Styles\Images\toolBarActiveButtonBackground.gif" />
|
<Content Include="Styles\Images\toolBarActiveButtonBackground.gif" />
|
||||||
<Content Include="Styles\Images\toolBarBackground.gif" />
|
<Content Include="Styles\Images\toolBarBackground.gif" />
|
||||||
<Content Include="Styles\Images\toolBarHoverButtonBackground.gif" />
|
<Content Include="Styles\Images\toolBarHoverButtonBackground.gif" />
|
||||||
|
38
src/Orchard.Web/Modules/Orchard.Themes/Styles/admin.css
Normal file
38
src/Orchard.Web/Modules/Orchard.Themes/Styles/admin.css
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
#main .templates p {
|
||||||
|
margin:0 0 .3em 0;
|
||||||
|
}
|
||||||
|
.templates li {
|
||||||
|
margin:.8em;
|
||||||
|
width:30%;
|
||||||
|
display: -moz-inline-stack;
|
||||||
|
display:inline-block;
|
||||||
|
vertical-align:top;
|
||||||
|
zoom:1;
|
||||||
|
*display: inline;
|
||||||
|
}
|
||||||
|
.templates .inline button {
|
||||||
|
font-size:1.2em;
|
||||||
|
}
|
||||||
|
.templates .wasFormInlineLink {
|
||||||
|
font-size:1.4em;
|
||||||
|
}
|
||||||
|
.templates p {
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
.templates img, .themePreviewImage {
|
||||||
|
border:1px solid #e8e8e8;
|
||||||
|
height:200px;
|
||||||
|
margin:.27em 0 .93em 0;
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
.previewImage {
|
||||||
|
border:1px solid #525e50;
|
||||||
|
height:50%;
|
||||||
|
width:50%;
|
||||||
|
}
|
||||||
|
.themes #main h2 {
|
||||||
|
margin:1em 0 0 0;
|
||||||
|
}
|
||||||
|
.themePreviewImage {
|
||||||
|
height:300px;
|
||||||
|
}
|
@@ -1,6 +1,7 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<ThemesIndexViewModel>" %>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<ThemesIndexViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||||
<%@ Import Namespace="Orchard.Themes.ViewModels"%>
|
<%@ Import Namespace="Orchard.Themes.ViewModels"%><%
|
||||||
|
Html.RegisterStyle("admin.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Manage Themes").ToString()) %></h1>
|
<h1><%=Html.TitleForPage(T("Manage Themes").ToString()) %></h1>
|
||||||
<% if (Model.CurrentTheme == null) {
|
<% if (Model.CurrentTheme == null) {
|
||||||
%><p><%=_Encoded("There is no current theme in the application. The built-in theme will be used.")
|
%><p><%=_Encoded("There is no current theme in the application. The built-in theme will be used.")
|
||||||
|
@@ -1 +1,7 @@
|
|||||||
|
.contentItems {
|
||||||
|
/* need an alternative to:
|
||||||
|
box-shadow:inset 0 1px 2px #878686;
|
||||||
|
-moz-box-shadow:inset 0 1px 3px #878686;
|
||||||
|
-webkit-box-shadow:inset 0 1px 2px #878686;
|
||||||
|
*/
|
||||||
|
}
|
@@ -40,7 +40,6 @@ table {
|
|||||||
}
|
}
|
||||||
/* end: reset */
|
/* end: reset */
|
||||||
|
|
||||||
|
|
||||||
/* Base setup
|
/* Base setup
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
html {
|
html {
|
||||||
@@ -56,7 +55,6 @@ body {
|
|||||||
min-width:94.6em; /* 946px */
|
min-width:94.6em; /* 946px */
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
/*todo: (heskew) find out why I need this...*/
|
|
||||||
button {
|
button {
|
||||||
font-family:Segoe UI,Trebuchet,Arial,Sans-Serif;
|
font-family:Segoe UI,Trebuchet,Arial,Sans-Serif;
|
||||||
font-size:1.01em;
|
font-size:1.01em;
|
||||||
@@ -68,7 +66,6 @@ body#preview {
|
|||||||
background:#fcfcfc;
|
background:#fcfcfc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Layout
|
/* Layout
|
||||||
|
|
||||||
number of columns: 24; actual width: 946; column width: 26; gutter width:14
|
number of columns: 24; actual width: 946; column width: 26; gutter width:14
|
||||||
@@ -232,7 +229,6 @@ form.link button:hover {
|
|||||||
color:#ffea9b;
|
color:#ffea9b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Navigation
|
/* Navigation
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
#navshortcut {
|
#navshortcut {
|
||||||
@@ -276,7 +272,6 @@ form.link button:hover {
|
|||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Content
|
/* Content
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
#main h1 {
|
#main h1 {
|
||||||
@@ -325,7 +320,6 @@ span.message {
|
|||||||
.message a {
|
.message a {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.confirmation.message {
|
.confirmation.message {
|
||||||
background:#D1F2A5; /* green */
|
background:#D1F2A5; /* green */
|
||||||
border:1px solid #BCD994;
|
border:1px solid #BCD994;
|
||||||
@@ -358,7 +352,6 @@ span.message {
|
|||||||
content:"DEBUG » ";
|
content:"DEBUG » ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Forms
|
/* Forms
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
form.inline, form.inline fieldset { /* todo: (heskew) need something other than .inline ... */
|
form.inline, form.inline fieldset { /* todo: (heskew) need something other than .inline ... */
|
||||||
@@ -381,7 +374,7 @@ legend span {
|
|||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
display: block;
|
display:block;
|
||||||
color:#4c4c4c;
|
color:#4c4c4c;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
@@ -401,9 +394,6 @@ label input {
|
|||||||
.hint {
|
.hint {
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
.hint.forcheckbox {
|
|
||||||
text-indent:3ex; /* todo: (heskew) this might look out of place */
|
|
||||||
}
|
|
||||||
/* todo: (heskew) try to get .text on stuff like .text-box */
|
/* todo: (heskew) try to get .text on stuff like .text-box */
|
||||||
select, textarea, input.text, input.textMedium, input.text-box {
|
select, textarea, input.text, input.textMedium, input.text-box {
|
||||||
padding:2px;
|
padding:2px;
|
||||||
@@ -422,18 +412,6 @@ input.check-box {
|
|||||||
margin-left:0;
|
margin-left:0;
|
||||||
vertical-align:-.1em;
|
vertical-align:-.1em;
|
||||||
}
|
}
|
||||||
.permalink input {
|
|
||||||
background:transparent;
|
|
||||||
border-color:#EAE9D9;
|
|
||||||
border-style:dashed;
|
|
||||||
margin-left:0;
|
|
||||||
width:350px;
|
|
||||||
}
|
|
||||||
.permalink input:focus {
|
|
||||||
background:#FFF;
|
|
||||||
border-color:#666d51;
|
|
||||||
border-style:solid;
|
|
||||||
}
|
|
||||||
input.large.text, textarea, fieldset {
|
input.large.text, textarea, fieldset {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
@@ -441,21 +419,6 @@ fieldset {
|
|||||||
margin:0 0 1.3em 0;
|
margin:0 0 1.3em 0;
|
||||||
padding:6px 0 0;
|
padding:6px 0 0;
|
||||||
}
|
}
|
||||||
/* Settings page styles */
|
|
||||||
.settings fieldset {
|
|
||||||
margin:.5em 0;
|
|
||||||
padding:1em;
|
|
||||||
}
|
|
||||||
.orchard-media fieldset div, .settings fieldset div, .orchard-media .button, .settings .button {
|
|
||||||
margin:1em 0 .5em 1em;
|
|
||||||
}
|
|
||||||
.settings legend {
|
|
||||||
margin:0 0 -.4em 0;
|
|
||||||
}
|
|
||||||
/* todo: This style is the same as textMedium. Consolidate if possible */
|
|
||||||
.settings input.text, .settings input.text-box {
|
|
||||||
width:26em;
|
|
||||||
}
|
|
||||||
textarea {
|
textarea {
|
||||||
min-height:8em;
|
min-height:8em;
|
||||||
}
|
}
|
||||||
@@ -542,9 +505,8 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
|
|||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.actions {
|
.actions {
|
||||||
height:2em;
|
clear:right;
|
||||||
overflow:hidden;
|
padding:0;
|
||||||
padding:.6em 0 .1em;
|
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
.contentItems .actions li {
|
.contentItems .actions li {
|
||||||
@@ -608,58 +570,6 @@ button.ibutton {
|
|||||||
.ibutton.blog:hover, .ibutton.blog:active, .ibutton.blog:focus { background-position:-120px 0; }
|
.ibutton.blog:hover, .ibutton.blog:active, .ibutton.blog:focus { background-position:-120px 0; }
|
||||||
|
|
||||||
|
|
||||||
/* todo: (heskew) needs attention */
|
|
||||||
.withActions {
|
|
||||||
overflow:hidden;
|
|
||||||
}
|
|
||||||
.withActions a {
|
|
||||||
display:inline;
|
|
||||||
float:left;
|
|
||||||
margin-right:7px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Content item lists
|
|
||||||
----------------------------------------------------------*/
|
|
||||||
.contentItems {
|
|
||||||
background:#FFF;
|
|
||||||
box-shadow:inset 0 1px 2px #878686;
|
|
||||||
-moz-box-shadow:inset 0 1px 3px #878686;
|
|
||||||
-webkit-box-shadow:inset 0 1px 2px #878686;
|
|
||||||
margin:1.4em 0;
|
|
||||||
padding:2px;
|
|
||||||
}
|
|
||||||
.contentItems li {
|
|
||||||
border-bottom:1px solid #eaeaea;
|
|
||||||
margin:0;
|
|
||||||
overflow:hidden;
|
|
||||||
padding:0 1.4em .8em;
|
|
||||||
}
|
|
||||||
.contentItems li.last {
|
|
||||||
border-bottom:0;
|
|
||||||
}
|
|
||||||
#main .contentItems li .actions {
|
|
||||||
color:#EAE9D9;
|
|
||||||
height:auto;
|
|
||||||
margin:-1.3em 0 0;
|
|
||||||
padding:0 0 .1em;
|
|
||||||
}
|
|
||||||
#main .contentItems li .actions .ibutton {
|
|
||||||
margin-right:6px;
|
|
||||||
}
|
|
||||||
#main .contentItems li .actions .destruct .ibutton {
|
|
||||||
margin-left:8px;
|
|
||||||
margin-right:0;
|
|
||||||
}
|
|
||||||
#main .contentItems li:hover .ibutton { background-position:0 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.remove { background-position:-20px 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.view { background-position:-40px 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.add.page { background-position:-60px 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.edit { background-position:-80px 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.publish { background-position:-100px 0; }
|
|
||||||
#main .contentItems li:hover .ibutton.blog { background-position:-120px 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* (Items) Tables
|
/* (Items) Tables
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
table.items {
|
table.items {
|
||||||
@@ -715,170 +625,106 @@ table .button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* MISC.
|
/* Content item lists
|
||||||
todo: (heskew) pull out into relevant modules where appropriate
|
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
|
.contentItems {
|
||||||
/* Pages
|
background:#FFF;
|
||||||
----------------------------------------------------------*/
|
box-shadow:inset 0 1px 2px #878686;
|
||||||
#main .templates p {
|
-moz-box-shadow:inset 0 1px 3px #878686;
|
||||||
margin:0 0 .3em 0;
|
-webkit-box-shadow:inset 0 1px 2px #878686;
|
||||||
|
clear:both;
|
||||||
|
margin:1.4em 0;
|
||||||
}
|
}
|
||||||
.templates li {
|
.contentItems li {
|
||||||
margin:.8em;
|
border-bottom:1px solid #eaeaea;
|
||||||
width:30%;
|
margin:0;
|
||||||
display: -moz-inline-stack;
|
|
||||||
display:inline-block;
|
|
||||||
vertical-align:top;
|
|
||||||
zoom:1;
|
|
||||||
*display: inline;
|
|
||||||
}
|
|
||||||
.templates .inline button {
|
|
||||||
font-size:1.2em;
|
|
||||||
}
|
|
||||||
.templates .wasFormInlineLink {
|
|
||||||
font-size:1.4em;
|
|
||||||
}
|
|
||||||
.templates p {
|
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
|
padding:0 1.4em .8em;
|
||||||
}
|
}
|
||||||
.templates img, .themePreviewImage {
|
.contentItems li.last {
|
||||||
border:1px solid #e8e8e8;
|
border-bottom:0;
|
||||||
height:200px;
|
|
||||||
margin:.27em 0 .93em 0;
|
|
||||||
display:block;
|
|
||||||
}
|
}
|
||||||
.previewImage {
|
#main .contentItems li .actions {
|
||||||
border:1px solid #525e50;
|
color:#EAE9D9;
|
||||||
height:50%;
|
height:auto;
|
||||||
width:50%;
|
margin:-1.3em 0 0;
|
||||||
|
padding:0 0 .1em;
|
||||||
}
|
}
|
||||||
.themes #main h2 {
|
#main .contentItems li .actions .ibutton {
|
||||||
margin:1em 0 0 0;
|
margin-right:6px;
|
||||||
}
|
}
|
||||||
.themePreviewImage {
|
#main .contentItems li .actions .destruct .ibutton {
|
||||||
height:300px;
|
margin-left:8px;
|
||||||
|
margin-right:0;
|
||||||
}
|
}
|
||||||
|
#main .contentItems li:hover .ibutton { background-position:0 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.remove { background-position:-20px 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.view { background-position:-40px 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.add.page { background-position:-60px 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.edit { background-position:-80px 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.publish { background-position:-100px 0; }
|
||||||
|
#main .contentItems li:hover .ibutton.blog { background-position:-120px 0; }
|
||||||
|
|
||||||
/* Rounded borders and other "works in some browsers" additions
|
.contentItems .summary {
|
||||||
----------------------------------------------------------
|
|
||||||
#content, #navigation li, button, .button,
|
|
||||||
table.items, textarea, input.text, input.text-box,
|
|
||||||
.contentItems, .message, .validation-summary-errors {
|
|
||||||
-moz-border-radius:4px;
|
|
||||||
-webkit-border-radius:4px;
|
|
||||||
border-radius:4px;
|
|
||||||
}
|
|
||||||
#navigation li h4 a {
|
|
||||||
-moz-border-radius:3px 3px 0 0;
|
|
||||||
-webkit-border-radius:3px 3px 0 0;
|
|
||||||
border-radius:3px 3px 0 0;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Added classes for new blog list layout
|
|
||||||
---------------------------------------------------------- */
|
|
||||||
.blogdescription {
|
|
||||||
margin-top:1em;
|
|
||||||
}
|
|
||||||
.summary {
|
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
padding:1.2em .4em;
|
padding:1.2em .4em;
|
||||||
}
|
}
|
||||||
.actions {
|
.contentItems .properties {
|
||||||
clear:right;
|
|
||||||
height:auto;
|
|
||||||
overflow:visible;
|
|
||||||
padding:0;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
.contentItems {
|
|
||||||
clear:both;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
.properties {
|
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
.blogs.contentItems .properties {
|
.contentItems .properties li {
|
||||||
float:none;
|
|
||||||
}
|
|
||||||
#main .contentItems .properties h3 {
|
|
||||||
border-bottom:none;
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
.related{
|
|
||||||
font-size:1.4em;
|
|
||||||
float:right;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
/*todo: (heskew) cleanup */
|
|
||||||
.related .button {
|
|
||||||
font-size:1em;
|
|
||||||
}
|
|
||||||
/*end todo*/
|
|
||||||
.commentcount {
|
|
||||||
line-height:2em;
|
|
||||||
}
|
|
||||||
.contentItems .properties ul li{
|
|
||||||
border:0;
|
border:0;
|
||||||
float:left;
|
float:left;
|
||||||
padding:.8em 0;
|
|
||||||
font-size:1.4em;
|
font-size:1.4em;
|
||||||
background:inherit;
|
padding:.8em 0;
|
||||||
}
|
}
|
||||||
.icon {
|
.contentItems .properties .icon {
|
||||||
margin:0 .2em -.2em .2em;
|
margin:0 .2em -.2em;
|
||||||
}
|
}
|
||||||
h3 .icon {
|
.contentItems .related{
|
||||||
margin-bottom:-.05em;
|
|
||||||
}
|
|
||||||
.linkButton {
|
|
||||||
border:none;
|
|
||||||
padding:0;
|
|
||||||
background:none;
|
|
||||||
color:#1E5D7D;
|
|
||||||
}
|
|
||||||
.linkButton:hover {
|
|
||||||
background-color:Transparent;
|
|
||||||
text-decoration:underline;
|
|
||||||
color:#1E5D7D;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Added classes for new page list layout
|
|
||||||
---------------------------------------------------------- */
|
|
||||||
.pageList {
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
/*background:#FFFFFF url(images/backgroundGradient.gif) repeat-x scroll left top;*/
|
|
||||||
}
|
|
||||||
.orchard-pages .contentItems {
|
|
||||||
margin:.5em 0 0;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
.contentItems .properties ul.pageStatus {
|
|
||||||
margin:0.8em 0 0 2em;
|
|
||||||
}
|
|
||||||
.contentItems .properties ul.pageStatus li {
|
|
||||||
margin:0;
|
|
||||||
padding:0 0 .1em 0;
|
|
||||||
}
|
|
||||||
.properties h3 {
|
|
||||||
display:inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Added classes for media
|
|
||||||
---------------------------------------------------------- */
|
|
||||||
.breadCrumbs, .folderProperties {
|
|
||||||
float:left;
|
|
||||||
margin:-2em 0 0 0;
|
|
||||||
}
|
|
||||||
.folderProperties {
|
|
||||||
float:right;
|
float:right;
|
||||||
|
font-size:1.4em;
|
||||||
|
text-align:right;
|
||||||
|
}
|
||||||
|
.contentItems .commentcount {
|
||||||
|
line-height:2em;
|
||||||
}
|
}
|
||||||
/* ---------- Generic ---------- */
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Core Modules
|
||||||
|
----------------------------------------------------------*/
|
||||||
|
/* Routable */
|
||||||
|
.permalink input {
|
||||||
|
background:transparent;
|
||||||
|
border-color:#EAE9D9;
|
||||||
|
border-style:dashed;
|
||||||
|
margin-left:0;
|
||||||
|
width:350px;
|
||||||
|
}
|
||||||
|
.permalink input:focus {
|
||||||
|
background:#FFF;
|
||||||
|
border-color:#666d51;
|
||||||
|
border-style:solid;
|
||||||
|
}
|
||||||
|
/* Settings */
|
||||||
|
.settings fieldset {
|
||||||
|
margin:.5em 0;
|
||||||
|
padding:1em;
|
||||||
|
}
|
||||||
|
.orchard-media fieldset div, .settings fieldset div, .orchard-media .button, .settings .button {
|
||||||
|
margin:1em 0 .5em 1em;
|
||||||
|
}
|
||||||
|
.settings legend {
|
||||||
|
margin:0 0 -.4em 0;
|
||||||
|
}
|
||||||
|
/* todo: This style is the same as textMedium. Consolidate if possible */
|
||||||
|
.settings input.text, .settings input.text-box {
|
||||||
|
width:26em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------- Generic ---------- */
|
||||||
|
/* todo: needed? */
|
||||||
.clearBoth {
|
.clearBoth {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
Reference in New Issue
Block a user