Added dark theme. Fixed actor country aggregation.

This commit is contained in:
2024-06-10 03:24:48 +02:00
parent 255dd48af6
commit 69cefa57ff
38 changed files with 299 additions and 153 deletions

View File

@@ -169,7 +169,7 @@ onMounted(() => {
padding: 0 1rem 0 .5rem;
.icon {
fill: var(--shadow);
fill: var(--glass);
}
&:hover {

View File

@@ -217,7 +217,7 @@ onMounted(() => {
padding: 0 1rem 0 .5rem;
.icon {
fill: var(--shadow);
fill: var(--glass);
}
&:hover {

View File

@@ -130,7 +130,7 @@ async function search() {
.icon {
padding: 0 1rem;
height: auto;
fill: var(--shadow);
fill: var(--glass);
&:hover {
cursor: pointer;
@@ -153,7 +153,7 @@ async function search() {
.section-label {
padding: 0 1rem;
margin-bottom: .5rem;
color: var(--shadow);
color: var(--glass);
}
.network {
@@ -164,7 +164,7 @@ async function search() {
position: relative;
padding: 1rem;
border-radius: .5rem;
background: var(--grey-dark-40);
background: var(--shadow-strong-30);
color: var(--text-light);
font-size: 1.25rem;
font-weight: bold;

View File

@@ -432,7 +432,7 @@ const scenes = pageContext.pageProps.scenes;
.icon {
width: 1.5rem;
height: 1.5rem;
fill: var(--shadow);
fill: var(--glass);
}
.button {
@@ -490,7 +490,7 @@ const scenes = pageContext.pageProps.scenes;
}
.added-batch {
color: var(--shadow-weak-10);
color: var(--glass-weak-10);
margin-left: .25rem;
}

View File

@@ -154,7 +154,7 @@
<div class="info">
<ul
v-if="scene.actors.length > 0"
class="actors nolist"
class="actors nolist nobar"
>
<li
v-for="actor in scene.actors"
@@ -632,10 +632,15 @@ function copySummary() {
}
.actors {
display: grid;
display: flex;
flex-grow: 1;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
gap: .25rem;
overflow-x: auto;
.actor {
width: 8rem;
flex-shrink: 0;
}
}
.tag {
@@ -696,7 +701,7 @@ function copySummary() {
}
.added-batch {
color: var(--shadow-weak-10);
color: var(--glass-weak-10);
margin-left: .25rem;
}
@@ -713,7 +718,7 @@ function copySummary() {
.icon {
height: auto;
padding: 0 .5rem 0 .75rem;
fill: var(--shadow);
fill: var(--glass);
&:hover {
cursor: pointer;
@@ -726,13 +731,13 @@ function copySummary() {
display: none;
}
@media(--small) {
@media(--compact) {
.content {
margin: 0;
}
.info {
margin: 0 .5rem;
margin: 0 .75rem;
}
.banner-container {
@@ -756,7 +761,7 @@ function copySummary() {
.title {
width: 100%;
margin-left: .5rem;
margin-left: 1rem;
white-space: wrap;
}

View File

@@ -151,7 +151,7 @@ const query = pageContext.urlParsed.search.q;
.results-meta {
box-sizing: border-box;
padding: 1rem 1rem 0 1rem;
color: var(--shadow);
color: var(--glass);
font-weight: bold;
.link {

View File

@@ -447,7 +447,7 @@ const scenes = pageContext.pageProps.scenes;
.icon {
width: 1.5rem;
height: 1.5rem;
fill: var(--shadow);
fill: var(--glass);
}
.button {
@@ -505,7 +505,7 @@ const scenes = pageContext.pageProps.scenes;
}
.added-batch {
color: var(--shadow-weak-10);
color: var(--glass-weak-10);
margin-left: .25rem;
}

View File

@@ -258,7 +258,7 @@ onMounted(() => {
.icon {
padding: 0 1rem;
height: auto;
fill: var(--shadow);
fill: var(--glass);
&:hover {
cursor: pointer;
@@ -282,7 +282,7 @@ onMounted(() => {
padding: 1rem 1rem 0 1.5rem;
margin: 0;
text-transform: capitalize;
color: var(--shadow);
color: var(--glass);
}
.tag {
@@ -306,7 +306,7 @@ onMounted(() => {
text-transform: capitalize;
font-size: .9rem;
font-weight: bold;
color: var(--shadow-strong-10);
color: var(--glass-strong-10);
}
.thumb-container {

View File

@@ -332,7 +332,7 @@ async function removeAlert(alert) {
align-items: center;
padding: .5rem 1rem;
color: var(--highlight-strong-30);
background: var(--grey-dark-40);
background: var(--shadow-strong-30);
border-radius: 0 0 .5rem .5rem;
}
@@ -398,10 +398,10 @@ async function removeAlert(alert) {
padding: 0 0 0 .5rem;
display: flex;
align-items: stretch;
border-bottom: solid 1px var(--shadow-weak-40);
border-bottom: solid 1px var(--glass-weak-40);
&:hover {
border-color: var(--shadow-weak-30);
border-color: var(--glass-weak-30);
}
}
@@ -412,11 +412,11 @@ async function removeAlert(alert) {
margin-right: .75rem;
.icon {
fill: var(--shadow-weak-40);
fill: var(--glass-weak-40);
}
.icon.trigger {
fill: var(--shadow-weak-10);
fill: var(--glass-weak-10);
}
}
@@ -424,7 +424,7 @@ async function removeAlert(alert) {
padding: .25rem 0;
flex-grow: 1;
line-height: 2.5;
color: var(--shadow);
color: var(--glass);
&.and .alert-detail:not(:last-child):after {
content: ' and ';
@@ -440,7 +440,7 @@ async function removeAlert(alert) {
.icon {
margin-right: .25rem;
fill: var(--shadow);
fill: var(--glass);
transform: translateY(2px);
}
}
@@ -474,12 +474,12 @@ async function removeAlert(alert) {
display: flex;
align-items: center;
font-size: .9rem;
color: var(--shadow-weak-10);
color: var(--glass-weak-10);
.icon {
height: 100%;
padding: 0 .75rem;
fill: var(--shadow);
fill: var(--glass);
&:hover {
cursor: pointer;