-
Notifications
You must be signed in to change notification settings - Fork 131
Change Pokes interface #891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,73 +1,212 @@ | ||
| /* | ||
| * Style for Pokémon appearing on Dashboard | ||
| */ | ||
| .poke { | ||
| position: absolute; | ||
| right: -126px; | ||
| } | ||
|
|
||
| .poke_background { | ||
| background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASBAMAAACk4JNkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNvyMY98AAAAhUExURf///zAwMEhQUHh4gJhIOKCgwNhYONjI8PiQOPjQOPj4+CJu/FkAAAALdFJOUwC0tLS0tLS0tLS0/fXDXAAAAH1JREFUCNdjYGBgEBQUZAADwY6ODjCTEcjoaBMAsiRmgpiJQKHOVTOArDQBJJZEB1g2LRHIAutAYYmAWWlpjgxCHk1KQEaKIoOQkupStTQnJUUGRiOtVUpKSspA86pMlwIZpUDrxBcbl5eXB4JcEA5khAqAXRUaGgpzINilAJ/TLm7LlTr9AAAAAElFTkSuQmCC) no-repeat; | ||
| background-size: 100px 100px; | ||
| image-rendering: pixelated; | ||
| } | ||
|
|
||
| .poke img { | ||
| width: 100px; | ||
| image-rendering: pixelated; | ||
| } | ||
|
|
||
| .caught img { | ||
| width: 55px; | ||
| image-rendering: pixelated; | ||
| } | ||
|
|
||
| .poke::after { | ||
| font-size:26px; | ||
| font-size: 26px; | ||
| font-weight: bold; | ||
| position: relative; | ||
| left: -26px; | ||
| } | ||
|
|
||
| .caught .poke_gender div::after { | ||
| font-size:26px; | ||
| font-weight:bold; | ||
| position:relative; | ||
| top:-20px; | ||
| } | ||
|
|
||
| .poke[data-pokegender="male"]::after, | ||
| .caught[data-pokegender="male"] .poke_gender div::after { | ||
| .poke[data-pokegender="male"]::after { | ||
| content: "\2642"; | ||
| color: #6CA0DC; | ||
| } | ||
|
|
||
| .poke[data-pokegender="female"]::after, | ||
| .caught[data-pokegender="female"] .poke_gender div::after { | ||
| .poke[data-pokegender="female"]::after { | ||
| content: "\2640"; | ||
| color: #FF69B4; | ||
| } | ||
|
|
||
| .poke[data-pokegender="genderless"]::after, | ||
| .caught[data-pokegender="genderless"] .poke_gender div::after { | ||
| .poke[data-pokegender="genderless"]::after { | ||
| content: "\26AA"; | ||
| color: #9370DB; | ||
| } | ||
|
|
||
| .caught { | ||
| border-bottom: 1px solid rgb(190,190,190); | ||
| /* | ||
| * Menu of the Pokés extension | ||
| */ | ||
| #xkit-pokes-custom-panel { | ||
| width: 100% | ||
| } | ||
|
|
||
| .caught .poke_sprite{ | ||
| width: 65px; | ||
| #xkit-loading_pokemon { | ||
| text-align: center; | ||
| position: relative; | ||
| } | ||
|
|
||
| .caught .poke_stats { | ||
| vertical-align: middle; | ||
| .xkit-pokes-menu_button { | ||
| box-sizing: border-box; | ||
| width: 178px; | ||
| height: 175px; | ||
| float: left; | ||
| display: inline-block; | ||
| position: relative; | ||
| padding: 70px 20px 20px 20px; | ||
| text-align: center; | ||
| cursor: pointer; | ||
| border: 1px solid #D0D0D0; | ||
| } | ||
|
|
||
| #xkit-pokes-custom-panel { | ||
| width: 100% | ||
| .xkit-pokes-menu_button.disabled { | ||
| cursor: default; | ||
| } | ||
| .xkit-pokes-menu_button.disabled .title:after { | ||
| content: "Unavailable"; | ||
| } | ||
| .xkit-pokes-menu_button.disabled .description:after { | ||
| content: "This feature is not ready just yet!"; | ||
| } | ||
| .xkit-pokes-menu_button .title { | ||
| font-weight: bold; | ||
| margin-top: 4px; | ||
| } | ||
| .xkit-pokes-menu_button .description { | ||
| max-height: 60px; | ||
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
| } | ||
| .xkit-pokes-menu_button .icon { | ||
| position: absolute; | ||
| top: 20px; | ||
| left: 50%; | ||
| margin-left: -16px; | ||
| border-radius: 5px; | ||
| width: 32px; | ||
| height: 32px; | ||
| background-size: contain; | ||
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAACVBMVEX///8iIiIiIiLMFIP7AAAAA3RSTlMAf4C/aSLHAAAAVElEQVR4Ae3KMQrAIBQE0Z/c/9BJIQwsrFPaOI1/5c3tcM9KGZkjc2SO9i7vAnOZY3f4/u0hDjkloCQQAOQjAvAIzN1lccBV3l3SlMyROVJHsNvRPjeEAcfzDmAhAAAAAElFTkSuQmCC'); | ||
| } | ||
| #xkit-pokes-show_poke_list .icon { | ||
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAD80lEQVRYR7WXP2zbRhTGPxWqTQJFK27iyFFjvFVLE7mAW7mTtdlb5RZFJTl1JCQwrNGC4dSyU8fKEEjZ5E2aaiUZxLiLsimjlgJcCpAbiaIAL65cFe8Y6o8tUbbMvEGkeO/u/fjdvXvHAKZYrVbrTfPxak8kEoFp/T0dCECWZYTD4WnjjG03DAO6rmMaiCdEs9nsKYoCSRJngjBNG5qmYXFx0TPOxMZyudyLxWIcQBBCM0EwZoFAVFXF+vr6xFgTG7a3U72FhTsIhWZTwaW2LBvt9jsUCqXZIWqVAkQ50lfCtln/XhSFsQoN+yQSqz5A1E4gy4OFyRgpY/aDC8IoyHC7aVrwDUKSFAiCzQNfhgCkfptL5vr4DhF/uAf1aIPHubdxhJePf+T33z58jjdHG7iXeYI3T39x2jNP8PLXn+A7BCnx9eYznJUe4J+/A/huq4hXxRS65zaWt17gj9IDdM8ZFjdLaB6mwBjzG4JSVMJnn/fwVarIg3T/C2Ape4zT3SSCcyK/v/j3HGfHm/1pM03Nzz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unZ5taYeHwyh+hI0RE0H5qk+spUb/rwgEtEEQxAhN1Ud03eta51TcP8vNo+nJ3btk9oeDEsKhbFijAGimDJDaitCGQqUBhBgodglnLcUXp+6fUbSx4h0VQ0yJjKBYkfBYOfer8wCgMhpRtGJAUEYjCKwlvGiTwqswkhShIsFCmhAUCAkhkXgmhEpLFFI8tDb7I9evzgOASlvSCQ0JUFETJGigNCFQJIwA8KINEZFTR7pzhEiEIaMRsL836b3cCx+Job86DwCqRITSjJDghdQUGUbx1E4JKm33lS+34RSFntuesR5E/b+Q+xh8AUCEEChNKqqSiR7bN5biZWvA5mv4hScQvxD+CQ0gmrvyhM6LAAAAAElFTkSuQmCC'); | ||
| } | ||
|
|
||
| #xkit-loading_pokemon { | ||
| /* | ||
| * Pokémon list style | ||
| */ | ||
| .xkit-pokes-lightbox { | ||
| position: fixed; | ||
| top: 0px; | ||
| bottom: 0px; | ||
| right: 0px; | ||
| left: 0px; | ||
| z-index: 15000; | ||
| overflow: hidden; | ||
| background-color: rgba(25,25,25,.92); | ||
| } | ||
| .gender { | ||
| display: none; | ||
| float: right; | ||
| font-size: 20px; | ||
| } | ||
| .nickname { | ||
| display: none; | ||
| font-weight: 700; | ||
| font-size: 25px; | ||
| } | ||
| .nickname::before { | ||
| content: ""; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be specified in a hex format like the rest of the symbols
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not know what the hex format was. I copied it from tumblr's CSS file
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| font-family: "tumblr-icons"; | ||
| float: left; | ||
| display: none; | ||
| } | ||
| .species { | ||
| display: none; | ||
| font-size: 16px; | ||
| margin-top: 3px; | ||
| } | ||
| #xkit-pokes-nickinput { | ||
| font-size: 20px; | ||
| } | ||
| .xkit-pokes-pc { | ||
| max-width: 800px; | ||
| border-radius: 40px; | ||
| height: 600px; | ||
| background: #EFEFE7; | ||
| position: relative; | ||
| margin: 50px auto; | ||
| } | ||
| .xkit-pokes-pc-pokemon { | ||
| height: 350px; | ||
| width:85%; | ||
| padding: 10px; | ||
| margin: 50px; | ||
| position: absolute; | ||
| border: 4px solid #6B94B5; | ||
| border-radius: 20px; | ||
| background: #B6E4EF; | ||
| } | ||
| .xkit-pokes-pc-info { | ||
| position: absolute; | ||
| background: #fff; | ||
| height: 90px; | ||
| width: 85%; | ||
| padding: 10px; | ||
| margin: 440px 50px 50px 50px; | ||
| border: 4px solid #6B94B5; | ||
| border-radius: 20px; | ||
| -webkit-filter: grayscale(30%); | ||
| filter: grayscale(0%); | ||
| } | ||
| .xkit-pokes-pc-info .gender[data-pokegender="male"]::after { | ||
| content: " \2642"; | ||
| color: #6CA0DC; | ||
| } | ||
| .xkit-pokes-pc-info .gender[data-pokegender="female"]::after { | ||
| content: " \2640"; | ||
| color: #FF69B4; | ||
| } | ||
| .xkit-pokes-pc-info .gender[data-pokegender="genderless"]::after { | ||
| content: " \26AA"; | ||
| color: #9370DB; | ||
| } | ||
| .xkit-pokes-pc-info .caught_stats { | ||
| text-align: center; | ||
| font-weight: bold; | ||
| font-size: 20px; | ||
| } | ||
| .caught.active { | ||
| background: rgba(255,255,255,.7); | ||
| } | ||
| #xkit-loading_pokemon { | ||
| overflow-y:scroll; | ||
| height: 100%; | ||
| } | ||
| .caught { | ||
| display: inline-block; | ||
| width: 90px; | ||
| height: 90px; | ||
| border-radius: 10px; | ||
| } | ||
| .caught img { | ||
| width: 90px; | ||
| height: auto; | ||
| vertical-align:middle; | ||
| image-rendering: pixelated; | ||
| } | ||
| .caught::after { | ||
| float: right; | ||
| font-size: 30px; | ||
| position: relative; | ||
| top: -40px; | ||
| font-weight: 100; | ||
| } | ||
| .caught[data-pokegender="male"]::after { | ||
| content: " \2642"; | ||
| color: #6CA0DC; | ||
| } | ||
| .caught[data-pokegender="female"]::after { | ||
| content: " \2640"; | ||
| color: #FF69B4; | ||
| } | ||
| .caught[data-pokegender="genderless"]::after { | ||
| content: " \26AA"; | ||
| color: #9370DB; | ||
| } | ||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what's supposed to show up here, but it doesn't show up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is display: none that keeps it from showing up. The icon is supposed to be the edit pen that tumblr uses on posts you can edit if you know what I mean. I did not implement nicknaming yet so I decided to hide the symbol until Nicknames become a thing