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
Interested in a new default theme? #3441
Comments
Hi @mrflos, the theme is really neat, I personally like the aesthetics of https://pad.colibris-outilslibres.org more than a default Etherpad installation. I think that making it the default theme is a change that requires at least consensus from the community members and a clear deprecation plan, so it is worth a bigger discussion. In the meantime, I have two quick questions:
|
Hi @muxator ! Thank you for your quick reply. To answer your 2 first questions:
Other things that we would have to discuss:
If the etherpad community sees an interrest on working on doing something more generic, we would be happy to contribute! Best regards |
@mrflos |
HI @petrk94 AND @muxator , |
Hi, @mrflos, thanks for the changes. We could start agreeing on some guidelines and sketching a plan for inclusion.
If you agree on keeping committed to this plan, here's some practical items for us to check:
For what concerns my work of today, I have created a new-theme category for grouping the work there. |
Hi everyone, I'm Sebastian, I've been working on this new theme. @muxator, your plan seems good to me ! And as I commented in a dedicated ticket, this theme was a quick first shot, only applying css rules on top of etherpad code. if I can change a bit the core etherpad code, I would be able to increase much more the user experience. I'll be happy to participate improving this great tool ! |
It would be nice if it also looked good with ep_mypads. That would be important to me. Many Thanks. |
Ok, i changed the licence to apache 2 to solve this first issue. If we add a setting to enable the theme, maybe we should discuss what would be the optimal directory structure, for example (we should discuss this to find the best plan, this is just a draft in my mind) :
This solution may be messy if the default theme is in the root of What would you think of this plan? |
|
There would still be
Sure! I haven't studied the etherpad core's code now, but better not to re-invent the wheel! |
I have dug a bit more in the code and I am thinking about how to best implement the proposal. The My proposal is based on what we said before, simplifying it a bit, given the current status of the code base (thus the name change theme -> skin).
I have a POC of the modifications for the settings in place. In order implement them in a correct and secure way (directory name -> risk of directory traversal), I need to fix some bugs I found when doing the prototype. I hope to have something in ~days, bye! |
Can the theme already be used or is there some copyright problem? |
The copyright problem has been addressed already. This work covers more the integration & future plans. |
@muxator : very good plan, i also started some POC, but its quite a chalenge to do themes without the templates, so skins is a better idea... |
I would like to bring my own pad on my server online for public with the new theme, what I have to replace, so there are no problems with copyright? |
@petrk94 : you can find the code that respect free licence (published under the apache licence) here : https://framagit.org/colibris/etherpad-custom-colibris/ |
@mrflos well, I have it already running successfully ;) |
The PR is ready: #3475. |
Hi, @mrflos, @seballot, the modifications on Etherpad's part are done & pushed. Please pull latest develop and base your work on that. The most relevant modification is that the skin has to be put under I have also updated the documentation, mentioning that, starting from Etherpad 1.8, colibris is the new experimental skin, candidate to become the default in 2.0. Once the other issues in new-skin are solved, we can merge the new skin directly into Etehrpad's codebase. Thank you. |
Great job! I'll be trying to solve the last issues and implement our skin into the right place this week. Thank you again for this amazing change in such a short time! |
Since MyPads shows Etherpad in a iframe, I can't see a reason that would alter the good look of Etherpad in it. |
Btw, how does it react vis-à-vis a dark theme (ie. default dark grey background in the browser settings) ? For example, the current one stays with white background even when using Owl, and it's about the only thing that can't be made to work with it. I since then found Dark Reader which does seem to apply correctly though. |
|
thanks @mrquokka ! |
Thanks for tip. But i already tried "hard refresh". |
Oh, I though @mrquokka was speaking about http://beta.etherpad.org ? |
on this site all works, but on local server i have this problems
tbl_icon_before code
|
Ok, so it's just you don't have the latest verison of ep_tables2 in your local server ! Or maybe your are using ep_tables instead of ep_tables2 |
i have a ep_tables2@0.3.0 All list of packages
|
Ok ep_tables2@0.3 is fine ! /* MENU ICON*/
#editbar #tbl_menu_list {
width: auto !important;
}
#tbl-menu {
background: none !important;
width: 18px !important;
padding-left: 2px !important;
}
#tbl-menu:before {
content: "\F0CE";
} |
I have a "etherpad-lite-develop/src/static/skins/colibris" |
So you just don't have my lastest code from etherpad, https://github.com/seballot/etherpad-lite or see #3496 |
The previews show rather a lot of wasted space on the left and right sides. Will that be configurable? I much prefer that the current theme allows the editing area to fill the entire browser window when the nicklist/commentbox are minimized or floated. This is especially important on smaller devices or for projecting onto screens at conferences (a primary use of Etherpad by communities in which I'm involved). |
hi @fungi, no it's not planned to be configurable, sorry ! But you would be able to customize it with some css rules. |
Projection screens, like the majority of computer screens, are landscape format. As a result, wasted space in sidebars means that much less information you can fit on the projection screen at a reasonable enough font size to be readable at the back of a large conference room. The main thing I'm finding problematic about this design is that, while I can "zoom" in to make the margins disappear so the editing area is the full width of the display/window, it's doesn't seem to be possible for a browser to also scale the font size independent of the line width (unlike the current traditional Etherpad interface). I personally find the wasted space here on the sides of GitHub's WebUI and similar sorts of sites a plague on computing, and the "fake paper" rendering style of Google's documents product similarly terrible, but that's likely a matter of personal preference. I'm still old enough to remember when every row and column on your terminal had some value and I continue to avoid proportional fonts on-screen, so I understand my opinions are going to be written off as those of a Luddite. ;) |
After some fiddling I was able to work out a browser solution where I can scale the font independently of the editable line width, so can probably make it work for my needs with a separate screen scaler (or as you suggested, by editing the CSS). However I noticed at least the version currently deployed on https://beta.etherpad.org has lost the ability to turn off line numbers (the checkbox is still there but doesn't seem to be respected). |
Ok that's good if you found how to fit your needs :) I create a ticket for line number issue #3510, thanks for the report |
colibris: preparatory changes This series consists of the preparatory changes done by @seballot on the Etherpad core code in order to prepare it for the introduction of the colibris skin (proposed in #3441). They were extracted from #3496, isolating the modifications performed outside of skins/colibris. The expected effects on Etherpad (and its default skin) should be none: any major deviation from the original behavior is to be considered a bug. A followup series will merge the colibris skin itself.
How do we use / enable this skin? |
@dessalines, use the skinName property in settings.json
|
Is it dead now? |
Now that Etherpad 1.8.0 is released, I have changed the default value of |
oh great :) |
Hello, our non-profit organisation members, especially @seballot worked on a new theme for etherpad.
It's visible on https://pad.colibris-outilslibres.org and the code is available here : https://framagit.org/colibris/etherpad-custom-colibris
It's a bit tricky and could be more generic, so just let me know if it would make sense to add it to the core.
Best regards
The text was updated successfully, but these errors were encountered: