mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-26 23:48:52 -07:00
[www] show private photos when logged in
This commit is contained in:
@@ -1863,6 +1863,7 @@ button[type='submit']:disabled {
|
||||
/* The thumbnail's click target: a real button, for the keyboard, with none of its looks. */
|
||||
.photo-button {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 9px;
|
||||
@@ -1870,6 +1871,17 @@ button[type='submit']:disabled {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
/* The Private mark on one of the owner's own photos, pinned to the thumbnail's corner.
|
||||
Same pill as a room's visibility badge, on a solid background so it reads over the
|
||||
picture. */
|
||||
.photo-private {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
background: var(--surface);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.photo-thumb {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user