Marco wrote:A little bit of trivia: replacing quick link's "icon" took me more than 45 minutes of digging around, during which I also discovered where the symbols to the left and right of your username (top right of navbar, I'm talking about the circle and the down-arrow) are defined, which is cool because I replaced them.
Well, I was looking around for an icon, an image or something. I went as far looking at almost every image defined in the code to find it. Guess what, It's not an image. It's an empty element with a double top border and a single bottom border. Finding that was frustrating.
Hm, I checked this, are you talking about the triangle? Because it's not a CSS shape, it's just a html symbol inserted with ::after selector:Code: Select all
.header-avatar span:after {
content: '\25BC';
display: inline-block;
font-size: 9px;
float: right;
padding-left: 2px;
opacity: 0.7;
}
Btw are you using chrome's inspect element to find the things you want? Trying to figure out why it took you so long. If you navigate through the DOM then you should eventually find whatever you're looking for without much trouble. Understanding it can take longer, sure, but finding it shouldn't be a problem. Also in the future you can just PM me or write in skype and I can save you time.
Code: Select all
* {
border: 0px !important;
}
And no, I'm using Firefox's integrated dev tools, which while good are somewhat limited. Biggest trouble I have with them is that either they can't display ::before and ::after pesudo-elements or I can't see them. They also don't appear in the DOM (obviously) so sometimes finding stuff is painful. I'll try firebug next, and if all else fails I might develop this stuff on chrome. With only 2GB of ram (some of which is corrupted) it might not be feasible though. I'll see.
Since I knew nothing about CSS, I ended up with a bunch of overqualified selectors, and for that reason I sometimes fixed something that ended up breaking something else.
Then there is the fact that sometimes the html was different from what I expected and I didn't understand, at first, why stuff didn't work. An example of this is in the guide center, where the header also has the .guidelist class, so I had to use the :not selector to apply stuff to the guidelist itself but not to the header
Code: Select all
ul.guidelist li.header [...] { params } /* from here you can select children from the header guidelist */
ul.guidelist li.row [...] { params } /* from here you can select children from the body guidelist */
And, probably the biggest culprit, the user control pane. There are a couple of things there that I simply cannot style. Like, there is what I started calling a "phantom border" that I can't style. Even setting this rule:
Code: Select all
* { border: 0; !important }
!important
parameter, the * selector will always have lower priority. CSS priorities are defined by how specific your selection is. Anyways, tell me what element you're trying to style and I'll give you the selector you need.Yeah, it's not been too hard overall, but definitely time consuming.
Thanks for the support guys.
Marco wrote:1) some icons missing (the moderator/admin ones) - I can tell you which ones if you want or you can deduct them from the colors.css stylesheet
Marco wrote:2) most icons are too big imo
Marco wrote:3) don't quite like the TG one - what about coins, do they look to bad?
This is the main thread for my unofficial forum themes. It has been requested many times but Marco and other admins have other priorities right now, with all the stuff that's going on. So I decided to whip up a quick something.
Admin / mod forum functions, ranging from icons to whole missing backgrounds, may not be correctly styled, especially so with v7.