Hi - quick question on yesterday's server update: I noticed "Combining visible and invisible tags in the same list...
Hi - quick question on yesterday's server update: I noticed "Combining visible and invisible tags in the same list item" but can't get this working.
I have (dashes added to tags just to stop G+ tagging them up):
This is my item #-work #-boss
And my CSS makes #-work invisible and gives it an icon (which BTW is the absolute killer feature for me which is why I got a Pro account). But when I do this then #-boss is made invisible too. There's no CSS syle defined for #-boss
Am I doing something wrong? Is there something in my CSS I should look at?
Thanks
I have (dashes added to tags just to stop G+ tagging them up):
This is my item #-work #-boss
And my CSS makes #-work invisible and gives it an icon (which BTW is the absolute killer feature for me which is why I got a Pro account). But when I do this then #-boss is made invisible too. There's no CSS syle defined for #-boss
Am I doing something wrong? Is there something in my CSS I should look at?
Thanks
Hi, the CSS should be altered to make only #-work invisible - please take a look at this sample: https://checkvist.com/checklists/486715/tasks/16904797
ReplyDeleteThere should be no space between .tag.tag_work in the CSS
Hope this helps,
Sorted, thanks Kirill Maximov
ReplyDelete..ah, small side effect :) When I go to the tags page then the hidden tags are hidden there too!
ReplyDeleteI just see a big list of coloured squares with 'x4' etc.
Oops. Thanks. I've corrected the CSS, it should have .topLevel prefix: https://checkvist.com/checklists/486715/tasks/16904797
ReplyDeleteThat's fixed it, thanks
ReplyDeleteOne more question if I may. Is it possible to apply styling just to the text and not the icon? e.g.
ReplyDelete/* proj-Mentoring */
.tag_proj-Mentoring .userContent:before {
content: "\F0E6";
font-family: FontAwesome;
padding-right: 5px;
}
.topLevel .tag.tag_proj-Mentoring {
display:none;
}
.tag_proj-Mentoring .userContent {
color:#00CC99;
font-weight:bold;
}
I'd like the bold just to apply to the list item, not the icon too
I think that if you place font-weight: normal; color: #222; to the icon CSS, this should do the trick?
ReplyDeleteAfraid not, .usercontent seems to override/include the icon section. I've tried the same with underline (text-decoration) with the same results - the :before section seems to also be treated as part of the .usercontent which the bold/underlined style is then applied to.
ReplyDeleteAlso tried switching the position to have .usercontent first but no joy.
Not a biggie, just trying to make things a bit tidier.
I just tried it - it works, partially. font-weight and color attributes can be overridden in the :before section, but you cannot remove text-decoration, unfortunately.
ReplyDeleteI used the following code:
.tag_proj-Mentoring .userContent:before {
content: "\F0E6";
font-family: FontAwesome;
padding-right: 5px;
font-weight:normal;
color: black;
}
.topLevel .tag.tag_proj-Mentoring {
display:none;
}
.tag_proj-Mentoring .userContent {
color:#00CC99;
font-weight:bold;
}