Closed WOLF33B closed 11 months ago
i do see in git-hub "467638-tabview-customization.user.css"
https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=ja OR https://addons.mozilla.org/ja/firefox/addon/styl-us/
https://greasyfork.org/en/scripts/467638-tabview-youtube-design-customization
Then you will have these options.
You can request to add more options in this UI customization. It is just CSS rules. You can design.
This is not official extension from YouTube. You might propose how to make it looks better. This would not 100% follow YouTube official UI design. You cannot ask me to design something not in your mind. I am not designer. The default design is based on my own design sense to fit what I think it is the best.
and the selected button bar has a slight issue on the side
This is design issue, not programming issue. We cannot imagine how to have a red line under the side round button.
Currently we don't have any design to add margin to the bottom of the tab button. And this requires change of height calculation. Not planned for adding margin below the button.
Hello I was wondering if the UI could be officially, updated from the current boxy design to a more rounded one.It would make it feel like an official UI, similar to the new rounded UI on YouTube. I have made some modifications for myself, incorporating a simple style and some logical changes to mimic the new look. I'm just curious if these changes could become official instead of needing to modified the code from user side? No pressure,
i do see in git-hub "467638-tabview-customization.user.css", but i don't know what to do with it or how to implement that to tampermonkey. i not really tampermonkey user to begin with. and for anyone else who might be interested in this quick hack way, here are the modifications I've made to create a more official-looking UI. A.K.A rounded UI directly from tampermonkey editor
NOTE:I know my way of modifying it might not be very good, or there might actually be support for advanced users to use a rounded UI. However, I do know how to write JavaScript, but I don't really ever use JavaScript for webpage, let alone make full websites (HTML, CSS,JS). So yeah, take it with a mountain of salt.
find "mtf_attrPlaylist: (attrName, newValue) => {" then modified to be like this
find <a id="tab-btn1" tyt-di="q9Kjc" tyt-tab-content="#tab-info" then modified to be like this
3.modified addHTML to be like this
Anyway, it's not perfect. For example, the bottom margin is slightly off due to margin-top: 10px, and the selected button bar has a slight issue on the side. The reason for that is because I'm not really a JavaScript or website developer; I'm more into Python and Kotlin. So, yeah, the modifications are as basic as possible. if anyone have better way please share step by step, just see the picture what it do. sample 1(no playlist) sample 2(have playlist)