Initial commit
This commit is contained in:
79
styles.css
79
styles.css
@@ -1,8 +1,77 @@
|
||||
/*
|
||||
/* Todo Tracker Styles */
|
||||
|
||||
This CSS file will be included with your plugin, and
|
||||
available in the app when your plugin is enabled.
|
||||
.todo-tracker-container {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
If your plugin does not need CSS, delete this file.
|
||||
.todo-tracker-header {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
margin-bottom: 10px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
*/
|
||||
.todo-tracker-empty {
|
||||
color: var(--text-muted);
|
||||
font-style: italic;
|
||||
padding: 20px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.todo-tracker-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.todo-tracker-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.todo-tracker-item:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.todo-tracker-item input[type="checkbox"] {
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.todo-tracker-item-text {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.todo-tracker-item-completed {
|
||||
text-decoration: line-through;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.todo-tracker-menu-btn {
|
||||
flex-shrink: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 4px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
color: var(--text-muted);
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
.todo-tracker-item:hover .todo-tracker-menu-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.todo-tracker-menu-btn:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user