mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Added some styes for the publish and save UI.
--HG-- branch : dev
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
-->
|
||||
<!-- edit "shape" -->
|
||||
<Place Content_PublishButton="Sidebar:20"/>
|
||||
<Place Content_SaveButton="Sidebar:22"/>
|
||||
<Place Content_SaveButton="Sidebar:23"/>
|
||||
<Match DisplayType="Detail">
|
||||
<Place Parts_Contents_Publish="Content:5"/>
|
||||
</Match>
|
||||
|
@@ -6,14 +6,14 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="edit-item-secondary">
|
||||
<div class="edit-item-secondary group">
|
||||
@if (Model.Actions != null) {
|
||||
<div class="edit-item-actions">
|
||||
@Display(Model.Actions)
|
||||
</div>
|
||||
}
|
||||
@if (Model.Sidebar != null) {
|
||||
<div class="edit-item-sidebar">
|
||||
<div class="edit-item-sidebar group">
|
||||
@Display(Model.Sidebar)
|
||||
</div>
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
-->
|
||||
<!-- edit shape just get default placement -->
|
||||
<!-- edit "shape" -->
|
||||
<Place Parts_PublishLater_Edit="Sidebar:23"/><!-- immediately following the contents module's save button -->
|
||||
<Place Parts_PublishLater_Edit="Sidebar:22"/><!-- immediately following the contents module's save button -->
|
||||
<!-- default positioning -->
|
||||
<Match DisplayType="SummaryAdmin">
|
||||
<Place Parts_PublishLater_Metadata_SummaryAdmin="Meta:1"/>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
Style.Require("jQueryUI_DatePicker");
|
||||
}
|
||||
<fieldset class="publish-later-datetime">
|
||||
<legend>@T("Publish Settings")</legend>
|
||||
<legend>@T("Publish")</legend>
|
||||
<label class="forpicker" for="@ViewData.TemplateInfo.GetFullHtmlFieldId("ScheduledPublishDate")">@T("Date")</label>
|
||||
@Html.EditorFor(m => m.ScheduledPublishDate)
|
||||
<label class="forpicker" for="@ViewData.TemplateInfo.GetFullHtmlFieldId("ScheduledPublishTime")">@T("Time")</label>
|
||||
|
@@ -454,7 +454,7 @@ span.message {
|
||||
***************************************************************/
|
||||
|
||||
form { margin: 0; padding: 0; }
|
||||
legend { font-size: 1.231em; font-weight: normal; margin: 0 0 1.2em 0; border:none; }
|
||||
legend { font-size: 1.231em; font-weight: normal; border:none; }
|
||||
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #dbdbdb; }
|
||||
label { font-weight: normal; display:block; padding: 0 0 0.3em 0; }
|
||||
label.forcheckbox { margin:0 0 0 .4em; display:inline; }
|
||||
@@ -591,7 +591,6 @@ input[type="submit"], input[type="reset"], input[type="button"], button, .button
|
||||
background:#F5F5F5;
|
||||
border:1px solid #999;
|
||||
cursor:pointer;
|
||||
/*min-width:80px;*/
|
||||
padding: 0 12px 2px 12px;
|
||||
text-align:center;
|
||||
|
||||
@@ -877,6 +876,33 @@ table .button {
|
||||
margin:0 0 -.4em;
|
||||
}
|
||||
/* Core Contents and Orchard.PublishLater */
|
||||
|
||||
|
||||
.edit-item-sidebar
|
||||
{
|
||||
border:1px solid #d3d3d3;
|
||||
padding:6px;
|
||||
|
||||
/*CSS3 properties*/
|
||||
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#f7f7f7', endColorstr='#f5f5f5');
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7f7), to(#f5f5f5));
|
||||
background: -moz-linear-gradient(top, #f7f7f7, #f5f5f5);
|
||||
/*box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.2);
|
||||
-webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.2);
|
||||
-moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.2);*/
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
|
||||
.edit-item-sidebar fieldset {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
fieldset.publish-button {
|
||||
float:left;
|
||||
}
|
||||
fieldset.save-button {
|
||||
clear:none;
|
||||
float:left;
|
||||
@@ -886,10 +912,9 @@ fieldset.save-button {
|
||||
fieldset.publish-later-datetime {
|
||||
clear:none;
|
||||
float:left;
|
||||
min-width:13.6em;
|
||||
padding-left:6px;
|
||||
padding-right:0;
|
||||
width:50%;
|
||||
margin: 0 0 0 12px;
|
||||
padding:0 0 0 12px;
|
||||
border-left:1px solid #ccc;
|
||||
}
|
||||
fieldset.publish-later-datetime legend {
|
||||
display:none;
|
||||
|
Reference in New Issue
Block a user