perkeep/server/camlistored/ui/blob_item.css

123 lines
2.3 KiB
CSS
Raw Normal View History

/* Tile view of BlobItem */
.cam-blobitem {
/* If you change margin, also change blobItemMarginWidth in
BlobItemContainer.prototype.layout(). */
margin: 1px;
display: inline-block;
outline: 0;
overflow: hidden;
position: relative;
vertical-align: top;
}
.cam-blobitem.cam-blobitem-notimage {
border: 1px solid #ddd;
}
.cam-blobitem-thumb {
display: block;
border: 0;
/* So that we can reposition the thumb horizontally within the container */
position: relative;
}
.cam-blobitemcontainer-50 .cam-blobitem {
height: 50px;
}
.cam-blobitemcontainer-50 .cam-blobitem-thumbtitle {
font-size: 10px;
}
.cam-blobitemcontainer-75 .cam-blobitem {
height: 75px;
}
.cam-blobitemcontainer-75 .cam-blobitem-thumbtitle {
font-size: 12px;
}
.cam-blobitemcontainer-100 .cam-blobitem {
height: 100px;
}
.cam-blobitemcontainer-100 .cam-blobitem-thumbtitle {
font-size: 12px;
}
.cam-blobitemcontainer-150 .cam-blobitem {
height: 150px;
}
.cam-blobitemcontainer-150 .cam-blobitem-thumbtitle {
font-size: 13px;
}
.cam-blobitemcontainer-200 .cam-blobitem {
height: 200px;
}
.cam-blobitemcontainer-200 .cam-blobitem-thumbtitle {
font-size: 14px;
}
.cam-blobitemcontainer-250 .cam-blobitem {
height: 250px;
}
.cam-blobitemcontainer-250 .cam-blobitem-thumbtitle {
font-size: 14px;
}
.cam-blobitem-thumbtitle {
background: rgba(255, 255, 255, 0.75);
bottom: 0;
color: #222!important;
font-size: 0.8em;
left: 0;
margin: 0;
overflow: hidden;
padding: 0.2ex 1ex;
position: absolute;
text-decoration: none;
text-overflow: ellipsis;
width: 100%;
pointer-events: none;
}
.cam-blobitem.cam-dropactive {
border: 1px solid #acf!important;
outline: 1px solid #acf!important;
background: #e5efff;
}
.cam-blobitem .checkmark {
position: absolute;
left: 0;
top: 0;
width: 35px;
height: 35px;
padding: 5px;
opacity: 0;
transition: opacity 0.2s ease;
cursor: pointer;
}
.cam-blobitem.goog-control-disabled .checkmark {
display: none;
}
.cam-blobitem .checkmark circle {
transition: fill 0.1s ease;
}
.cam-blobitem.goog-control-hover .checkmark {
opacity: 0.6;
}
.cam-blobitem.goog-control-hover .checkmark:hover {
opacity: 1!important;
}
.cam-blobitem.goog-control-checked .checkmark {
opacity: 1!important;
}
.cam-blobitem.goog-control-checked .checkmark circle {
fill: #66f;
}