1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-04 10:34:45 +02:00

Merge pull request #251 from tibrisch/improve-face-name-visibility

Improve face name visibility
This commit is contained in:
Patrik J. Braun 2021-04-06 11:34:38 +02:00 committed by GitHub
commit 6aff498360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,8 @@
cursor: pointer;
font-size: xx-large;
left: 0;
background-color:rgba(0,0,0,0.2);
border-radius: 5px !important;
}
.navigation-arrow span {
@ -25,7 +27,6 @@
opacity: 1.0;
position: fixed;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
transition: width 0.3s ease-in-out, opacity 1s;
-webkit-transition: width 0.3s ease-in-out, opacity 1s;
-o-transition: width 0.3s ease-in-out, opacity 1s;
@ -83,7 +84,7 @@
}
.controls-caption {
opacity: 0.5;
opacity: 0.7;
top: 0;
position: absolute;
height: initial;
@ -91,6 +92,8 @@
width: 75%;
padding: 5px 13px;
font-size: 1.5rem;
background-color: rgba(0,0,0,0.2);
border-radius: 5px !important;
}
.controls-zoom {
@ -219,7 +222,7 @@ input[type="range"].zoom-progress::-moz-range-track {
}
.face {
opacity: 0.5;
opacity: 0.7;
position: absolute;
transition: opacity 0.5s;
}
@ -232,10 +235,11 @@ input[type="range"].zoom-progress::-moz-range-track {
.face-name {
white-space: nowrap;
color: white;
margin-left: -100%;
margin-right: -100%;
text-align: center;
display: block;
display: table;
font-weight: bold;
background-color:rgba(0,0,0,0.2);
border-radius: 5px !important;
}
.face-box {