The [x] Done / [ ] Due checkbox v2.0

This commit is contained in:
2026-07-18 21:24:36 -03:00
parent 8be9442cb7
commit f2f690ef98
10 changed files with 231 additions and 3 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* Done/Due badge styling (emitted into the head when the feature is enabled). Two states via
* .is-done. The Due colors reuse FinanceBuddy's debit badge (#b94a48 / white); Done is a light green
* with black font. On the board the badge is pinned top-right, below the header (the card .task-board
* is position:relative); the title reserves right padding so the badge does not cover it. In the task
* view it is a normal inline list item. Font size is inherited (0.9em on the board, matching the card
* id / assignee). All values are safe to tune.
*/
?>
<style>
.organontweaks-done a {
text-decoration: none;
padding: 0 5px;
border-radius: 3px;
background: #b94a48;
color: #fff;
}
.organontweaks-done.is-done a {
background: #a5d6a7;
color: #000;
font-weight: bold;
}
.task-board .organontweaks-done {
position: absolute;
top: 24px;
right: 5px;
z-index: 5;
}
.task-board .task-board-title {
padding-right: 4.2em;
}
</style>