diff options
-rw-r--r-- | app/fronters/ponies/jjzcb.png | bin | 0 -> 4740 bytes | |||
-rw-r--r-- | app/fronters/profiles/auvwc.png | bin | 504733 -> 504733 bytes | |||
-rw-r--r-- | app/fronters/profiles/bbrig.png | bin | 148262 -> 148262 bytes | |||
-rw-r--r-- | app/fronters/profiles/ckqsw.png | bin | 1559833 -> 1559833 bytes | |||
-rw-r--r-- | app/fronters/profiles/dogwu.png | bin | 2055 -> 2055 bytes | |||
-rw-r--r-- | app/fronters/profiles/eebmh.png | bin | 570974 -> 570974 bytes | |||
-rw-r--r-- | app/fronters/profiles/erefx.png | bin | 826530 -> 826530 bytes | |||
-rw-r--r-- | app/fronters/profiles/erknz.png | bin | 56915 -> 56915 bytes | |||
-rw-r--r-- | app/fronters/profiles/exnwc.png | bin | 226883 -> 226883 bytes | |||
-rw-r--r-- | app/fronters/profiles/exudo.png | bin | 298183 -> 298183 bytes | |||
-rw-r--r-- | app/fronters/profiles/fdaay.png | bin | 181311 -> 181311 bytes | |||
-rw-r--r-- | app/fronters/profiles/gevde.png | bin | 218853 -> 218853 bytes | |||
-rw-r--r-- | app/fronters/profiles/gfhsr.png | bin | 2283131 -> 2283131 bytes | |||
-rw-r--r-- | app/fronters/profiles/ghrby.png | bin | 167497 -> 167497 bytes | |||
-rw-r--r-- | app/fronters/profiles/hpwyq.png | bin | 2770 -> 2770 bytes | |||
-rw-r--r-- | app/fronters/profiles/irxyh.png | bin | 26543 -> 26543 bytes | |||
-rw-r--r-- | app/fronters/profiles/jnbae.png | bin | 60223 -> 60223 bytes | |||
-rw-r--r-- | app/fronters/profiles/khsbb.png | bin | 249236 -> 249236 bytes | |||
-rw-r--r-- | app/fronters/profiles/kkhbw.png | bin | 40300 -> 40300 bytes | |||
-rw-r--r-- | app/fronters/profiles/lllfw.png | bin | 560601 -> 324334 bytes | |||
-rw-r--r-- | app/fronters/profiles/lzlaq.png | bin | 26543 -> 26543 bytes | |||
-rw-r--r-- | app/fronters/profiles/mglyq.png | bin | 91476 -> 91476 bytes | |||
-rw-r--r-- | app/fronters/profiles/mhnqy.png | bin | 27452 -> 27452 bytes | |||
-rw-r--r-- | app/fronters/profiles/mvaws.png | bin | 473421 -> 473421 bytes | |||
-rw-r--r-- | app/fronters/profiles/pabmo.png | bin | 180390 -> 180390 bytes | |||
-rw-r--r-- | app/fronters/profiles/qbzxm.png | bin | 2843 -> 2843 bytes | |||
-rw-r--r-- | app/fronters/profiles/qcemf.png | bin | 370856 -> 370856 bytes | |||
-rw-r--r-- | app/fronters/profiles/qraku.png | bin | 45898 -> 45898 bytes | |||
-rw-r--r-- | app/fronters/profiles/rdstg.png | bin | 16881 -> 16881 bytes | |||
-rw-r--r-- | app/fronters/profiles/rirgf.png | bin | 156974 -> 156974 bytes | |||
-rw-r--r-- | app/fronters/profiles/rpjok.png | bin | 1542918 -> 1542918 bytes | |||
-rw-r--r-- | app/fronters/profiles/rquqx.png | bin | 0 -> 40300 bytes | |||
-rw-r--r-- | app/fronters/profiles/sbxze.png | bin | 50554 -> 50554 bytes | |||
-rw-r--r-- | app/fronters/profiles/sehke.png | bin | 1947 -> 1947 bytes | |||
-rw-r--r-- | app/fronters/profiles/sjuao.png | bin | 1045570 -> 1045570 bytes | |||
-rw-r--r-- | app/fronters/profiles/tfbob.png | bin | 14049 -> 14049 bytes | |||
-rw-r--r-- | app/fronters/profiles/ufadt.png | bin | 339704 -> 339704 bytes | |||
-rw-r--r-- | app/fronters/profiles/uhfic.png | bin | 0 -> 473421 bytes | |||
-rw-r--r-- | app/fronters/profiles/vncoa.png | bin | 46475 -> 46475 bytes | |||
-rw-r--r-- | app/fronters/profiles/vvsxf.png | bin | 61010 -> 61010 bytes | |||
-rw-r--r-- | app/fronters/profiles/xbvwt.png | bin | 70342 -> 70342 bytes | |||
-rw-r--r-- | app/fronters/profiles/xcjhj.png | bin | 107053 -> 107053 bytes | |||
-rw-r--r-- | app/fronters/profiles/yhbrc.png | bin | 494559 -> 494559 bytes | |||
-rw-r--r-- | app/fronters/profiles/yruks.png | bin | 0 -> 1542918 bytes | |||
-rw-r--r-- | app/fronters/profiles/zajrk.png | bin | 2097 -> 2097 bytes | |||
-rw-r--r-- | app/fronters/profiles/zdtsg.png | bin | 1628 -> 1628 bytes | |||
-rw-r--r-- | app/fronters/profiles/zhtzs.png | bin | 673763 -> 673763 bytes | |||
-rw-r--r-- | app/fronters/profiles/ztfjz.png | bin | 184686 -> 184686 bytes | |||
-rw-r--r-- | app/fronters/profiles/zzise.png | bin | 69145 -> 69145 bytes | |||
-rw-r--r-- | app/sw.js | 5 | ||||
-rw-r--r-- | assets/logo/custom.css | 672 | ||||
-rw-r--r-- | assets/species/changeling.png | bin | 0 -> 15758 bytes | |||
-rw-r--r-- | assets/uploads/pt-thorax.png | bin | 0 -> 4627 bytes | |||
-rw-r--r-- | includes/banner.inc | 4 | ||||
-rw-r--r-- | includes/bitset.inc | 3 | ||||
-rw-r--r-- | includes/functions.inc | 2 | ||||
-rw-r--r-- | includes/header.inc | 675 | ||||
-rw-r--r-- | includes/sysbanner.inc | 2 | ||||
-rw-r--r-- | includes/system/species.inc | 15 | ||||
-rw-r--r-- | pages/bitset.inc | 3 | ||||
-rw-r--r-- | pages/travelling.inc | 2 |
61 files changed, 699 insertions, 684 deletions
diff --git a/app/fronters/ponies/jjzcb.png b/app/fronters/ponies/jjzcb.png Binary files differnew file mode 100644 index 0000000..75676cd --- /dev/null +++ b/app/fronters/ponies/jjzcb.png diff --git a/app/fronters/profiles/auvwc.png b/app/fronters/profiles/auvwc.png Binary files differindex 818d389..ac404f7 100644 --- a/app/fronters/profiles/auvwc.png +++ b/app/fronters/profiles/auvwc.png diff --git a/app/fronters/profiles/bbrig.png b/app/fronters/profiles/bbrig.png Binary files differindex d2681bc..8dc8c32 100644 --- a/app/fronters/profiles/bbrig.png +++ b/app/fronters/profiles/bbrig.png diff --git a/app/fronters/profiles/ckqsw.png b/app/fronters/profiles/ckqsw.png Binary files differindex 3006642..83acb02 100644 --- a/app/fronters/profiles/ckqsw.png +++ b/app/fronters/profiles/ckqsw.png diff --git a/app/fronters/profiles/dogwu.png b/app/fronters/profiles/dogwu.png Binary files differindex b6559f5..60302f5 100644 --- a/app/fronters/profiles/dogwu.png +++ b/app/fronters/profiles/dogwu.png diff --git a/app/fronters/profiles/eebmh.png b/app/fronters/profiles/eebmh.png Binary files differindex a759b56..07cb4fc 100644 --- a/app/fronters/profiles/eebmh.png +++ b/app/fronters/profiles/eebmh.png diff --git a/app/fronters/profiles/erefx.png b/app/fronters/profiles/erefx.png Binary files differindex 7bc4806..3c9be5f 100644 --- a/app/fronters/profiles/erefx.png +++ b/app/fronters/profiles/erefx.png diff --git a/app/fronters/profiles/erknz.png b/app/fronters/profiles/erknz.png Binary files differindex 2078744..96e6dc8 100644 --- a/app/fronters/profiles/erknz.png +++ b/app/fronters/profiles/erknz.png diff --git a/app/fronters/profiles/exnwc.png b/app/fronters/profiles/exnwc.png Binary files differindex 9d47e6c..6487e34 100644 --- a/app/fronters/profiles/exnwc.png +++ b/app/fronters/profiles/exnwc.png diff --git a/app/fronters/profiles/exudo.png b/app/fronters/profiles/exudo.png Binary files differindex 76c987c..9118868 100644 --- a/app/fronters/profiles/exudo.png +++ b/app/fronters/profiles/exudo.png diff --git a/app/fronters/profiles/fdaay.png b/app/fronters/profiles/fdaay.png Binary files differindex 2444822..602a400 100644 --- a/app/fronters/profiles/fdaay.png +++ b/app/fronters/profiles/fdaay.png diff --git a/app/fronters/profiles/gevde.png b/app/fronters/profiles/gevde.png Binary files differindex 37675e7..11837f5 100644 --- a/app/fronters/profiles/gevde.png +++ b/app/fronters/profiles/gevde.png diff --git a/app/fronters/profiles/gfhsr.png b/app/fronters/profiles/gfhsr.png Binary files differindex a0fe18d..b8a7eec 100644 --- a/app/fronters/profiles/gfhsr.png +++ b/app/fronters/profiles/gfhsr.png diff --git a/app/fronters/profiles/ghrby.png b/app/fronters/profiles/ghrby.png Binary files differindex 97d0d1b..2e7fd08 100644 --- a/app/fronters/profiles/ghrby.png +++ b/app/fronters/profiles/ghrby.png diff --git a/app/fronters/profiles/hpwyq.png b/app/fronters/profiles/hpwyq.png Binary files differindex cb6d7b0..6ad6c22 100644 --- a/app/fronters/profiles/hpwyq.png +++ b/app/fronters/profiles/hpwyq.png diff --git a/app/fronters/profiles/irxyh.png b/app/fronters/profiles/irxyh.png Binary files differindex 7c9577b..cee8265 100644 --- a/app/fronters/profiles/irxyh.png +++ b/app/fronters/profiles/irxyh.png diff --git a/app/fronters/profiles/jnbae.png b/app/fronters/profiles/jnbae.png Binary files differindex a06a031..a7e8a6e 100644 --- a/app/fronters/profiles/jnbae.png +++ b/app/fronters/profiles/jnbae.png diff --git a/app/fronters/profiles/khsbb.png b/app/fronters/profiles/khsbb.png Binary files differindex 6d45bb9..d7a0595 100644 --- a/app/fronters/profiles/khsbb.png +++ b/app/fronters/profiles/khsbb.png diff --git a/app/fronters/profiles/kkhbw.png b/app/fronters/profiles/kkhbw.png Binary files differindex 9822fe3..e943fa5 100644 --- a/app/fronters/profiles/kkhbw.png +++ b/app/fronters/profiles/kkhbw.png diff --git a/app/fronters/profiles/lllfw.png b/app/fronters/profiles/lllfw.png Binary files differindex 889d471..64fe05d 100644 --- a/app/fronters/profiles/lllfw.png +++ b/app/fronters/profiles/lllfw.png diff --git a/app/fronters/profiles/lzlaq.png b/app/fronters/profiles/lzlaq.png Binary files differindex 297d756..98846f5 100644 --- a/app/fronters/profiles/lzlaq.png +++ b/app/fronters/profiles/lzlaq.png diff --git a/app/fronters/profiles/mglyq.png b/app/fronters/profiles/mglyq.png Binary files differindex 71544d7..52c60f4 100644 --- a/app/fronters/profiles/mglyq.png +++ b/app/fronters/profiles/mglyq.png diff --git a/app/fronters/profiles/mhnqy.png b/app/fronters/profiles/mhnqy.png Binary files differindex 370ca37..c3e1d43 100644 --- a/app/fronters/profiles/mhnqy.png +++ b/app/fronters/profiles/mhnqy.png diff --git a/app/fronters/profiles/mvaws.png b/app/fronters/profiles/mvaws.png Binary files differindex 5af3777..3d152a9 100644 --- a/app/fronters/profiles/mvaws.png +++ b/app/fronters/profiles/mvaws.png diff --git a/app/fronters/profiles/pabmo.png b/app/fronters/profiles/pabmo.png Binary files differindex 5ad9dfc..7f8f020 100644 --- a/app/fronters/profiles/pabmo.png +++ b/app/fronters/profiles/pabmo.png diff --git a/app/fronters/profiles/qbzxm.png b/app/fronters/profiles/qbzxm.png Binary files differindex 5478e33..3679f54 100644 --- a/app/fronters/profiles/qbzxm.png +++ b/app/fronters/profiles/qbzxm.png diff --git a/app/fronters/profiles/qcemf.png b/app/fronters/profiles/qcemf.png Binary files differindex fd99d2b..609d535 100644 --- a/app/fronters/profiles/qcemf.png +++ b/app/fronters/profiles/qcemf.png diff --git a/app/fronters/profiles/qraku.png b/app/fronters/profiles/qraku.png Binary files differindex fed1048..10858a6 100644 --- a/app/fronters/profiles/qraku.png +++ b/app/fronters/profiles/qraku.png diff --git a/app/fronters/profiles/rdstg.png b/app/fronters/profiles/rdstg.png Binary files differindex 08c94ff..2fbc54c 100644 --- a/app/fronters/profiles/rdstg.png +++ b/app/fronters/profiles/rdstg.png diff --git a/app/fronters/profiles/rirgf.png b/app/fronters/profiles/rirgf.png Binary files differindex ecc0e18..152c8e2 100644 --- a/app/fronters/profiles/rirgf.png +++ b/app/fronters/profiles/rirgf.png diff --git a/app/fronters/profiles/rpjok.png b/app/fronters/profiles/rpjok.png Binary files differindex ca6970b..c38ba39 100644 --- a/app/fronters/profiles/rpjok.png +++ b/app/fronters/profiles/rpjok.png diff --git a/app/fronters/profiles/rquqx.png b/app/fronters/profiles/rquqx.png Binary files differnew file mode 100644 index 0000000..6865429 --- /dev/null +++ b/app/fronters/profiles/rquqx.png diff --git a/app/fronters/profiles/sbxze.png b/app/fronters/profiles/sbxze.png Binary files differindex ee3cfbf..2744fff 100644 --- a/app/fronters/profiles/sbxze.png +++ b/app/fronters/profiles/sbxze.png diff --git a/app/fronters/profiles/sehke.png b/app/fronters/profiles/sehke.png Binary files differindex ac12f48..0e6f956 100644 --- a/app/fronters/profiles/sehke.png +++ b/app/fronters/profiles/sehke.png diff --git a/app/fronters/profiles/sjuao.png b/app/fronters/profiles/sjuao.png Binary files differindex 39ae38e..12f5b33 100644 --- a/app/fronters/profiles/sjuao.png +++ b/app/fronters/profiles/sjuao.png diff --git a/app/fronters/profiles/tfbob.png b/app/fronters/profiles/tfbob.png Binary files differindex 913b60f..4cc390a 100644 --- a/app/fronters/profiles/tfbob.png +++ b/app/fronters/profiles/tfbob.png diff --git a/app/fronters/profiles/ufadt.png b/app/fronters/profiles/ufadt.png Binary files differindex c893102..4af6c47 100644 --- a/app/fronters/profiles/ufadt.png +++ b/app/fronters/profiles/ufadt.png diff --git a/app/fronters/profiles/uhfic.png b/app/fronters/profiles/uhfic.png Binary files differnew file mode 100644 index 0000000..abf3dcc --- /dev/null +++ b/app/fronters/profiles/uhfic.png diff --git a/app/fronters/profiles/vncoa.png b/app/fronters/profiles/vncoa.png Binary files differindex 9f97376..9636278 100644 --- a/app/fronters/profiles/vncoa.png +++ b/app/fronters/profiles/vncoa.png diff --git a/app/fronters/profiles/vvsxf.png b/app/fronters/profiles/vvsxf.png Binary files differindex c53ea62..74f542e 100644 --- a/app/fronters/profiles/vvsxf.png +++ b/app/fronters/profiles/vvsxf.png diff --git a/app/fronters/profiles/xbvwt.png b/app/fronters/profiles/xbvwt.png Binary files differindex b1774d2..4b6c8d3 100644 --- a/app/fronters/profiles/xbvwt.png +++ b/app/fronters/profiles/xbvwt.png diff --git a/app/fronters/profiles/xcjhj.png b/app/fronters/profiles/xcjhj.png Binary files differindex 24318ae..4ab828d 100644 --- a/app/fronters/profiles/xcjhj.png +++ b/app/fronters/profiles/xcjhj.png diff --git a/app/fronters/profiles/yhbrc.png b/app/fronters/profiles/yhbrc.png Binary files differindex 800b3b7..8b07487 100644 --- a/app/fronters/profiles/yhbrc.png +++ b/app/fronters/profiles/yhbrc.png diff --git a/app/fronters/profiles/yruks.png b/app/fronters/profiles/yruks.png Binary files differnew file mode 100644 index 0000000..a4ddc76 --- /dev/null +++ b/app/fronters/profiles/yruks.png diff --git a/app/fronters/profiles/zajrk.png b/app/fronters/profiles/zajrk.png Binary files differindex b6d5ca3..e6cfa68 100644 --- a/app/fronters/profiles/zajrk.png +++ b/app/fronters/profiles/zajrk.png diff --git a/app/fronters/profiles/zdtsg.png b/app/fronters/profiles/zdtsg.png Binary files differindex b8e61a3..6ec0b3c 100644 --- a/app/fronters/profiles/zdtsg.png +++ b/app/fronters/profiles/zdtsg.png diff --git a/app/fronters/profiles/zhtzs.png b/app/fronters/profiles/zhtzs.png Binary files differindex fddb711..b65fd37 100644 --- a/app/fronters/profiles/zhtzs.png +++ b/app/fronters/profiles/zhtzs.png diff --git a/app/fronters/profiles/ztfjz.png b/app/fronters/profiles/ztfjz.png Binary files differindex e766a35..7765304 100644 --- a/app/fronters/profiles/ztfjz.png +++ b/app/fronters/profiles/ztfjz.png diff --git a/app/fronters/profiles/zzise.png b/app/fronters/profiles/zzise.png Binary files differindex 88217e3..76b1996 100644 --- a/app/fronters/profiles/zzise.png +++ b/app/fronters/profiles/zzise.png @@ -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 Binary files differnew file mode 100644 index 0000000..7492e25 --- /dev/null +++ b/assets/species/changeling.png diff --git a/assets/uploads/pt-thorax.png b/assets/uploads/pt-thorax.png Binary files differnew file mode 100644 index 0000000..e5b12bb --- /dev/null +++ b/assets/uploads/pt-thorax.png 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) ?? "<span data-bs-toggle='tooltip' title='Pronouns not specified' class='text-muted'>she/her</span>", + 'pronouns' => getTooltipsFromMark($member["pronouns"], $french) ?? "<span data-bs-toggle='tooltip' title='Pronouns not specified' class='text-muted'>they/them</span>", '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']) . ' --> -<a href="/' . $member['name'] . '" style="text-decoration:none !important;filter:none !important;"><div class="hpd-item-card" style="background-color:rgba(255, 255, 255, .1);border:1px solid ' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';outline-color:' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';border-radius:10px;text-align:center;display:flex;align-items:center;justify-content:center;padding:5px;' . ($member["equestria"] ? 'opacity:.5;' : '') . '"><div> +<a href="/' . $member['name'] . '" style="text-decoration:none !important;filter:none !important;"><div class="hpd-item-card" style="background-color:rgba(255, 255, 255, .1);border:1px solid ' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';outline-color:' . (isset($member['color']) ? "#" . $member['color'] . "55" : "transparent") . ';border-radius:10px;text-align:center;display:flex;align-items:center;justify-content:center;padding:5px;' . (isset($member["equestria"]) && $member["equestria"] ? 'opacity:.5;' : '') . '"><div> <img alt="" src="' . getAsset($member["system"], $member["id"]) . '" style="border-radius:999px;background-color:rgba(0, 0, 0, .25);height:48px;display:block;margin-left:auto;margin-right:auto;"> <div style="text-decoration:none;color:white;margin-top:5px;">' . ($member['display_name'] ?? $member['name']) . '</div> <div style="text-decoration:none !important;color:black !important;"><code style="text-decoration:none !important;color:white !important;">' . (isset($member['travelling']) && $member['travelling'] ? "+" . ($member['proxy_tags'][0]['prefix'] ?? " ") : ($member['proxy_tags'][0]['prefix'] ?? " ")) . '</code></div> 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"; <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="/assets/logo/custom.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <title><?= $title ? $title . " · " : "" ?>Cold Haze</title> @@ -86,680 +87,6 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/ical/main.php"; <?php endif; ?> <?php endif; ?> <?php endif; ?> - <style> - #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; - } - - .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; - } - - #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; - } - </style> </head> <body<?php if ($page["rail"] && $isLoggedIn && !$useNewUI): ?> id="admin-page"<?php endif; ?>> <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.inc"; global $navigation; ?> 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 <img src="/assets/icons/tree.svg" style="vertical-align: middle;height: 24px;width: 24px;filter: invert(1)" alt=""> <span style="vertical-align: middle;" class="list-separator-desktop"><?= $pages["s:tree"]["name"][$lang["_name"]] ?></span> </a> - <a title="Members <?= $pages["s:species"]["name"][$lang["_name"]] ?>" data-bs-toggle="tooltip" style="display:inline-block;padding:5px 10px;text-align: center" class="system-action tooltip-nohelp" href="/<?= $system ?>/-/species"> + <a title="<?= $pages["s:species"]["name"][$lang["_name"]] ?>" data-bs-toggle="tooltip" style="display:inline-block;padding:5px 10px;text-align: center" class="system-action tooltip-nohelp" href="/<?= $system ?>/-/species"> <img src="/assets/icons/species.svg" style="vertical-align: middle;height: 24px;width: 24px;filter: invert(1)" alt=""> <span style="vertical-align: middle;" class="list-separator-desktop"><?= $pages["s:species"]["name"][$lang["_name"]] ?></span> </a> 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 <?php species($alicorn, "alicorn", $lang["species"]["alicorn"][3]); ?> <?php species($batpony, "batpony", $lang["species"]["batpony"][3]); ?> <?php species($crystal, "crystal", $lang["species"]["crystal"][3]); ?> + <?php species($changeling, "changeling", "Changelings"); ?> </div> <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.inc'; ?>
\ 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'; <option value="0100">Alicorn</option> <option value="0101">Bat pony</option> <option value="0110">Crystal pony</option> + <option value="0111">Changeling</option> </select> <select class="tooltip-nohelp form-select" style='display:inline-block;width:max-content;color:white;background-color:#111;border-color:#222;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");' id="value-3" onchange="updateFromSelection();"> <option value="0000">None</option> @@ -355,6 +356,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; <option value="0100">Alicorn</option> <option value="0101">Bat pony</option> <option value="0110">Crystal pony</option> + <option value="0111">Changeling</option> </select> <select class="tooltip-nohelp form-select" style='display:inline-block;width:max-content;color:white;background-color:#111;border-color:#222;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");' id="value-14" onchange="updateFromSelection();"> <option value="0000">None</option> @@ -364,6 +366,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; <option value="0100">Alicorn</option> <option value="0101">Bat pony</option> <option value="0110">Crystal pony</option> + <option value="0111">Changeling</option> </select> <br> <div style="display: none;"> 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)); |