Uh oh!
There was an error while loading. Please reload this page.
Colorize checkboxes depending on theming color - #415
Conversation
mention-bot
commented
Jul 15, 2016
@juliushaertl, thanks for your PR! By analyzing the annotation information on this pull request, we identified @jancborchardt, @Kondou-ger and @jbtbnl to be potential reviewers |
nickvergessen
commented
Jul 18, 2016
#412 is merged, want to continue? 😀 |
juliusknorr
commented
Jul 18, 2016
@nickvergessen Sure, I will have some time tomorrow to go on with this. |
jancborchardt
commented
Jul 18, 2016
We need to take into account what happens when someone uses white as the color, or very light colors in general which are not very easy to see on the white background. In that case I’d say we either use the default blue or a standard grey. |
4977522 to
eef8882Comparejuliusknorr
commented
Jul 19, 2016
Should be ready for review now.
@nextcloud/designers please check if the boundary for changing to grey is good or if it needs to be changed I also changed the way the css is built, I hope the string concatenation is not that bad, as the response is cached anyway. |
Some comments:
|
juliusknorr
commented
Jul 19, 2016
Good point, I will add the other states and radio buttons tomorrow. At the moment, I don't have a good solution for separating the disabled icon from the checked one, so that they don't look similar with a gray theme color, but I will think about that. Maybe @jancborchardt ? |
MorrisJobke
commented
Jul 22, 2016
Then leave it for now as it is. We could iterate on this later. |
juliusknorr
commented
Jul 22, 2016
Ok, I will have time after the weekend to continue with this pr. |
1d3f4b6 to
0b2a679Comparejuliusknorr
commented
Jul 25, 2016
Radio buttons are now also colorized. Please review again. I'm not sure if generating the SVG for the radio buttons is the best way, at the moment this is more a hacky approach, but my first plan to use mask-image CSS failed, as this is also unsupported in Firefox. @jancborchardt sorry for giving wrong information on that. |
juliusknorr
commented
Jul 27, 2016
Yes, we can change the svg-thing later, if someone has a idea to solve this in a more elegant way. |
Nice! Tested and works (IE11, Edge, Firefox, Safari, Chrome) 👍 |
jancborchardt
commented
Jul 28, 2016
Awesome, works really well! 👍 :) |
@juliushaertl do you want to prepare a backport to sable10? Would be nice to have it in Nextcloud 10 and we also need it for #620 to ship the new first run wizard. |
juliusknorr
commented
Jul 28, 2016
@schiessle Yes, but i'll wait until #622 is merged. |
MorrisJobke
commented
Jul 28, 2016
Was merged. @juliushaertl Could you create the backport? |


partly fixes#378