Thread View: rocksolid.nodes.announce
13 messages
13 total messages
Started by trw
Sun, 15 Sep 2019 20:53
New default theme for def3
Author: trw
Date: Sun, 15 Sep 2019 20:53
Date: Sun, 15 Sep 2019 20:53
11 lines
1385 bytes
1385 bytes
I have finally decided to change the theme. This is not the final version, but I like the colors and concept, so I will take it as a base. Thanks to the coder who did the original, it is called "Dark penguin". If you want the old theme back, you can change that for your account in the control panel after logging in. Let me know if there are any specific painpoints or wishes with the new theme. I am already working on an overbaord (latest messages). cheers trw Posted on: def3.i2p
Re: New default theme for def3
Author: trw
Date: Sun, 03 Nov 2019 22:06
Date: Sun, 03 Nov 2019 22:06
10 lines
1312 bytes
1312 bytes
Thanks to <<guest>>, def3 has a new css which has much better looks than the previous one. It took me some time to check and doublecheck it (css can be malicious both towards the server and the user), and I changed one detail, but now I have to say it is really nice. Good job, guest. Let me know if there should be any glitches or if a functionality should not work like expected. cheers trw Posted on def3
Re: New default theme for def3
Author: Retro Guy
Date: Mon, 04 Nov 2019 08:57
Date: Mon, 04 Nov 2019 08:57
15 lines
1645 bytes
1645 bytes
To: trw trw wrote: > Thanks to <<guest>>, def3 has a new css which has much better looks than the previous one. It took me some time to check and doublecheck it (css can be malicious both towards the server and the user), and I changed one detail, but now I have to say it is really nice. > Good job, guest. Looks very nice! Browsing around a bit now. Retro Guy -- Posted on RetroBBS
Re: New default theme for def3
Author: AnonUser
Date: Mon, 04 Nov 2019 18:27
Date: Mon, 04 Nov 2019 18:27
66 lines
3978 bytes
3978 bytes
To: trw
This is a multi-part message in MIME format.
--------------5dc06dae6f6ec6.40298848
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
The new theme looks great! However, there are a few bugs or issues the
theme.
The font-size for the tr element with class .MsgR2 in the posts is a bit
too small. I was playing around with the values and 12px looks better and
more readable.
There's also a bug with .ContentTable's negative margins making both the
top ("Show: Today's Messages..." etc.) and bottom (login form) overlap
with it. It also overlaps with controls when you look at a thread. It
looks like it was done that way to remove the borders within the posts,
but that can be solved another way, css list item selectors.
In the same table the numbers for messages and topics aren't
center-aligned or right-aligned. Left aligning numbers in tables looks
really bad and should be avoided in UI design. When you visit a board, the
numbers are aligned center and it looks a lot better.
compare:
http://def3.i2p/ (left alignment for numbers)
http://def3.i2p/index.php?t=thread&frm_id=19 (center alignment for numbers)
I think the color for the quoted text is really hard on the eyes (blue),
might want to try something that isn't so harsh on the eyes, something
like #3598dc.
I've attached a patch :).
- crowbar
--
Posted on RetroBBS
--------------5dc06dae6f6ec6.40298848
Content-Type: text/x-diff;
name=forum.css.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=forum.css.patch
LS0tIG9sZC9mb3J1bS5jc3MJMTk3MC0wMS0wMSAwMTowMDowMC4wMDAwMDAw
MDAgKzAwMDAKKysrIG5ldy9mb3J1bS5jc3MJMTk3MC0wMS0wMSAwMTowMDow
MC4wMDAwMDAwMDAgKzAwMDAKQEAgLTI0NiwxMCArMjQ2LDEzIEBACiAuTXNn
UjIsIC5Nc2dSMSwgLk1zZ1IzLCAuTXNnSWcgewogICAgIGNvbG9yOiAjQkJB
QUFBOwogICAgIGJhY2tncm91bmQ6ICMzNDM0NDU7Ci0gICAgYm9yZGVyLWJv
dHRvbTogMXB4IHNvbGlkICMxMjEzMTQ7CiAgICAgcGFkZGluZzogMXB4Owog
fQogCisuTXNnVGFibGUgPiB0Ym9keTpmaXJzdC1jaGlsZCAuTXNnUjIgewor
ICAgIGJvcmRlci1ib3R0b206IDBweDsKK30KKwogLk1zZ0lnIHsKICAgICBi
b3JkZXI6IDA7CiB9CkBAIC0yNTksMTAgKzI2MiwxMSBAQAogfQogCiAuTXNn
UjIgewotICAgIGZvbnQtc2l6ZTogN3B4OworICAgIGZvbnQtc2l6ZTogMTJw
eDsKIH0KIC5Nc2dSMyB7CiAgICAgYmFja2dyb3VuZDogIzQ0NDQ1NTsKKyAg
ICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIzEyMTMxNDsKIH0KIAogLm1u
YXZNc2cgewpAQCAtNzc1LDE0ICs3NzksMTQgQEAKICAgICBwYWRkaW5nOiAx
cHg7CiB9CiAKLS5Db250ZW50VGFibGUgewotICAgIG1hcmdpbjogLThweCAw
IC0xOHB4OwotfQotCiAuQ29udGVudFRhYmxlIHRkOmZpcnN0LWNoaWxkIHsK
ICAgICBwYWRkaW5nLWxlZnQ6IDhweDsKIH0KIAorLkNvbnRlbnRUYWJsZSB0
ciAuUm93U3R5bGVCLmFjOm5vdCgud28pIHsKKyAgICB0ZXh0LWFsaWduOiBj
ZW50ZXI7Cit9CisKIGlucHV0W3R5cGU9ImZpbGUiXSB7CiAgICAgYm9yZGVy
OiBub25lOwogICAgIGJhY2tncm91bmQ6IG5vbmU7Cg==
--------------5dc06dae6f6ec6.40298848--
Re: New default theme for def3
Author: trw
Date: Tue, 05 Nov 2019 20:17
Date: Tue, 05 Nov 2019 20:17
6 lines
1089 bytes
1089 bytes
thanks for the feedback, i will check it out. cool that there are so many css experts among the readers, i don't know too much about it.... cheers trw Posted on def3
Re: New default theme for def3
Author: Retro Guy Retro Guy
Date: Tue, 05 Nov 2019 22:35
Date: Tue, 05 Nov 2019 22:35
10 lines
1436 bytes
1436 bytes
trw wrote: > thanks for the feedback, i will check it out. cool that there are so many css experts among the readers, i don't know too much about it.... It's looking very nice def3.i2p. The layout looks good and colour selections and fonts also. Very easy on the eyes. -- Posted on Rocksolid Light
Re: New default theme for def3
Author: AnonUser
Date: Wed, 06 Nov 2019 21:46
Date: Wed, 06 Nov 2019 21:46
10 lines
1621 bytes
1621 bytes
To: trw >thanks for the feedback, i will check it out. cool that there are so many css experts among the readers, i don't know too much about it.... Lucky you. I had the misfortune to work professionally as a web dev. It's not something I'm going to do professionally ever again, unless I'm about to become homeless or on the verge of starvation. - crowbar -- Posted on RetroBBS
Re: New default theme for def3
Author: trw
Date: Mon, 11 Nov 2019 19:53
Date: Mon, 11 Nov 2019 19:53
9 lines
1438 bytes
1438 bytes
>I had the misfortune to work professionally as a web dev yeah, it shows. thanks for solving the overlapping issue, i finally went for 10px instead of 12px, looks much nicer. also aligning the numbers. the color of quoted text I need to change directly in the nntp import module, it is a long standing request, even from before i switched to this theme. i thought it might be acceptable with the new color scheme but this blue is just too nasty, does'nt matter the background color. cheers trw Posted on def3
Re: New default theme for def3
Author: trw
Date: Mon, 11 Nov 2019 20:16
Date: Mon, 11 Nov 2019 20:16
23 lines
2097 bytes
2097 bytes
ok, fixed the color as well. the function is in scripts_common.inc, the new function is this:
/** Apply different colors to different levels of quoted text. */
function color_quotes($body, $forum_opt)
{
$body = str_replace("\r\n", PHP_EOL, $body); // Get rid of carriage returns on non-Windows systems.
if ($forum_opt & 16) { // BBCode tag style.
$body = preg_replace('/^>\h*>\h*>\h*>(.*)$/m', '>>>> \1', $body);
$body = preg_replace('/^>\h*>\h*>(.*)$/m', '>>> \1', $body);
$body = preg_replace('/^>\h*>(.*)$/m', '>> \1', $body);
$body = preg_replace('/^>(.*)$/m', '> \1', $body);
} else if (!($forum_opt & 8)) { // Tag style is not NONE (thus, HTML).
$body = preg_replace('/^>\h*>\h*>\h*>(.*)$/m', '<font color="mintcream"> >>>> \1</font>', $body);
$body = preg_replace('/^>\h*>\h*>(.*)$/m', '<font color="lightsteelblue"> >>> \1</font>', $body);
$body = preg_replace('/^>\h*>(.*)$/m', '<font color="lightblue"> >> \1</font>', $body);
$body = preg_replace('/^>(.*)$/m', '<font color="cornflowerblue"> > \1</font>', $body);
}
return $body;
}
Posted on def3
Re: New default theme for def3
Author: Retro Guy Retro Guy
Date: Tue, 12 Nov 2019 23:30
Date: Tue, 12 Nov 2019 23:30
10 lines
1409 bytes
1409 bytes
Just noticed something re def3 colours. In tbb, I can't see the scrollbar on the right. It is there, but the contrast between colours is so little that I have a lot of trouble finding it. In i2p it appears as the standard browser scrollbar. -- Posted on Rocksolid Light
Re: New default theme for def3
Author: trw
Date: Fri, 15 Nov 2019 18:45
Date: Fri, 15 Nov 2019 18:45
5 lines
1300 bytes
1300 bytes
>n tbb, I can't see the scrollbar on the right. It is there, but the contrast between colours is so little that I have a lot of trouble finding it. yeah, it is a little challenging. the same goes for fixing it, I tried a couple of things without sucess. Seems like I have to hack around a bit in the templates (html part). and it seems to be browser specific. Posted on def3
Re: New default theme for def3
Author: Guest
Date: Sat, 16 Nov 2019 05:49
Date: Sat, 16 Nov 2019 05:49
16 lines
1243 bytes
1243 bytes
To fix the scrollbar issue, try modifying the html selector at the top of the css: scrollbar-color: #242455 #121222; to increase the contrast while retaining the overall color scheme. Should work fine with the new, yet-to-be-deployed css updates! Regards, -- Guest Posted on def3
Re: New default theme for def3
Author: trw
Date: Sat, 16 Nov 2019 19:03
Date: Sat, 16 Nov 2019 19:03
10 lines
1214 bytes
1214 bytes
>To fix the scrollbar issue, try modifying the html selector at the top of the css: scrollbar-color: #242455 #121222; This was one of the things that did not work. Maybe I did it wrong, though. >Should work fine with the new, yet-to-be-deployed css updates! Yeah, I need to check those too... Posted on def3
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads