This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/notes/style.css

60 lines
1.1 KiB
CSS
Raw Normal View History

2024-01-05 02:03:41 +00:00
.notes-container {
position: absolute;
pointer-events: none;
2024-01-05 02:03:41 +00:00
}
2020-03-13 09:23:54 +00:00
2024-01-05 02:03:41 +00:00
.notes-container .note {
display: flex;
justify-content: center;
align-items: center;
color: black;
2020-03-13 09:23:54 +00:00
background-color: #FFE;
border: 1px dashed black;
overflow: hidden;
position: absolute;
opacity: 0.5;
2024-01-05 02:03:41 +00:00
z-index: 1;
pointer-events: auto;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .note.editing {
opacity: 1;
border: 1px dashed red;
z-index: 2;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .note.editing.dragging {
2020-03-13 09:23:54 +00:00
opacity: 0.5;
2024-01-05 02:03:41 +00:00
z-index: 2;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .note:hover {
opacity: 1;
z-index: 3;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .editor {
display: grid;
color: black;
background-color: #EFE;
border: 1px dashed blue;
position: absolute;
grid-template-columns: 1fr 1fr;
grid-template-areas:
"text text"
"save cancel"
"delete delete";
z-index: 4;
pointer-events: auto;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .editor TEXTAREA {
grid-area: text;
// resize: none;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .editor BUTTON[value="Save"] {
grid-area: save;
}
.notes-container .editor BUTTON[value="Cancel"] {
grid-area: cancel;
2020-03-13 09:23:54 +00:00
}
2024-01-05 02:03:41 +00:00
.notes-container .editor BUTTON[value="Delete"] {
grid-area: delete;
2020-03-13 09:23:54 +00:00
}