diff --git a/renderer.py b/renderer.py index e5c5b0d..730521a 100644 --- a/renderer.py +++ b/renderer.py @@ -6,68 +6,69 @@ from PySide6 import QtCore qt_resource_data = b"\ -\x00\x00\x03\xa2\ +\x00\x00\x03\xb2\ \x00\ -\x00\x0e\xeax\x9c\xd5VMo\xe36\x10='@\xfe\ -\x83\xba\xc5\x02^#t(\xf9c\x1d\xf5\xb2\xbd\x14\xe8\ -\xa1\xd8\xeb\xde\x0c\x8a\x1a\xd9\xac)R\xa0h;\xde\xa2\ -\xff\xbdCJ\xb2#YV\xb6@6\xdb\xc2\x88\x1dq\ -f\x1e\xdf<\xce\x0c\xf50\x1e\x07\x9f2mrf\x83\ -\xf1\xc3\xdd\xed\xddml\xb4\xb6\xc1_w\xb77\x84\xe4\ -L(\x92\xac\xe3\xe0g\xca\xc2e\xf4\xf1\x17\xbf\xca8\ -\x07eI\xa9\xa5H\xd1\xc4\xa7\xb3\xc5lZ\x99\xfe\xcc\ -H\xb13\x85\x04\x22\xc5zc\xd1\xca\xd8\x9c\xf3\x0bk\ -\xca\xcc\x16\x8dS\x88\xa2\xd9\xc7\x931\x91\xbbs \xa5\ -l\x96\xf2\xb6\xad\x0e\xa3t\xca\xe7\xb42\x1d\x98QB\ -\xad\xc9\x11\xa4\xd4\x074f\xe1\x12\xe8\xa2mt)\x98\ -u\xc2FQD\xef\x830Z\xe2\xd7}@'\xe1\xe2\ -C\xe5\x08\xc6hC\x0c\xb8|\xd8\xe3l6\x8b:\xeb\ -~k0$D\x87e\x12A\x04]\x07/S4\xa3\ -@\x81\xd5\xdc\x8eP\x92\xb5\x01Ph\x09\x97\x09\x84Q\ -g\xfd9j8g4\xac\x03\x8d\xde\xa9\x14\x89\xc7A\ -H\x8b\xa7\xf6\x9as\x9e7\x8b\xd60U\x0a+\xb4\x22\ -V\xe4@2VZ\x12\xb90\x9a\x97\x03.\x88\x11\xce\ -\xaf\xba\xa4\x90\xb1\x9d\xc4C\x88\xae\xfb\x94\xa8\xb6\x83\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8e(\xf5>\xe9\xe9\x90\xbe\xa4\xfe\xea\xd1\x5c\xea\ +\xd4O\xa8>\xd0.\xe7M18\x9a/\x87y\xb1\xa7\ +\xce\xc0\x9f\xad\xc4\xffK\xfbKu\xcbO\xca\xf3<\xaf\ +\x89\xce\xbb+\xe3\xb4\x1c\xea\xcb\xae\xed\xac\x11\xb3\xd3\xe6\ +\xe8&\xe1\x05A\xcf\x19\xaftw\x1a{\x8c{\xa0\x9f\ +z\xee\x12~9\xccs\xbeR\xf3t\xf0\xae\xfa<\xaa\ +\xdeK\x86o\xa7\xcf\xf5\x95\xd6\xc3\xfe{y8\x8f%\ +\xc7\xf7\x8c\x8f=\xfb\xf0\xe9\xcbLO_\x9f|\xb6\xd6\ +\xa2\xcb^\x95\xdd\xe7\xe7\xea\xb5=_\x8e\xbd\xd3\xd8-\ +\xdc\x01\xd8\x1e*\xdf\xf6\xc2\xf3\x8a~\xff\x034\x05\x07\ +\xa2\ +\x00\x00\x0el\ /\ ** @format */\x0d\x0a\x0d\ \x0a.moveFadeOut {\x0d\ @@ -97,9 +98,7 @@ right: -300px;\x0d\x0a\ \x0a\x09right: 0;\x0d\x0a}\x0d\x0a\ \x0d\x0a.menu.side__me\ nu {\x0d\x0a\x09width: 40\ -vw;\x0d\x0a\x09background\ -: rgb(0 0 0 / 0.\ -3);\x0d\x0a\x09height: 10\ +vw;\x0d\x0a\x09height: 10\ 0vh;\x0d\x0a\x09max-width\ : 20em;\x0d\x0a\x09overfl\ ow: auto;\x0d\x0a\x09disp\ @@ -110,97 +109,198 @@ x-wrap: nowrap;\x0d\ n-items: center;\ \x0d\x0a\x09justify-conte\ nt: flex-start;\x0d\ -\x0a}\x0d\x0a\x0d\x0a.user__men\ -u {\x0d\x0a\x09width: 100\ -%;\x0d\x0a\x09display: fl\ +\x0a\x09border-right: \ +1px solid var(--\ +main-brd-clr);\x0d\x0a\ +}\x0d\x0a\x0d\x0a.user__menu\ + {\x0d\x0a\x09width: 100%\ +;\x0d\x0a\x09display: fle\ +x;\x0d\x0a\x09flex-direct\ +ion: row;\x0d\x0a\x09flex\ +-wrap: nowrap;\x0d\x0a\ +\x09align-items: ce\ +nter;\x0d\x0a\x09justify-\ +content: center;\ +\x0d\x0a\x09font-weight: \ +200;\x0d\x0a\x09font-size\ +: 1.9rem;\x0d\x0a\x09gap:\ + 0.5em;\x0d\x0a\x09paddin\ +g: 2em 1em;\x0d\x0a\x09bo\ +rder-bottom: 1px\ + solid var(--mai\ +n-brd-clr);\x0d\x0a}\x0d\x0a\ +\x0d\x0a.user__menu .i\ +mage {\x0d\x0a\x09width: \ +15vh;\x0d\x0a\x09border-r\ +adius: 100%;\x0d\x0a\x09o\ +verflow: hidden;\ +\x0d\x0a\x09aspect-ratio:\ + 1/1;\x0d\x0a}\x0d\x0a\x0d\x0aimg \ +{\x0d\x0a\x09-o-object-fi\ +t: cover;\x0d\x0a\x09obje\ +ct-fit: cover;\x0d\x0a\ +}\x0d\x0a\x0d\x0a.user__menu\ + .image > img {\x0d\ +\x0a\x09width: 100%;\x0d\x0a\ +\x09aspect-ratio: 1\ +/1;\x0d\x0a}\x0d\x0a\x0d\x0a.subme\ +nu {\x0d\x0a\x09width: 10\ +0%;\x0d\x0a\x09padding: 0\ + 1em;\x0d\x0a}\x0d\x0a\x0d\x0a.men\ +u__button {\x0d\x0a\x09fo\ +nt-size: 1.3rem;\ +\x0d\x0a\x09padding: 0.5e\ +m;\x0d\x0a\x09position: r\ +elative;\x0d\x0a}\x0d\x0a\x0d\x0a.\ +main__animated__\ +page {\x0d\x0a\x09width: \ +100%;\x0d\x0a\x09height: \ +100vh;\x0d\x0a\x09positio\ +n: relative;\x0d\x0a\x09b\ +ackground: linea\ +r-gradient(\x0d\x0a\x09\x094\ +5deg,\x0d\x0a\x09\x09rgba(10\ +, 26, 51, 1) 0%,\ +\x0d\x0a\x09\x09rgba(8, 144,\ + 149, 1) 100%\x0d\x0a\x09\ +);\x0d\x0a\x09display: fl\ ex;\x0d\x0a\x09flex-direc\ -tion: row;\x0d\x0a\x09fle\ -x-wrap: nowrap;\x0d\ -\x0a\x09align-items: c\ -enter;\x0d\x0a\x09justify\ --content: center\ -;\x0d\x0a\x09font-weight:\ - 200;\x0d\x0a\x09font-siz\ -e: 1.9rem;\x0d\x0a\x09gap\ -: 0.5em;\x0d\x0a\x09backg\ -round: #102c499c\ -;\x0d\x0a\x09padding: 2em\ - 1em;\x0d\x0a}\x0d\x0a\x0d\x0a.use\ -r__menu .image {\ -\x0d\x0a\x09width: 15vh;\x0d\ -\x0a\x09border-radius:\ - 100%;\x0d\x0a\x09overflo\ -w: hidden;\x0d\x0a\x09asp\ -ect-ratio: 1/1;\x0d\ -\x0a}\x0d\x0a\x0d\x0aimg {\x0d\x0a\x09-o\ --object-fit: cov\ -er;\x0d\x0a\x09object-fit\ -: cover;\x0d\x0a}\x0d\x0a\x0d\x0a.\ -user__menu .imag\ -e > img {\x0d\x0a\x09widt\ -h: 100%;\x0d\x0a\x09aspec\ -t-ratio: 1/1;\x0d\x0a}\ -\x0d\x0a\x0d\x0a.submenu {\x0d\x0a\ -\x09width: 100%;\x0d\x0a\x09\ -padding: 0 1em;\x0d\ -\x0a}\x0d\x0a\x0d\x0a.menu__but\ -ton {\x0d\x0a\x09font-siz\ -e: 1.3rem;\x0d\x0a\x09pad\ -ding: 0.5em;\x0d\x0a\x09p\ -osition: relativ\ -e;\x0d\x0a}\x0d\x0a\x0d\x0a.main__\ -animated__page {\ -\x0d\x0a\x09width: 100%;\x0d\ -\x0a\x09height: 100vh;\ -\x0d\x0a\x09position: rel\ -ative;\x0d\x0a}\x0d\x0a\x0d\x0a.la\ -testMediaSlider \ -{\x0d\x0a\x09width: 100%;\ -\x0d\x0a\x09height: 80vh;\ -\x0d\x0a\x09position: rel\ -ative;\x0d\x0a}\x0d\x0a\x0d\x0a.sl\ -ide {\x0d\x0a\x09width: 1\ -00%;\x0d\x0a\x09height: 1\ -00%;\x0d\x0a\x09position:\ - absolute;\x0d\x0a\x09top\ -: 0;\x0d\x0a}\x0d\x0a\x0d\x0a.slid\ -e.active {\x0d\x0a\x09dis\ -play: block;\x0d\x0a}\x0d\ -\x0a\x0d\x0a.slide__backg\ -round {\x0d\x0a\x09width:\ - 75%;\x0d\x0a\x09height: \ -100%;\x0d\x0a\x09position\ -: absolute;\x0d\x0a\x09z-\ -index: -1;\x0d\x0a\x09rig\ -ht: 0;\x0d\x0a\x09-webkit\ --mask-image: lin\ -ear-gradient(to \ -right, transpare\ -nt, black),\x0d\x0a\x09\x09l\ +tion: column;\x0d\x0a\x09\ +flex-wrap: nowra\ +p;\x0d\x0a\x09justify-con\ +tent: flex-start\ +;\x0d\x0a\x09align-items:\ + center;\x0d\x0a}\x0d\x0a\x0d\x0a.\ +latestMediaSlide\ +r {\x0d\x0a\x09width: 90%\ +;\x0d\x0a\x09height: 55vh\ +;\x0d\x0a\x09position: re\ +lative;\x0d\x0a\x09z-inde\ +x: 1;\x0d\x0a\x09backgrou\ +nd: var(--main-b\ +g);\x0d\x0a\x09border-rad\ +ius: var(--round\ +ing);\x0d\x0a\x09overflow\ +: hidden;\x0d\x0a\x09marg\ +in-top: 3em;\x0d\x0a\x09b\ +ox-shadow: 0 5px\ + 30px -20px rgb(\ +0 0 0 / 90%);\x0d\x0a}\ +\x0d\x0a\x0d\x0a.slide {\x0d\x0a\x09w\ +idth: 100%;\x0d\x0a\x09he\ +ight: 100%;\x0d\x0a\x09po\ +sition: absolute\ +;\x0d\x0a\x09top: 0;\x0d\x0a\x09le\ +ft: 0;\x0d\x0a}\x0d\x0a\x0d\x0a.sl\ +ide.active {\x0d\x0a\x09d\ +isplay: block;\x0d\x0a\ +}\x0d\x0a\x0d\x0a.slide__bac\ +kground {\x0d\x0a\x09widt\ +h: 75%;\x0d\x0a\x09height\ +: 100%;\x0d\x0a\x09positi\ +on: absolute;\x0d\x0a\x09\ +z-index: -1;\x0d\x0a\x09r\ +ight: 0;\x0d\x0a\x09-webk\ +it-mask-image: l\ inear-gradient(t\ -o top, transpare\ -nt, black);\x0d\x0a\x09-w\ -ebkit-mask-compo\ -site: destinatio\ -n-in;\x0d\x0a\x09backgrou\ -nd-size: cover !\ -important;\x0d\x0a}\x0d\x0a\x0d\ -\x0acanvas.placehol\ -der {\x0d\x0a\x09opacity:\ - 1;\x0d\x0a\x09transition\ -: opacity var(--\ -transition-time-\ -default);\x0d\x0a\x09posi\ -tion: absolute;\x0d\ -\x0a\x09top: 0;\x0d\x0a\x09righ\ -t: 0;\x0d\x0a\x09z-index:\ - 2;\x0d\x0a}\x0d\x0a\x0d\x0a.slide\ - img {\x0d\x0a\x09positio\ -n: absolute;\x0d\x0a\x09t\ -op: 0;\x0d\x0a\x09right: \ -0;\x0d\x0a\x09width: 100%\ -;\x0d\x0a\x09height: 100%\ -;\x0d\x0a}\x0d\x0a\ +o right, transpa\ +rent, black 50%)\ +;\x0d\x0a\x09-webkit-mask\ +-composite: dest\ +ination-in;\x0d\x0a\x09ba\ +ckground-size: c\ +over !important;\ +\x0d\x0a\x09opacity: 0.5;\ +\x0d\x0a}\x0d\x0a\x0d\x0acanvas.pl\ +aceholder {\x0d\x0a\x09op\ +acity: 1;\x0d\x0a\x09tran\ +sition: opacity \ +var(--transition\ +-time-default);\x0d\ +\x0a\x09position: abso\ +lute;\x0d\x0a\x09top: 0;\x0d\ +\x0a\x09right: 0;\x0d\x0a\x09z-\ +index: 2;\x0d\x0a}\x0d\x0a\x0d\x0a\ +.slide img {\x0d\x0a\x09p\ +osition: absolut\ +e;\x0d\x0a\x09top: 0;\x0d\x0a\x09r\ +ight: 0;\x0d\x0a\x09width\ +: 100%;\x0d\x0a\x09height\ +: 100%;\x0d\x0a}\x0d\x0a\x0d\x0a.i\ +nfo__cont {\x0d\x0a\x09di\ +splay: flex;\x0d\x0a\x09f\ +lex-direction: c\ +olumn;\x0d\x0a\x09flex-wr\ +ap: nowrap;\x0d\x0a\x09al\ +ign-items: flex-\ +start;\x0d\x0a\x09justify\ +-content: center\ +;\x0d\x0a\x09align-conten\ +t: center;\x0d\x0a\x09wid\ +th: 70%;\x0d\x0a\x09heigh\ +t: 100%;\x0d\x0a\x09posit\ +ion: absolute;\x0d\x0a\ +\x09top: 50%;\x0d\x0a\x09tra\ +nsform: translat\ +eY(-50%);\x0d\x0a\x09left\ +: 2em;\x0d\x0a}\x0d\x0a\x0d\x0a.ti\ +tle div {\x0d\x0a\x09widt\ +h: 100%;\x0d\x0a\x09heigh\ +t: 100%;\x0d\x0a\x09posit\ +ion: static;\x0d\x0a\x09b\ +ackground-size: \ +contain !importa\ +nt;\x0d\x0a\x09background\ +-position: left \ +!important;\x0d\x0a\x09ba\ +ckground-repeat:\ + no-repeat !impo\ +rtant;\x0d\x0a}\x0d\x0a\x0d\x0a.ti\ +tle {\x0d\x0a\x09width: 1\ +00%;\x0d\x0a\x09height: 4\ +0%;\x0d\x0a}\x0d\x0a\x0d\x0a.overv\ +iew {\x0d\x0a\x09width: 1\ +00%;\x0d\x0a\x09display: \ +flex;\x0d\x0a\x09gap: 1em\ +;\x0d\x0a\x09font-size: 0\ +.9em;\x0d\x0a\x09font-wei\ +ght: 600;\x0d\x0a}\x0d\x0a\x0d\x0a\ +.overview div {\x0d\ +\x0a\x09display: flex;\ +\x0d\x0a\x09gap: 0.2em;\x0d\x0a\ +}\x0d\x0a\x0d\x0abutton.fill\ +ed {\x0d\x0a\x09--clr: va\ +r(--accent-solid\ +);\x0d\x0a\x09background:\ + var(--accent-so\ +lid);\x0d\x0a\x09color: w\ +hite;\x0d\x0a\x09border: \ +2px solid var(--\ +clr);\x0d\x0a}\x0d\x0a\x0d\x0abutt\ +on.outlined {\x0d\x0a\x09\ +--clr: white;\x0d\x0a\x09\ +background: tran\ +sparent;\x0d\x0a\x09color\ +: white;\x0d\x0a\x09borde\ +r: 2px solid var\ +(--clr);\x0d\x0a}\x0d\x0a\x0d\x0a.\ +main .buttons {\x0d\ +\x0a\x09width: 100%;\x0d\x0a\ +\x09margin-top: 1em\ +;\x0d\x0a}\x0d\x0a\x0d\x0a.info__c\ +ont button {\x0d\x0a\x09m\ +ax-width: 15em;\x0d\ +\x0a\x09padding: 0;\x0d\x0a}\ +\x0d\x0a\x0d\x0a.info__cont \ +button span {\x0d\x0a\x09\ +font-size: 1.5em\ +;\x0d\x0a}\x0d\x0a\x0d\x0a@media (\ +max-width: 900px\ +) {\x0d\x0a\x09.latestMed\ +iaSlider {\x0d\x0a\x09\x09he\ +ight: auto;\x0d\x0a\x09\x09a\ +spect-ratio: 16/\ +9;\x0d\x0a\x09}\x0d\x0a}\x0d\x0a\ \x00\x00\x09%\ \x00\ \x00&\xdfx\x9c\xbdZmo\xdb8\x12\xfe\x9c\x02\xfd\ @@ -962,98 +1062,116 @@ w\x9c\x17b\xa8\xe3\xcb;3\x1b\x1a\x81\xd1k\xf2\x1d\ \x03\xd3hP=\xd7-\xcf\xd2\xfa\xe6f\x9d\x82J\x05\ \x895\x8f\xfb\x96#\xf8\xfb\xbb\xd4\xf8hK\x0d\xfbC\ \xe3\xf6\xe1\xff\x01\xe2\xa8@\xd1\ -\x00\x00\x05\x9b\ +\x00\x00\x06\xb2\ \x00\ -\x00\x13\xcbx\x9c\xb5X[o\xdb6\x14~\x0f\x90\xff\ -@h\x01*c\x9a\xecd\xebV$\xb1\x87\xb4[\x11\ -c\xc9\x1a\xac\xeeS\x108\xb4DKLeQ#)\ -'F\xe0\xff\xbeC\x8a\xb2(Kr\x9c\x16\xf3\x93M\ -\x9e\xcbw\xae<\xc7\x01K\x85D\x0bL\xd3\x1b\x1c\x91\ -\x0f,\x95h\x88B\x16\xe4\x0b\x92J\xff\xdf\x9c\xf0\xd5\ -g\x92\x90@2\xee:\x8a\xcc\xe9\x9d\x1d\x1e\x04\x9a+\ -aQ\xc1\xb6\x83\xc5\xd7D\x16\xd3,\xdaA\xfd\xc3\x0c\ -\x07_#\xce\xf24\xd4,\x09\x01\x86$\xe71\x16\xf1\ -\x12'\xf5\x930\xa3O\xe5\x09\xb0\x85\x9ce\x1b-\x19\ -\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2:\x9b\ +w\xe9\x1cT\xac7\xe8y\x8aC\xb8\xffNQ\ +\xff\xac\x1ax\x9d\x00\x03\xb9\x7f\x0c\x0d\xccq\x17\xdd\xfd\ +\xff-\xcc\xddV\xdf\xe8\xc6\xcdf\xfe\xb9\x8f\xb1[\xb9\ +\x99?\x81\xa0!:\xa9\xa0U\xbe]\x969X\xbe\x99\ +\xb6b\xa9\x8f\xc1\xc0\xd8\xf2\xb0\x06v\xff\x0bm\x16`\ +\xce\ \x00\x13\xa3\xd6\ <\ svg width=\x221095\x22\ @@ -116365,31 +116483,31 @@ qt_resource_struct = b"\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x002\x00\x02\x00\x00\x00\x01\x00\x00\x00\x07\ \x00\x00\x00\x00\x00\x00\x00\x00\ -\x00\x00\x00\xd4\x00\x01\x00\x00\x00\x01\x00\x00\x1eR\ +\x00\x00\x00\xd4\x00\x01\x00\x00\x00\x01\x00\x00$\x97\ \x00\x00\x01\x80\x08\x22\xf8\xcb\ -\x00\x00\x00\xa0\x00\x00\x00\x00\x00\x01\x00\x00\x15\x0a\ +\x00\x00\x00\xa0\x00\x00\x00\x00\x00\x01\x00\x00\x1bO\ \x00\x00\x01\x7f\xeb\x17\xf0\xa2\ -\x00\x00\x00\xba\x00\x00\x00\x00\x00\x01\x00\x00\x1b\xb5\ +\x00\x00\x00\xba\x00\x00\x00\x00\x00\x01\x00\x00!\xfa\ \x00\x00\x01\x7f\xeb\x17\xf0\xa2\ -\x00\x00\x00r\x00\x00\x00\x00\x00\x01\x00\x00\x03\xa6\ -\x00\x00\x01\x80\x08!g\x0f\ +\x00\x00\x00r\x00\x00\x00\x00\x00\x01\x00\x00\x03\xb6\ +\x00\x00\x01\x80\x0d \x5c\xc2\ \x00\x00\x00X\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\ -\x00\x00\x01\x80\x03\x9f\xe6\xd1\ -\x00\x00\x00\x88\x00\x01\x00\x00\x00\x01\x00\x00\x0b\xe1\ +\x00\x00\x01\x80\x0d\x1d\xb1x\ +\x00\x00\x00\x88\x00\x01\x00\x00\x00\x01\x00\x00\x12&\ \x00\x00\x01\x80\x02\xa5\xc4\xd9\ -\x00\x00\x01\x02\x00\x01\x00\x00\x00\x01\x00\x00:\xc1\ -\x00\x00\x01\x80\x08$\x0b\x22\ -\x00\x00\x00\xec\x00\x01\x00\x00\x00\x01\x00\x00-\x03\ +\x00\x00\x01\x02\x00\x01\x00\x00\x00\x01\x00\x00A\x06\ +\x00\x00\x01\x80\x0d\x1cf\x03\ +\x00\x00\x00\xec\x00\x01\x00\x00\x00\x01\x00\x003H\ \x00\x00\x01\x80\x03T\xf0\xda\ -\x00\x00\x01N\x00\x00\x00\x00\x00\x01\x00\x13\xf0D\ +\x00\x00\x01N\x00\x00\x00\x00\x00\x01\x00\x13\xf7\xa0\ \x00\x00\x01\x7f\xeb\x17\xf0z\ -\x00\x00\x01z\x00\x00\x00\x00\x00\x01\x00\x1b\xe2\xdf\ +\x00\x00\x01z\x00\x00\x00\x00\x00\x01\x00\x1b\xea;\ \x00\x00\x01\x7f\xeb\x17\xf0z\ -\x00\x00\x01\x16\x00\x00\x00\x00\x00\x01\x00\x00@`\ +\x00\x00\x01\x16\x00\x00\x00\x00\x00\x01\x00\x00G\xbc\ \x00\x00\x01\x7f\xfd\xc3\xe9-\ -\x00\x00\x01d\x00\x00\x00\x00\x00\x01\x00\x13\xfd\x9f\ +\x00\x00\x01d\x00\x00\x00\x00\x00\x01\x00\x14\x04\xfb\ \x00\x00\x01\x7f\xfd\xc4\x07\x91\ -\x00\x00\x01,\x00\x00\x00\x00\x00\x01\x00\x13\xe4:\ +\x00\x00\x01,\x00\x00\x00\x00\x00\x01\x00\x13\xeb\x96\ \x00\x00\x01\x7f\xeb\x17\xf0\x82\ " diff --git a/renderer/css/global.css b/renderer/css/global.css index d1d17fd..66979cf 100644 --- a/renderer/css/global.css +++ b/renderer/css/global.css @@ -2,7 +2,7 @@ :root { --main-bg: #0a1827; - --accent-solid: #c34643; + --accent-solid: #e82a5f; --jf-purple-light: #aa5cc3; --jf-purple-dark: #3e2247; --jf-blue-light: #00a4dc; @@ -14,6 +14,7 @@ --error-red-bg: #240e0ea0; --yes-green: #18be12; --yes-green-darker-1: #15a010; + --main-brd-clr: rgb(255 255 255/ 0.1); --rounding: 10px; --rounding-1: 5px; --transition-time-fast-2: 100ms; diff --git a/renderer/css/main.css b/renderer/css/main.css index e96aad5..5c0d29c 100644 --- a/renderer/css/main.css +++ b/renderer/css/main.css @@ -19,7 +19,6 @@ .menu.side__menu { width: 40vw; - background: rgb(0 0 0 / 0.3); height: 100vh; max-width: 20em; overflow: auto; @@ -28,6 +27,7 @@ flex-direction: column; align-items: center; justify-content: flex-start; + border-right: 1px solid var(--main-brd-clr); } .user__menu { @@ -40,8 +40,8 @@ font-weight: 200; font-size: 1.9rem; gap: 0.5em; - background: #102c499c; padding: 2em 1em; + border-bottom: 1px solid var(--main-brd-clr); } .user__menu .image { @@ -76,12 +76,28 @@ img { width: 100%; height: 100vh; position: relative; + background: linear-gradient( + 45deg, + rgba(10, 26, 51, 1) 0%, + rgba(8, 144, 149, 1) 100% + ); + display: flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: flex-start; + align-items: center; } .latestMediaSlider { - width: 100%; - height: 80vh; + width: 90%; + height: 55vh; position: relative; + z-index: 1; + background: var(--main-bg); + border-radius: var(--rounding); + overflow: hidden; + margin-top: 3em; + box-shadow: 0 5px 30px -20px rgb(0 0 0 / 90%); } .slide { @@ -89,6 +105,7 @@ img { height: 100%; position: absolute; top: 0; + left: 0; } .slide.active { @@ -101,10 +118,10 @@ img { position: absolute; z-index: -1; right: 0; - -webkit-mask-image: linear-gradient(to right, transparent, black), - linear-gradient(to top, transparent, black); + -webkit-mask-image: linear-gradient(to right, transparent, black 50%); -webkit-mask-composite: destination-in; background-size: cover !important; + opacity: 0.5; } canvas.placeholder { @@ -123,3 +140,80 @@ canvas.placeholder { width: 100%; height: 100%; } + +.info__cont { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + align-items: flex-start; + justify-content: center; + align-content: center; + width: 70%; + height: 100%; + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 2em; +} + +.title div { + width: 100%; + height: 100%; + position: static; + background-size: contain !important; + background-position: left !important; + background-repeat: no-repeat !important; +} + +.title { + width: 100%; + height: 40%; +} + +.overview { + width: 100%; + display: flex; + gap: 1em; + font-size: 0.9em; + font-weight: 600; +} + +.overview div { + display: flex; + gap: 0.2em; +} + +button.filled { + --clr: var(--accent-solid); + background: var(--accent-solid); + color: white; + border: 2px solid var(--clr); +} + +button.outlined { + --clr: white; + background: transparent; + color: white; + border: 2px solid var(--clr); +} + +.main .buttons { + width: 100%; + margin-top: 1em; +} + +.info__cont button { + max-width: 15em; + padding: 0; +} + +.info__cont button span { + font-size: 1.5em; +} + +@media (max-width: 900px) { + .latestMediaSlider { + height: auto; + aspect-ratio: 16/9; + } +} diff --git a/renderer/js/main.js b/renderer/js/main.js index 50b0099..9da6ef1 100644 --- a/renderer/js/main.js +++ b/renderer/js/main.js @@ -4,6 +4,7 @@ const bg = document.querySelector("#background"); let blurhashval; let blurhasdpix; let backdrop; +let itemInfo; const pageTransition = (from, to, background) => { document.querySelector(from).classList.add("moveFadeOut"); document.querySelector(to).classList.add("moveFadeIn"); @@ -19,6 +20,10 @@ const pageTransition = (from, to, background) => { } }; +const ticksToMin = (ticks) => { + return Math.round(ticks/600000000) +} + const sliderAnim = (slider) => { let slide; var slides = document.querySelectorAll(slider); @@ -91,15 +96,36 @@ emitter.on("logged-in", async (user) => { html = ``; document.querySelector(".submenu").querySelector("div").insertAdjacentHTML("beforeend", html); }); - latestMedia.data.forEach(item => { + latestMedia.data.forEach(async (item) => { html = `
-
- - -
-
${item.Name}
-
`; +
+ + +
+
+
+
+
${item.ProductionYear}
+
${item.CommunityRating}
+
${ticksToMin(item.RunTimeTicks)}min
+
+
+ + +
+
+ `; document.querySelector(".latestMediaSlider").insertAdjacentHTML("beforeend", html); + if (item.ImageTags.Logo) { + html = `
` + document.querySelector(".info__cont .title").insertAdjacentHTML("beforeend", html) + } else { + document.querySelector(".info__cont .title").innerHTML = item.Name + } if (latestMedia.data.indexOf(item) == 0) { document.querySelector(".slide").classList.add("active"); } @@ -111,7 +137,6 @@ emitter.on("logged-in", async (user) => { blurhasdpix.data.set(blurhashval); document.querySelector(".placeholder").getContext("2d").putImageData(blurhasdpix, 0, 0); $(".slide__background img").on("load", function () { - console.log("h1`dji") document.querySelector(".placeholder").setAttribute("style", "opacity: 0;"); }).attr('src', `https://jellyfin.prayagnet.tk/Items/${item.Id}/Images/Backdrop?imgTag=${item.BackdropImageTags[0]}`); });