Some checks failed
Deploy Encrypted Todo App / build-and-push (push) Has been cancelled
237 lines
3.8 KiB
CSS
237 lines
3.8 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.todo-item {
|
|
background: #f5f5f5;
|
|
margin: 10px 0;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.todo-item.completed {
|
|
background: #e8f5e9;
|
|
}
|
|
|
|
.todo-item.completed .todo-text {
|
|
text-decoration: line-through;
|
|
color: #666;
|
|
}
|
|
|
|
.todo-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.todo-checkbox {
|
|
margin-top: 3px;
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.todo-text {
|
|
font-size: 1.1em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.todo-content {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.todo-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
button {
|
|
padding: 8px 12px;
|
|
margin: 5px;
|
|
background-color: #4a6ea9;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #3a5a89;
|
|
}
|
|
|
|
input,
|
|
select {
|
|
padding: 10px;
|
|
margin: 5px;
|
|
width: 300px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.toggle-container {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 34px;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: 0.4s;
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 26px;
|
|
width: 26px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: 0.4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: #4a6ea9;
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
.encrypted-data {
|
|
font-family: monospace;
|
|
word-break: break-all;
|
|
color: #666;
|
|
font-size: 0.9em;
|
|
background-color: #f0f0f0;
|
|
padding: 5px;
|
|
border-radius: 3px;
|
|
max-height: 100px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.header h1 {
|
|
margin-right: 10px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.share-container {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.shared-badge {
|
|
background-color: #4a6ea9;
|
|
color: white;
|
|
padding: 3px 8px;
|
|
border-radius: 10px;
|
|
font-size: 0.8em;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.shared-with-list {
|
|
background-color: #4a6ea9;
|
|
color: white;
|
|
padding: 3px 8px;
|
|
border-radius: 10px;
|
|
font-size: 0.8em;
|
|
margin-left: 10px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.todo-metadata {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.creator-badge {
|
|
background-color: #28a745;
|
|
color: white;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-size: 0.75em;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: fit-content;
|
|
}
|
|
|
|
.participants-badge {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-size: 0.75em;
|
|
display: inline-block;
|
|
width: fit-content;
|
|
}
|
|
|
|
.container {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.section-title {
|
|
border-bottom: 1px solid #eee;
|
|
padding-bottom: 10px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#logoutBtn {
|
|
margin-left: auto;
|
|
padding: 8px 24px;
|
|
background-color: #4a6ea9;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
#logoutBtn:hover {
|
|
background-color: #3a5a89;
|
|
}
|