Skip to content

Commit

Permalink
Update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Nov 18, 2024
1 parent debaa53 commit 2b5da0a
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/Views/Rule/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
location.hash = '@ViewBag.RuleID';
}
if (location.hash && location.hash != "#") {
$("a" + location.hash).trigger("click");
$(location.hash).trigger("click");
}
else if ($("#rules>li.actived").size() === 0) {
$("#rules .rule-item").first().trigger("click");
Expand Down
13 changes: 11 additions & 2 deletions src/ZKEACMS.WebHost/wwwroot/css/Layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -1560,9 +1560,13 @@ label.additional {


.sort-handle {
cursor: move;
cursor: grab;
}

.sort-handle:active {
cursor: grabbing;
}

.zoneToolbar {
position: absolute;
margin: 0 auto auto 0;
Expand Down Expand Up @@ -1886,10 +1890,15 @@ label.additional {


.templates .widget-design {
cursor: move;
cursor: grab;
position: relative;
}

.widget-design.ui-draggable-dragging,
.templates .widget-design:active {
cursor: grabbing;
}

.templates .delete-template {
position: absolute;
top: -8px;
Expand Down
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/wwwroot/css/Layout.min.css

Large diffs are not rendered by default.

26 changes: 16 additions & 10 deletions src/ZKEACMS.WebHost/wwwroot/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ a.badge:hover {
margin: 5px;
background-color: white;
}

.fullRowList li.muted {
border-left: 5px solid #ddd;
}
Expand All @@ -332,18 +333,24 @@ a.badge:hover {
}

.fullRowList.widgets li {
cursor: move;
cursor: grab;
}

.fullRowList.widgets li:active {
cursor: grabbing;
}

.fullRowList li ul {
list-style: none;
padding-left: 2.2rem;
}

.fullRowList li:hover,
.fullRowList li.actived {
.fullRowList li:hover {
border-left: 5px solid #E28271;
color: #E28271;
}

.fullRowList li.actived {
border-color: #E28271;
}

.fullRowList.droping {
Expand Down Expand Up @@ -380,21 +387,20 @@ a.badge:hover {
}

.fullRowList.ui-sortable li {
cursor: move;
cursor: grab;
}

.fullRowList.ui-sortable li:active {
border-color: #E28271;
}

.fullRowList a {
text-decoration: none;
outline: none;
display: inline-block;
margin: 0 2px;
}

.fullRowList li:hover a,
.fullRowList li.actived a {
color: #E28271;
}

.fullRowList li.disabled {
border-left: 5px solid #ddd;
color: #ccc;
Expand Down
Loading

0 comments on commit 2b5da0a

Please sign in to comment.