userscripts.org alternate CSS

By GIJoe Last update Aug 3, 2011 — Installed 4,059 times.

SUGGESTIONS

in
Subscribe to SUGGESTIONS 128 posts, 7 voices



Marti Scriptwright

With a few tweaks here and there after USO settles down on their new layout, this is very nice.

Thanks. :)


Some fonts are a bit too big, some things stretch off their bounding containers and screen, and code pre tags sometimes aren't expanded to max width of the new container... but nice job... you may get really popular. ;)

 
auscompgeek User

I agree, the fonts are a bit too big.

 
Marti Scriptwright

Take a peek at http://userscripts.org/groups... maybe I'm not using the latest version, but seems to be squishing Members/Scripts/Posts in header. Thanks.

 
GIJoe Script's Author

Fixed in the last version...

 
auscompgeek User

I wonder why I have to scroll up a little to see the 'Post reply/Save changes' button and the 'cancel' link while posting... using either this script or not...

 
GIJoe Script's Author

I don't have this problem...

 
Marti Scriptwright

Nice improvements... reinstalled last night...

Did notice at http://userscripts.org/guides the anchor for Create new guide is clipped and only shows Create new guid

 
Marti Scriptwright

Thanks for the guid fix... next one...

http://userscripts.org/guides/3

JoeSimmons comment (third in list) is cropped.

 
GIJoe Script's Author

Updated...

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
Updated...
Awesome thanks...

Next idear... Would you be willing to expand this script to allow or disallow (user selected of course) to make the Source Code word wrap and also not word wrap via a drop down list or the like?

 
GIJoe Script's Author
SeamonkeyMacintosh

Added...

 
Marti Scriptwright
FirefoxX11
GIJoe wrote:
Added...
WAY KEWL! :)... do you think the scroll bar at the bottom could be removed when wrapping and reshown when unwrapping... it's a minor thing so no biggie... just a smallie :)
Speaking of this too... the scroll bar on long scripts is...
W
A
Y
Y
Y
Y
Y
Y
Y
down at the bottom... Do you know of any way to mirror things to both the top and the bottom?
 
GIJoe Script's Author
SeamonkeyMacintosh

The scrollbar is hidden, except if a word in the script is too long. (or maybe it's not the same on linux ?)
For the scrollbar at the top... i don't know if it possible...

For long script, i download the source and use an editor like Notepad2.
(to not increase the download counter, you can add a ?showsource at the end of the url)

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
or maybe it's not the same on linux ?
The scroll bar is showing on Linux, Windows and my Mac... I'm trying it out on sizzlemctwizzlesUserscripts Comments Fix. All three platforms continue to show the scroll bar after clicking Enable Word Wrap.


GIJoe wrote:
editor like Notepad2.
There is a Mac version of Notepad2 ??


GIJoe wrote:
For the scrollbar at the top... i don't know if it possible...
hehe... just thought I'd ask... my intuition thinks that it might be possible, but might be too much work... what do you think about the Word Wrap button at the bottom too?

 
GIJoe Script's Author
SeamonkeyMacintosh

The scroll bar is showing on Linux, Windows and my Mac..
It doesn't for me... O.o
I'll try a change in the CSS for that.

There is a Mac version of Notepad2 ??
No... but you can try "Smultron".

what do you think about the Word Wrap button at the bottom too?
Easy to do :p

Note: You can control the scrollbar with the arrow keys

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
I'll try a change in the CSS for that.
On my Mac I get both vertical and horizontal scroll bars now with this rev... Horizontal ones are still present under Nix and Win32. :\ (btw Nix and Windows are FF 3.0.11 and Mac is FF 3.5)
GIJoe wrote:
Easy to do :p
hehe ;) Thanks... will save some scrolling up time.

GIJoe wrote:
try "Smultron".
Will investigate... thanks.

 
GIJoe Script's Author
SeamonkeyMacintosh

Try the last version... it must be better...

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
it must be better...
Hmmm well horizontal scroll is gone but width of code on all three platforms is still really wide with this rev. Give me a moment and I'll regress to this install and tell you which CSS I changed here to make it disappear but keep the same width of the viewport.


#content pre#source { overflow: visible; } changed to #content pre#source { overflow: hidden; } after enabling word wrap does it when viewing that script on the nix box... I don't have firebug installed on winderz or mac currently.


Looks like it works if I apply the hidden to body.wide #content { overflow-x: auto; } too. One of them might do it. LOL :)


Another wide script... seems to not generate the horizontal scrolls too... just put this in for handy test purposes. :)

 
GIJoe Script's Author
SeamonkeyMacintosh

The problem with sizzlemctwizzle script, is that it can't word wrap the "data:image/png;base64" because of the lack of space in it.

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
it can't word wrap the "data:image/png;base64" because of the lack of space in it.
Ahhh that sucks.. helps if I scroll up and see that... so this rev of yours was working at the optimum?

I think I might change my script too... what kind of maximum width do you recommend for data:uri sources? 80 characters? (maybe I'll just use what my base64 converter uses as a default) Although the script does appear to be wrapping some parts of the data:uris and neither have any spaces in it. EDIT: Went ahead and changed it in mine... so much for long lines LOL

 
GIJoe Script's Author
SeamonkeyMacintosh

I made some change...
Long lines will be cut.

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
Long lines will be cut.
Hmmm not sure I want to hide code from other users at 1024x768 resolution... like I originally said... the horizontal scroll bar isn't a biggie. I'll leave ya be to ponder... thanks again for an awesome addition to the USO GUI. :)

 
GIJoe Script's Author
SeamonkeyMacintosh

Ok... reverted back.

 
Marti Scriptwright
FirefoxX11

GIJoe wrote:
reverted back.
hehe now that's clever... moving the horizontal scroll bar to the full viewport ;)

Had a question about this diffs coloring... it seems to be the only one that I'm encountering this on... what do you think? Tab chars?

 
GIJoe Script's Author
SeamonkeyMacintosh

Yes, he use tab char...

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel