mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(dashboard): varius dashboard ux fixes and keybinding improvements, press 'e' while hovering over panel will open dashboard in edit mode, pressing 'd' will remove panel, #6442
This commit is contained in:
@@ -215,3 +215,45 @@ a.dash-row-header-actions--tight {
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
|
||||
// Legacy mode
|
||||
.row-tab {
|
||||
.dropdown-menu-right {
|
||||
top: 0;
|
||||
left: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
.row-tab-button {
|
||||
padding: 0px;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
line-height: 30px;
|
||||
background: $btn-success-bg;
|
||||
color: rgba(255,255,255,.90);
|
||||
}
|
||||
|
||||
.row-button {
|
||||
width: 24px;
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
line-height: 31px;
|
||||
background-color: $blue-dark;
|
||||
}
|
||||
|
||||
.row-open {
|
||||
margin-top: 1px;
|
||||
left: -22px;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
transition: .10s left;
|
||||
transition-delay: .05s;
|
||||
|
||||
&:hover {
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -152,7 +152,11 @@ div.flot-text {
|
||||
}
|
||||
|
||||
.panel-highlight {
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(82,168,236,10.8)
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 5px rgba(82,168,236,10.8)
|
||||
}
|
||||
|
||||
.panel-hover-highlight {
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 1px rgba(82,168,236,10.8)
|
||||
}
|
||||
|
||||
.on-drag-hover {
|
||||
|
||||
Reference in New Issue
Block a user