Add action bar to pinned event tiles; support unpinning from the panel

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-09-29 10:41:23 -06:00
parent fa5a23e0df
commit 9b11f576fe
2 changed files with 52 additions and 3 deletions

View file

@ -32,7 +32,6 @@ limitations under the License.
.mx_PinnedEventTile {
min-height: 40px;
margin-bottom: 5px;
cursor: pointer;
width: 100%;
border-radius: 5px; // for the hover
}
@ -46,6 +45,7 @@ limitations under the License.
font-size: 0.8em;
vertical-align: top;
display: block;
padding-bottom: 3px;
}
.mx_PinnedEventTile .mx_EventTile_content {
@ -65,3 +65,23 @@ limitations under the License.
float: right;
display: inline-block;
}
.mx_PinnedEventTile:hover .mx_PinnedEventTile_actions {
display: block;
}
.mx_PinnedEventTile_actions {
float: right;
margin-right: 10px;
display: none;
}
.mx_PinnedEventTile_unpinButton {
cursor: pointer;
margin-left: 10px;
}
.mx_PinnedEventTile_gotoButton {
display: inline-block;
font-size: 0.8em;
}