Resolved CSS spacing issues related to the SQL Server options in Add Multi-Tenant UI.

--HG--
branch : dev
This commit is contained in:
Michael Dorian Bach
2010-07-29 17:27:43 -07:00
parent ac38c496cf
commit 7baf7c663e
3 changed files with 36 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
.tenantHost {
font-size: .8em;
font-size: .8em;
}

View File

@@ -28,16 +28,18 @@
<div>
<%: Html.RadioButtonFor(svm => svm.DataProvider, "SqlServer", new { id = "sqlDatabaseOption" })%>
<label for="sqlDatabaseOption" class="forcheckbox"><%: T("Use an existing SQL Server (or SQL Express) database") %></label>
<div class="options">
<span data-controllerid="sqlDatabaseOption">
<label for="DatabaseConnectionString"><%: T("Connection string") %></label>
<%: Html.EditorFor(svm => svm.DatabaseConnectionString)%>
<span class="hint"><%: T("Example:") %><br /><%: T("Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User ID=userName;Password=password") %></span>
<span class="hint"><%: T("Example:") %> <%: T("Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User ID=userName;Password=password") %></span>
</span>
<span data-controllerid="sqlDatabaseOption">
<label for="DatabaseTablePrefix"><%: T("Database Table Prefix") %></label>
<%: Html.EditorFor(svm => svm.DatabaseTablePrefix)%>
</span>
</div>
</div>
</fieldset>
<fieldset>
<input type="submit" class="button primaryAction" value="<%: T("Save") %>" />

View File

@@ -590,6 +590,28 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
margin-left:.3em;
}
.options
{
margin: 12px 0px 12px 0px;
}
.options span /* This is just a fix. We need to fix the base HTML */
{
display: block;
margin: 12px 0 0 0;
}
.options span.hint /* This is just a fix. We need to fix the base HTML */
{
display: block;
margin: 0 0 0 0;
}
.options input[type="text"] /* This is just a fix. We need to fix the base HTML */
{
width:26em;
}
/* Icon buttons
----------------------------------------------------------*/