| |
jailbird
Registered: Dec 2001 Posts: 1578 |
A minimalistic CSDb style for Stylish
I couldn't sleep last night so I decided to restyle CSDb a bit, maybe some of you will find it useful.
Since the HTML is not semantic at all, and it was a real pain in the ass to make it work, I am pretty sure it's full of shit, so feel free to improve/change it.
Oh, and it works only when you're logged in.
Get it from https://github.com/csisztaiarnold/csdb_stylish
Preview on YouTube: https://www.youtube.com/watch?v=mLMcTCREKf8 |
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
looks great, extra thumbs for the joke :) |
| |
Digger
Registered: Mar 2005 Posts: 436 |
Awesome selector gang-bang JB! It used to be Greasemonkey doing this in 2000. |
| |
Hein
Registered: Apr 2004 Posts: 954 |
That's too freaking pragmatic for this database.
|
| |
Shadow Account closed
Registered: Apr 2002 Posts: 355 |
Nice work Jailbird, a little more modern feel to it compared to standard CSDb! |
| |
CreaMD
Registered: Dec 2001 Posts: 3057 |
Neat, I think now when it is proof-of-concepted (is that the term?) it might also be replaced for CSDB by Perff ;-) I kinda like it, although I only clicked through the video. If that's also responsive, immediate replacement is a must. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
verdammte webdesignspacken |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
Quote: Neat, I think now when it is proof-of-concepted (is that the term?) it might also be replaced for CSDB by Perff ;-) I kinda like it, although I only clicked through the video. If that's also responsive, immediate replacement is a must.
Nah, due to the archaic, nested table structure, the inline styles and the total absence of semantics, it's impossible to make it responsive with CSS only (except from hiding stuff with media queries). Inportant sections which would need isolated block-elements or groupings are often separated by line breaks or empty table cells. Also, almost all the input buttons are made of images. The HTML would definitely need a rewrite from ground up.
And even when I use targeted selectors for styling specific elements, there is a great chance that the same selector will affect another element on another page as they're often conflicting.
So in the current state of CSDb, we're limited to play around with whitespaces, colors and font styles. That's about it.
The first version was rather fast experiment to check out what's possible with Stylish, but I keep tinkering with the style, so you could expect a better version soon |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
Updated the forum area:
Forum table > Topics table > Thread |
| |
CreaMD
Registered: Dec 2001 Posts: 3057 |
Beauty. |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
I have added the stylesheet to userstyles.org, so from now on, once you have installed both the extension and the style, you could always be up do date with the latest production version of the sheet (Manage installed styles > Check for update).
It's still a work in progress, so use it with caution.
Installation instructions: https://github.com/csisztaiarnold/csdb_stylish#installation
There's no Stylish plugin for IE/Edge, but I guess it could be substituted with Greasemonkey. |
... 25 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 - Next |