Skip to content

Commit 0d76664

Browse files
authored
[theme] Minimal 0.2 Release (#513)
* fix scene selector * rework scene overaly * move nav-bar to seperate file * add readme about studio image * make studio settings generic * add 0.2 change log to readme * fix auto play * make studio overlay readable * update readme * update version
1 parent 62ea3c6 commit 0d76664

File tree

6 files changed

+202
-115
lines changed

6 files changed

+202
-115
lines changed

themes/Theme-Minimal/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,23 @@ I've tried to create a theme that brings content to the front while reducing men
44

55
It's still rough around the edges and very much a work in progress. Feedback is welcome!
66

7+
For intended experience:
8+
9+
- Turn off studio images in card view.
10+
711
## Screenshots
12+
813
<img width="1792" alt="stash--minimal-theme-v0 1--performers" src="https://github.com/user-attachments/assets/9050c621-deb8-4ede-b6ca-f759e89f1519" />
914
<img width="1792" alt="stash--minimal-theme-v0 1--tags" src="https://github.com/user-attachments/assets/fb562bdc-cf5c-4bd8-ab5e-1ee1147ba068" />
1015
<img width="1792" alt="stash--minimal-theme-v0 1--settings" src="https://github.com/user-attachments/assets/65befac3-74c4-4b6f-a999-8ff0e8e9dc40" />
1116
<img width="1792" alt="stash--minimal-theme-v0 1--scenes" src="https://github.com/user-attachments/assets/05d45f6e-7fb7-4ed8-b2af-5a153bdb3611" />
17+
18+
## Changelog
19+
20+
### Version 0.2 - 2025-03-15
21+
22+
- Themed the tagger view for a more cohesive look.
23+
- Restyled and refactored the navbar for improved usability and aesthetics.
24+
- Restyled all the scene card information overlays to enhance clarity and visual appeal.
25+
- Fixed the scene card selector to ensure proper functionality.
26+
- Fixed scene auto play.

themes/Theme-Minimal/Theme-Minimal.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Theme - Minimal
22
description: Minimal Theme for Stash
3-
version: 0.1.1
3+
version: 0.2
44
ui:
55
css:
66
- index.css
@@ -16,6 +16,7 @@ ui:
1616
- markers-wall.css
1717
- popover.css
1818
- studio.css
19+
- navbar.css
1920
assets:
2021
/: ./assets
2122
javascript:

themes/Theme-Minimal/index.css

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,6 @@ body {
1717
padding-top: 0;
1818
}
1919

20-
.top-nav {
21-
height: var(--nav-bar-height);
22-
position: sticky;
23-
}
24-
25-
.main {
26-
padding-top: 12px;
27-
}
28-
29-
.navbar-toggler {
30-
color: unset;
31-
padding: 0.5em 0;
32-
text-align: center;
33-
width: 3em;
34-
}
35-
36-
.navbar-buttons .btn {
37-
align-items: center;
38-
display: flex;
39-
}
40-
41-
.nav-link {
42-
padding: 0;
43-
svg {
44-
color: var(--primary-11);
45-
}
46-
}
47-
4820
.bg-dark {
4921
background-color: var(--primary-2) !important;
5022
}

themes/Theme-Minimal/nav-bar.css

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
.top-nav {
2+
height: var(--nav-bar-height);
3+
background-color: var(--primary-1) !important;
4+
position: sticky;
5+
6+
.btn {
7+
font-size: var(--text-sm);
8+
color: var(--primary-11);
9+
padding-top: 0.5cap !important;
10+
padding-bottom: 0.5cap !important;
11+
transition: color 0.2s ease-in-out;
12+
13+
&.active,
14+
&:active {
15+
color: var(--primary-12);
16+
background-color: unset !important;
17+
svg {
18+
color: var(--primary-12);
19+
}
20+
}
21+
22+
&:hover {
23+
color: var(--primary-12);
24+
svg {
25+
color: var(--primary-11);
26+
}
27+
}
28+
29+
svg {
30+
transition: color 0.2s ease-in-out;
31+
margin-left: 0.5ch;
32+
margin-right: 1ch;
33+
color: var(--primary-9);
34+
}
35+
}
36+
37+
.navbar-brand {
38+
font-size: inherit;
39+
}
40+
41+
.navbar-collapse {
42+
background-color: var(--primary-1) !important;
43+
}
44+
}
45+
46+
.main {
47+
padding-top: 12px;
48+
}
49+
50+
.navbar-toggler {
51+
color: unset;
52+
padding: 0.5em 0;
53+
text-align: center;
54+
width: 3em;
55+
}
56+
57+
.navbar-buttons .btn {
58+
align-items: center;
59+
display: flex;
60+
}
61+
62+
.nav-link {
63+
padding: 0;
64+
svg {
65+
color: var(--primary-11);
66+
}
67+
}

themes/Theme-Minimal/scenes.css

Lines changed: 92 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
padding: 20px;
88
margin: 8px;
99

10-
/* demo */
11-
/* .scene-card-preview-image,
12-
.performer-card-image {
13-
filter: blur(50px);
14-
} */
15-
1610
a .card-section-title {
1711
color: unset;
1812
text-decoration: none;
@@ -28,7 +22,7 @@
2822

2923
position: absolute;
3024
top: 0.7rem;
31-
z-index: 1;
25+
z-index: 20;
3226
}
3327

3428
.card-check,
@@ -38,11 +32,17 @@
3832
width: 1.2rem;
3933
}
4034

41-
&:hover .progress-bar,
42-
&:hover .rating-banner,
43-
&:hover .scene-spec-overlay {
44-
transition: opacity 0.3s;
45-
opacity: 0;
35+
&:hover,
36+
&:active {
37+
.thumbnail-section {
38+
.progress-bar,
39+
.rating-banner,
40+
.scene-spec-overlay,
41+
.studio-overlay {
42+
transition: opacity 0.5s ease-in-out;
43+
opacity: 0;
44+
}
45+
}
4646
}
4747

4848
.thumbnail-section {
@@ -54,40 +54,102 @@
5454
margin-bottom: 0;
5555
}
5656

57-
.rating-banner {
58-
backdrop-filter: blur(10px);
59-
transform: none;
60-
left: 0;
61-
top: 0;
57+
.studio-overlay,
58+
.rating-banner,
59+
.overlay-resolution,
60+
.overlay-duration {
61+
height: auto;
6262

6363
margin: 8px;
64-
padding: 5px 7px;
64+
padding: 6px 8px;
6565
border-radius: 8px;
6666
line-height: 1;
6767

6868
font-size: var(--text-2xs);
6969
font-weight: normal;
70+
color: var(--primary-12);
71+
background-color: var(--black-a6);
72+
backdrop-filter: blur(10px);
7073

71-
color: var(--primary-11);
74+
opacity: unset;
75+
76+
letter-spacing: 0.05ch;
77+
}
78+
79+
.studio-overlay {
80+
right: 0;
81+
top: 0;
82+
83+
height: unset;
84+
max-width: unset;
85+
/* opacity: 1; */
86+
transition: opacity 0.5s;
87+
88+
a {
89+
text-transform: uppercase;
90+
color: inherit;
91+
text-shadow: none;
92+
text-decoration: none;
93+
letter-spacing: inherit;
94+
}
95+
}
96+
97+
.rating-banner {
98+
transform: none;
99+
left: 0;
100+
top: 0;
101+
border-style: solid;
102+
border-width: 0.5px;
103+
background-color: unset;
72104

73105
&.rating-5 {
74-
background-color: var(--rating-5-background);
106+
background-color: transparent;
107+
background-image: linear-gradient(
108+
to right,
109+
var(--rating-5-background),
110+
rgba(102, 136, 70, 0.75)
111+
);
112+
border-color: rgba(153, 204, 105, 0.25);
75113
}
76114

77115
&.rating-4 {
78-
background-color: var(--rating-4-background);
116+
background-color: transparent;
117+
background-image: linear-gradient(
118+
to right,
119+
var(--rating-4-background),
120+
rgba(134, 106, 0, 0.75)
121+
);
122+
border-color: rgba(201, 159, 0, 0.25);
79123
}
80124

81125
&.rating-3 {
82-
background-color: var(--rating-3-background);
126+
background-color: transparent;
127+
background-image: linear-gradient(
128+
to right,
129+
var(--rating-3-background),
130+
rgba(154, 96, 0, 0.75)
131+
);
132+
border-color: rgba(231, 144, 0, 0.25);
83133
}
84134

85135
&.rating-2 {
86-
background-color: var(--rating-2-background);
136+
background-color: transparent;
137+
background-image: linear-gradient(
138+
to right,
139+
var(--rating-2-background),
140+
rgba(172, 80, 0, 0.75)
141+
);
142+
border-color: rgba(255, 120, 0, 0.25);
87143
}
88144

89145
&.rating-1 {
90-
background-color: var(--rating-1-background);
146+
background-color: transparent;
147+
background-image: linear-gradient(
148+
to right,
149+
var(--rating-1-background),
150+
rgba(188, 56, 44, 0.75)
151+
);
152+
border-color: rgba(255, 84, 66, 0.25);
91153
}
92154
}
93155

@@ -96,50 +158,17 @@
96158
right: 0;
97159
bottom: 0;
98160

99-
margin: 8px;
100-
101-
line-height: 1;
102-
font-size: var(--text-2xs);
103-
104161
display: flex !important;
105162
justify-content: space-between;
106-
gap: 0.25ch;
107163
align-items: center;
108-
109-
.overlay-resolution {
110-
color: var(--primary-11);
111-
background-color: var(--black-a5);
112-
backdrop-filter: blur(10px);
113-
font-weight: normal;
114-
padding: 5px 7px;
115-
border-radius: 8px;
116-
}
117-
118-
.overlay-duration {
119-
color: var(--primary-11);
120-
background-color: var(--black-a5);
121-
backdrop-filter: blur(10px);
122-
font-weight: normal;
123-
padding: 5px 7px;
124-
border-radius: 8px;
125-
}
126164
}
127165

128166
.preview-scrubber {
129167
.hover-scrubber {
130-
height: 100%;
131-
132-
.hover-scrubber-area {
133-
height: 100%;
134-
}
135-
136168
.hover-scrubber-indicator {
137-
height: 4px;
169+
background-color: unset;
138170
.hover-scrubber-indicator-marker {
139171
background-color: var(--primary-a10);
140-
backdrop-filter: blur(10px);
141-
border-radius: 0 4px 0 0;
142-
height: 4px;
143172
}
144173
}
145174
}
@@ -170,16 +199,19 @@
170199
min-height: 0;
171200
margin-bottom: 0;
172201
height: auto;
202+
173203
.scene-card__date {
174204
font-size: var(--text-xs);
175205
color: var(--primary-11);
176206
line-height: 1;
177207
}
208+
178209
.scene-card__description {
179210
display: none;
180211
}
181212
}
182213
}
214+
183215
hr {
184216
margin-top: 0;
185217
display: none;
@@ -215,6 +247,7 @@
215247
table {
216248
border-collapse: separate;
217249
border-spacing: 0px 20px;
250+
218251
thead {
219252
background-color: unset;
220253

@@ -234,6 +267,7 @@
234267

235268
tbody {
236269
background-color: unset;
270+
237271
tr {
238272
&:hover {
239273
background-color: var(--primary-2);

0 commit comments

Comments
 (0)