Sindbad~EG File Manager
.ps-page--photos {}
.ps-photos {
--grid-items: 4;
--item-radius: var(--BORDER-RADIUS--MD);
}
.ps-photos__header {
display: flex;
align-items: center;
}
.ps-photos__actions {
display: flex;
@if $rtl {
margin-right: auto;
} @else {
margin-left: auto;
}
.ps-btn {
@if $rtl {
margin-left: var(--PADD--SM);
} @else {
margin-right: var(--PADD--SM);
}
&:last-child {
margin: 0;
}
}
.ps-btn--action {
--radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
}
}
.ps-photos__list-view {
.ps-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
}
}
.ps-photos__tabs {
text-align: center;
}
.ps-photos__filters {}
.ps-photos__list {
display: grid;
grid-template-columns: repeat(var(--grid-items), 1fr);
grid-column-gap: var(--PADD);
grid-row-gap: var(--PADD);
> .ps-alert {
grid-column-start: 1;
grid-column-end: span var(--grid-items);
}
}
.ps-photos__list--albums {}
.ps-photos__list--small {}
.ps-photos__list--large {
--grid-items: 2;
}
.ps-photos__list-item {
position: relative;
border-radius: var(--item-radius);
}
.ps-photos__list-item--album {}
.ps-photos__list-item-inner {
> a {
position: relative;
display: block;
overflow: hidden;
border-radius: var(--item-radius);
&:before {
display: block;
content: " ";
padding-bottom: 100%;
}
> img {
top: 0;
left: 0;
position: absolute;
width: 100%;
}
&:hover {
.ps-photos__list-item-overlay {
opacity: 1;
}
}
}
}
.ps-photos__list-item-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #fff;
background-color: rgba(0,0,0, .65);
//border-radius: var(--item-radius);
opacity: 0;
transition: opacity .2s ease;
.ps-photos__list-item--album & {
top: auto;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
padding: var(--PADD--SM);
font-size: 12px;
line-height: 1.2;
background-color: rgba(0,0,0, .8);
border-top-left-radius: 0;
border-top-right-radius: 0;
opacity: 1;
}
}
.ps-photos__list-item-title {
width: 100%;
}
.ps-photos__list-item-details {
color: rgba(255,255,255, .8);
}
.ps-photos__list-item-privacy {
color: rgba(255,255,255, .8);
}
.ps-photos__upload-area {
padding-top: var(--PADD--MD);
text-align: center;
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists