Thanks, we'll take a look. Possibly there is an alternative way to add an icon, to avoid a clash with numbering CSS. As a workaround you can use an explicit icon like .
Mark Dickens Sorry for the delay again. On the link I posted there is a fragment for custom icon usage when numberedLists are used, please check it out.
/* The following section is required to fix case when icon is used with numbered lists / .numberedList .fg1 .userContent:before { * content: counters(section, ".") ". \F132"; /* Same icon code as in previous section */ }
I'd like to @import some fonts, but Checkvist's custom CSS is loaded inside @media screen. @import rules must precede all other types of rules (with a few exceptions), hence cannot be used. Would be great if there was a way to use @import with Checkvist's custom CSS option.
Any Toggl users here? I'm putting together an integration so the toggl (Chrome extension) button ( https://github.com/toggl/toggl-button ) is displayed for tasks on a Checkvist list. It's dead simple (a few lines of javascript), but I'm slightly torn on the best way to handle one aspect: whether or not toggl is shown for a particular list. It can't be always-on, as it adds too much clutter for non-projecty lists (who wants a timer button for the carrots on their grocery list?). What I have now is that if any task on a list is tagged #toggl, then all tasks on that list will have the toggl button. A few alternatives I canvassed were: - display toggl buttons only on subtasks of a task tagged with #toggl - display toggl buttons only on focused (hoisted) tasks - find some other way to indicate that all of a list's tasks should have the button, eg. something encoded in the list's name I think what I have now is the most convenient of these (I don't want to hav...
Thanks, we'll take a look. Possibly there is an alternative way to add an icon, to avoid a clash with numbering CSS. As a workaround you can use an explicit icon like .
ReplyDeleteKirill Maximov How would I use this ?
ReplyDeleteSorry for the delay. I'd like to ask, have you applied CSS rules from the https://checkvist.com/checklists/486715/tasks/16834507, the part about .numberedList styling?
ReplyDeletebeta.checkvist.com - Checkvist customization (CSS samples) - outlined in Checkvist
Kirill Maximov Better late than never :)
ReplyDeleteNo I haven't applied the numberedList CSS rules ... should I?
Mark Dickens Sorry for the delay again. On the link I posted there is a fragment for custom icon usage when numberedLists are used, please check it out.
ReplyDeleteKirill Maximov thanks for this, it does something :)
ReplyDeleteAlmost there!
Below is a snippet of the CSS I am using for showing an icon.
The snippet also transforms the numbering (see attached screen clip) and I'm not sure how to prevent this. Any ideas?
.fg1 .userContent:before {
content: "\F132";
font-family: FontAwesome;
font-size: 24px;
font-weight: 500;
padding-right: 5px;
color: #cccccc;
display: inline-block;
-webkit-transform: scale(1, -1);
-moz-transform: scale(1, -1);
-o-transform: scale(1, -1);
-ms-transform: scale(1, -1);
transform: scale(1, -1);
text-shadow: 0.3px 0 0 #000, 0 -0.3px 0 #000, 0 0.3px 0 #000, -0.3px 0 0 #000;
}
/* The following section is required to fix case when icon is used with numbered lists /
.numberedList .fg1 .userContent:before {
* content: counters(section, ".") ". \F132"; /* Same icon code as in previous section */
}
https://lh3.googleusercontent.com/4rxCVe_w5QikBVjABAYzIZCnPgiEQeczR3t1Vp629fj-KJhMKGscXM9NSZgiwi_nigQeBbWNSnOAAZOuWAmjUGRNBOtoDlV-pUUA=s0
Hi Mark Dickens,
ReplyDeleteThis is all tricky stuff :)
Try this code instead:
.fg1.editable:before {
content: "\F132";
font-family: FontAwesome;
font-size: 24px;
font-weight: 500;
padding-right: 5px;
color: #cccccc;
display: inline-block;
-webkit-transform: scale(1, -1);
-moz-transform: scale(1, -1);
-o-transform: scale(1, -1);
-ms-transform: scale(1, -1);
transform: scale(1, -1);
text-shadow: 0.3px 0 0 #000, 0 -0.3px 0 #000, 0 0.3px 0 #000, -0.3px 0 0 #000;
}
Only one section is needed, no duplication.
HTH,
Kirill Maximov
ReplyDeleteGotcha! That's fab.
Thanks Kirill.
I hope Christmas has been good and have a great New Year!