2026-07-18 21:24:36 -03:00
|
|
|
<?php
|
|
|
|
|
/**
|
2026-07-18 21:49:15 -03:00
|
|
|
* Done/Due badge styling (emitted into the head when the feature is enabled). NATURAL document flow --
|
|
|
|
|
* the badge renders above the title (board card) or as a list item (task view); no absolute
|
|
|
|
|
* positioning, so it adapts to any card / column / avatar / username size. Two states via .is-done:
|
|
|
|
|
* Due = black filled box + black text on a light red (#ef9a9a); Done = checked box, black on light
|
|
|
|
|
* green (#a5d6a7). Both states use black text (core's `.task-board a { color:#000 }` forces the icon
|
|
|
|
|
* black anyway, so the backgrounds are kept light for contrast). Colors are tunable.
|
2026-07-18 21:24:36 -03:00
|
|
|
*/
|
|
|
|
|
?>
|
|
|
|
|
<style>
|
2026-07-18 21:49:15 -03:00
|
|
|
span.organontweaks-done a {
|
|
|
|
|
display: inline-block;
|
2026-07-18 21:24:36 -03:00
|
|
|
text-decoration: none;
|
2026-07-18 21:49:15 -03:00
|
|
|
padding: 3px 10px;
|
2026-07-18 21:24:36 -03:00
|
|
|
border-radius: 3px;
|
2026-07-18 21:49:15 -03:00
|
|
|
background: #ef9a9a;
|
2026-07-18 21:24:36 -03:00
|
|
|
color: #000;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2026-07-18 21:49:15 -03:00
|
|
|
span.organontweaks-done.is-done a {
|
|
|
|
|
background: #a5d6a7;
|
|
|
|
|
color: #000;
|
2026-07-18 21:24:36 -03:00
|
|
|
}
|
2026-07-18 21:49:15 -03:00
|
|
|
.organontweaks-done {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin: 1px 0;
|
2026-07-18 21:24:36 -03:00
|
|
|
}
|
|
|
|
|
</style>
|