mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
style: migrate subtask repeat list from SCSS variables to CSS variables
- Replace with var(--s) and var(--s2) - Replace hardcoded #666 color with var(--theme-task-detail-value-color) - Remove @import '../../../../../variables' as no longer needed - Align with project's CSS variable system for better theme support
This commit is contained in:
parent
c0aea84999
commit
2a043d2eaf
1 changed files with 9 additions and 11 deletions
|
|
@ -1,32 +1,30 @@
|
|||
@import '../../../../../variables';
|
||||
|
||||
:host {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.subtask-list {
|
||||
margin-bottom: $s * 2;
|
||||
margin-bottom: var(--s2);
|
||||
}
|
||||
|
||||
.subtask-item {
|
||||
margin-bottom: $s;
|
||||
margin-bottom: var(--s);
|
||||
position: relative;
|
||||
|
||||
mat-card {
|
||||
padding: $s;
|
||||
padding: var(--s);
|
||||
}
|
||||
}
|
||||
|
||||
.subtask-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: $s;
|
||||
gap: var(--s);
|
||||
}
|
||||
|
||||
.subtask-form-row {
|
||||
display: flex;
|
||||
gap: $s;
|
||||
gap: var(--s);
|
||||
align-items: flex-start;
|
||||
|
||||
mat-form-field {
|
||||
|
|
@ -44,18 +42,18 @@
|
|||
}
|
||||
|
||||
.remove-btn {
|
||||
margin-top: $s;
|
||||
margin-top: var(--s);
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.add-subtask-btn {
|
||||
width: 100%;
|
||||
margin-top: $s;
|
||||
margin-top: var(--s);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
color: var(--theme-task-detail-value-color);
|
||||
font-style: italic;
|
||||
padding: $s * 2;
|
||||
padding: var(--s2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue