Drastic actor page redesign. Storing one avatar per actor, other profile photos as 'photo' role; no longer assuming first photo is avatar.

This commit is contained in:
2019-11-28 05:36:22 +01:00
parent 884ef248e4
commit 4be508b388
300 changed files with 1110 additions and 213 deletions

View File

@@ -45,6 +45,7 @@
display: flex;
justify-content: space-between;
padding: .5rem 1rem;
z-index: 1;
font-size: 0;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
@@ -170,12 +171,12 @@
}
.title[data-v-3abcf101] {
color: #222;
margin: 0;
margin: 0 .25rem .25rem 0;
font-size: 1rem;
word-wrap: break-word;
overflow: hidden;
max-height: 3rem;
line-height: 1.5rem;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.network[data-v-3abcf101] {
color: #555;
@@ -189,9 +190,9 @@
line-height: 1.5rem;
}
.tags[data-v-3abcf101] {
max-height: 2.85rem;
max-height: 2.5rem;
padding: .25rem .5rem 1rem .5rem;
line-height: 1.25rem;
line-height: 1.5rem;
word-wrap: break-word;
overflow-y: hidden;
}
@@ -217,10 +218,11 @@
color: rgba(0, 0, 0, 0.5);
display: inline-block;
padding: .25rem;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
font-size: .75rem;
font-weight: bold;
text-decoration: none;
line-height: 1;
border: solid 1px rgba(0, 0, 0, 0.1);
}
.tag-link[data-v-3abcf101]:hover {
color: #ff6c88;
@@ -234,13 +236,18 @@
.heading .range[data-v-22ffe3e4] {
text-transform: capitalize;
}
.releases[data-v-22ffe3e4] {
.tiles[data-v-22ffe3e4] {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20rem, 0.5fr));
grid-template-columns: repeat(auto-fit, minmax(20rem, 0.33fr));
grid-gap: 1rem;
}
@media (max-width: 1500px) {
.tiles[data-v-22ffe3e4] {
grid-template-columns: repeat(auto-fit, minmax(20rem, 0.5fr));
}
}
@media (max-width: 720px) {
.releases[data-v-22ffe3e4] {
.tiles[data-v-22ffe3e4] {
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}
}
@@ -575,48 +582,267 @@
}
/* $primary: #ff886c; */
.header[data-v-677a8360] {
.actor-inner[data-v-677a8360] {
height: 100%;
display: flex;
flex-direction: column;
padding: 0;
overflow-x: auto;
}
.profile[data-v-677a8360] {
background: #222;
color: rgba(255, 255, 255, 0.9);
width: 100%;
display: flex;
flex-direction: row;
flex-shrink: 0;
}
.profile .avatar-link[data-v-677a8360] {
font-size: 0;
padding: 1rem;
}
.profile .avatar[data-v-677a8360] {
height: 15rem;
width: 15rem;
flex-shrink: 0;
margin: 0 1rem 0 0;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: 50% 0;
object-position: 50% 0;
}
.bio[data-v-677a8360] {
flex-grow: 1;
min-width: 18rem;
box-sizing: border-box;
padding: 1rem;
margin: 0 3rem 0 0;
}
.bio-header[data-v-677a8360] {
display: flex;
justify-content: space-between;
padding: 1rem;
align-items: center;
margin: 0 0 1rem 0;
}
.title[data-v-677a8360] {
.bio-item[data-v-677a8360] {
display: flex;
justify-content: space-between;
margin: 0 0 .5rem 0;
line-height: 1.75;
text-align: right;
font-size: .9rem;
font-weight: bold;
}
.bio-heading[data-v-677a8360] {
color: rgba(255, 255, 255, 0.5);
font-weight: normal;
font-style: normal;
}
.bio-heading .icon[data-v-677a8360] {
fill: rgba(255, 255, 255, 0.5);
margin: 0 .5rem 0 0;
}
.flag[data-v-677a8360] {
margin: 0 .25rem 0 0;
}
.bio-name[data-v-677a8360] {
display: inline-block;
margin: 0 .5rem 0 0;
padding: 0;
margin: 0;
}
.bio-gender[data-v-677a8360] {
display: inline-block;
font-weight: bold;
text-transform: capitalize;
font-weight: normal;
}
.bio-gender .icon[data-v-677a8360] {
width: 1.25rem;
height: 1.25rem;
}
.bio-gender.female .icon[data-v-677a8360] {
fill: #f0a;
}
.bio-gender.male .icon[data-v-677a8360] {
fill: #0af;
}
.birthdate[data-v-677a8360] {
display: block;
}
.age[data-v-677a8360] {
font-weight: bold;
padding: 0 0 0 .5rem;
border-left: solid 1px rgba(255, 255, 255, 0.2);
margin: 0 0 0 .5rem;
/*
&::before {
content: ' (';
}
&::after {
content: ')';
}
&::before,
&::after {
color: $highlight;
}
*/
}
.country[data-v-677a8360] {
display: block;
}
.height-imperial[data-v-677a8360],
.weight-imperial[data-v-677a8360] {
padding: 0 0 0 .5rem;
border-left: solid 1px rgba(255, 255, 255, 0.2);
margin: 0 0 0 .5rem;
}
.enhanced.icon[data-v-677a8360] {
fill: #ff6c88;
padding: 0 .5rem;
}
.description[data-v-677a8360] {
max-height: 10rem;
flex-grow: 1;
position: relative;
display: inline-block;
box-sizing: border-box;
padding: 1rem 0 0 0;
margin: 0 2rem 0 0;
line-height: 1.5;
text-overflow: ellipsis;
font-size: .9rem;
overflow: hidden;
cursor: pointer;
}
.description.expanded[data-v-677a8360] {
overflow: visible;
}
.social[data-v-677a8360] {
display: block;
margin: 1rem 0;
}
.social-link[data-v-677a8360] {
display: inline-block;
padding: 0 1rem 0 0;
}
.social-link .icon[data-v-677a8360] {
fill: rgba(255, 255, 255, 0.5);
width: 1.5rem;
height: 1.5rem;
}
.social-link:hover .icon[data-v-677a8360] {
fill: #ff6c88;
}
.scraped[data-v-677a8360] {
color: rgba(255, 255, 255, 0.2);
margin: 1rem 0 0 0;
font-size: .8rem;
}
.actor-content[data-v-677a8360] {
display: flex;
flex-grow: 1;
flex-direction: row;
}
.heading[data-v-677a8360] {
padding: 0;
margin: 0 0 1rem 0;
}
.bio-heading[data-v-677a8360] {
display: inline-block;
font-weight: bold;
margin: .5rem 0 0 0;
.photos-container[data-v-677a8360] {
min-width: 15rem;
box-sizing: border-box;
border-right: solid 1px rgba(0, 0, 0, 0.1);
padding: 1rem 1.5rem 1rem 1rem;
margin: 0 .5rem 0 0;
}
.bio-heading[data-v-677a8360]::after {
content: ':';
.photos[data-v-677a8360] {
max-width: 35vw;
display: inline-grid;
grid-template-columns: repeat(auto-fit, 15rem);
grid-gap: .5rem;
font-size: 0;
}
.description[data-v-677a8360] {
padding: 1rem;
.photos .avatar-link[data-v-677a8360] {
display: none;
}
.avatar[data-v-677a8360] {
height: 20rem;
margin: 0 1rem 0 0;
display: block;
.photo-link[data-v-677a8360] {
height: 15rem;
}
.photo[data-v-677a8360] {
height: 10rem;
}
.social[data-v-677a8360] {
display: block;
}
.flag[data-v-677a8360] {
height: 1rem;
border: solid 1px rgba(0, 0, 0, 0.2);
margin: 0 .25rem 0 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: 50% 0;
object-position: 50% 0;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.releases[data-v-677a8360] {
flex-grow: 1;
padding: 1rem;
}
@media (max-width: 1500px) {
.description[data-v-677a8360] {
display: none;
}
}
@media (max-width: 1200px) {
.profile .avatar-link[data-v-677a8360],
.social[data-v-677a8360] {
display: none;
}
.actor-content[data-v-677a8360] {
flex-direction: column;
}
.photos-container[data-v-677a8360] {
border: none;
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
padding: 1rem 1rem 1.5rem 1rem;
margin: 0 0 .5rem 0;
}
.photos[data-v-677a8360] {
width: 100%;
max-width: 100%;
display: flex;
overflow-x: scroll;
scrollbar-width: none;
}
.photos .avatar-link[data-v-677a8360] {
display: inline-block;
}
.photos[data-v-677a8360]::-webkit-scrollbar {
display: none;
}
.photo-link[data-v-677a8360] {
height: 15rem;
flex-shrink: 0;
margin: 0 .5rem 0 0;
}
}
@media (max-width: 720px) {
.profile[data-v-677a8360] {
flex-direction: column;
padding: 0 0 .5rem 0;
}
.bio[data-v-677a8360] {
width: 100%;
padding: 0 1rem;
margin: 0;
}
.bio-header[data-v-677a8360] {
margin: 1rem 0;
}
.place[data-v-677a8360],
.ethnicity[data-v-677a8360],
.residence[data-v-677a8360],
.weight[data-v-677a8360],
.scraped[data-v-677a8360] {
display: none;
}
.social[data-v-677a8360] {
padding: 0 1rem;
}
}
/* $primary: #ff886c; */
@@ -765,7 +991,7 @@ body {
display: inline-block; }
.heading {
color: #ff6c88;
color: rgba(0, 0, 0, 0.5);
padding: 0;
margin: 0 0 1rem 0;
font-size: 1.5rem; }

BIN
public/img/flags/ad.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

BIN
public/img/flags/ae.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

BIN
public/img/flags/af.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

BIN
public/img/flags/ag.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
public/img/flags/ai.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

BIN
public/img/flags/al.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

BIN
public/img/flags/am.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

BIN
public/img/flags/an.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

BIN
public/img/flags/ao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

BIN
public/img/flags/ar.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

BIN
public/img/flags/as.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

BIN
public/img/flags/at.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
public/img/flags/au.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
public/img/flags/aw.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

BIN
public/img/flags/ax.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

BIN
public/img/flags/az.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
public/img/flags/ba.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
public/img/flags/bb.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

BIN
public/img/flags/bd.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

BIN
public/img/flags/be.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

BIN
public/img/flags/bf.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

BIN
public/img/flags/bg.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

BIN
public/img/flags/bh.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

BIN
public/img/flags/bi.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

BIN
public/img/flags/bj.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

BIN
public/img/flags/bm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

BIN
public/img/flags/bn.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

BIN
public/img/flags/bo.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

BIN
public/img/flags/br.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

BIN
public/img/flags/bs.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
public/img/flags/bt.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

BIN
public/img/flags/bv.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

BIN
public/img/flags/bw.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

BIN
public/img/flags/by.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

BIN
public/img/flags/bz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

BIN
public/img/flags/ca.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

BIN
public/img/flags/cc.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

BIN
public/img/flags/cd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

BIN
public/img/flags/cf.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

BIN
public/img/flags/cg.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

BIN
public/img/flags/ch.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

BIN
public/img/flags/ci.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

BIN
public/img/flags/ck.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

BIN
public/img/flags/cl.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

BIN
public/img/flags/cm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

BIN
public/img/flags/cn.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

BIN
public/img/flags/co.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

BIN
public/img/flags/cr.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

BIN
public/img/flags/cs.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

BIN
public/img/flags/cu.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

BIN
public/img/flags/cv.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

BIN
public/img/flags/cx.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

BIN
public/img/flags/cy.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

BIN
public/img/flags/cz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

BIN
public/img/flags/de.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

BIN
public/img/flags/dj.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

BIN
public/img/flags/dk.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

BIN
public/img/flags/dm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

BIN
public/img/flags/do.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

BIN
public/img/flags/dz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

BIN
public/img/flags/ec.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

BIN
public/img/flags/ee.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

BIN
public/img/flags/eg.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

BIN
public/img/flags/eh.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

BIN
public/img/flags/england.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

BIN
public/img/flags/er.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
public/img/flags/es.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

BIN
public/img/flags/et.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
public/img/flags/fam.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

BIN
public/img/flags/fi.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

BIN
public/img/flags/fj.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

BIN
public/img/flags/fk.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

BIN
public/img/flags/fm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

BIN
public/img/flags/fo.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

BIN
public/img/flags/fr.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

BIN
public/img/flags/ga.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

BIN
public/img/flags/gb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

BIN
public/img/flags/gd.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

BIN
public/img/flags/ge.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

BIN
public/img/flags/gf.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

BIN
public/img/flags/gh.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

BIN
public/img/flags/gi.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

BIN
public/img/flags/gl.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
public/img/flags/gm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

BIN
public/img/flags/gn.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

BIN
public/img/flags/gp.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

BIN
public/img/flags/gq.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

BIN
public/img/flags/gr.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

BIN
public/img/flags/gs.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

BIN
public/img/flags/gt.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

BIN
public/img/flags/gu.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

BIN
public/img/flags/gw.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

BIN
public/img/flags/gy.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

BIN
public/img/flags/hk.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

BIN
public/img/flags/hm.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
public/img/flags/hn.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

BIN
public/img/flags/hr.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Some files were not shown because too many files have changed in this diff Show More