.sticky-notes-floating-button {
position: fixed;
right: 30px;
bottom: 30px;
width: 50px;
height: 50px;
background-image: linear-gradient(to right, #44b752, #6ac348, #8ecd3c, #d6df26, #d6df26);
border-radius: 50%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
z-index: 99998;
transition: transform 0.3s, background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.sticky-notes-floating-button:hover {
transform: scale(1.1);
background-image: linear-gradient(to right, #44b752, #6ac348, #8ecd3c, #d6df26, #d6df26);
}
.sticky-notes-floating-button .dashicons {
color: #FFF;
font-size: 20px;
width: 20px;
height: 20px;
} .sticky-notes-container {
position: fixed;
right: 30px;
top: auto;
bottom: 100px;
width: 400px;
max-height: 72vh;
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
border-radius: 8px;
z-index: 99999;
display: flex;
flex-direction: column;
}
@keyframes scaleIn {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
} .sticky-notes-header {
padding: 15px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
background: #673092;
border-radius: 8px 8px 0 0;
}
.sticky-notes-header h2 {
margin: 0;
font-size: 1.2em;
color: #FFFFFF;
}
.sticky-notes-close {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #FFF;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.2s;
}
.sticky-notes-close:hover {
color: #d63638;
} .sticky-notes-content {
padding: 15px;
overflow-y: auto;
flex-grow: 1;
}
.sticky-notes-content::-webkit-scrollbar {
width: 10px;
}
.sticky-notes-content::-webkit-scrollbar-track {
background: #FFF;
}
.sticky-notes-content::-webkit-scrollbar-thumb {
background: #673092;
}
.sticky-notes-content {
scrollbar-width: thin;
scrollbar-color: #673092 #fff;
} .new-note-form {
margin-bottom: 20px;
padding: 15px;
background: #f8f9fa;
border-radius: 4px;
}
.new-note-form input,
.new-note-form textarea {
width: 100%;
margin-bottom: 10px;
padding: 8px;
border: 1px solid #E9EAEB;
border-radius: 4px;
font-size: 14px;
}
.new-note-form input:focus,
.new-note-form textarea:focus{
border: 1px solid #4ab950;
}
.new-note-form textarea {
height: 100px;
resize: none;
min-height: 60px;
}
.note-actions {
display: flex;
gap: 10px;
}
.note-actions button {
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s;
}
.save-note {
padding: 12px 18px;
border-radius: 6px;
background-image: linear-gradient(to right, #44b752, #6ac348, #8ecd3c, #d6df26, #d6df26);
color: #000000;
background-size: 180% 100%;
font-size: 14px;
font-weight: 500;
border: none;
}
.save-note:hover {
background-image: linear-gradient(to right, #d6df26, #b2d731, #8ecd3c, #6ac348, #44b752);
color: #000;
background-position: 100% 0;
moz-transition: all .4s ease-in-out;
-o-transition: all .4s ease-in-out;
-webkit-transition: all .4s ease-in-out;
transition: all .4s ease-in-out;
}
.summarize-note {
background: #fff;
color: #000000;
border: none;
font-size: 14px;
font-weight: 500;
padding: 10px 13px;
background: #4ab95014;
border-radius: 6px;
border-bottom: 1px solid #4ab950;
}
.summarize-note:hover {
background: #4ab95014;
color: #4ab950;
} .notes-grid {
display: grid;
gap: 15px;
margin-top: 20px;
}
.note-card {
background: #67c24924;
padding: 15px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
transition: transform 0.2s, box-shadow 0.2s;
position: relative;
}
.note-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.note-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 10px;
}
.note-header h4 {
margin: 0;
color: #1d2327;
font-weight: 500;
font-size: 18px;
line-height: 128%;
}
.note-preview {
font-size: 0.9em;
color: #666;
margin-bottom: 10px;
line-height: 1.4;
}
.note-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.8em;
color: #888;
} .note-card .note-actions {
opacity: 0;
transition: opacity 0.2s;
}
.note-card:hover .note-actions {
opacity: 1;
}
.note-card .note-actions button {
background: none;
border: none;
padding: 4px;
cursor: pointer;
color: #000000;
transition: color 0.2s;
}
.note-card .edit-note:hover {
color: #2271b1;
}
.note-card .delete-note:hover {
color: #d63638;
} .modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 100000;
}
.modal-content {
background: #fff;
padding: 20px;
border-radius: 8px;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
position: relative;
}
.modal .close {
position: absolute;
right: 15px;
top: 15px;
font-size: 24px;
cursor: pointer;
color: #666;
transition: color 0.2s;
}
.modal .close:hover {
color: #d63638;
} .note-status {
margin-top: 10px;
padding: 8px;
border-radius: 4px;
display: none;
font-size: 0.9em;
}
.note-status.success {
background: #e7f5e7;
color: #287728;
}
.note-status.error {
background: #f5e7e7;
color: #772828;
} @media (max-width: 782px) {
.sticky-notes-container {
top: 46px; }
}
@media (max-width: 600px) {
.sticky-notes-container {
right: 0;
left: 0;
width: 100%;
border-radius: 0;
}
.note-actions {
flex-direction: column;
}
.note-actions button {
width: 100%;
}
}