mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +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" -->
|
<!-- edit "shape" -->
|
||||||
<Place Content_PublishButton="Sidebar:20"/>
|
<Place Content_PublishButton="Sidebar:20"/>
|
||||||
<Place Content_SaveButton="Sidebar:22"/>
|
<Place Content_SaveButton="Sidebar:23"/>
|
||||||
<Match DisplayType="Detail">
|
<Match DisplayType="Detail">
|
||||||
<Place Parts_Contents_Publish="Content:5"/>
|
<Place Parts_Contents_Publish="Content:5"/>
|
||||||
</Match>
|
</Match>
|
||||||
|
@@ -6,14 +6,14 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div class="edit-item-secondary">
|
<div class="edit-item-secondary group">
|
||||||
@if (Model.Actions != null) {
|
@if (Model.Actions != null) {
|
||||||
<div class="edit-item-actions">
|
<div class="edit-item-actions">
|
||||||
@Display(Model.Actions)
|
@Display(Model.Actions)
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@if (Model.Sidebar != null) {
|
@if (Model.Sidebar != null) {
|
||||||
<div class="edit-item-sidebar">
|
<div class="edit-item-sidebar group">
|
||||||
@Display(Model.Sidebar)
|
@Display(Model.Sidebar)
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
-->
|
-->
|
||||||
<!-- edit shape just get default placement -->
|
<!-- edit shape just get default placement -->
|
||||||
<!-- edit "shape" -->
|
<!-- 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 -->
|
<!-- default positioning -->
|
||||||
<Match DisplayType="SummaryAdmin">
|
<Match DisplayType="SummaryAdmin">
|
||||||
<Place Parts_PublishLater_Metadata_SummaryAdmin="Meta:1"/>
|
<Place Parts_PublishLater_Metadata_SummaryAdmin="Meta:1"/>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
Style.Require("jQueryUI_DatePicker");
|
Style.Require("jQueryUI_DatePicker");
|
||||||
}
|
}
|
||||||
<fieldset class="publish-later-datetime">
|
<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>
|
<label class="forpicker" for="@ViewData.TemplateInfo.GetFullHtmlFieldId("ScheduledPublishDate")">@T("Date")</label>
|
||||||
@Html.EditorFor(m => m.ScheduledPublishDate)
|
@Html.EditorFor(m => m.ScheduledPublishDate)
|
||||||
<label class="forpicker" for="@ViewData.TemplateInfo.GetFullHtmlFieldId("ScheduledPublishTime")">@T("Time")</label>
|
<label class="forpicker" for="@ViewData.TemplateInfo.GetFullHtmlFieldId("ScheduledPublishTime")">@T("Time")</label>
|
||||||
|
@@ -454,7 +454,7 @@ span.message {
|
|||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
form { margin: 0; padding: 0; }
|
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; }
|
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 { font-weight: normal; display:block; padding: 0 0 0.3em 0; }
|
||||||
label.forcheckbox { margin:0 0 0 .4em; display:inline; }
|
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;
|
background:#F5F5F5;
|
||||||
border:1px solid #999;
|
border:1px solid #999;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
/*min-width:80px;*/
|
|
||||||
padding: 0 12px 2px 12px;
|
padding: 0 12px 2px 12px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|
||||||
@@ -877,6 +876,33 @@ table .button {
|
|||||||
margin:0 0 -.4em;
|
margin:0 0 -.4em;
|
||||||
}
|
}
|
||||||
/* Core Contents and Orchard.PublishLater */
|
/* 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 {
|
fieldset.save-button {
|
||||||
clear:none;
|
clear:none;
|
||||||
float:left;
|
float:left;
|
||||||
@@ -886,10 +912,9 @@ fieldset.save-button {
|
|||||||
fieldset.publish-later-datetime {
|
fieldset.publish-later-datetime {
|
||||||
clear:none;
|
clear:none;
|
||||||
float:left;
|
float:left;
|
||||||
min-width:13.6em;
|
margin: 0 0 0 12px;
|
||||||
padding-left:6px;
|
padding:0 0 0 12px;
|
||||||
padding-right:0;
|
border-left:1px solid #ccc;
|
||||||
width:50%;
|
|
||||||
}
|
}
|
||||||
fieldset.publish-later-datetime legend {
|
fieldset.publish-later-datetime legend {
|
||||||
display:none;
|
display:none;
|
||||||
|
Reference in New Issue
Block a user