Skip to content

Commit 3612ea0

Browse files
committed
Frontend: Update Gemstone theme and common theme styles
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent c9808b2 commit 3612ea0

6 files changed

Lines changed: 69 additions & 56 deletions

File tree

frontend/package-lock.json

Lines changed: 50 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/css/app.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,17 +335,21 @@ ol, ul {
335335
/* Rounded Elements */
336336

337337
.v-progress-linear,
338-
#photoprism .search-results.mosaic-view .result,
339-
#photoprism .search-results.list-view .result .v-image,
340338
.v-progress-linear .v-progress-linear__bar__determinate,
341339
.v-progress-linear .v-progress-linear__bar__indeterminate--active {
342340
border-radius: 3px;
343341
}
344342

345343

344+
/* Result Border Radius */
345+
346346
.v-menu__content,
347347
.v-btn.v-btn--depressed:not(.v-btn--round):not(.v-btn--icon),
348-
.v-text-field.v-text-field--solo > .v-input__control > .v-input__slot {
348+
.v-text-field.v-text-field--solo > .v-input__control > .v-input__slot,
349+
#photoprism .v-dialog .v-responsive.v-image,
350+
#photoprism .cards-view .result,
351+
#photoprism .mosaic-view .result.image,
352+
#photoprism .list-view .result .image {
349353
border-radius: 4px;
350354
}
351355

frontend/src/css/results.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ body.chrome #photoprism .search-results .result {
196196
transition-duration: 15ms !important;
197197
margin: 4px !important;
198198
box-shadow: 0 0 0 0 rgba(0, 0, 0, .2), 0 0 0 0 rgba(0, 0, 0, .14), 0 0 0 0 rgba(0, 0, 0, .12) !important;
199+
border-radius: 4px;
199200
}
200201

201202
#photoprism .search-results .image-container {
@@ -213,7 +214,6 @@ body.chrome #photoprism .search-results .result {
213214
background-position: center center;
214215
background-size: cover;
215216
background-repeat: no-repeat;
216-
border-radius: 3px;
217217
overflow: hidden;
218218
}
219219

frontend/src/css/themes.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ body.dark-theme #photoprism .v-tabs .v-badge__badge {
2020
color: #000000;
2121
}
2222

23+
body.dark-theme #photoprism .v-table .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
24+
background: transparent;
25+
}
26+
2327
body.dark-theme .theme--light.v-list .v-list__tile--highlighted,
2428
body.dark-theme .theme--light.v-list a:hover {
2529
background: rgba(255,255,255,0.3) !important;

frontend/src/css/themes/gemstone.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ body.dark-theme.theme-gemstone {
5353
}
5454

5555
#photoprism.theme-gemstone .theme--light.v-text-field--solo>.v-input__control>.v-input__slot {
56-
background: #353535;
56+
background: rgba(250, 250, 255, 0.1);
57+
}
58+
59+
#photoprism.theme-gemstone .map-control .theme--light.v-input:not(.v-input--is-disabled) i,
60+
#photoprism.theme-gemstone .map-control .theme--light.v-input:not(.v-input--is-disabled) input {
61+
color: #333333;
5762
}
5863

5964
#photoprism.theme-gemstone .theme--light.v-input--selection-controls.v-input--is-disabled .v-icon {

frontend/src/dialog/photo/files.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
aspect-ratio="1"
3131
max-width="112"
3232
max-height="112"
33-
class="accent lighten-2 elevation-0 clickable"
33+
class="accent lighten-2 elevation-0 clickable my-1"
3434
@click.exact="openFile(file)"
3535
>
3636
</v-img>

0 commit comments

Comments
 (0)