The [x] Done / [ ] Due checkbox v2.0
This commit is contained in:
33
Template/layout/done_style.php
Normal file
33
Template/layout/done_style.php
Normal 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>
|
||||
Reference in New Issue
Block a user