mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Added text-box classes to menu fields.
--HG-- branch : dev
This commit is contained in:
@@ -8,9 +8,9 @@
|
|||||||
<label for="OnAdminMenu" class="forcheckbox">@T("Show on admin menu")</label>
|
<label for="OnAdminMenu" class="forcheckbox">@T("Show on admin menu")</label>
|
||||||
<div data-controllerid="OnAdminMenu" class="">
|
<div data-controllerid="OnAdminMenu" class="">
|
||||||
<label for="AdminMenuText">@T("Menu text")</label>
|
<label for="AdminMenuText">@T("Menu text")</label>
|
||||||
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "large text" })
|
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "text-box single-line" })
|
||||||
|
|
||||||
<label for="AdminMenuPosition">@T("Position")</label>
|
<label for="AdminMenuPosition">@T("Position")</label>
|
||||||
@Html.TextBoxFor(m => m.AdminMenuPosition)
|
@Html.TextBoxFor(m => m.AdminMenuPosition, new { @class = "text-box single-line" })
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@@ -8,6 +8,6 @@
|
|||||||
<label for="OnMainMenu" class="forcheckbox">@T("Show on main menu")</label>
|
<label for="OnMainMenu" class="forcheckbox">@T("Show on main menu")</label>
|
||||||
<div data-controllerid="OnMainMenu" class="">
|
<div data-controllerid="OnMainMenu" class="">
|
||||||
<label for="MenuText">@T("Menu text")</label>
|
<label for="MenuText">@T("Menu text")</label>
|
||||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "large text" })
|
@Html.TextBoxFor(m => m.MenuText, new { @class = "text-box single-line" })
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@@ -529,6 +529,14 @@ 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; }
|
||||||
|
|
||||||
|
|
||||||
|
/*label { color: #747874;
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight:bold;
|
||||||
|
padding: 0 0 2px;
|
||||||
|
}*/
|
||||||
|
|
||||||
form.inline, form.inline fieldset { /* todo: (heskew) need something other than .inline ... */
|
form.inline, form.inline fieldset { /* todo: (heskew) need something other than .inline ... */
|
||||||
display:inline;
|
display:inline;
|
||||||
}
|
}
|
||||||
@@ -577,6 +585,7 @@ select, textarea, input.text, input.textMedium, input.text-box {
|
|||||||
input.text, input.textMedium, input.text-box {
|
input.text, input.textMedium, input.text-box {
|
||||||
line-height:1.2em;
|
line-height:1.2em;
|
||||||
}
|
}
|
||||||
|
/*Are we using the two classes below?*/
|
||||||
input.text-small {
|
input.text-small {
|
||||||
width:4em;
|
width:4em;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user