From 39a288eb0f225a4d97e672f32a3c2c5e9c62a26b Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 18 Dec 2022 15:35:37 +0100 Subject: Update --- app/fronters/ponies/jjzcb.png | Bin 0 -> 4740 bytes app/fronters/profiles/auvwc.png | Bin 504733 -> 504733 bytes app/fronters/profiles/bbrig.png | Bin 148262 -> 148262 bytes app/fronters/profiles/ckqsw.png | Bin 1559833 -> 1559833 bytes app/fronters/profiles/dogwu.png | Bin 2055 -> 2055 bytes app/fronters/profiles/eebmh.png | Bin 570974 -> 570974 bytes app/fronters/profiles/erefx.png | Bin 826530 -> 826530 bytes app/fronters/profiles/erknz.png | Bin 56915 -> 56915 bytes app/fronters/profiles/exnwc.png | Bin 226883 -> 226883 bytes app/fronters/profiles/exudo.png | Bin 298183 -> 298183 bytes app/fronters/profiles/fdaay.png | Bin 181311 -> 181311 bytes app/fronters/profiles/gevde.png | Bin 218853 -> 218853 bytes app/fronters/profiles/gfhsr.png | Bin 2283131 -> 2283131 bytes app/fronters/profiles/ghrby.png | Bin 167497 -> 167497 bytes app/fronters/profiles/hpwyq.png | Bin 2770 -> 2770 bytes app/fronters/profiles/irxyh.png | Bin 26543 -> 26543 bytes app/fronters/profiles/jnbae.png | Bin 60223 -> 60223 bytes app/fronters/profiles/khsbb.png | Bin 249236 -> 249236 bytes app/fronters/profiles/kkhbw.png | Bin 40300 -> 40300 bytes app/fronters/profiles/lllfw.png | Bin 560601 -> 324334 bytes app/fronters/profiles/lzlaq.png | Bin 26543 -> 26543 bytes app/fronters/profiles/mglyq.png | Bin 91476 -> 91476 bytes app/fronters/profiles/mhnqy.png | Bin 27452 -> 27452 bytes app/fronters/profiles/mvaws.png | Bin 473421 -> 473421 bytes app/fronters/profiles/pabmo.png | Bin 180390 -> 180390 bytes app/fronters/profiles/qbzxm.png | Bin 2843 -> 2843 bytes app/fronters/profiles/qcemf.png | Bin 370856 -> 370856 bytes app/fronters/profiles/qraku.png | Bin 45898 -> 45898 bytes app/fronters/profiles/rdstg.png | Bin 16881 -> 16881 bytes app/fronters/profiles/rirgf.png | Bin 156974 -> 156974 bytes app/fronters/profiles/rpjok.png | Bin 1542918 -> 1542918 bytes app/fronters/profiles/rquqx.png | Bin 0 -> 40300 bytes app/fronters/profiles/sbxze.png | Bin 50554 -> 50554 bytes app/fronters/profiles/sehke.png | Bin 1947 -> 1947 bytes app/fronters/profiles/sjuao.png | Bin 1045570 -> 1045570 bytes app/fronters/profiles/tfbob.png | Bin 14049 -> 14049 bytes app/fronters/profiles/ufadt.png | Bin 339704 -> 339704 bytes app/fronters/profiles/uhfic.png | Bin 0 -> 473421 bytes app/fronters/profiles/vncoa.png | Bin 46475 -> 46475 bytes app/fronters/profiles/vvsxf.png | Bin 61010 -> 61010 bytes app/fronters/profiles/xbvwt.png | Bin 70342 -> 70342 bytes app/fronters/profiles/xcjhj.png | Bin 107053 -> 107053 bytes app/fronters/profiles/yhbrc.png | Bin 494559 -> 494559 bytes app/fronters/profiles/yruks.png | Bin 0 -> 1542918 bytes app/fronters/profiles/zajrk.png | Bin 2097 -> 2097 bytes app/fronters/profiles/zdtsg.png | Bin 1628 -> 1628 bytes app/fronters/profiles/zhtzs.png | Bin 673763 -> 673763 bytes app/fronters/profiles/ztfjz.png | Bin 184686 -> 184686 bytes app/fronters/profiles/zzise.png | Bin 69145 -> 69145 bytes app/sw.js | 5 + assets/logo/custom.css | 672 +++++++++++++++++++++++++++++++++++++++ assets/species/changeling.png | Bin 0 -> 15758 bytes assets/uploads/pt-thorax.png | Bin 0 -> 4627 bytes includes/banner.inc | 4 +- includes/bitset.inc | 3 + includes/functions.inc | 2 +- includes/header.inc | 675 +--------------------------------------- includes/sysbanner.inc | 2 +- includes/system/species.inc | 15 +- pages/bitset.inc | 3 + pages/travelling.inc | 2 +- 61 files changed, 699 insertions(+), 684 deletions(-) create mode 100644 app/fronters/ponies/jjzcb.png create mode 100644 app/fronters/profiles/rquqx.png create mode 100644 app/fronters/profiles/uhfic.png create mode 100644 app/fronters/profiles/yruks.png create mode 100644 assets/logo/custom.css create mode 100644 assets/species/changeling.png create mode 100644 assets/uploads/pt-thorax.png diff --git a/app/fronters/ponies/jjzcb.png b/app/fronters/ponies/jjzcb.png new file mode 100644 index 0000000..75676cd Binary files /dev/null and b/app/fronters/ponies/jjzcb.png differ diff --git a/app/fronters/profiles/auvwc.png b/app/fronters/profiles/auvwc.png index 818d389..ac404f7 100644 Binary files a/app/fronters/profiles/auvwc.png and b/app/fronters/profiles/auvwc.png differ diff --git a/app/fronters/profiles/bbrig.png b/app/fronters/profiles/bbrig.png index d2681bc..8dc8c32 100644 Binary files a/app/fronters/profiles/bbrig.png and b/app/fronters/profiles/bbrig.png differ diff --git a/app/fronters/profiles/ckqsw.png b/app/fronters/profiles/ckqsw.png index 3006642..83acb02 100644 Binary files a/app/fronters/profiles/ckqsw.png and b/app/fronters/profiles/ckqsw.png differ diff --git a/app/fronters/profiles/dogwu.png b/app/fronters/profiles/dogwu.png index b6559f5..60302f5 100644 Binary files a/app/fronters/profiles/dogwu.png and b/app/fronters/profiles/dogwu.png differ diff --git a/app/fronters/profiles/eebmh.png b/app/fronters/profiles/eebmh.png index a759b56..07cb4fc 100644 Binary files a/app/fronters/profiles/eebmh.png and b/app/fronters/profiles/eebmh.png differ diff --git a/app/fronters/profiles/erefx.png b/app/fronters/profiles/erefx.png index 7bc4806..3c9be5f 100644 Binary files a/app/fronters/profiles/erefx.png and b/app/fronters/profiles/erefx.png differ diff --git a/app/fronters/profiles/erknz.png b/app/fronters/profiles/erknz.png index 2078744..96e6dc8 100644 Binary files a/app/fronters/profiles/erknz.png and b/app/fronters/profiles/erknz.png differ diff --git a/app/fronters/profiles/exnwc.png b/app/fronters/profiles/exnwc.png index 9d47e6c..6487e34 100644 Binary files a/app/fronters/profiles/exnwc.png and b/app/fronters/profiles/exnwc.png differ diff --git a/app/fronters/profiles/exudo.png b/app/fronters/profiles/exudo.png index 76c987c..9118868 100644 Binary files a/app/fronters/profiles/exudo.png and b/app/fronters/profiles/exudo.png differ diff --git a/app/fronters/profiles/fdaay.png b/app/fronters/profiles/fdaay.png index 2444822..602a400 100644 Binary files a/app/fronters/profiles/fdaay.png and b/app/fronters/profiles/fdaay.png differ diff --git a/app/fronters/profiles/gevde.png b/app/fronters/profiles/gevde.png index 37675e7..11837f5 100644 Binary files a/app/fronters/profiles/gevde.png and b/app/fronters/profiles/gevde.png differ diff --git a/app/fronters/profiles/gfhsr.png b/app/fronters/profiles/gfhsr.png index a0fe18d..b8a7eec 100644 Binary files a/app/fronters/profiles/gfhsr.png and b/app/fronters/profiles/gfhsr.png differ diff --git a/app/fronters/profiles/ghrby.png b/app/fronters/profiles/ghrby.png index 97d0d1b..2e7fd08 100644 Binary files a/app/fronters/profiles/ghrby.png and b/app/fronters/profiles/ghrby.png differ diff --git a/app/fronters/profiles/hpwyq.png b/app/fronters/profiles/hpwyq.png index cb6d7b0..6ad6c22 100644 Binary files a/app/fronters/profiles/hpwyq.png and b/app/fronters/profiles/hpwyq.png differ diff --git a/app/fronters/profiles/irxyh.png b/app/fronters/profiles/irxyh.png index 7c9577b..cee8265 100644 Binary files a/app/fronters/profiles/irxyh.png and b/app/fronters/profiles/irxyh.png differ diff --git a/app/fronters/profiles/jnbae.png b/app/fronters/profiles/jnbae.png index a06a031..a7e8a6e 100644 Binary files a/app/fronters/profiles/jnbae.png and b/app/fronters/profiles/jnbae.png differ diff --git a/app/fronters/profiles/khsbb.png b/app/fronters/profiles/khsbb.png index 6d45bb9..d7a0595 100644 Binary files a/app/fronters/profiles/khsbb.png and b/app/fronters/profiles/khsbb.png differ diff --git a/app/fronters/profiles/kkhbw.png b/app/fronters/profiles/kkhbw.png index 9822fe3..e943fa5 100644 Binary files a/app/fronters/profiles/kkhbw.png and b/app/fronters/profiles/kkhbw.png differ diff --git a/app/fronters/profiles/lllfw.png b/app/fronters/profiles/lllfw.png index 889d471..64fe05d 100644 Binary files a/app/fronters/profiles/lllfw.png and b/app/fronters/profiles/lllfw.png differ diff --git a/app/fronters/profiles/lzlaq.png b/app/fronters/profiles/lzlaq.png index 297d756..98846f5 100644 Binary files a/app/fronters/profiles/lzlaq.png and b/app/fronters/profiles/lzlaq.png differ diff --git a/app/fronters/profiles/mglyq.png b/app/fronters/profiles/mglyq.png index 71544d7..52c60f4 100644 Binary files a/app/fronters/profiles/mglyq.png and b/app/fronters/profiles/mglyq.png differ diff --git a/app/fronters/profiles/mhnqy.png b/app/fronters/profiles/mhnqy.png index 370ca37..c3e1d43 100644 Binary files a/app/fronters/profiles/mhnqy.png and b/app/fronters/profiles/mhnqy.png differ diff --git a/app/fronters/profiles/mvaws.png b/app/fronters/profiles/mvaws.png index 5af3777..3d152a9 100644 Binary files a/app/fronters/profiles/mvaws.png and b/app/fronters/profiles/mvaws.png differ diff --git a/app/fronters/profiles/pabmo.png b/app/fronters/profiles/pabmo.png index 5ad9dfc..7f8f020 100644 Binary files a/app/fronters/profiles/pabmo.png and b/app/fronters/profiles/pabmo.png differ diff --git a/app/fronters/profiles/qbzxm.png b/app/fronters/profiles/qbzxm.png index 5478e33..3679f54 100644 Binary files a/app/fronters/profiles/qbzxm.png and b/app/fronters/profiles/qbzxm.png differ diff --git a/app/fronters/profiles/qcemf.png b/app/fronters/profiles/qcemf.png index fd99d2b..609d535 100644 Binary files a/app/fronters/profiles/qcemf.png and b/app/fronters/profiles/qcemf.png differ diff --git a/app/fronters/profiles/qraku.png b/app/fronters/profiles/qraku.png index fed1048..10858a6 100644 Binary files a/app/fronters/profiles/qraku.png and b/app/fronters/profiles/qraku.png differ diff --git a/app/fronters/profiles/rdstg.png b/app/fronters/profiles/rdstg.png index 08c94ff..2fbc54c 100644 Binary files a/app/fronters/profiles/rdstg.png and b/app/fronters/profiles/rdstg.png differ diff --git a/app/fronters/profiles/rirgf.png b/app/fronters/profiles/rirgf.png index ecc0e18..152c8e2 100644 Binary files a/app/fronters/profiles/rirgf.png and b/app/fronters/profiles/rirgf.png differ diff --git a/app/fronters/profiles/rpjok.png b/app/fronters/profiles/rpjok.png index ca6970b..c38ba39 100644 Binary files a/app/fronters/profiles/rpjok.png and b/app/fronters/profiles/rpjok.png differ diff --git a/app/fronters/profiles/rquqx.png b/app/fronters/profiles/rquqx.png new file mode 100644 index 0000000..6865429 Binary files /dev/null and b/app/fronters/profiles/rquqx.png differ diff --git a/app/fronters/profiles/sbxze.png b/app/fronters/profiles/sbxze.png index ee3cfbf..2744fff 100644 Binary files a/app/fronters/profiles/sbxze.png and b/app/fronters/profiles/sbxze.png differ diff --git a/app/fronters/profiles/sehke.png b/app/fronters/profiles/sehke.png index ac12f48..0e6f956 100644 Binary files a/app/fronters/profiles/sehke.png and b/app/fronters/profiles/sehke.png differ diff --git a/app/fronters/profiles/sjuao.png b/app/fronters/profiles/sjuao.png index 39ae38e..12f5b33 100644 Binary files a/app/fronters/profiles/sjuao.png and b/app/fronters/profiles/sjuao.png differ diff --git a/app/fronters/profiles/tfbob.png b/app/fronters/profiles/tfbob.png index 913b60f..4cc390a 100644 Binary files a/app/fronters/profiles/tfbob.png and b/app/fronters/profiles/tfbob.png differ diff --git a/app/fronters/profiles/ufadt.png b/app/fronters/profiles/ufadt.png index c893102..4af6c47 100644 Binary files a/app/fronters/profiles/ufadt.png and b/app/fronters/profiles/ufadt.png differ diff --git a/app/fronters/profiles/uhfic.png b/app/fronters/profiles/uhfic.png new file mode 100644 index 0000000..abf3dcc Binary files /dev/null and b/app/fronters/profiles/uhfic.png differ diff --git a/app/fronters/profiles/vncoa.png b/app/fronters/profiles/vncoa.png index 9f97376..9636278 100644 Binary files a/app/fronters/profiles/vncoa.png and b/app/fronters/profiles/vncoa.png differ diff --git a/app/fronters/profiles/vvsxf.png b/app/fronters/profiles/vvsxf.png index c53ea62..74f542e 100644 Binary files a/app/fronters/profiles/vvsxf.png and b/app/fronters/profiles/vvsxf.png differ diff --git a/app/fronters/profiles/xbvwt.png b/app/fronters/profiles/xbvwt.png index b1774d2..4b6c8d3 100644 Binary files a/app/fronters/profiles/xbvwt.png and b/app/fronters/profiles/xbvwt.png differ diff --git a/app/fronters/profiles/xcjhj.png b/app/fronters/profiles/xcjhj.png index 24318ae..4ab828d 100644 Binary files a/app/fronters/profiles/xcjhj.png and b/app/fronters/profiles/xcjhj.png differ diff --git a/app/fronters/profiles/yhbrc.png b/app/fronters/profiles/yhbrc.png index 800b3b7..8b07487 100644 Binary files a/app/fronters/profiles/yhbrc.png and b/app/fronters/profiles/yhbrc.png differ diff --git a/app/fronters/profiles/yruks.png b/app/fronters/profiles/yruks.png new file mode 100644 index 0000000..a4ddc76 Binary files /dev/null and b/app/fronters/profiles/yruks.png differ diff --git a/app/fronters/profiles/zajrk.png b/app/fronters/profiles/zajrk.png index b6d5ca3..e6cfa68 100644 Binary files a/app/fronters/profiles/zajrk.png and b/app/fronters/profiles/zajrk.png differ diff --git a/app/fronters/profiles/zdtsg.png b/app/fronters/profiles/zdtsg.png index b8e61a3..6ec0b3c 100644 Binary files a/app/fronters/profiles/zdtsg.png and b/app/fronters/profiles/zdtsg.png differ diff --git a/app/fronters/profiles/zhtzs.png b/app/fronters/profiles/zhtzs.png index fddb711..b65fd37 100644 Binary files a/app/fronters/profiles/zhtzs.png and b/app/fronters/profiles/zhtzs.png differ diff --git a/app/fronters/profiles/ztfjz.png b/app/fronters/profiles/ztfjz.png index e766a35..7765304 100644 Binary files a/app/fronters/profiles/ztfjz.png and b/app/fronters/profiles/ztfjz.png differ diff --git a/app/fronters/profiles/zzise.png b/app/fronters/profiles/zzise.png index 88217e3..76b1996 100644 Binary files a/app/fronters/profiles/zzise.png and b/app/fronters/profiles/zzise.png differ diff --git a/app/sw.js b/app/sw.js index b97cb34..e002932 100644 --- a/app/sw.js +++ b/app/sw.js @@ -70,6 +70,7 @@ let filesToCache = [ "/app/fronters/ponies/gfhsr.png", "/app/fronters/ponies/ghrby.png", "/app/fronters/ponies/hpwyq.png", + "/app/fronters/ponies/jjzcb.png", "/app/fronters/ponies/jnbae.png", "/app/fronters/ponies/khsbb.png", "/app/fronters/ponies/kkhbw.png", @@ -159,6 +160,7 @@ let filesToCache = [ "/app/fronters/profiles/rirgf.png", "/app/fronters/profiles/rmlbf.png", "/app/fronters/profiles/rpjok.png", + "/app/fronters/profiles/rquqx.png", "/app/fronters/profiles/ruydg.png", "/app/fronters/profiles/sbxze.png", "/app/fronters/profiles/sehke.png", @@ -175,6 +177,7 @@ let filesToCache = [ "/app/fronters/profiles/tviaq.png", "/app/fronters/profiles/ufadt.png", "/app/fronters/profiles/ughya.png", + "/app/fronters/profiles/uhfic.png", "/app/fronters/profiles/uicxr.png", "/app/fronters/profiles/vahcl.png", "/app/fronters/profiles/vaxyy.png", @@ -190,6 +193,7 @@ let filesToCache = [ "/app/fronters/profiles/ybmig.png", "/app/fronters/profiles/yhbrc.png", "/app/fronters/profiles/ynpba.png", + "/app/fronters/profiles/yruks.png", "/app/fronters/profiles/zajrk.png", "/app/fronters/profiles/zdtsg.png", "/app/fronters/profiles/zhtzs.png", @@ -259,6 +263,7 @@ let filesToCache = [ "/assets/uploads/pt-sunnystarscout.png", "/assets/uploads/pt-sweetiebelle.png", "/assets/uploads/pt-sweetiebot.png", + "/assets/uploads/pt-thorax.png", "/assets/uploads/pt-thunder.png", "/assets/uploads/pt-twilight.png", "/assets/uploads/pt-velvet.png", diff --git a/assets/logo/custom.css b/assets/logo/custom.css new file mode 100644 index 0000000..0e0ec6f --- /dev/null +++ b/assets/logo/custom.css @@ -0,0 +1,672 @@ +#admin-page { + margin-left: 32px; +} + +.modal { + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); +} + +nav.navbar { + background-color: rgba(0, 0, 0, .75) !important; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + border-bottom: 1px solid rgba(255, 255, 255, .25); +} + +body { + background-color: black !important; + color: white !important; +} + +.hpd-item-card:hover { + background-color: rgba(255, 255, 255, .15) !important; +} + +.hpd-item-card:active, .hpd-item-card:focus { + background-color: rgba(255, 255, 255, .2) !important; +} + +.hpd-system { + transition: opacity 200ms; +} + +.hpd-item-card { + outline-style: solid; + outline-width: 0; + transition: background-color 200ms, outline-width 200ms; +} + +.hpd-item-card:hover { + outline-style: solid; + outline-width: 4px; +} + +.hpd-item-card:active { + outline-style: solid; + outline-width: 6px; +} + +.hpd-system:hover { + opacity: .9 !important; +} + +.hpd-system:active, .hpd-system:focus { + opacity: .8 !important; +} + +.hpd-link:hover { + background-color: rgba(255, 255, 255, .15) !important; +} + +.hpd-link:active, .hpd-link:focus { + background-color: rgba(255, 255, 255, .2) !important; +} + +.list-separator-mobile { + display: none; +} + +@media (max-width: 991px) { + #hpd-cloudburst > div, #hpd-raindrops > div { + grid-template-columns: repeat(3, 1fr) !important; + } + + .list-separator-desktop { + display: none; + } + + span.list-separator-mobile { + display: inline; + } +} + +@media (max-width: 768px) { + #hpd-cloudburst > div, #hpd-raindrops > div { + grid-template-columns: repeat(2, 1fr) !important; + } +} + +@media (max-width: 575px) { + #hpd-cloudburst > div, #hpd-raindrops > div { + grid-template-columns: repeat(1, 1fr) !important; + } + + .hpd-item-card img { + display: inline-block !important; + margin-right: 5px !important; + height: 32px !important; + } + + #hpd-cloudburst > div, #hpd-raindrops > div { + grid-gap: 5px !important; + } + + .hpd-item-card div { + display: inline-block !important; + } + + .hpd-item-card div:nth-child(3)::before { + content: "("; + padding-left: 5px; + color: white !important; + } + + .hpd-item-card div:nth-child(3)::after { + content: ")"; + color: white !important; + } +} + +.dropdown-menu { + background-color: #222; +} + +.dropdown-item:hover { + background-color: rgba(255, 255, 255, .1); +} + +.dropdown-item:active, .dropdown-item:focus { + background-color: rgba(255, 255, 255, .2); +} + +.dropdown-item { + color: white !important; +} + +.dropdown-icon { + filter: invert(1); +} + +.dropdown-toggle .dropdown-icon { + opacity: .5; + transition: 200ms opacity; +} + +.dropdown-toggle:hover .dropdown-icon, .dropdown-toggle:active .dropdown-icon, .dropdown-toggle:focus .dropdown-icon { + opacity: .75; +} + +dd { + margin-left: 20px; +} + +#system-info a { + color: white !important; +} + +#system-info a:hover { + opacity: .75; +} + +#system-info a:active, #system-info a:focus { + opacity: .5; +} + +@media (max-width: 991px) { + #member-card { + grid-template-columns: repeat(3, 1fr) !important; + } + + .species-name { + display: none; + } +} + +.member-small-only { + display: none; +} + +@media (max-width: 767px) { + #member-card { + grid-template-columns: 1fr !important; + text-align: left; + } + + #member-icon-mobile { + display: inline-block !important; + } + + #system-info { + grid-template-columns: 1fr !important; + } + + #member-icon, #member-icon-outer { + display: none !important; + } + + #member-relations { + grid-template-columns: 1fr !important; + text-align: left; + } + + .member-small-separator { + display: none; + } + + .member-small-only { + display: inline-block; + } +} + +#page-content a { + color: #afd0ff; +} + +#page-content .btn-outline-light:hover { + color: black !important; +} + +#page-content a:hover { + opacity: .75; +} + +#page-content a:active, #page-content a:focus { + opacity: .5; +} + +.tooltip.show { + opacity: 1; +} + +.tooltip-inner { + background: #151515; + box-shadow: 3px 4px 10px #ffffff26; +} + +.alert { + filter: invert(1) hue-rotate(180deg); +} + +.member-link { + color: white !important; + text-decoration: none !important; +} + +.system-action { + border-radius: 10px; + color: white !important; + text-decoration: none !important; + cursor: pointer; + transition: background 200ms; +} + +.system-action:hover { + background: rgba(255, 255, 255, .1); +} + +.table-dark { + --bs-table-bg: #000000; +} + +.comparison { + display: grid; + grid-template-columns: 3fr 1.5fr 2fr repeat(4, 1fr); +} + +.comparison-header { + border-bottom: 2px solid rgba(255, 255, 255, .25); + font-weight: bold; +} + +.comparison-item { + padding: 5px 10px; + text-align: center; +} + +.comparison-item-clickable:hover { + background-color: rgba(255, 255, 255, .1); +} + +.comparison-item-clickable:active, .comparison-item-clickable:focus { + background-color: rgba(255, 255, 255, .25); +} + +@media (min-width: 1400px) { + .comparison-header-l0 { + display: inline; + } + .comparison-header-l1 { + display: none; + } + .comparison-header-l2 { + display: none; + } + .comparison-header-l3 { + display: none; + } + .comparison-header-l4 { + display: none; + } + .comparison-header-l5 { + display: none; + } + .comparison-name-full { + display: inline; + } + .comparison-name-small { + display: none; + } + .comparison-colors { + display: inline; + } + .comparison-relations-count { + display: none; + } + .comparison-relations-full { + display: inline; + } +} + +@media (max-width: 1399px) { + .comparison-header-l0 { + display: none; + } + .comparison-header-l1 { + display: inline; + } + .comparison-header-l2 { + display: none; + } + .comparison-header-l3 { + display: none; + } + .comparison-header-l4 { + display: none; + } + .comparison-header-l5 { + display: none; + } + .comparison-name-full { + display: inline; + } + .comparison-name-small { + display: none; + } + .comparison-colors { + display: inline; + } + .comparison-relations-count { + display: none; + } + .comparison-relations-full { + display: inline; + } +} + +@media (max-width: 1199px) { + .comparison-header-l0 { + display: none; + } + .comparison-header-l1 { + display: none; + } + .comparison-header-l2 { + display: initial; + } + .comparison-header-l3 { + display: none; + } + .comparison-header-l4 { + display: none; + } + .comparison-header-l5 { + display: none; + } + .comparison-name-full { + display: none; + } + .comparison-name-small { + display: inline; + } + .comparison-colors { + display: inline; + } + .comparison-relations-count { + display: inline; + } + .comparison-relations-full { + display: none; + } +} + +@media (max-width: 991px) { + .comparison-header-l0 { + display: none; + } + .comparison-header-l1 { + display: none; + } + .comparison-header-l2 { + display: none; + } + .comparison-header-l3 { + display: initial; + } + .comparison-header-l4 { + display: none; + } + .comparison-header-l5 { + display: none; + } + .comparison-name-full { + display: none; + } + .comparison-name-small { + display: inline; + } + .comparison-colors { + display: none !important; + } + .comparison-relations-count { + display: inline; + } + .comparison-relations-full { + display: none; + } +} + +@media (max-width: 767px) { + .comparison-header-l0 { + display: none; + } + .comparison-header-l1 { + display: none; + } + .comparison-header-l2 { + display: none; + } + .comparison-header-l3 { + display: none; + } + .comparison-header-l4 { + display: initial; + } + .comparison-header-l5 { + display: none; + } + .comparison-name-full { + display: none; + } + .comparison-name-small { + display: none; + } + .comparison-colors { + display: none !important; + } + .comparison-relations-count { + display: inline; + } + .comparison-relations-full { + display: none; + } +} + +@media (max-width: 575px) { + .comparison-header-l0 { + display: none; + } + .comparison-header-l1 { + display: none; + } + .comparison-header-l2 { + display: none; + } + .comparison-header-l3 { + display: none; + } + .comparison-header-l4 { + display: none; + } + .comparison-header-l5 { + display: initial; + } + .comparison-name-full { + display: none; + } + .comparison-name-small { + display: none; + } + .comparison-colors { + display: none !important; + } + .comparison { + grid-template-columns: repeat(3, 2fr) repeat(4, 1fr) !important; + } + .comparison-relations-count { + display: inline; + } + .comparison-relations-full { + display: none; + } +} + +.tree-first-separator { + height: 14px !important; + top: 0 !important; +} + +.tree-l0-separator { + display: inline-block; + width: 20px; + margin-left: 35px; + border-bottom: 1px solid white; + border-left: 1px solid white; + height: 26px; + position: relative; + top: -12px; +} + +.tree-l1 .tree-l0-separator { + border-bottom: none !important; +} + +.tree-l1-separator { + display: inline-block; + width: 20px; + margin-left: 35px; + border-bottom: 1px solid white; + border-left: 1px solid white; + height: 26px; + position: relative; + top: -12px; + left: -10px; +} + +.tree-l1 .tree-l0-separator { + width: 30px; +} + +.tree-l1 .tree-inner { + position: relative; + left: -10px; +} + +.tree-l1 .tree-l0-separator { + border-bottom: none !important; +} + +.tree-l2-separator { + display: inline-block; + width: 20px; + margin-left: 35px; + border-bottom: 1px solid white; + border-left: 1px solid white; + height: 26px; + position: relative; + top: -12px; + left: -10px; +} + +.tree-l2 .tree-l1-separator { + width: 30px; +} + +.tree-l2 .tree-l0-separator { + width: 30px; +} + +.tree-l2 .tree-inner { + position: relative; + left: -10px; +} + +.tree-inner { + display: inline-block; +} + +.navbar-collapse.collapse.show, .navbar-collapse.collapsing { + background: black; + margin: 7px -12px; + padding: 0 12px; + border-bottom: 1px solid rgba(255, 255, 255, .25); +} + +.rainbow-item:hover { + opacity: .75; +} + +.rainbow-item:active { + opacity: .5; +} + +peh-muted { + --bs-text-opacity: 1; + color: #6c757d!important; +} + +.dropdown-toggle::after { + margin-bottom: -3px; +} + +.navbar-nav { + width: 100%; +} + +.card { + background-color: #111; + border: 1px solid rgba(255, 255, 255, .125); +} + +#member-banner-container > #member-banner > #system-info { + border-bottom-right-radius: 0 !important; + border-bottom-left-radius: 0 !important; +} + +#member-details { + background: rgba(255, 255, 255, .1); + border: 1px solid transparent; + border-top: none; + padding: 10px 20px; + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; + display: grid; + grid-template-columns: repeat(5, 1fr); + text-align: center; +} + +.navbar-collapse.show { + z-index: 99999; +} + +@media (max-width: 991px) { + div#member-details.member-details-loggedIn { + grid-template-columns: repeat(3, 1fr) !important; + text-align: center; + } + + #member-details { + grid-template-columns: 1fr !important; + text-align: left; + } +} + +@media (max-width: 767px) { + div#member-details.member-details-loggedIn { + grid-template-columns: repeat(2, 1fr) !important; + text-align: left; + } +} + +.linked-card { + opacity: 1 !important; + color: white !important; + text-decoration: none !important; +} + +.linked-card:hover { + opacity: .75 !important; +} + +.linked-card:active { + opacity: .5 !important; +} + +.navbar-brand { + position: relative; + z-index: 9999; +} + +html, body { + overflow-x: hidden; +} \ No newline at end of file diff --git a/assets/species/changeling.png b/assets/species/changeling.png new file mode 100644 index 0000000..7492e25 Binary files /dev/null and b/assets/species/changeling.png differ diff --git a/assets/uploads/pt-thorax.png b/assets/uploads/pt-thorax.png new file mode 100644 index 0000000..e5b12bb Binary files /dev/null and b/assets/uploads/pt-thorax.png differ diff --git a/includes/banner.inc b/includes/banner.inc index d62ba97..4678a5a 100644 --- a/includes/banner.inc +++ b/includes/banner.inc @@ -151,6 +151,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { "pegasus" => $metadata["robot"] ? "Robot pégase" : (!$metadata["plush"] ? "Pégase" : "Pégase en peluche"), "batpony" => $metadata["robot"] ? "Robot Poney chauve souris" : (!$metadata["plush"] ? "Poney chauve souris" : "Poney chauve souris en peluche"), "unicorn" => $metadata["robot"] ? "Robot licorne" : (!$metadata["plush"] ? "Licorne" : "Licorne en peluche"), + "changeling" => "Changelin", default => $species . "_" . $metadata["robot"] }; } else { @@ -161,6 +162,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { "pegasus" => $metadata["robot"] ? "Robot pegasus" : (!$metadata["plush"] ? "Pegasus" : "Pegasus plush"), "batpony" => $metadata["robot"] ? "Robot bat pony" : (!$metadata["plush"] ? "Bat pony" : "Bat pony plush"), "unicorn" => $metadata["robot"] ? "Robot unicorn" : (!$metadata["plush"] ? "Unicorn" : "Unicorn plush"), + "changeling" => "Changeling", default => $species . "_" . $metadata["robot"] }; } @@ -483,7 +485,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { 'name' => $member["display_name"] ?? $member["name"], 'badges' => $badges, 'prefixes' => $prefixes, - 'pronouns' => getTooltipsFromMark($member["pronouns"], $french) ?? "she/her", + 'pronouns' => getTooltipsFromMark($member["pronouns"], $french) ?? "they/them", 'pronouns_usage' => getMemberPronouns($member['pronouns']), 'last_fronted' => $lastFronted, 'species' => $speciesList, diff --git a/includes/bitset.inc b/includes/bitset.inc index 0bd5c4d..7d5a963 100644 --- a/includes/bitset.inc +++ b/includes/bitset.inc @@ -33,6 +33,7 @@ function parseBitset ($bitset) { "0100" => "alicorn", "0101" => "batpony", "0110" => "crystal", + "0111" => "changeling", default => null, }; @@ -43,6 +44,7 @@ function parseBitset ($bitset) { "0100" => "alicorn", "0101" => "batpony", "0110" => "crystal", + "0111" => "changeling", default => null, }; @@ -53,6 +55,7 @@ function parseBitset ($bitset) { "0100" => "alicorn", "0101" => "batpony", "0110" => "crystal", + "0111" => "changeling", default => null, }; diff --git a/includes/functions.inc b/includes/functions.inc index cc94f11..915d41b 100644 --- a/includes/functions.inc +++ b/includes/functions.inc @@ -254,7 +254,7 @@ if (!function_exists("showMembersFromList")) { function showMembersFromList(array $list) { foreach ($list as $member) { if ($member['name'] !== "unknown" && $member['name'] !== "fusion") { echo(' -
+
' . ($member['display_name'] ?? $member['name']) . '
' . (isset($member['travelling']) && $member['travelling'] ? "+" . ($member['proxy_tags'][0]['prefix'] ?? " ") : ($member['proxy_tags'][0]['prefix'] ?? " ")) . '
diff --git a/includes/header.inc b/includes/header.inc index d338f78..ede6a29 100644 --- a/includes/header.inc +++ b/includes/header.inc @@ -62,6 +62,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php"; + <?= $title ? $title . " · " : "" ?>Cold Haze @@ -86,680 +87,6 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php"; - id="admin-page"> diff --git a/includes/sysbanner.inc b/includes/sysbanner.inc index 5c85a20..bafb10d 100644 --- a/includes/sysbanner.inc +++ b/includes/sysbanner.inc @@ -115,7 +115,7 @@ $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pa
- " data-bs-toggle="tooltip" style="display:inline-block;padding:5px 10px;text-align: center" class="system-action tooltip-nohelp" href="//-/species"> + " data-bs-toggle="tooltip" style="display:inline-block;padding:5px 10px;text-align: center" class="system-action tooltip-nohelp" href="//-/species"> diff --git a/includes/system/species.inc b/includes/system/species.inc index 45a0178..41b06fe 100644 --- a/includes/system/species.inc +++ b/includes/system/species.inc @@ -45,15 +45,17 @@ function species(array $members, string $id, string $name) { global $systemID; g $alicorn = []; $batpony = []; $crystal = []; + $changeling = []; foreach ($members as $member) { foreach ($member["_metadata"]["species"] as $species) { - if ($species === "earth") $earth[] = $member; - if ($species === "pegasus") $pegasus[] = $member; - if ($species === "unicorn") $unicorn[] = $member; - if ($species === "alicorn") $alicorn[] = $member; - if ($species === "batpony") $batpony[] = $member; - if ($species === "crystal") $crystal[] = $member; + if ($species === "earth") $earth[] = $member; + if ($species === "pegasus") $pegasus[] = $member; + if ($species === "unicorn") $unicorn[] = $member; + if ($species === "alicorn") $alicorn[] = $member; + if ($species === "batpony") $batpony[] = $member; + if ($species === "crystal") $crystal[] = $member; + if ($species === "changeling") $changeling[] = $member; } } @@ -65,6 +67,7 @@ function species(array $members, string $id, string $name) { global $systemID; g +
\ No newline at end of file diff --git a/pages/bitset.inc b/pages/bitset.inc index 6d05e8e..d4239a7 100644 --- a/pages/bitset.inc +++ b/pages/bitset.inc @@ -346,6 +346,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; +
diff --git a/pages/travelling.inc b/pages/travelling.inc index a38ea87..674d739 100644 --- a/pages/travelling.inc +++ b/pages/travelling.inc @@ -9,7 +9,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc"; if (isset($_GET['toggleTravel'])) { if (isset($travelling[$_GET['member']])) { $id = $_GET['member']; - $equestria = isset($_GET['member']); + $equestria = isset($_GET['equestria']); $member = getSystemMember(getMemberSystem($id), $id); $system = getMemberSystem($id); $metadata = parseMetadata(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/$id.json"), true)); -- cgit