Steemnova - Popup on hovering over resource/building Names
utopian-io·@flugschwein·
0.000 HBDSteemnova - Popup on hovering over resource/building Names
### New Features - What feature(s) did you add? _Describe briefly and add screenshots/recordings if applicable._ I added a popup that comes up when you hover over the name of a resource/building/ship etc. in the following pages: * Building Page * Empire Page * Officers Page * Records Page * Research Page * Resources Page * Shipyard Page * Spy Reports This popup shows the icon of the according item, and it displays a short description for the item. When you click on the heading of the popup, it opens a dialog window with more infomation. This allows quicker accessing of some information if needed. In the game there are short and long descriptions. Some of the short ones were really long, so I shortened them. For the resources there weren't any short descriptions, so I added them in German and English. I asked a few members of the community if they could help me with translating and Djoker and mys translated the short resource descriptions to french/polish. The remaining languages have the english ones as placeholders. If someone wants to translate this, he is very welcome to do so. Theres a video of the new feature: <iframe width="560" height="315" src="https://www.youtube.com/embed/OQj4LfbHHRM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> - How did you implement it/them? _Link to relevant lines in the code on GitHub and explain briefly what you added/changed._ As mentioned above, I added the new strings to the language files. [I](https://github.com/steemnova/steemnova/pull/123/commits/d24e0da8c64a06c0d672865533f56fec6042fc08) [changed](https://github.com/steemnova/steemnova/pull/123/commits/ca4cb5db1a6f11d1da8f0e1b89e30c63df16ee66) [language](https://github.com/steemnova/steemnova/pull/123/commits/fb05611c9cdeb020d0b856daa7d7d0cbc2137ee8) [files](https://github.com/steemnova/steemnova/pull/123/commits/d8cc02130ee059cc12ec80c14f4956672f130d56) [in](https://github.com/steemnova/steemnova/pull/123/commits/46e5e463db6831e987acbde2a58f3c10b3f72fe6) [these](https://github.com/steemnova/steemnova/pull/123/commits/a03251c08eb632c746ea41794f24616c06b80456) [commits](https://github.com/steemnova/steemnova/pull/123/commits/dbcce3bf837337f04570301cac9a839de761dbde). I changed the `.tpl` files for the aforementioned pages as well. You can see these changes clearly if you look into the [pull request](https://github.com/steemnova/steemnova/pull/123/files). These contain the core of the new feature. I used the same method that is used in the galaxy page, when you hover over the image of a planet. Lastly I also had to change the [`styles/resource/css/ingame/main.css`](https://github.com/steemnova/steemnova/pull/123/files#diff-f0df01842884782b37be0cf754ad3153), because the popups were ridiculously large before the change. Thank you very much for reading! <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@flugschwein/steemnova-popup-on-hovering-over-resource-building-names">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
👍 cheneats, drnatoor, humanduck, mwfiae, smallstepschange, berndpfeiffer, reconnectnature, hollidaycarlosdd, k3lda, k3ldo, nissla, desteemy, vieanna, security101, kehrwoche, naturicia, utopian-1up, helo, mahdiyari, simonluisi, stoodkev, ansonoxy, eastmael, jamesbarraclough, espoem, moorkedi, nathalie13, not-a-bird, bitopia, berkaytekinsen, evilest-fiend, family.app, bustami83, maphics, phgnomo, proffgodswill, admiralsp, howtosteem, thatmemeguy, ronimm, mufasatoldyou, thinkkniht, jesdn16, kslo, navx, sebastiengllmt, zlatkamrs, amosbastian, sweeverdev, rhotimee, deejee, yeswanth, photohunter1, photohunter5, roj, nightdragon, opulence, dyancuex, luisrod, smafey, kimaben, varja, yourmercury, acrywhif, kodeblacc, isacastillor, kekegist, solomon507, patatesyiyen, rsteem, onin91, isabella394, emailbox19149, videosteemit, lemony-cricket, exploreand, petvalbra, photohunter3, photohunter4, fmbs25, livsky, aderemi01, killbill73, amirdesaingrafis, fai.zul, chukuibijenny, flinter, donjyde, crispycoinboys, bluestorm, pepememes, flugbot, ilyastarar, jfuenmayor96, harshallele, planetenamek, xtramedium, steaknsteem, masud222, eleonardo, zohaib715, checkthisout, handfree42, carsonroscoe, xplore, hmctrasher, raoul.poenar, aliyu-s, muratti, nonsqtr, jayo, animesukidesu, musicbot, morin89, inquiringtimes, elbleess, instantania.cat, bhim, silasvogt, not-a-cat, sijobe, saifannur-mzy, tailslide, andiepumpgun, soykatherine, sugandhaseth, lsanek, lykia, realness, gydronium, eraizel, gnaimul, niouton, editorspicks, cryptocopy, artsyunicorn, steemfunder, mountainjewel, gwys, naturallife, cheesom, pixelproperty, ernoldlvb, nazmulrana, romanleopold, syahrin, chrome.citizen, swaze, studytext, lemcriq, ewuoso, esme-svh, estherekanem, camillius, toninux, crashbandicoot, salahudeen, ibez, wealth4good, odibezeking, lauraesfeliz, michelios, jdc, zenc, devilonwheels, eric-boucher, steemassistant, hermanasquintero, bargolis, phasma, carloniere, idlebright, adhew, williams-owb, jrmiller87, kaking, gwapoaller, khairulfahmi92, saksham, phogyan, hillaryaa, shenoy, steemnova, mys, jeff-dawn, limesoda, mamanev, olsafronow, khlud, adrio, tv-palata, infinityroad, doughtaker, booster916, azwarrangkuti, grzesiekb, double-u, mdnazmulhasan, utopian-io, maxpatternman, frau-technik,