mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Making things more rounded #587
This commit is contained in:
parent
16a936a5ba
commit
6332fcdc8a
@ -20,7 +20,7 @@ a {
|
||||
}
|
||||
|
||||
.photo-container {
|
||||
border: 2px solid #333;
|
||||
border: 1px solid #333;
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
background-color: #bbbbbb;
|
||||
|
@ -2,22 +2,22 @@
|
||||
style="display: inline-block;">
|
||||
|
||||
|
||||
<div class="photo-container"
|
||||
<div class="photo-container rounded"
|
||||
[style.width.px]="size"
|
||||
[style.height.px]="size">
|
||||
|
||||
<div class="photo"
|
||||
<div class="photo rounded"
|
||||
*ngIf="thumbnail && thumbnail.Available"
|
||||
[style.background-image]="getSanitizedThUrl()"></div>
|
||||
|
||||
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-folder no-image"
|
||||
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-folder no-image rounded"
|
||||
aria-hidden="true">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Info box -->
|
||||
<div class="info">
|
||||
<div class="info rounded-bottom">
|
||||
{{album.name}} ({{album.count}})
|
||||
<span *ngIf="CanUpdate && !album.locked"
|
||||
(click)="deleteAlbum($event)"
|
||||
|
@ -3,14 +3,14 @@ a {
|
||||
}
|
||||
|
||||
.photo-container {
|
||||
border: 2px solid #333;
|
||||
border: 1px solid #333;
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
background-color: #bbbbbb;
|
||||
}
|
||||
|
||||
.no-image {
|
||||
|
||||
.no-image {
|
||||
color: #7f7f7f;
|
||||
font-size: 80px;
|
||||
top: calc(50% - 40px);
|
||||
|
@ -4,19 +4,19 @@
|
||||
style="display: inline-block;">
|
||||
|
||||
|
||||
<div class="photo-container"
|
||||
<div class="photo-container rounded"
|
||||
[style.width.px]="size"
|
||||
[style.height.px]="size">
|
||||
<div class="photo"
|
||||
<div class="photo rounded"
|
||||
*ngIf="thumbnail && thumbnail.Available"
|
||||
[style.background-image]="getSanitizedThUrl()"></div>
|
||||
|
||||
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-folder no-image"
|
||||
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-folder no-image rounded"
|
||||
aria-hidden="true">
|
||||
</span>
|
||||
</div>
|
||||
<!--Info box -->
|
||||
<div class="info">
|
||||
<div class="info rounded-bottom">
|
||||
<div class="directory-name">{{directory.name}}</div>
|
||||
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div #photoContainer class="photo-container" (mouseover)="mouseOver()" (mouseout)="mouseOut()">
|
||||
<div #photoContainer class="photo-container rounded" (mouseover)="mouseOver()" (mouseout)="mouseOut()">
|
||||
|
||||
|
||||
<img alt="{{gridMedia.media.name}}" #img [src]="thumbnail.Src"
|
||||
|
@ -27,7 +27,12 @@ element.style {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Creating btn-tertiary until bootstrap supports it our of the box.
|
||||
*/
|
||||
/*
|
||||
This is mostly btn-light
|
||||
*/
|
||||
.btn-tertiary, [data-bs-theme=light] .btn-tertiary {
|
||||
--bs-btn-color: #000;
|
||||
--bs-btn-bg: #f8f9fa;
|
||||
@ -45,6 +50,9 @@ element.style {
|
||||
--bs-btn-disabled-border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
/*
|
||||
This is mostly btn-dark + border fix
|
||||
*/
|
||||
[data-bs-theme=dark] .btn-tertiary {
|
||||
--bs-btn-color: #fff;
|
||||
--bs-btn-bg: #212529;
|
||||
|
Loading…
Reference in New Issue
Block a user