preview images in taskview

This commit is contained in:
BlueTeck
2015-03-02 22:40:09 +01:00
parent da425e4187
commit 88ba0c0953
6 changed files with 149 additions and 22 deletions

View File

@@ -245,3 +245,35 @@ span.task-board-date-overdue {
.task-link-closed {
text-decoration: line-through;
}
.task-show-images {
list-style-type: none;
}
.task-show-images li img {
width: 100%;
}
.task-show-images li .img_container {
width: 250px;
height: 100px;
overflow: hidden;
}
.task-show-images li {
padding: 10px;
overflow: auto;
width: 250px;
min-height: 120px;
display: inline-block;
vertical-align: top;
}
.task-show-images li p{
padding: 5px;
font-weight: bold;
}
.task-show-images li:hover {
background: #eee;
}
.task-show-image-actions {
margin-left: 5px;
}
.task-show-images li .img_container:hover {
height: 100%;
}