Added grey buttons to widgets UI.

--HG--
branch : dev
This commit is contained in:
jowall
2011-03-24 13:05:28 -07:00
parent aabd4fcc63
commit ddbe069d73
2 changed files with 21 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
}
<li@(classAttr)>
<h2>@zone</h2>
<div class="widgets-actions">@Html.ActionLink(T("Add").Text, "ChooseWidget", new { layerId = Model.CurrentLayer.Id, zone, returnUrl }, new { @class = "button" })</div>
<div class="widgets-actions">@Html.ActionLink(T("Add").Text, "ChooseWidget", new { layerId = Model.CurrentLayer.Id, zone, returnUrl }, new { @class = "button grey" })</div>
<ul class="widgets-zone-widgets">
@if (count > 0) {
int i = 0;

View File

@@ -682,6 +682,26 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
-webkit-box-shadow: none;
-moz-box-shadow: none;
}
.button.grey {
color:#5d615d;
background:#f5f5f5;
border:1px solid #999;
/*CSS3 properties*/
text-shadow:none;
-webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
-moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
background: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#cbcbcb));
background: -moz-linear-gradient(top, #f5f5f5, #d9d9d9);
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
button, .button, a.button {
background:#6a7b42;
border:1px solid #487328;