Add pale yellow tint to Weekly Tasks card and its indented weeks
This commit is contained in:
1 parent
90a26fdefc
commit
6c5730356b
1 file changed
+3
-1
+3
-1
@@ -709,6 +709,7 @@
|
||||
padding: 12px 14px; cursor: pointer; position: relative;
|
||||
}
|
||||
.ab-card:hover { border-color: #2d6a9f; }
|
||||
.ab-card-weekly { background: #fffbe6; }
|
||||
.ab-follow-star {
|
||||
position: absolute; bottom: 8px; right: 10px;
|
||||
font-size: 1rem; color: #eda100; line-height: 1;
|
||||
@@ -6376,6 +6377,7 @@
|
||||
if (weeklyExpanded) {
|
||||
WEEKLY_TASKS_DATA.forEach(function (week) {
|
||||
var card = buildTaskSidebarCard(week, week.id === tasksSelectedId);
|
||||
card.classList.add("ab-card-weekly");
|
||||
card.style.marginLeft = "16px";
|
||||
card.style.width = "calc(100% - 16px)";
|
||||
list.appendChild(card);
|
||||
@@ -6396,7 +6398,7 @@
|
||||
// entry (a track or a single week) rather than splitting space with a picker.
|
||||
function buildWeeklyToggleCard() {
|
||||
var card = document.createElement("div");
|
||||
card.className = "ab-card";
|
||||
card.className = "ab-card ab-card-weekly";
|
||||
card.innerHTML =
|
||||
"<div class=\"ab-card-top\">" +
|
||||
"<div class=\"ab-card-company\">Weekly Tasks <span class=\"caret\">" + (weeklyExpanded ? "▾" : "▸") + "</span></div>" +
|
||||
|
||||
Reference in new issue
Block a user