Fixed up markup/CSS for permalink editors...

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043977
This commit is contained in:
skewed
2009-12-14 07:56:38 +00:00
parent 1ca64376d6
commit f7c5d33efc
3 changed files with 20 additions and 27 deletions

View File

@@ -370,6 +370,18 @@ input.text, input.text-box {
select:focus, textarea:focus, input.text:focus, input.text-box:focus {
border-color:#666d51;
}
.permalink input {
background:transparent;
border-color:#EAE9D9;
border-style:dashed;
margin-left:0;
width:350px;
}
.permalink input:focus {
background:#FFF;
border-color:#666d51;
border-style:solid;
}
input.large.text, textarea, fieldset {
clear:both;
}
@@ -508,18 +520,6 @@ a.ibutton.blog:hover, a.ibutton.blog:active, a.ibutton.blog:focus { background-p
/* todo: (heskew) needs attention */
#permalink {
background:transparent;
border-color:#EAE9D9;
border-style:dashed;
margin-left:0;
width:350px;
}
#permalink:focus {
background:#FFF;
border-color:#666d51;
border-style:solid;
}
.withActions {
overflow:hidden;
}
@@ -528,13 +528,6 @@ a.ibutton.blog:hover, a.ibutton.blog:active, a.ibutton.blog:focus { background-p
float:left;
margin-right:7px;
}
input.large.text {
font-size:130%;
font-weight:500;
}
.helperText {
margin:-4px 0 8px 0;
}
/* Content item lists

View File

@@ -5,9 +5,9 @@
<label for="Name">Blog Name</label>
<%=Html.EditorFor(m => m.Name) %>
</fieldset>
<fieldset>
<label class="sub" for="permalink">Permalink: <span><%=Request.Url.ToRootString() %>/</span></label>
<span><%=Html.TextBoxFor(m => m.Slug, new { id = "permalink", @class = "text" })%></span>
<fieldset class="permalink">
<label class="sub" for="Slug">Permalink: <span><%=Request.Url.ToRootString() %>/</span></label>
<span><%=Html.TextBoxFor(m => m.Slug, new { @class = "text" })%></span>
</fieldset>
<fieldset>
<label for="Description">Description</label>

View File

@@ -3,10 +3,10 @@
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.ViewModels"%>
<fieldset>
<label for="title">Title</label>
<span><%=Html.TextBoxFor(m => m.Title, new { id = "title", @class = "large text" })%></span>
<label for="Title">Title</label>
<span><%=Html.TextBoxFor(m => m.Title, new { @class = "large text" })%></span>
</fieldset>
<fieldset>
<label class="sub" for="permalink">Permalink<br /><span><%=Request.Url.ToRootString() %>/<%=Model.Blog.Slug %>/</span></label>
<span><%=Html.TextBoxFor(m => m.Slug, new { id = "permalink", @class = "text" })%></span>
<fieldset class="permalink">
<label class="sub" for="Slug">Permalink<br /><span><%=Request.Url.ToRootString() %>/<%=Model.Blog.Slug %>/</span></label>
<span><%=Html.TextBoxFor(m => m.Slug, new { @class = "text" })%></span>
</fieldset>