Stylish-Custom

17577798081

Comments

  • edited October 2016 Firefox
    The addon adds 2 buttons. One of them is called "Stylish Manage".
    Right-clicking the button intends to display the styles in the sidebar but it's not working properly.
    It opens a new maximized window.

    I tested it on clean/fresh profiles with Firefox,Waterfox , Cyberfox & palemoon(x86).
    Stylish 2.0.7
    SC 0.8.5 & 0.8.6 and 0.8.6.1
    Win 7 x64

    Testing this issue with my 2.9 MB stylish.sqlite database on my main Cyberfox profile opened that window very slow and sometimes even crashed the browser (I have All-in-one-sidebar addon).

    The issue doesnt happen in Palemoon with Stylish 1.4.3 with SC 0.7.9

    https://choggi.org/misc/Stylish-Custom/
    N.B. When you change from one SC version to another don't forget to Uninstall the addon b/c choggi changed the Extension ID after 0.8.3
  • edited October 2016 Chrome

    The addon adds 2 buttons. One of them is called "Stylish Manage".
    Right-clicking the button intends to display the styles in the sidebar but it's not working properly.
    It opens a new maximized window.

    Yeah Stylish got rid of the sidebar view, be easy enough to make it open info view in sidebar, but for Stylish manage it would take some futzing around

    Testing this issue with my 2.9 MB stylish.sqlite database on my main Cyberfox profile opened that window very slow and sometimes even crashed the browser (I have All-in-one-sidebar addon).

    Hmm, would you be against me getting a copy of your db, and trying it out?
    Edit: Although how is the issue without SC enabled?

    N.B. When you change from one SC version to another don't forget to Uninstall the addon b/c choggi changed the Extension ID after 0.8.3

    I'm using the 0.8.3 id for these test versions (though I probably should use a different one to lessen confusion)
  • can't customize font-size and font-family in your editor

    Solved. The correct selector is: textbox#internal-code .textbox-input-box .
    The culpit was found in my userChrome.css

  • edited October 2016 Chrome
    v0.8.6 (Pending AMO)
    Global:
    Fixed issue with large amount of large styles and opening addons window in a window instead of a tab
    Fixed issue with toolbars remembering layout for each style instead of global layout
    Switched to author instead of agent sheets for internal css (higher specificity)
    Exposed pref extensions.stylish.custom.dark (for undetected dark themes)
    Right-clicking the manage button now toggles sidebar as it used to
    Fixed Get StyleSheets menuitem
    Code cleanup

    Edit:
    Cloned styles now appear properly
    Added placeholder to ScratchPad / enlarged default ScratchPad height

    Import/Export:
    Fixed some issues with exporting styles (css and xml)
    Added Refresh buttons to Import/Export
    Changed example names for Import/Export to placeholders

    Info:
    You can properly select and delete multiple styles from info window
    Delete now shows a list of styles when it asks, instead of asking for each one
    Removed the textbox you could put a list of styles to delete in (delete button works better)



    Still waiting on AMO (66/97 in queue)
    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.6_TEMPsigned.xpi
  • Thanks again to ChoGGi for all his work. :)

    To those who might not notice : opening(toggle) the styles in the sidebar in the great 6 column table format (not the regular addons list format) is working again (just right-click the "stylish manage" button ) !! :)
  • edited October 2016 Waterfox
    "Dear ChoGGi",
    man, oh man, oh man! I miss this thing so much, i installed it along side with srazzano' SEM and it seems to be doing all right.
    I've been missing the search most of all - ability to search all styles at once by word/whatever. And, of course, styles in the sidebar, etc., etc. So, great job, thanks a lot for picking it up again!
    Of course ... there goes a request (hey, you know me, right?), unless i'm missing something, add New Style menuitem to the Manage Styles button menu. Possible?

    I'll go re-read the threa 'cause i don't remember what settings i used to have (like about that search 'new/old').
    Thanks ChoGGiki!! Hope you'll hang around for a while ... image

    ===
    PS. BTW, will you add a forum to your site? In case this one goes down, you know.
  • Running Fx52. All I get is the standard Stylish Editor. Fx52 not supported?
  • ChoGGi,
    i no longer have my old SC style. I can't hide the tree icon (manager sidebar/window), what's the code for it (the Enabled column)?
    And what's the path to your css other than about toolbar images, do you have one?
  • Fx52 not supported?

    well a little patience will soon mend

  • edited October 2016 Chrome
    0.8.6 is approved by Mozilla
    https://addons.mozilla.org/addon/stylish-custom/
    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.6.xpi
    (make sure you remove v0.8.3 or _TEST if you got it installed)

    Fx52 should be fine (works here)
    makondo said:

    ChoGGi,
    i no longer have my old SC style. I can't hide the tree icon (manager sidebar/window), what's the code for it (the Enabled column)?
    And what's the path to your css other than about toolbar images, do you have one?

    The checkmarks for treechildren? I'm going to update the ext with this for next time but you can use
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); @-moz-document url-prefix("chrome://stylish-custom/"){ /*checkbox icon*/ treechildren:-moz-tree-checkbox{-moz-image-region:rect(0 32px 16px 16px);list-style-image:url("chrome://stylish-custom/skin/mosaic.png")} treechildren:-moz-tree-checkbox(checked){-moz-image-region:rect(0 16px 16px 0);list-style-image:url("chrome://stylish-custom/skin/mosaic.png")} } may need tree> or add !important to override

    and it's all in
    chrome://stylish-custom/skin/


    Edit: I don't change anything in about:addons, I also use the old editor window.
    You'll need to use my toolbarbutton.
    Rightclicking a style in the menu should allow you to edit it, but for some reason it broke :)
    Been so used to using the info window I didn't notice...

  • edited October 2016 Waterfox
    Thanks, that was it!
    image

    I was talking about the toolbarbutton menu: can you add New Style item there so that you can get the editor from there?
    image

    And yes, Rclick menuitem does nothing.
    265 x 341 - 89K
  • 0.8.7.0

    Global:
    Changed treechildren to use checkmark icons for enable/disable status
    Right-clicking styles in Stylish toolbarbutton work correctly now

    Edit:
    Renamed Merge to Merge Lines (been meaning to do that one for awhile now ;)

    Options:
    Re-added Manage view>Sidebar

    Info:
    Made search find-as-you-type, and removed clear button

    Import/Export:
    Made search find-as-you-type
    Removed confusing Save/Disable radios, now it just saves on dialog close
    Made it save export type when you toggle it instead of when you export
    Fixed issue with having to click Select Enabled twice after you clicked Select All
    Saves XML filename


    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.7.0_TEST.xpi
    This does use a different ID from SC, so remember to disable that
  • edited October 2016 Waterfox
    1. 'Renamed Merge to Merge Lines (been meaning to do that one for awhile now)' ... (cough) ... , ... Nah, 7 years, not too long .
    Isn't it 'wrap'? I guess i still don't get it (don't bother to explain, i don't use it anyway, just sayin').

    2. Why did you remove Clear from searchbar?
  • edited October 2016 Chrome
    1. Nah, it's great timing (Edit: wrap splits longer columns into more rows/shorter columns)
    2. You can clear it by removing the text or clicking the little X, and it clears some horizontal space for people using it in sidebar? (on that note I'm thinking of moving refresh there as well, or maybe update all)
  • edited October 2016 Waterfox
    What do you mean? Refresh Style List is already in the sidebar:
    image

    Yes, there's an X, i suppose you're going to remove the Clear button? Good move.

    Editor: It used to open with all toolbars visible, now i have to click the Toggle Toolbars every time.
    There also 2 Clear search bar buttons:
    image


  • edited October 2016 Chrome
    makondo said:

    What do you mean? Refresh Style List is already in the sidebar:

    Technically that's the info window opened in the sidebar, but yes it is. I was planning to move it to the right of the search area, and rename it to just refresh. Why is that dropmenu width so large?
    makondo said:

    Editor: It used to open with all toolbars visible, now i have to click the Toggle Toolbars every time.

    I would tell you, but I know we've discussed that :) so I'll just say: Pretend that button doesn't exist, how would you normally open a toolbar?
    On the bright side I just found another bug. Do not uncheck all the toolbars (weird because I have some code in there to prevent that).
    makondo said:

    There also 2 Clear search bar buttons:

    Where?

    Edit:

    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.7.1_TEST.xpi
    Edit:
    Toolbar menu is sorted correctly
    Re-solutioned solution of all toolbars being hidden
    Info:
    Moved Refresh next to search
  • 2 Clear buttons in the editor.

    You've lost me with the rest
    image
  • edited October 2016 Waterfox
    I'm not against the button, i just would like to know if i want the editor to open with all toolbars visible ... i do what?
    IMO, the editor should open in its last state. That is, i it was closed with all toolbars visible, it should have all toolbars visible when i open it again. This way, i can toggle bars once, the first time, and be done with that. I believe that's how it used to work.

    What's Reload Styles about? (in the Options/Toggle).

    Hey, i know we talked about everything in those 70+ pages, i tried re-reading it but fell off my chair around page 10.

    EDIT: How about adding New Style item to the toolbar button menu (is that menu you're talking about 'so wide'? I don't know, it's normal 'in real life' but my win10 is at 175% and all screenshots come out large now, don't know how to fix that)
  • edited October 2016 Chrome
    Oh all right (spoilsport) rightclick, pick some toolbars then close the dialog, that toggle button is purely temporary.
    makondo said:

    What's Reload Styles about? (in the Options/Toggle).

    Pretty much everything has a tooltip, that one should explain it pretty decently...It's for styles with @import in them, but then again maybe Mozilla fixed that bug (ha)
    makondo said:

    Hey, i know we talked about everything in those 70+ pages, i tried re-reading it but fell off my chair around page 10.

    Probably further than I would have.
    makondo said:

    EDIT: How about adding New Style item to the toolbar button menu (is that menu you're talking about 'so wide'? I don't know, it's normal 'in real life' but my win10 is at 175% and all screenshots come out large now, don't know how to fix that)

    I meant that drop menu next to search in the info window (it should be about the length of url-prefix).
    image

    Edit: Nice n small area in info now
    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.7.2_TEST.xpi
    538 x 127 - 15K
  • edited October 2016 Waterfox
    "... pick some toolbars then close the dialog, that toggle button is purely temporary..."

    Right, that's how it used to and should work but what i'm seeing here is i need to click that 'temporary' button every single time i open the editor.
    In fact, once i click it to show all toolbars, the button does disappear and there's no way to close those toolbars.
    The editor should open in its previous state and the button should show to be able to 'toggle' toolbars on/off.
  • edited October 2016 Chrome
    Huh, that's interesting. Running it on waterfox 49.0.2?

    Edit: don't try and import styles with wf, it gets stuck in a loop had about 3k of the same style
  • Woo, that was a nasty bug, I should probably push this to AMO

    Fixed loop error if you import styles without any installed
    https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.7.3_TEST.xpi
  • Yep, done with nightlies. I use a bunch of unsigned exts. by srazzano, WF doesn't need signing.
    I tried exporting, it looks all right to me (XML) but if you say Importing isn't working, i guess Export is meaningless ... too bad. It was one of the three reasons i installed SC. The other 2 are sidebar! and search!
    Chrome?!? ... I have nothing of Goo, don't touch it other than YTube. No stinking goo here and i like it like that!

    So how about the toggle toolbars button? It does the same in a clean profile, S+SC: editor always opens w/out toolbars, click the Toggle button, bars show but button disappears. Close editor and and to it all over again the next time you open it. Don't you see this?
  • edited October 2016 Chrome
    makondo said:

    too bad. It was one of the three reasons i installed SC

    Huh? I just fixed that above... (got stuck in a loop and kept importing the same style)
    Edit: https://choggi.org/misc/Stylish-Custom/Stylish-Custom-0.8.7.xpi
    (and added slightly different icons for each SC window, so don't be confused ;)))
    makondo said:

    So how about the toggle toolbars button?

    Works fine here, anything in your error console?

    Although I'm not able to apply styles in wf (even without SC installed)
    *{color:red} only works if I open a SC window and hit preview, which version of Stylish do you use?
  • edited October 2016 Waterfox
    No errors except one for itsalltext:
    No chrome package registered for chrome://itsalltext/content/API.js
    Stylish 2.0.7.

    After uninstalling the previous version and installing the one above, opened the editor, Toggled bars to show and got this (don't know what's related if anything):

    Win error 2 during operation open on file C:\Users\TB\AppData\Local\Mozilla\Firefox\Profiles\yc9l7kig.Stylish tester\directoryLinks.json (The system cannot find the file specified. ) DirectoryLinksProvider.jsm:402 No chrome package registered for chrome://itsalltext/content/API.js DEPRECATION WARNING: This path to Loader.jsm is deprecated. Please use Cu.import("resource://devtools/shared/Loader.jsm") to load this module. You may find more details about this deprecation at: https://bugzil.la/912121 resource://gre/modules/devtools/Loader.jsm 19 null chrome://stylish/content/edit.js 7 null Deprecated.jsm:79 No chrome package registered for chrome://itsalltext/content/API.jsNo chrome package registered for chrome://itsalltext/content/API.js
  • edited October 2016 Waterfox
    The Toggle works (or rather not) the same. This is a clean profile, only S and SC, one unrelated to any of this style for testing. It applies but looks weird. I will test some other style.

    Edit:
    Yes, installed another style, works all right.
  • What works all right? The toggle toolbars button or applying styles?
  • Styles work all right for me in WF. Toggle does not. I wander if it might have to do with prefs. I didn't change any prefs, everything is default, as is on install.
  • Yeah ok I got styles working (had them turned off *cough cough*). Ah I think I found out what is happening, you've moved it to another toolbar, and it's toggling that toolbar?
  • edited October 2016 Waterfox
    I didn't touch a thing on any toolbar and i didn't change any options. Actually, i don't even remember how all this stuff works ... 'been too long.
    The button is there but i have to click Toggle button every time i open editor. It just doesn't remember its last state.
Sign In or Register to comment.