1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/frontend/app/gallery/grid/photo/photo.grid.gallery.component.css

114 lines
2.1 KiB
CSS
Raw Normal View History

img {
2017-07-15 20:23:02 +02:00
width: inherit;
height: inherit;
2016-06-17 11:25:15 +02:00
2017-07-15 20:23:02 +02:00
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s; /* Firefox < 16 */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera < 12.1 */
animation: fadein 2s;
2018-05-15 21:30:41 -04:00
vertical-align: unset;
2016-06-17 11:25:15 +02:00
}
@keyframes fadein {
2017-07-15 20:23:02 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-06-17 11:25:15 +02:00
}
/* Firefox < 16 */
@-moz-keyframes fadein {
2017-07-15 20:23:02 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-06-17 11:25:15 +02:00
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
2017-07-15 20:23:02 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-06-17 11:25:15 +02:00
}
/* Internet Explorer */
@-ms-keyframes fadein {
2017-07-15 20:23:02 +02:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2016-05-15 18:52:07 +02:00
}
.info {
2018-03-30 15:30:30 -04:00
background-color: transparent;
color: white;
font-size: medium;
2018-05-07 15:42:32 -04:00
display: table-caption;
2018-03-30 15:30:30 -04:00
position: relative;
padding: 5px;
2017-07-15 20:23:02 +02:00
margin-top: 0;
2016-05-15 18:52:07 +02:00
2017-07-15 20:23:02 +02:00
transition: margin .3s ease-out, background-color .3s ease-out;
-moz-transition: margin .3s ease-out, background-color .3s ease-out;
-webkit-transition: margin .3s ease-out, background-color .3s ease-out;
-o-transition: margin .3s ease-out, background-color .3s ease-out;
2018-05-15 21:30:41 -04:00
-ms-transition: margin .3s ease-out, background-color .3s ease-out;
2016-05-15 18:52:07 +02:00
}
.photo-container {
2017-07-15 20:23:02 +02:00
width: inherit;
height: inherit;
overflow: hidden;
2016-05-15 18:52:07 +02:00
}
.photo-name {
2017-07-15 20:23:02 +02:00
display: inline-block;
2016-05-15 18:52:07 +02:00
}
.photo-position {
2017-07-15 20:23:02 +02:00
display: inline-block;
float: right;
2016-05-15 18:52:07 +02:00
}
a {
2017-07-15 20:23:02 +02:00
color: white;
2016-05-15 18:52:07 +02:00
}
.photo-keywords {
2017-07-15 20:23:02 +02:00
margin-top: 5px;
font-size: small;
text-align: right;
display: inline-block;
width: 100%;
2016-05-15 18:52:07 +02:00
}
2018-11-22 19:12:10 +01:00
.video-indicator{
font-size: large;
2018-11-22 21:00:25 +01:00
padding: 5px;
2018-11-22 19:12:10 +01:00
position: absolute;
transform: translate(-100%);
white-space: nowrap;
2018-11-22 21:00:25 +01:00
border-bottom-left-radius: 15px !important;
background-color: rgba(0, 0, 0, 0.5);
color: white;
transition: background-color .3s ease-out;
-moz-transition: background-color .3s ease-out;
-webkit-transition: background-color .3s ease-out;
-o-transition: background-color .3s ease-out;
-ms-transition: background-color .3s ease-out;
}
.photo-container:hover .video-indicator{
background-color: rgba(0, 0, 0, 0.8);
2018-11-22 19:12:10 +01:00
}