mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
More style tweaks for buttons (input/a)... :|
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042219
This commit is contained in:
@@ -154,6 +154,7 @@ h4 { font-size:1.8em; } /* 18px */
|
|||||||
h5 { font-size:1.6em; } /* 16px */
|
h5 { font-size:1.6em; } /* 16px */
|
||||||
h6, p, label, input, select, .button, .cancel /* todo: (heskew) need to do something better with cancel */,
|
h6, p, label, input, select, .button, .cancel /* todo: (heskew) need to do something better with cancel */,
|
||||||
.message, th, td { font-size:1.5em; } /* 15px */
|
.message, th, td { font-size:1.5em; } /* 15px */
|
||||||
|
p .button { font-size:inherit; }
|
||||||
|
|
||||||
h3 span { font-size:.57em; }
|
h3 span { font-size:.57em; }
|
||||||
|
|
||||||
@@ -167,20 +168,6 @@ a:hover, a:active, a:focus {
|
|||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* todo: (heskew) see what's necessary - looks like a link styled as a button */
|
|
||||||
a.linkButton, a.linkButton:visited {
|
|
||||||
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
display:inline-block;
|
|
||||||
text-align:center;
|
|
||||||
text-decoration:none;
|
|
||||||
padding: 3px 8px 3px 8px;
|
|
||||||
margin:20px 4px 0 4px;
|
|
||||||
background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb;
|
|
||||||
border:1px solid #d2d6c6;
|
|
||||||
color:#5a5b32;
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header - Branding and Login
|
/* Header - Branding and Login
|
||||||
----------------------------------------------------------*/
|
----------------------------------------------------------*/
|
||||||
#header {
|
#header {
|
||||||
@@ -372,6 +359,10 @@ button, .button, .button:link, .button:visited {
|
|||||||
padding:0 8px;
|
padding:0 8px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
a.button, a.button:link, a.button:visited {
|
||||||
|
line-height:1em;
|
||||||
|
padding:.2em .6em;
|
||||||
|
}
|
||||||
button:hover, .button:hover,
|
button:hover, .button:hover,
|
||||||
button:focus, .button:focus {
|
button:focus, .button:focus {
|
||||||
background:#8a8f7a;
|
background:#8a8f7a;
|
||||||
@@ -393,8 +384,16 @@ button:focus, .button:focus {
|
|||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
margin:3px 0 6px 4px;
|
margin:3px 0 6px 4px;
|
||||||
}
|
}
|
||||||
.manage a.button {
|
#main div.actions {
|
||||||
|
height:2em;
|
||||||
|
padding:.6em 0 0;
|
||||||
|
text-align:right;
|
||||||
|
}
|
||||||
|
#main .manage a.button {
|
||||||
float:right;
|
float:right;
|
||||||
|
height:inherit;
|
||||||
|
padding-bottom:.3em;
|
||||||
|
padding-top:.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||||
<%@ Import Namespace="Orchard.Blogs.ViewModels"
|
<%@ Import Namespace="Orchard.Blogs.ViewModels"
|
||||||
%><p><a href="<%=Url.BlogCreate() %>">Create a New Blog</a></p><%
|
%><div class="actions"><a class="add button" href="<%=Url.BlogCreate() %>">Create a New Blog</a></div><%
|
||||||
if (Model.Blogs.Count() > 0) { %>
|
if (Model.Blogs.Count() > 0) { %>
|
||||||
<ul><%
|
<ul><%
|
||||||
foreach (Blog blog in Model.Blogs) { %>
|
foreach (Blog blog in Model.Blogs) { %>
|
||||||
@@ -13,5 +13,5 @@ if (Model.Blogs.Count() > 0) { %>
|
|||||||
</li><%
|
</li><%
|
||||||
} %>
|
} %>
|
||||||
</ul>
|
</ul>
|
||||||
<p><a href="<%=Url.BlogCreate() %>">Create a New Blog</a></p><%
|
<div class="actions"><a class="add button" href="<%=Url.BlogCreate() %>">Create a New Blog</a></div><%
|
||||||
} %>
|
} %>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<p><strong>Current layout:</strong>
|
<p><strong>Current layout:</strong>
|
||||||
<%=Html.Encode(Model.Revision.TemplateName) %>
|
<%=Html.Encode(Model.Revision.TemplateName) %>
|
||||||
<%=Html.ActionLink("Change Template", "ChooseTemplate", new { Model.Revision.Page.Id }, new { @class = "linkButton" }) %>
|
<%=Html.ActionLink("Change Template", "ChooseTemplate", new { Model.Revision.Page.Id }, new { @class = "button" }) %>
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user