h5ai/src/_h5ai/client/css/inc/view-details.less
2013-08-27 21:27:31 +02:00

67 lines
977 B
Text

#view.view-details {
li {
&.header {
display: list-item;
}
&.item {
a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep;
height: @small-icon-size + 6px;
&:hover, &.hover {
border-color: @item-border-col-hover;
}
}
// needs to be here, to not conflict with header fields
.icon {
padding: 8px;
}
.label, .date, .size {
padding: ((@small-icon-size - 16px)/2) 8px;
}
}
&.item + .item {
a, a:active, a:visited {
border-top: none;
}
}
.icon.square {
display: inline-block;
position: absolute;
left: 0;
top: -5px;
width: @small-icon-size;
img {
width: @small-icon-size;
height: @small-icon-size;
}
}
.label {
margin: 0 230px 0 (@small-icon-size + 16px);
}
.date {
position: absolute;
right: 100px;
top: 0;
}
.size {
position: absolute;
right: 0;
top: 0;
}
}
}