Added css for body & lists. Make done tasks obvious.
This commit is contained in:
@@ -1,10 +1,32 @@
|
||||
/*
|
||||
* This is a manifest file that'll be compiled into application.css.
|
||||
*
|
||||
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include
|
||||
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
|
||||
* cascading order, meaning styles declared later in the document or manifest will override earlier ones,
|
||||
* depending on specificity.
|
||||
*
|
||||
* Consider organizing styles into separate files for maintainability.
|
||||
*/
|
||||
/* application.css */
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
background-color: #f9f9f9;
|
||||
margin: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.task-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.done-task {
|
||||
background-color: #f0f0f0;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.done-task .task-title {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
Reference in New Issue
Block a user