Frylock86 Posted March 30, 2011 Share Posted March 30, 2011 #TabsToolbar { -moz-padding-start: 0 !important; } Thank you Soapy! :D That extra padding was making me OCD. Lol Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593838756 Share on other sites More sharing options...
Kyang Posted March 30, 2011 Share Posted March 30, 2011 I'm the developer of both and they use the same code. The attribute to control the positioning of the popup doesn't seem to actually work. I was hoping that you would be the one to answer. :) . Thanks for the reply. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839070 Share on other sites More sharing options...
vasa1 Posted March 30, 2011 Share Posted March 30, 2011 I have two buttons positioned at the extreme left side of the toolbar. From left to right, one is for new tab and the second is for the "home page". Both buttons are png files stored in a local directory: toolbox[iconsize="small"] #new-tab-button > .toolbarbutton-icon { list-style-image: url("file:///e:/Pics/newtab.png") !important; padding-top: 9px !important; padding-left: 4px !important; } toolbox[iconsize="small"] #home-button > .toolbarbutton-icon { list-style-image: url("file:///e:/Pics/home.png") !important; -moz-image-region: rect(0px,18px,16px,1px) !important; padding-bottom: 2px !important; } The thing that I cannot understand is why it seems that this part, "-moz-image-region: rect(0px,18px,16px,1px) !important;", is necessary for the home button png to be displayed. Omitting it gives me a blank space (which is still functional in that clicking on the blank space sends me to the home page). There is no other image in the rectangle and the png in question is 19x17 px. I have tried fiddling with various padding settings, left, right, bottom, and top with no success. I have no problem with the new tab png. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839340 Share on other sites More sharing options...
SoapyHamHocks Member Posted March 30, 2011 Member Share Posted March 30, 2011 I have two buttons positioned at the extreme left side of the toolbar. From left to right, one is for new tab and the second is for the "home page". Both buttons are png files stored in a local directory: The thing that I cannot understand is why it seems that this part, "-moz-image-region: rect(0px,18px,16px,1px) !important;", is necessary for the home button png to be displayed. Omitting it gives me a blank space (which is still functional in that clicking on the blank space sends me to the home page). There is no other image in the rectangle and the png in question is 19x17 px. I have tried fiddling with various padding settings, left, right, bottom, and top with no success. I have no problem with the new tab png. Try using this instead. -moz-image-region: auto !important; Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839442 Share on other sites More sharing options...
vasa1 Posted March 30, 2011 Share Posted March 30, 2011 Try using this instead. -moz-image-region: auto !important; Thanks, Soapy, that works just perfectly :) . (But what is special about the home button that is requiring specifying "-moz-image-region" at all? Why don't I need it for the new tab?) Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839492 Share on other sites More sharing options...
SoapyHamHocks Member Posted March 30, 2011 Member Share Posted March 30, 2011 Thanks, Soapy, that works just perfectly :) . (But what is special about the home button that is requiring specifying "-moz-image-region" at all? Why don't I need it for the new tab?) All the toolbar buttons are already given a list-style-image and -moz-image-region. If you try to point it to a new list-style-image it will still use the old -moz-image-region value. Setting -moz-image-region: auto just tells it to use the whole image. Hope that makes sense. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839538 Share on other sites More sharing options...
vasa1 Posted March 30, 2011 Share Posted March 30, 2011 All the toolbar buttons are already given a list-style-image and -moz-image-region. If you try to point it to a new list-style-image it will still use the old -moz-image-region value. Setting -moz-image-region: auto just tells it to use the whole image. Hope that makes sense. Okay, thanks for the explanation :) In other words, a standalone png (like the new tab one) wouldn't need the moz-image-region but the various pngs that are normally part of toolbar.png will. I hope I got that right! Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593839648 Share on other sites More sharing options...
foxxyn8 Posted March 30, 2011 Share Posted March 30, 2011 Okay, thanks for the explanation :) In other words, a standalone png (like the new tab one) wouldn't need the moz-image-region but the various pngs that are normally part of toolbar.png will. I hope I got that right! https://developer.mozilla.org/en/CSS/-moz-image-region http://browsers-dox.net/Que-Firefox.and.Thunderbird-/0789734583/ch15lev1sec3.html Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593840012 Share on other sites More sharing options...
protocol7 Posted March 30, 2011 Share Posted March 30, 2011 Still trying to find a solution to this one: My Windows theme (Soft 7) changes the appearance of the addon bar but not the status bar. How can I get the addon bar to draw normally so it matches the status bar? Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593840066 Share on other sites More sharing options...
CromoPT Posted March 30, 2011 Share Posted March 30, 2011 Here is my edited code for the add-on bar: (both maximized/minimized window mode.) Thanks :D, but It messed up my download status bar :/ Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593840946 Share on other sites More sharing options...
Abyssus Posted March 30, 2011 Share Posted March 30, 2011 Hi is there a way to have the download window work like it does in this mockup. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593840990 Share on other sites More sharing options...
freak180 Posted March 31, 2011 Share Posted March 31, 2011 Is there a way to remove the + sign from the new tab button? Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593841530 Share on other sites More sharing options...
vasa1 Posted March 31, 2011 Share Posted March 31, 2011 https://developer.mozilla.org/en/CSS/-moz-image-region http://browsers-dox.net/Que-Firefox.and.Thunderbird-/0789734583/ch15lev1sec3.html Foxxyn8, thanks for those links. I had referred to the first one when I wanted to point to a specific button in the multibutton image. My confusion arose after I reduced the multibutton image to a single button image with Gimp. But all is well (for) now. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593841550 Share on other sites More sharing options...
foxxyn8 Posted March 31, 2011 Share Posted March 31, 2011 Is there a way to remove the + sign from the new tab button? .tabs-newtab-button > .toolbarbutton-icon, #new-tab-button > .toolbarbutton-icon { display: none !important; } .tabs-newtab-button #new-tab-button Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593841592 Share on other sites More sharing options...
freak180 Posted March 31, 2011 Share Posted March 31, 2011 Thanks a lot :D Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593841778 Share on other sites More sharing options...
BilliShere Posted March 31, 2011 Share Posted March 31, 2011 Hi is there a way to have the download window work like it does in this mockup. My God that mockup is so beautiful. Someone needs to make it a reality. Also I believe there were a couple of test builds that actually have that functionality. you click the download button and that download window pops up exactly like in the preview. It never made it into the RC though. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593841828 Share on other sites More sharing options...
vasa1 Posted March 31, 2011 Share Posted March 31, 2011 something like this: tabmodalprompt .mainContainer { background: rgba(0,0,0,.8) !important; color: #ddd !important; } Follow-up requests! Is there a way to style the buttons? Can I get rid of the "opacity effect" on the rest of the page? Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593843368 Share on other sites More sharing options...
foxxyn8 Posted March 31, 2011 Share Posted March 31, 2011 Follow-up requests! Is there a way to style the buttons? Can I get rid of the "opacity effect" on the rest of the page? to style just those buttons start with this and add the selectors and properties you want to change: tabmodalprompt button { -moz-appearance: none !important; get rid of overlay : tabmodalprompt { background: none !important; } Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593843488 Share on other sites More sharing options...
NeoRev Posted March 31, 2011 Share Posted March 31, 2011 Could someone please help me hide the "Bookmarks Toolbar w/separator" & "Unsorted Bookmarks w/separator" from the menu button > bookmarks menu. I was using this code in FF3 but it no longer works: /* Hide Bookmarks Toolbar Folder */ #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator {display: none !important;} Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593844042 Share on other sites More sharing options...
foxxyn8 Posted April 1, 2011 Share Posted April 1, 2011 Could someone please help me hide the "Bookmarks Toolbar w/separator" & "Unsorted Bookmarks w/separator" from the menu button > bookmarks menu. I was using this code in FF3 but it no longer works: /* Hide Bookmarks Toolbar Folder */ #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator {display: none !important;} This will hide those items in all 3 bookmark menus #BMB_bookmarksToolbar, #BMB_bookmarksToolbar + menuseparator, #appmenu_bookmarksToolbar, #appmenu_bookmarksToolbar + menuseparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu + menuseparator, #BMB_unsortedBookmarks, #appmenu_unsortedBookmarks, menuseparator.hide-if-empty-places-result { display: none !important; } Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593844408 Share on other sites More sharing options...
NeoRev Posted April 1, 2011 Share Posted April 1, 2011 Thx Foxxy! That was perfect. Now that I think of it, I'd like to also remove "Bookmark This Page" since I only use the icon in the locationbar for that. Thanks again! Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593844686 Share on other sites More sharing options...
foxxyn8 Posted April 1, 2011 Share Posted April 1, 2011 Thx Foxxy! That was perfect. Now that I think of it, I'd like to also remove "Bookmark This Page" since I only use the icon in the locationbar for that. Thanks again! #BMB_bookmarkThisPage, #appmenu_bookmarkThisPage, #menu_bookmarkThisPage { display: none !important; } Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593844724 Share on other sites More sharing options...
phot0nic Posted April 1, 2011 Share Posted April 1, 2011 Hey, I'm not very good with my CSS syntax, but is there a way to apply a style to all toolbars EXCEPT for the navigation bar? For example, #navigator-toolbox {} lets me adjust settings for all toolbars simultaneously, but I'd like to exclude the navigation bar from this set. Thank you. Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593845394 Share on other sites More sharing options...
SoapyHamHocks Member Posted April 1, 2011 Member Share Posted April 1, 2011 Hey, I'm not very good with my CSS syntax, but is there a way to apply a style to all toolbars EXCEPT for the navigation bar? For example, #navigator-toolbox {} lets me adjust settings for all toolbars simultaneously, but I'd like to exclude the navigation bar from this set. Thank you. #navigator-toolbox > toolbar:not(#nav-bar) { } phot0nic 1 Share Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593846242 Share on other sites More sharing options...
vasa1 Posted April 1, 2011 Share Posted April 1, 2011 to style just those buttons start with this and add the selectors and properties you want to change: tabmodalprompt button { -moz-appearance: none !important; get rid of overlay : tabmodalprompt { background: none !important; } Thanks, foxxyn8! I got the buttons sorted out. But a comment about the "background: none !important;" bit. On my net-banking site, when I use "background: none !important;" the modal dialog box (if that's the phrase) appears a bit transparent with the contents of the page underneath the box being somewhat visible. Changing it to "background: black !important;" wipes out the rest of the page until I close the box by hitting "OK" so I'm going with "background: black !important;". Link to comment https://www.neowin.net/forum/topic/921416-share-your-custom-firefoxminefield-4-stylish-scripts/page/76/#findComment-593846278 Share on other sites More sharing options...
Recommended Posts