Allow tips to be hidden and cycled through

This commit is contained in:
Nick O'Leary
2017-04-07 12:24:39 +01:00
parent 67da853146
commit ede940a398
2 changed files with 34 additions and 2 deletions

View File

@@ -200,6 +200,8 @@ div.node-info {
border-top: 1px solid $secondary-border-color;
background-color: #fff;
padding: 20px;
box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.3);
overflow-y: auto;
}
.sidebar-node-info.show-tips {
.sidebar-node-info-stack {
@@ -221,7 +223,7 @@ div.node-info {
.node-info-tip {
display: inline-block;
vertical-align: middle;
width: calc(100% - 30px);
width: 100%;
font-size: 16px;
text-align: center;
line-height: 1.9em;
@@ -229,3 +231,13 @@ div.node-info {
@include disable-selection;
cursor: default;
}
.node-info-tips-buttons {
position: absolute;
top: 4px;
right: 6px;
a {
color: #ddd !important;
border-color: #d9d9d9 !important;
margin-left: 4px;
}
}