[Ext] Stylish 0.3.2
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
When you want to select elements that have no ID or class, you can go by their position on the page (ex: the first child of a div), by their attributes (the table with 600 width), or by a combination. If you link to the page, we could figure out what's best for this situation and write you up a style.
As Zoolcar9, you can't scroll a page with CSS, but there are ways you could move that text to the top.
As Zoolcar9, you can't scroll a page with CSS, but there are ways you could move that text to the top.
-
- Posts: 32
- Joined: December 9th, 2004, 12:11 pm
The page is at http://www.fenderforum.com/forum.html and my goal was to be able to remove all the content on the top of the page up to where the main table with the forums/posts starts (at my 1280x1024 resolution the main forums table is not even visible on the first screen).
Thank you very much for your help! I figured out how to do a simple change on the table widths on the site but I don't know yet how to filter on specific attributes.
Thank you very much for your help! I figured out how to do a simple change on the table widths on the site but I don't know yet how to filter on specific attributes.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Code: Select all
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("fenderforum.com") {
/* top part */
body > center > p:first-child {
display: none !important;
}
/* everything in the main part */
body > center > p + p > font > * {
display: none !important;
}
/* everything in the main part that's important */
body > center > p + p > font > table[width="600"][border="0"] ~ * {
display: block !important;
}
}
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
The main structure is like so
body > center > p:first-child takes out the first P. (The p first child of the center who is a child of body).
Inside the second p is
So to select things in there we start with body > center > p + p > font (the font child of the p that comes after a p who is a child of a center who is a child of a body).
After that, I'm taking out every child, > *, then putting back every child after the last junk element, > table[width="600"][border="0"] ~ *. This is saying anything after the table whose width is 600 and whose border is 0 and who is a child of font. This rule is more specific than the previous because it includes more attribute selectors, so it overrides it.
So yeah, this is pretty complicated because the request was complex ("this element and everything after this is OK").
Code: Select all
HTML
BODY
CENTER
P
P
body > center > p:first-child takes out the first P. (The p first child of the center who is a child of body).
Inside the second p is
Code: Select all
P
FONT
(junk)
TABLE (junk table)
TABLE (main table)
(other stuff)
So to select things in there we start with body > center > p + p > font (the font child of the p that comes after a p who is a child of a center who is a child of a body).
After that, I'm taking out every child, > *, then putting back every child after the last junk element, > table[width="600"][border="0"] ~ *. This is saying anything after the table whose width is 600 and whose border is 0 and who is a child of font. This rule is more specific than the previous because it includes more attribute selectors, so it overrides it.
So yeah, this is pretty complicated because the request was complex ("this element and everything after this is OK").
-
- Posts: 2
- Joined: September 27th, 2006, 5:06 pm
Hi,
Im trying to hide/show a toolbar when I hover the status bar. My toolbar is called "__customToolbar_MyBookmarks". I can make it hide, but not to show. This is what I have....
...any suggestions?
Also, is there a way of moving this "__customToolbar_MyBookmarks" to the bottom? Right now im using the "Toolbar Control" extension to achieve this, but a whole extension just for doing this is too much, I think.
Thanks in advance.
Im trying to hide/show a toolbar when I hover the status bar. My toolbar is called "__customToolbar_MyBookmarks". I can make it hide, but not to show. This is what I have....
Code: Select all
#__customToolbar_MyBookmarks {
display: none;
}
#status-bar > #__customToolbar_MyBookmarks,
#statusbar-display > #__customToolbar_MyBookmarks {
display: -moz-box;
}
...any suggestions?
Also, is there a way of moving this "__customToolbar_MyBookmarks" to the bottom? Right now im using the "Toolbar Control" extension to achieve this, but a whole extension just for doing this is too much, I think.
Thanks in advance.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Grist wrote:The value for orient could be changed to horizontal.
That breaks icons and text mode.
I tried TMP 0.3.0.60915, and its icon shows the same as Stylish's.
[edit]
Nevermind, I figured it out. I need to bind it to toolbarbutton.xml#menu-vertical and get rid of the dropmarker's width.
[/edit]
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
http://userstyles.org/apps/stylish-dev.xpi
Results of my Firefox 2.0 RC1 and Thunderbird testing. Just fixes some visual issues. I'm going to test Flock tomorrow, then it's out the door.
Results of my Firefox 2.0 RC1 and Thunderbird testing. Just fixes some visual issues. I'm going to test Flock tomorrow, then it's out the door.
- XerBlade
- Posts: 865
- Joined: October 4th, 2005, 10:45 pm
- Location: Nashville, TN, US
Looks to be the correct margin for a menulist-only button, to me at least. It's buttons with separate drop-down menus which naturally have arrows with a greater margin, to show the fact that they are actually separate clickable entities rather than just two visual elements of the same clickable entity.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
We're up to Stylish 0.4 now. See this thread.