alberti42_obsidian-plugins-.../styles/styles.css
Andrea Alberti 5ffd13a97e opacity
2024-06-28 22:39:38 +02:00

33 lines
854 B
CSS

/* styles.css */
/* Make sure the input field takes the full width of its parent */
.plugin-comment {
width: 100%;
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
transition: opacity 0.5s ease-in-out; /* Add transition for opacity */
opacity: 0; /* Hidden by default */
}
.plugin-comment-annotation.plugin-comment-placeholder {
color: #CCCCCC; /* Standard placeholder color */
font-style: italic;
}
.plugin-comment.plugin-comment-placeholder {
display: none;
}
/* Show comment container when hovering over the plugin container */
.setting-item:hover .plugin-comment.plugin-comment-placeholder {
opacity: 1; /* Show with opacity transition */
display: block;
}
/* Additional styles for consistency */
.plugin-comment-label {
padding-top: 5px;
}
.plugin-comment-annotation {
width: 100%;
}