add control overlay to select control before editing

This commit is contained in:
Mads Rasmussen
2015-11-17 11:41:17 +01:00
parent 609a475c67
commit 4594b952b4
2 changed files with 19 additions and 0 deletions

View File

@@ -323,6 +323,23 @@
}
*/
.umb-grid .umb-control-click-overlay {
position: absolute;
width: 100%;
height: 100%;
z-index: 1000;
top: 0;
left: 0;
opacity: 0;
cursor: pointer;
}
.umb-grid .umb-control-click-overlay:hover {
opacity: 0.1;
background-color: @blue;
transition: opacity 0.1s;
}
.umb-grid .umb-row-title-bar {
margin-bottom: 15px;
display: flex;

View File

@@ -198,6 +198,8 @@
</div>
-->
<div class="umb-control-click-overlay" ng-if="currentControl !== control"></div>
<div class="umb-control-inner" ng-class="{last:$last,
infohighlight:currentInfohighlightControl == control,
warnhighlight:currentWarnhighlightControl == control,