mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
Added grey buttons to widgets UI.
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user