Added text-box classes to menu fields.

--HG--
branch : dev
This commit is contained in:
jowall
2011-03-24 17:21:03 -07:00
parent 22b3b566d0
commit 075152b2de
3 changed files with 12 additions and 3 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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;
} }