1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/directory/directory.gallery.component.css

57 lines
739 B
CSS
Raw Normal View History

2017-03-18 07:11:53 +08:00
a {
2017-07-16 02:23:02 +08:00
position: relative;
2017-03-18 07:11:53 +08:00
}
.photo-container {
2017-07-16 02:23:02 +08:00
border: 2px solid #333;
2017-07-16 00:25:29 +08:00
width: 180px;
height: 180px;
2017-07-16 02:23:02 +08:00
background-color: #bbbbbb;
2017-03-18 07:11:53 +08:00
}
2017-07-16 02:23:02 +08:00
2017-03-18 07:11:53 +08:00
.no-image {
2017-07-16 02:23:02 +08:00
color: #7f7f7f;
font-size: 50px;
top: calc(50% - 25px);
left: calc(50% - 25px);
2017-03-18 07:11:53 +08:00
}
.photo {
2017-07-16 02:23:02 +08:00
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
2017-03-18 07:11:53 +08:00
}
.button {
2017-07-16 02:23:02 +08:00
border: 0;
padding: 0;
text-align: left;
2017-03-18 07:11:53 +08:00
}
.info {
2017-07-16 02:23:02 +08:00
background-color: rgba(0, 0, 0, 0.6);
color: white;
font-size: medium;
position: absolute;
bottom: 0;
left: 0;
padding: 5px;
width: 100%;
2017-03-18 07:11:53 +08:00
}
a:hover .info {
2017-07-16 02:23:02 +08:00
background-color: rgba(0, 0, 0, 0.8);
2017-03-18 07:11:53 +08:00
}
a:hover .photo-container {
2017-07-16 02:23:02 +08:00
border-color: #000;
2017-07-16 00:25:29 +08:00
}
.directory-name {
width: 180px;
white-space: normal;
}